diff --git a/1 b/1 new file mode 100644 index 00000000..73b314ff --- /dev/null +++ b/1 @@ -0,0 +1 @@ +--- \ No newline at end of file diff --git a/404.html b/404.html index d07f30de..41d10e26 100644 --- a/404.html +++ b/404.html @@ -1,23 +1,24 @@ - - - -404 - + + + + 404 + diff --git a/AI.php b/AI.php index 0fa85209..c33903a7 100644 --- a/AI.php +++ b/AI.php @@ -141,14 +141,9 @@ if (isset($_GET['test'])) { die(); } -function getIP() -{ - return isset($_SERVER['HTTP_X_REAL_IP']) ? $_SERVER['HTTP_X_REAL_IP'] : $_SERVER['REMOTE_ADDR']; -} - -if (!isset($_GET['robot']) && getIP() != $_SERVER['SERVER_ADDR'] && getIP() != '127.0.0.1' && getIP() != '' && getIP( - ) != '31.131.116.166' && !isset($_GET['test'])) { - die(getIP() . '
' . $_SERVER['SERVER_ADDR']); +if (!isset($_GET['robot']) && UserIp::get() != $_SERVER['SERVER_ADDR'] && UserIp::get() != '127.0.0.1' && UserIp::get( + ) != '' && UserIp::get() != '31.131.116.166') { + die(UserIp::get() . '
' . $_SERVER['SERVER_ADDR']); } @@ -189,14 +184,14 @@ while ($pl = mysql_fetch_array($sp)) { if ($pl['timereg'] == 0) { mysql_query('UPDATE `users` SET `timereg` = "' . time() . '" WHERE `id` = "' . $pl['id'] . '" LIMIT 1'); } else { - mysql_query('UPDATE `users` SET `online` = "' . time() . '" WHERE `id` = "' . $pl['id'] . '" LIMIT 1'); + User::setOnline($pl['id']); } if ($pl['bot'] == 0) { mysql_query('UPDATE `stats` SET `bot` = "2" WHERE `id` = "' . $pl['id'] . '" LIMIT 1'); } - mysql_query('UPDATE `users` SET `online` = "' . time() . '" WHERE `id` = "' . $pl['id'] . '" LIMIT 1'); + User::setOnline($pl['id']); BotLogic::start($pl['id']); @@ -209,14 +204,14 @@ while ($pl = mysql_fetch_array($sp)) { if ($pl['timereg'] == 0) { mysql_query('UPDATE `users` SET `timereg` = "' . time() . '" WHERE `id` = "' . $pl['id'] . '" LIMIT 1'); } else { - mysql_query('UPDATE `users` SET `online` = "' . time() . '" WHERE `id` = "' . $pl['id'] . '" LIMIT 1'); + User::setOnline($pl['id']); } if ($pl['bot'] == 0) { mysql_query('UPDATE `stats` SET `bot` = "2" WHERE `id` = "' . $pl['id'] . '" LIMIT 1'); } mysql_query('UPDATE `stats` SET `nextAct` = "' . time() . '" WHERE `id` = "' . $pl['id'] . '" LIMIT 1'); - mysql_query('UPDATE `users` SET `online` = "' . time() . '" WHERE `id` = "' . $pl['id'] . '" LIMIT 1'); + User::setOnline($pl['id']); echo '*'; } diff --git a/_incl_data/.htaccess b/_incl_data/.htaccess index 3418e55a..8d2f2563 100644 --- a/_incl_data/.htaccess +++ b/_incl_data/.htaccess @@ -1 +1 @@ -deny from all \ No newline at end of file +deny from all diff --git a/_incl_data/__config.php b/_incl_data/__config.php index e148e520..6db1234a 100644 --- a/_incl_data/__config.php +++ b/_incl_data/__config.php @@ -1,85 +1,25 @@ '1.8.3.7', -]; -/* */ -$c['name'] = ' '; -$c['title'] = '' . $c['name'] . ' - , '; // -$c['title2'] = ' - , !'; -$c['title3'] = $c['name']; -$c['keys'] = $c['name'] . ', combats.com, ' . $c['name'] . ' , ' . $c['name'] . ' , ' . $c['name'] . ', ' . $c['name'] . ', ' . $c['name'] . ' , ' . $c['name'] . ' , ' . $c['name'] . ', , , , , , , ' . $c['name'] . ', , combats, , combats ru, combats com, OldBK, oldbk ru, oldbk com, , old bk, , mycombats, rebk, recombats, oldcombats, obk2'; // META -$c['desc'] = '' . $c['name'] . ' 2004-2009, . ' . $c['name'] . ' 2004-2009, , , .'; // META +header('Cache-Control: no-cache, no-store, must-revalidate'); +header('Pragma: no-cache'); +header('Expires: 0'); -// -$c['host'] = 'new-combats.com'; -$c['forum'] = 'forum.' . $c['host']; -$c['img'] = 'img' . $c['host']; -$c['thiscity'] = 'capitalcity'; -$c['capitalcity'] = $c['host']; -$c['abandonedplain'] = $c['host']; -$c['exit'] = ''; +require_once 'mysql_override.php'; -// -$c['curency_name'] = 'RUB'; -$c['curency_value'] = 36; - -// -$c['bot_level'] = 0; // () -$c['propsk_die'] = 0; // , 0 - . , >= 1 - - -// -$c['exp'] = 0; // -$c['shop_type1'] = 100; // -$c['shop_type2'] = 90; // -$c['shop_all'] = 0; // ! , 0 - . -$c['shop_all_type1'] = 100; // ! , 0 - . -$c['shop_all_type2'] = 100; // ! , 0 - . -// -$c['nosanich'] = true; // - true , - false -$c['zuby'] = false; // -$c['limitedexp'] = false; // -$c['infinity5level'] = false; // 5 -$c['expstop'] = 2999999; //9; // 11 149999999 -$c['expstopu'] = 2999999; // -$c['noobgade'] = false; // () -$c['bonusonline'] = true; // -$c['level_ransfer'] = 8; // -$c['znahar'] = true; // -$c['nolevel'] = false; // -$c['noitembuy'] = false; // -$c['effz'] = 0; // -$c['money_haot'] = true; // -$c['crtoecr'] = 500; // ( 0, ) -$c['ecrtocr'] = 200; // -$c['bonuslevel'] = true; // -$c['bonussocial'] = false; // - -$c['w'] = date('w'); -$c['m'] = date('m'); - -$code = '1'; -$c['counters'] = ''; -$c['counters_noFrm'] = ''; -$c['securetime'] = 0; // ( ) - -$c['copyright'] = 'Copyright ' . date('Y') . ' '; - -if (isset($_GET['version'])) { - die('Version: ' . $c['ver']); -} - -// , . +// Для всех доработок, пока нет автозагрузки классов. require_once 'class/Insallah/Config.php'; -// . -// ! -// " ." +// Попробуем в автозагрузку. +// Никогда не заработает с такими названиями классов и файлов! +// "На потом." spl_autoload_register(function ($className) { # 1 with namespaces # 2 without @@ -94,3 +34,10 @@ spl_autoload_register(function ($className) { } } }); + +$code = '1'; +Config::init(); +$c = Config::get(); + +//Tournament::startAllBattles(); + diff --git a/_incl_data/autoload.php b/_incl_data/autoload.php new file mode 100644 index 00000000..a6f92bb5 --- /dev/null +++ b/_incl_data/autoload.php @@ -0,0 +1,46 @@ + __DIR__ . '/class/', + 'Insallah' => __DIR__ . '/class/Insallah/', + ]; + $parts = explode('\\', $classname); + $namespace = array_shift($parts); + $classFile = array_pop($parts) . '.php'; + + if (!array_key_exists($namespace, $classMap)) { + return; + } + + $path = implode(DIRECTORY_SEPARATOR, $parts); + $file = $classMap[$namespace] . $path . DIRECTORY_SEPARATOR . $classFile; + + if (!file_exists($file) && !class_exists($classname)) { + return; + } + + require_once $file; +}); diff --git a/_incl_data/class/Battle.php b/_incl_data/class/Battle.php index 3d1061b3..347784d4 100644 --- a/_incl_data/class/Battle.php +++ b/_incl_data/class/Battle.php @@ -1,14 +1,14 @@ users[$this->uids[$u1]]['login']); $v_z = 0 + $this->stats[$this->uids[$u2]]['zm' . $type]; // - $v_p = 0 + round(($this->stats[$this->uids[$u1]]['pzm' . $type] + $this->stats[$this->uids[$u1]]['pzm']) * 0.4); // + $v_p = 0 + round( + ($this->stats[$this->uids[$u1]]['pzm' . $type] + $this->stats[$this->uids[$u1]]['pzm']) * 0.4 + ); // $v_m = 0 + $this->stats[$this->uids[$u1]]['pm' . $type]; // // return ' magelogin=' . $v_l . ' onMouseOver=top.hi(this,maginfo(' . $v_z . ',' . $v_p . ',' . $v_m . ',this),event,3,1,1,1,null); onMouseOut=top.hic(); onMouseDown=top.hic(); '; } - public function typeBattle($x) + public function typeBattle(int $x): array { $r = [0, 0, ' ', ' ']; - if ($x < 50000) { - // - } elseif ($x >= 50000 && $x < 100000) { + if ($x >= 50000 && $x < 100000) { $r = [25, 50, ' ', ' ']; } elseif ($x < 500000) { $r = [50, 75, ' ', ' ']; @@ -44,7 +43,7 @@ class Battle return $r; } - public $mncolor = [ + public array $mncolor = [ 1 => '006699', 2 => '006699', 3 => '006699', @@ -53,7 +52,7 @@ class Battle 6 => '006699', 7 => '006699', ]; // - public $mcolor = [ + public array $mcolor = [ 1 => 'A00000', 2 => '008080', 3 => '0000FF', @@ -62,7 +61,7 @@ class Battle 6 => '006699', 7 => '006699', ]; // - public $mname = [ + public array $mname = [ '' => 1, '' => 2, '' => 3, @@ -71,7 +70,7 @@ class Battle '' => 6, '' => 7, ]; - public $prm = [ + public array $prm = [ /* act: 1 - 2 - @@ -85,47 +84,33 @@ class Battle 2 => ['name' => '', 'act' => 2, 'type_of' => 3], 4 => ['name' => ' ', 'act' => 2, 'type_of' => 3], 7 => ['name' => ' ', 'act' => 1, 'type_of' => 4], - - 290 => ['name' => ' ', 'act' => 1, 'type_of' => 4], - - // - //291 => array( 'name' => ' ', 'act' => 2, 'type_of' => 4 ), - // 294 => ['name' => ' ', 'act' => 2, 'type_of' => 0, 'moment' => 0, 'moment_end' => 3], 295 => ['name' => '', 'act' => 2, 'type_of' => 0, 'moment' => 0, 'moment_end' => 3], 296 => ['name' => ' ', 'act' => 2, 'type_of' => 0, 'moment' => 0, 'moment_end' => 3], 297 => ['name' => '', 'act' => 2, 'type_of' => 0, 'moment' => 3], 298 => ['name' => ' ', 'act' => 2, 'type_of' => 3], - // - 141 => ['name' => ' ', 'act' => 2, 'type_of' => 4], 147 => ['name' => ' ', 'act' => 2, 'type_of' => 4], 148 => ['name' => ' ', 'act' => 2, 'type_of' => 4], 149 => ['name' => ' ', 'act' => 2, 'type_of' => 4], 150 => ['name' => ' ', 'act' => 2, 'type_of' => 4], - - 142 => ['name' => ' ', 'act' => 2, 'type_of' => 4], 144 => ['name' => ' ', 'act' => 2, 'type_of' => 4], 146 => ['name' => ' ', 'act' => 2, 'type_of' => 4], 145 => ['name' => ' ', 'act' => 2, 'type_of' => 4], - 8 => ['name' => ' ', 'act' => 1, 'type_of' => 1], 9 => ['name' => ' ', 'act' => 2, 'type_of' => 3], 10 => ['name' => '', 'act' => 1, 'type_of' => 1], 11 => ['name' => ' ', 'act' => 2, 'type_of' => 3], - 45 => ['name' => ' ', 'act' => 1, 'type_of' => 4], - 47 => ['name' => ' ', 'act' => 2, 'type_of' => 2], 48 => ['name' => ' ', 'act' => 1, 'type_of' => 1], 49 => ['name' => ' ', 'act' => 1, 'type_of' => 1], 138 => ['name' => ' ', 'act' => 2, 'type_of' => 3], 140 => ['name' => ' ', 'act' => 1, 'type_of' => 4], 193 => ['name' => ' ', 'act' => 2, 'type_of' => 3], - //204 => array( 'name' => '', 'act' => 2 , 'type_of' => 5 ), 204 => ['name' => '', 'act' => 2, 'type_of' => 0, 'moment' => 3], 211 => ['name' => ' ', 'act' => 1, 'type_of' => 4], 213 => ['name' => ' ', 'act' => 1, 'type_of' => 4], @@ -142,13 +127,9 @@ class Battle 235 => ['name' => ' ', 'act' => 2, 'type_of' => 3], 342 => ['name' => ' ', 'act' => 0, 'type_of' => 0], 343 => ['name' => '', 'act' => 0, 'type_of' => 0], - - 237 => ['name' => ' ', 'act' => 2, 'type_of' => 3 /*, 'moment' => 3*/], - + 237 => ['name' => ' ', 'act' => 2, 'type_of' => 3], 239 => ['name' => ' ', 'act' => 2, 'type_of' => 3], 240 => ['name' => ' ', 'act' => 2, 'type_of' => 5] - - // , 21 => ['name' => ' [4]', 'act' => 2, 'type_of' => 0, 'moment' => 0, 'moment_end' => 3] , @@ -165,8 +146,6 @@ class Battle 78 => ['name' => ' [10]', 'act' => 2, 'type_of' => 0, 'moment' => 0, 'moment_end' => 3] , 79 => ['name' => ' [11]', 'act' => 2, 'type_of' => 0, 'moment' => 0, 'moment_end' => 3] - - // , 22 => ['name' => ' [6]', 'act' => 2, 'type_of' => 0, 'moment' => 0, 'moment_end' => 3] , @@ -179,8 +158,6 @@ class Battle 83 => ['name' => ' [10]', 'act' => 2, 'type_of' => 0, 'moment' => 0, 'moment_end' => 3] , 84 => ['name' => ' [11]', 'act' => 2, 'type_of' => 0, 'moment' => 0, 'moment_end' => 3] - - // , 36 => ['name' => ' [5]', 'act' => 2, 'type_of' => 0, 'moment' => 0, 'moment_end' => 3] , @@ -195,8 +172,6 @@ class Battle 89 => ['name' => ' [10]', 'act' => 2, 'type_of' => 0, 'moment' => 0, 'moment_end' => 3] , 90 => ['name' => ' [11]', 'act' => 2, 'type_of' => 0, 'moment' => 0, 'moment_end' => 3] - - // , 23 => ['name' => ' [8]', 'act' => 2, 'type_of' => 0, 'moment' => 0, 'moment_end' => 3] , @@ -205,39 +180,21 @@ class Battle 71 => ['name' => ' [10]', 'act' => 2, 'type_of' => 0, 'moment' => 0, 'moment_end' => 3] , 72 => ['name' => ' [11]', 'act' => 2, 'type_of' => 0, 'moment' => 0, 'moment_end' => 3] - - // , 269 => ['name' => ' [8]', 'act' => 2, 'type_of' => 9] , 276 => ['name' => ' [9]', 'act' => 2, 'type_of' => 9] , 277 => ['name' => ' [10]', 'act' => 2, 'type_of' => 9] - - // , 270 => ['name' => ' ', 'act' => 2, 'type_of' => 5, 'type_sec' => 5] - - // , 280 => ['name' => ' ', 'act' => 2, 'type_of' => 0, 'moment' => 0, 'moment_end' => 3] - - // , 281 => ['name' => ' ', 'act' => 2, 'type_of' => 5] - - // - , - 282 => ['name' => ' ', 'act' => 2, 'type_of' => 5] - - // - // - - // , + 282 => ['name' => ' ', 'act' => 2, 'type_of' => 5], 24 => ['name' => '', 'act' => 2, 'type_of' => 0, 'moment' => 3] - - // , 210 => ['name' => ' [4]', 'act' => 2, 'type_of' => 8] , @@ -250,8 +207,6 @@ class Battle 206 => ['name' => ' [10]', 'act' => 2, 'type_of' => 8] , 284 => ['name' => ' [11]', 'act' => 2, 'type_of' => 8] - - // , 175 => ['name' => ' [7]', 'act' => 2, 'type_of' => 8] , @@ -262,11 +217,6 @@ class Battle 178 => ['name' => ' [10]', 'act' => 2, 'type_of' => 8] , 179 => ['name' => ' [11]', 'act' => 2, 'type_of' => 8] - - // - // - - // , 42 => ['name' => ' [6]', 'act' => 2, 'type_of' => 0, 'moment' => 0, 'moment_end' => 3] , @@ -279,25 +229,14 @@ class Battle 124 => ['name' => ' [10]', 'act' => 2, 'type_of' => 0, 'moment' => 0, 'moment_end' => 3] , 125 => ['name' => ' [11]', 'act' => 2, 'type_of' => 0, 'moment' => 0, 'moment_end' => 3] - - // , 249 => ['name' => ' ', 'act' => 2, 'type_of' => 4] - - // , 248 => ['name' => ' ', 'act' => 2, 'type_of' => 4] - - // , 251 => ['name' => ': ', 'act' => 2, 'type_of' => 0, 'moment' => 0, 'moment_end' => 3] , 252 => ['name' => ': ', 'act' => 2, 'type_of' => 0, 'moment' => 0, 'moment_end' => 3] - - // - // - - // , 273 => ['name' => ' [10]', 'act' => 1, 'type_of' => 4] , @@ -306,19 +245,10 @@ class Battle 287 => ['name' => ' [8]', 'act' => 1, 'type_of' => 4] , 288 => ['name' => ' [7]', 'act' => 1, 'type_of' => 4] - - // , 255 => ['name' => ' ', 'act' => 2, 'type_of' => 8] - - // - // - - // , 337 => ['name' => ' ', 'act' => 2, 'type_of' => 5] - - // , 33 => ['name' => ' [6]', 'act' => 2, 'type_of' => 0, 'moment' => 0, 'moment_end' => 3] , @@ -331,11 +261,8 @@ class Battle 59 => ['name' => ' [10]', 'act' => 2, 'type_of' => 0, 'moment' => 0, 'moment_end' => 3] , 60 => ['name' => ' [11]', 'act' => 2, 'type_of' => 0, 'moment' => 0, 'moment_end' => 3] - - // , 245 => ['name' => ' ', 'act' => 2, 'type_of' => 9] - // , 327 => ['name' => ' ', 'act' => 2, 'type_of' => 0, 'moment' => 3] , @@ -360,7 +287,6 @@ class Battle 'moment' => 0, 'moment_end' => 3, ] - //1 , , 299 => ['name' => ' ', 'act' => 2, 'type_of' => 0, 'moment' => 0, 'moment_end' => 3] , @@ -382,16 +308,18 @@ class Battle { if ($type == 'all') { $type = ''; - mysql_query('INSERT INTO `battle_logs_save` SELECT `id`,`time`,`battle`,`id_hod`,`text`,`vars`,`zona1`,`zonb1`,`zona2`,`zonb2`,`type` FROM `battle_logs` WHERE `battle` = "' . $this->info['id'] . '" AND `id_hod` <= ' . ($this->hodID) . ''); + mysql_query( + 'INSERT INTO `battle_logs_save` SELECT `id`,`time`,`battle`,`id_hod`,`text`,`vars`,`zona1`,`zonb1`,`zona2`,`zonb2`,`type` FROM `battle_logs` WHERE `battle` = "' . $this->info['id'] . '" AND `id_hod` <= ' . ($this->hodID) . '' + ); } else { - mysql_query('INSERT INTO `battle_logs_save` SELECT `id`,`time`,`battle`,`id_hod`,`text`,`vars`,`zona1`,`zonb1`,`zona2`,`zonb2`,`type` FROM `battle_logs` WHERE `battle` = "' . $this->info['id'] . '" AND `id_hod` <= ' . ($this->hodID - 5) . ''); + mysql_query( + 'INSERT INTO `battle_logs_save` SELECT `id`,`time`,`battle`,`id_hod`,`text`,`vars`,`zona1`,`zonb1`,`zona2`,`zonb2`,`type` FROM `battle_logs` WHERE `battle` = "' . $this->info['id'] . '" AND `id_hod` <= ' . ($this->hodID - 5) . '' + ); } mysql_query('DELETE FROM `battle_logs` WHERE `battle` = "' . $this->info['id'] . '" ' . $type . ''); mysql_query('DELETE FROM `battle_stat` WHERE `battle` < "' . ($this->info['id'] - 100) . '" '); mysql_query('DELETE FROM `battle_actions` WHERE `btl` = "' . $this->info['id'] . '" '); - //mysql_query('OPTIMIZE TABLE `battle_logs`'); - //mysql_query('OPTIMIZE TABLE `battle_stat`'); - //mysql_query('OPTIMIZE TABLE `battle_actions`'); + } public function hphe($uid, $hp, $false_t7 = false) @@ -414,7 +342,7 @@ class Battle $hp = $hp / 100 * (100 + $this->stats[$this->uids[$uid]]['min_heal_proc']); } // - if ($false_t7 == false) { + if (!$false_t7) { if ($this->users[$this->uids[$uid]]['tactic7'] <= 0) { $hp = 0; $this->users[$this->uids[$uid]]['tactic7'] = 0; @@ -427,8 +355,10 @@ class Battle $gdhd = round($this->users[$this->uids[$uid]]['tactic7'] / $gdhh * 100); - $this->users[$this->uids[$uid]]['tactic7'] = round(($this->users[$this->uids[$uid]]['tactic7'] - $gdhh), - 2); + $this->users[$this->uids[$uid]]['tactic7'] = round( + ($this->users[$this->uids[$uid]]['tactic7'] - $gdhh), + 2 + ); if ($this->users[$this->uids[$uid]]['tactic7'] < 0) { $this->users[$this->uids[$uid]]['tactic7'] = 0; } @@ -451,55 +381,54 @@ class Battle } $this->stats[$this->uids[$uid]]['last_hp'] = -$hp; - mysql_query('UPDATE `stats` SET + mysql_query( + 'UPDATE `stats` SET `last_hp` = "' . $this->users[$this->uids[$uid]]['last_hp'] . '", `tactic7` = "' . $this->users[$this->uids[$uid]]['tactic7'] . '" - WHERE `id` = "' . $uid . '" LIMIT 1'); + WHERE `id` = "' . $uid . '" LIMIT 1' + ); } return floor($hp); } - public function deleffm($pid, $uid, $id) + public function deleffm(int $pid, int $uid, int $id) { if ($id > 0) { - if (!mysql_query('DELETE FROM `eff_users` WHERE `id` = "' . mysql_real_escape_string($id) . '" AND `v1` = "priem" AND `v2` != "0" LIMIT 1')) { + if (!mysql_query('DELETE FROM `eff_users` WHERE `id` = ' . $id . ' AND `v1` = "priem" AND `v2` != 0')) { echo '[* [' . $id . ',' . $pid . ',' . $uid . ']]'; } } else { - if (!mysql_query('DELETE FROM `eff_users` WHERE `uid` = "' . mysql_real_escape_string($uid) . '" AND `v1` = "priem" AND `v2` = "' . $pid . '"')) { - } + mysql_query('DELETE FROM `eff_users` WHERE `uid` = ' . $uid . ' AND `v1` = "priem" AND `v2` = ' . $pid); } - //echo '['.$id.','.$pid.','.$uid.']'; } - public $e, // () - $cached = false, // - $expCoef = 0, # % - $aBexp = 0, // - $mainStatus = 1, // (1 - , 2 - , 3 - . ) - $info = [], // - $users = [], // - $stats = [], // - $uids = [], // id stats users id = 555 , $uids[555] users \ stats - $atacks = [], // () - $ga = [], // uid $ga[ {id } ][ {id } ] - $ag = [], // uid $ga[ {id } ][ {id } ] - $na = 1, // - $np = 1, // - $nm = 1, // - $hodID = 0, - $stnZbVs = 0, - $bots = [], // ID - $iBots = [], // i - $stnZb = [], - $uAtc = [ + public $cached = false; // + public $expCoef = 0; # % + public $aBexp = 0; // + public $mainStatus = 1; // (1 - , 2 - , 3 - . ) + public $info = []; // + public $users = []; // + public $stats = []; // + public $uids = []; // id stats users id = 555 , $uids[555] users \ stats + public $atacks = []; // () + public $ga = []; // uid $ga[ {id } ][ {id } ] + public $ag = []; // uid $ga[ {id } ][ {id } ] + public $na = 1; // + public $np = 1; // + public $nm = 1; // + public $hodID = 0; + public $stnZbVs = 0; + public $bots = []; // ID + public $iBots = []; // i + public $stnZb = []; + public array $uAtc = [ 'id' => 0, 'a' => [1 => 0, 2 => 0, 3 => 0, 4 => 0, 5 => 0], 'b' => 0, - ], // - $lg_itm = [ + ]; // + public array $lg_itm = [ 0 => [ '', ' ', @@ -525,8 +454,8 @@ class Battle ], 5 => [' ', '', ' ', ' ', ' '], 22 => [''], - ], // - $lg_zon = [ + ]; // + public array $lg_zon = [ 1 => [ ' ', ' ', @@ -543,10 +472,12 @@ class Battle 4 => [' < >', ' ', ' ', ' ', ' '], 5 => [' ', ' ', ' ', ' ', ' '], ]; // - public $is = [], $items = []; - + public $e; // () + public $is = []; + public $items = []; // ... - public $uclearc = [], $ucleari = []; + public $uclearc = []; + public $ucleari = []; public function clear_cache($uid) { @@ -560,7 +491,9 @@ class Battle { $i = 0; while ($i < count($this->ucleari)) { - mysql_query('DELETE FROM `battle_cache` WHERE `uid` = "' . mysql_real_escape_string($this->ucleari[$i]) . '"'); + mysql_query( + 'DELETE FROM `battle_cache` WHERE `uid` = "' . mysql_real_escape_string($this->ucleari[$i]) . '"' + ); $i++; } } @@ -622,17 +555,11 @@ class Battle } - // - public function hpRef() - { - } - // public function testExp($y, $s1, $s2, $id1, $id2) { global $u, $c; - // $oplevel = [ // . 0 => 1, @@ -656,85 +583,36 @@ class Battle $y = 0; } if ($s2['hpNow'] < 0) { - //echo '[f]'; $y = 0; } if ($s2['hpNow'] < $y) { - //echo '[d]'; $y = $s2['hpNow']; } - if ($y < 0) { /*echo '[r]';*/ + if ($y < 0) { $y = 0; } - // - // $addExp = 0+(($y/$s2['hpAll'])*100); $addExp = 0 + ($y * $oplevel[$this->users[$this->uids[$s2['id']]]['level']]); if ($s2['hpAll'] - $y <= 0) { - //echo '[a]'; $addExp = 100; } - //if($this->users[$this->uids[$s2['id']]]['host_reg'] == 'real_bot_user') { - // $addExp = floor($addExp*0.76); - //} if ($addExp < 0) { $addExp = 0; } if ($s2['levels'] != 'undefined' && $this->users[$this->uids[$s2['id']]]['pass'] != 'saintlucia') { - //$doexp = mysql_fetch_array(mysql_query('SELECT SUM(`items_main`.`price1`) FROM `items_users`,`items_main` WHERE `items_users`.`inOdet` > 0 AND `items_main`.`inSlot` < 50 AND `items_users`.`uid` = "'.$id2.'" AND `items_users`.`delete` = 0 AND `items_main`.`id` = `items_users`.`item_id` ORDER BY `items_main`.`inSlot` ASC LIMIT 50')); - //if($doexp[0]>0) { - // $doexp = floor($doexp[0]/15); - //}else{ - // $doexp = 0; - //} - //$doexp = floor(($this->users[$this->uids[$id2]]['btl_cof']-$this->users[$this->uids[$id1]]['btl_cof']*0.80)/5); - /*if( $this->users[$this->uids[$id2]]['btl_cof'] > $this->users[$this->uids[$s2['id']]]['level']*350 ) { - // - $doexp = floor($this->users[$this->uids[$s2['id']]]['level']*350 + ($this->users[$this->uids[$id2]]['btl_cof']/20)); - }else{ - // - $doexp = floor(($this->users[$this->uids[$id2]]['btl_cof'])); - }*/ if ($doexp < 0) { $doexp = 0; } - //$addExp = $addExp*(1+($s2['levels']['expBtlMax']+$s2['irka'])+($doexp*1.01/10))/100; - /* - $bmxx = $s2['levels']['expBtlMax']; - if ($s2['levels']['bprice'] == 0) - { - $bmxx = round( $bmxx * $s2['prckr']); - } - else - { - $bmxx = round( $bmxx * ( $s2['prckr'] / $s2['levels']['bprice'] ) ); - } - - if( $bmxx < $s2['levels']['expBtlMax'] / 2 ) { - $bmxx = round($s2['levels']['expBtlMax']/5); - } - - if( $this->info['type'] == 1 ) { - $addExp = $addExp*($bmxx/10)/100; - }else{ - $xty = 0; - - // $xty = ($s2['reting']-$s1['reting']/2); - // if( $xty < 0 ) { - // $xty = 0; - // } - - $addExp = $addExp*(($bmxx+$xty))/100; - }*/ - - - //echo '( : '.$s2['levels']['expBtlMax'].')'; - // if ($this->info['razdel'] != 5 && $c['exp_limit_many'] == true) { - $texp = mysql_fetch_array(mysql_query('SELECT COUNT(`a`.`id`) FROM `battle_users` AS `a` WHERE `a`.`uid` = "' . $id1 . '" AND `a`.`battle` IN ( SELECT `b`.`battle` FROM `battle_users` AS `b` WHERE `b`.`uid` = "' . $id2 . '" AND `b`.`team` != `a`.`team` AND `b`.`time` > "' . (time() - 86400) . '" ) LIMIT 1')); + $texp = mysql_fetch_array( + mysql_query( + 'SELECT COUNT(`a`.`id`) FROM `battle_users` AS `a` WHERE `a`.`uid` = "' . $id1 . '" AND `a`.`battle` IN ( SELECT `b`.`battle` FROM `battle_users` AS `b` WHERE `b`.`uid` = "' . $id2 . '" AND `b`.`team` != `a`.`team` AND `b`.`time` > "' . (time( + ) - 86400) . '" ) LIMIT 1' + ) + ); $texp = $texp[0]; // if ($texp > 5) { @@ -751,38 +629,11 @@ class Battle $addExp = $addExp * 1.00; } } - // - if ($this->users[$this->uids[$s2['id']]]['bot'] > 0) { - //$addExp = round($addExp/5); - } unset($doexp); } else { $addExp = 0; } - /* - if($s1['level'] > $s2['level']){ - $minProc = 100 - 33*( $s1['level']-$s2['level'] ); - if($minProc < 1) { - $minProc = 1; - } - $addExp = round($addExp/100*$minProc); - } - */ - - if ($this->users[$this->uids[$s2['id']]]['bot_id'] == 0 && $this->stats[$this->uids[$s2['id']]]['itmslvl'] == 0) { - //$addExp = 0; - } - - if ($this->info['typeBattle'] == 9) { - // - // 8 - /*if( $this->users[$this->uids[$s1['id']]]['level'] > $this->users[$this->uids[$s2['id']]]['level'] ) { - if( $this->users[$this->uids[$s2['id']]]['level'] <= 8 ) { - $addExp = 0; - } - }*/ - } return $addExp; } @@ -799,14 +650,7 @@ class Battle } else { $e = 0; } - /* - if( $this->users[$this->uids[$id1]]['level'] > $this->users[$this->uids[$id2]]['level'] ) { - $rez = $this->users[$this->uids[$id1]]['level']-$this->users[$this->uids[$id2]]['level']; - $e = round($e/100*(21-$rez*3)); - if( $e < 0 ) { - $e = 0; - } - }*/ + if ((int)$this->users[$this->uids[$id1]]['bot_id'] == 0 && $this->users[$this->uids[$id1]]['dnow'] != 0 && $this->info['dungeon'] != 1) { $dun_limitForLevel = [ // . @@ -841,7 +685,11 @@ class Battle } if ($this->info['dungeon'] > 1 && $this->users[$this->uids[$id1]]['battle'] > 0) { // $dun_exp = []; // . - $rep = mysql_fetch_array(mysql_query('SELECT `dungeonexp`,`id` FROM `rep` WHERE `id` = "' . $this->users[$this->uids[$id1]]['id'] . '" LIMIT 1')); + $rep = mysql_fetch_array( + mysql_query( + 'SELECT `dungeonexp`,`id` FROM `rep` WHERE `id` = "' . $this->users[$this->uids[$id1]]['id'] . '" LIMIT 1' + ) + ); $rep = explode(',', $rep['dungeonexp']); foreach ($rep as $key => $val) { $val = explode('=', $val); @@ -867,7 +715,11 @@ class Battle ) { // . if (($dun_exp[$this->info['dungeon']] + $e) > $dun_limitForLevel[(int)$this->users[$this->uids[$id1]]['level']]) { // , . - $e = abs($e - abs($dun_limitForLevel[(int)$this->users[$this->uids[$id1]]['level']] - ($e + $dun_exp[$this->info['dungeon']]))); + $e = abs( + $e - abs( + $dun_limitForLevel[(int)$this->users[$this->uids[$id1]]['level']] - ($e + $dun_exp[$this->info['dungeon']]) + ) + ); $dun_exp[$this->info['dungeon']] += $e; } elseif ($dun_limitForLevel[(int)$this->users[$this->uids[$id1]]['level']] > ($dun_exp[$this->info['dungeon']] + $e)) { // , . @@ -879,35 +731,28 @@ class Battle } else { // . $e = 0; } - } else { - $e = $e; - } // . - if ($this->info['dungeon'] == 102 && (int)$this->users[$this->uids[$id1]]['bot_id'] == 0) { + } + // . + if ($this->info['dungeon'] == 102) { $e = floor($e * 0.002); } } - /* - if( (int)$this->users[$this->uids[$id1]]['bot_id'] == 0 && $this->users[$this->uids[$id1]]['dnow'] != 0 && $this->info['dungeon'] != 1 ) { - if($this->users[$this->uids[$id1]]['level'] >= 7 ) { - $itmsCfc = ($s1['itmsCfc']+$s2['itmsCfc'])/26; - $itmsCfc = round($itmsCfc,5); - $e = $e*$itmsCfc; - } - }*/ - $this->users[$this->uids[$id1]]['battle_exp'] += floor($e);//round($e,5); - //echo '[['.$id1.']+'.$e.']'; - // - if ($mgregen == false && $nobattle_uron == false) { + $this->users[$this->uids[$id1]]['battle_exp'] += floor($e); + if (!$mgregen && !$nobattle_uron) { $this->users[$this->uids[$id1]]['battle_yron'] += floor($y); if ($this->stats[$this->uids[$id1]]['notactic'] != 1) { if ($s2['hpAll'] <= 1000) { if ($this->stats[$this->uids[$id2]]['this_animal'] == 0) { - $this->users[$this->uids[$id1]]['tactic6'] += round(0.1 * (floor($y) / $s2['hpAll'] * 100), - 10); + $this->users[$this->uids[$id1]]['tactic6'] += round( + 0.1 * (floor($y) / $s2['hpAll'] * 100), + 10 + ); } else { - $this->users[$this->uids[$id1]]['tactic6'] += round(0.1 * (floor($y) / $s2['hpAll'] * 100), - 10) / 3; + $this->users[$this->uids[$id1]]['tactic6'] += round( + 0.1 * (floor($y) / $s2['hpAll'] * 100), + 10 + ) / 3; } } else { if ($this->stats[$this->uids[$id2]]['this_animal'] == 0) { @@ -919,14 +764,10 @@ class Battle } } - //if($y != 0) { - // $this->users[$this->uids[$id1]]['tactic6'] = -$y; - //} - //if($u->info['admin'] > 0 ) { - // echo '['.$id1.' '.$id2.' +'.$y.' +'.$e.' ]'; - //} - $upd = mysql_query('UPDATE `stats` SET `last_hp` = "' . $this->users[$this->uids[$id1]]['last_hp'] . '",`tactic6` = "' . $this->users[$this->uids[$id1]]['tactic6'] . '",`battle_yron` = "' . $this->users[$this->uids[$id1]]['battle_yron'] . '",`battle_exp` = "' . $this->users[$this->uids[$id1]]['battle_exp'] . '" WHERE `id` = "' . ((int)$id1) . '" LIMIT 1'); + $upd = mysql_query( + 'UPDATE `stats` SET `last_hp` = "' . $this->users[$this->uids[$id1]]['last_hp'] . '",`tactic6` = "' . $this->users[$this->uids[$id1]]['tactic6'] . '",`battle_yron` = "' . $this->users[$this->uids[$id1]]['battle_yron'] . '",`battle_exp` = "' . $this->users[$this->uids[$id1]]['battle_exp'] . '" WHERE `id` = "' . ((int)$id1) . '" LIMIT 1' + ); if (!$upd) { echo '[ ]'; } else { @@ -970,28 +811,26 @@ class Battle if (isset($this->users[$this->uids[$id]]) || $u->info['id'] == $id) { if ($u->info['id'] == $id || ($u->info['enemy'] == $id && $id > 0)) { // - $this->users[$this->uids[$id]] = mysql_fetch_array(mysql_query('SELECT + $this->users[$this->uids[$id]] = mysql_fetch_array( + mysql_query( + 'SELECT `u`.`zag`,`u`.`id`,`u`.`login`,`u`.`login2`,`u`.`online`,`u`.`admin`,`u`.`city`,`u`.`cityreg`,`u`.`align`,`u`.`align_lvl`,`u`.`align_exp`,`u`.`clan`, `u`.`level`,`u`.`money`,`u`.`money3`,`u`.`money2`,`u`.`money4`,`u`.`battle`,`u`.`sex`,`u`.`obraz`,`u`.`win`,`u`.`win_t`, `u`.`lose`,`u`.`lose_t`,`u`.`nich`,`u`.`timeMain`,`u`.`invis`,`u`.`bot_id`,`u`.`animal`,`u`.`type_pers`, - `u`.`notrhod`,`u`.`bot_room`,`u`.`inUser`,`u`.`inTurnir`,`u`.`inTurnirnew`,`u`.`activ`,`u`.`stopexp`,`u`.`real`, + `u`.`notrhod`,`u`.`bot_room`,`u`.`inUser`,`u`.`inTurnir`,`u`.`inTurnirnew`,`u`.`stopexp`,`u`.`real`, `st`.* - FROM `users` AS `u` LEFT JOIN `stats` AS `st` ON (`u`.`id` = `st`.`id`) WHERE `u`.`id` = "' . $id . '" LIMIT 1')); + FROM `users` AS `u` LEFT JOIN `stats` AS `st` ON (`u`.`id` = `st`.`id`) WHERE `u`.`id` = "' . $id . '" LIMIT 1' + ) + ); $this->stats[$this->uids[$id]] = $u->getStats($this->users[$this->uids[$id]], 0, 0, false, false, true); $this->stats[$this->uids[$id]]['items'] = $this->stats[$this->uids[$id]]['items']; $this->stats[$this->uids[$id]]['effects'] = $this->stats[$this->uids[$id]]['effects']; - /* - $ur = $this->users[$this->uids[$id]]; - $st = $this->stats[$this->uids[$id]]; - $itm = $this->stats[$this->uids[$id]]['items']; - $eff = $this->stats[$this->uids[$id]]['effects']; - */ + } - //ssecho '['.$id.' -> '.$this->users[$this->uids[$id]]['last_hp'].']'; $ur = $this->users[$this->uids[$id]]; $st = $this->stats[$this->uids[$id]]; @@ -999,9 +838,7 @@ class Battle $eff = $this->stats[$this->uids[$id]]['effects']; $ef = ''; $i = 0; - //effs_hide.gif if ($u->info['seff'] < 1) { - //$ef .= '
'; $ef .= '
\',event,3,1,1,1,\'\');\" onmouseout=\"top.hic();\" onmousedown=\"top.hic();\">
'; while ($i != -1) { @@ -1010,7 +847,9 @@ class Battle if ($this->stats[$this->uids[$ur['id']]]['seeAllEff'] != 1) { $nseef = 1; if ($eff[$i]['v1'] == 'priem') { - $eff[$i]['priem'] = mysql_fetch_array(mysql_query('SELECT * FROM `priems` WHERE `id` = "' . $eff[$i]['v2'] . '" LIMIT 1')); + $eff[$i]['priem'] = mysql_fetch_array( + mysql_query('SELECT * FROM `priems` WHERE `id` = "' . $eff[$i]['v2'] . '" LIMIT 1') + ); } if (isset($eff[$i]['priem']['id']) && $eff[$i]['priem']['neg'] == 1) { $nseef = 0; @@ -1022,7 +861,6 @@ class Battle if ($nseef == 0) { $ei = '' . $eff[$i]['name'] . ''; if ($eff[$i]['x'] > 1) { - //$ei .= ' [x'.$eff[$i]['x'].'] '; $ei .= ' x' . $eff[$i]['x'] . ' '; } if ($eff[$i]['type1'] > 0 && $eff[$i]['type1'] < 7) { @@ -1054,40 +892,7 @@ class Battle $time_still -= time(); if ($eff[$i]['bp'] == 0 && $eff[$i]['timeUse'] != 77) { if ($eff[$i]['type1'] != 13) { - /*$tmp = floor($time_still/2592000); - $id=0; - if ($tmp > 0) { - $id++; - if ($id<3) {$out .= $tmp." . ";} - $time_still = $time_still-$tmp*2592000; - } - $tmp = floor($time_still/604800); - if ($tmp > 0) { - $id++; - if ($id<3) {$out .= $tmp." . ";} - $time_still = $time_still-$tmp*604800; - } - $tmp = floor($time_still/86400); - if ($tmp > 0) { - $id++; - if ($id<3) {$out .= $tmp." . ";} - $time_still = $time_still-$tmp*86400; - } - $tmp = floor($time_still/3600); - if ($tmp > 0) { - $id++; - if ($id<3) {$out .= $tmp." . ";} - $time_still = $time_still-$tmp*3600; - } - $tmp = floor($time_still/60); - if ($tmp > 0) { - $id++; - if ($id<3) {$out .= $tmp." . ";} - } - if($out=='') - { - $out = $time_still.' .'; - }*/ + $ei .= ': ' . $u->timeOut($time_still) . ''; } } else { @@ -1187,7 +992,6 @@ class Battle $ei .= '
:
' . $eff[$i]['info']; } - //$ef .= ''; $ef .= '
'; unset($efix); } @@ -1199,9 +1003,6 @@ class Battle } else { $ef .= '
\',event,3,1,1,1,\'\');\" onmouseout=\"top.hic();\" onmousedown=\"top.hic();\">
'; } - if ($st['itmslvl'] == 0 && $ur['bot_id'] == 0) { - //$ef .= '
()
: \">
'; - } $ca = ''; if ($ur['clan'] > 0) { @@ -1237,11 +1038,7 @@ class Battle $stsua .= '
: ' . $st['s7']; } if ($u->info['admin'] > 0) { - if (isset($ur['align']) && $ur['align'] == 9) { - $align = $ur['align']; - } else { - $align = $ur['align']; - } + $align = $ur['align']; } $tp_img = [ 1 => 4, @@ -1257,95 +1054,93 @@ class Battle 9 => 14, 8 => 15, 11 => 17, // 2 - 12 => 18 // 3 + 12 => 18, // 3 ]; - $info = 'info_reflesh(' . $t . ',' . $ur['id'] . ',"' . $ca . '' . $ur['login2'] . ' [' . $ur['level'] . '] ","' . $ur['obraz'] . '",' . floor($st['hpNow']) . ',' . floor($st['hpAll']) . ',' . floor($st['mpNow']) . ',' . floor($st['mpAll']) . ',0,' . $ur['sex'] . ',"' . $ef . '","' . $stsua . '", "' . $align . '", "' . $ur['zag'] . '");shpb();'; + $info = 'info_reflesh(' . $t . ',' . $ur['id'] . ',"' . $ca . '' . $ur['login2'] . ' [' . $ur['level'] . '] ","' . $ur['obraz'] . '",' . floor( + $st['hpNow'] + ) . ',' . floor($st['hpAll']) . ',' . floor($st['mpNow']) . ',' . floor( + $st['mpAll'] + ) . ',0,' . $ur['sex'] . ',"' . $ef . '","' . $stsua . '", "' . $align . '", "' . $ur['zag'] . '");shpb();'; $i = 0; - while ($i < count($itm)) { - // - if (isset($st['items_img'][$tp_img[$itm[$i]['inOdet']]])) { - $itm[$i]['img'] = $st['items_img'][$tp_img[$itm[$i]['inOdet']]]; - } - // - $ttl = '' . $itm[$i]['name'] . ''; - $td = $u->lookStats($itm[$i]['data']); - $lvar = ''; - if ($td['add_hpAll'] > 0) { + if (is_array($itm)) { + while ($i < count($itm)) { + // + if (isset($st['items_img'][$tp_img[$itm[$i]['inOdet']]])) { + $itm[$i]['img'] = $st['items_img'][$tp_img[$itm[$i]['inOdet']]]; + } + // + $ttl = '' . $itm[$i]['name'] . ''; + $td = $u->lookStats($itm[$i]['data']); + $lvar = ''; if ($td['add_hpAll'] > 0) { $td['add_hpAll'] = '+' . $td['add_hpAll']; + $lvar .= '
: ' . $td['add_hpAll'] . ''; } - $lvar .= '
: ' . $td['add_hpAll'] . ''; - } - if ($td['sv_yron_max'] > 0 || $td['sv_yron_min'] > 0) { - $lvar .= '
: ' . (0 + $td['sv_yron_min']) . '-' . (0 + $td['sv_yron_max']) . ''; - } - if ($td['add_mab1'] > 0) { - if ($td['add_mib1'] == $td['add_mab1'] && $pl['geniration'] == 1) { - $m1l = '+'; - if ($td['add_mab1'] < 0) { - $m1l = ''; + if ($td['sv_yron_max'] > 0 || $td['sv_yron_min'] > 0) { + $lvar .= '
: ' . (0 + $td['sv_yron_min']) . '-' . (0 + $td['sv_yron_max']) . ''; + } + if ($td['add_mab1'] > 0) { + if ($td['add_mib1'] == $td['add_mab1'] && $pl['geniration'] == 1) { + $m1l = '+'; + $lvar .= '
: ' . $m1l . '' . (0 + $td['add_mab1']) . ''; + } else { + $lvar .= '
: ' . (0 + $td['add_mib1']) . '-' . (0 + $td['add_mab1']) . ''; } - $lvar .= '
: ' . $m1l . '' . (0 + $td['add_mab1']) . ''; - } else { - $lvar .= '
: ' . (0 + $td['add_mib1']) . '-' . (0 + $td['add_mab1']) . ''; } - } - if ($td['add_mab2'] > 0) { - if ($td['add_mib2'] == $td['add_mab2'] && $pl['geniration'] == 1) { - $m1l = '+'; - if ($td['add_mab2'] < 0) { - $m1l = ''; + if ($td['add_mab2'] > 0) { + if ($td['add_mib2'] == $td['add_mab2'] && $pl['geniration'] == 1) { + $m1l = '+'; + $lvar .= '
: ' . $m1l . '' . (0 + $td['add_mab2']) . ''; + } else { + $lvar .= '
: ' . (0 + $td['add_mib2']) . '-' . (0 + $td['add_mab2']) . ''; } - $lvar .= '
: ' . $m1l . '' . (0 + $td['add_mab2']) . ''; - } else { - $lvar .= '
: ' . (0 + $td['add_mib2']) . '-' . (0 + $td['add_mab2']) . ''; } - } - if ($td['add_mab3'] > 0) { - if ($td['add_mib3'] == $td['add_mab3'] && $pl['geniration'] == 1) { - $m1l = '+'; - if ($td['add_mab3'] < 0) { - $m1l = ''; + if ($td['add_mab3'] > 0) { + if ($td['add_mib3'] == $td['add_mab3'] && $pl['geniration'] == 1) { + $m1l = '+'; + $lvar .= '
: ' . $m1l . '' . (0 + $td['add_mab3']) . ''; + } else { + $lvar .= '
: ' . (0 + $td['add_mib3']) . '-' . (0 + $td['add_mab3']) . ''; } - $lvar .= '
: ' . $m1l . '' . (0 + $td['add_mab3']) . ''; - } else { - $lvar .= '
: ' . (0 + $td['add_mib3']) . '-' . (0 + $td['add_mab3']) . ''; } - } - if ($td['add_mab4'] > 0) { - if ($td['add_mib4'] == $td['add_mab4'] && $pl['geniration'] == 1) { - $m1l = '+'; - if ($td['add_mab4'] < 0) { - $m1l = ''; + if ($td['add_mab4'] > 0) { + if ($td['add_mib4'] == $td['add_mab4'] && $pl['geniration'] == 1) { + $m1l = '+'; + $lvar .= '
: ' . $m1l . '' . (0 + $td['add_mab4']) . ''; + } else { + $lvar .= '
: ' . (0 + $td['add_mib4']) . '-' . (0 + $td['add_mab4']) . ''; } - $lvar .= '
: ' . $m1l . '' . (0 + $td['add_mab4']) . ''; - } else { - $lvar .= '
: ' . (0 + $td['add_mib4']) . '-' . (0 + $td['add_mab4']) . ''; } - } - if ($itm[$i]['iznosMAX'] > 0) { - if ($itm[$i]['iznosMAXi'] == 999999999) { - $lvar .= '
: '; - } else { - $lvar .= '
: ' . floor($itm[$i]['iznosNOW']) . '/' . floor($itm[$i]['iznosMAX']); + if ($itm[$i]['iznosMAX'] > 0) { + if ($itm[$i]['iznosMAXi'] == 999999999) { + $lvar .= '
: '; + } else { + $lvar .= '
: ' . floor($itm[$i]['iznosNOW']) . '/' . floor( + $itm[$i]['iznosMAX'] + ); + } } - } - $ttl .= $lvar; - $ccv = ''; + $ttl .= $lvar; + $ccv = ''; - if ($itm[$i]['magic_inci'] != '' || $itm[$i]['magic_inc'] != '') { - if ($itm[$i]['magic_inc'] == '') { - $itm[$i]['magic_inc'] = $itm[$i]['magic_inci']; + if ($itm[$i]['magic_inci'] != '' || $itm[$i]['magic_inc'] != '') { + if ($itm[$i]['magic_inc'] == '') { + $itm[$i]['magic_inc'] = $itm[$i]['magic_inci']; + } + $mgi = mysql_fetch_array( + mysql_query( + 'SELECT * FROM `eff_main` WHERE `id2` = "' . $itm[$i]['magic_inc'] . '" AND `type1` = "12345" LIMIT 1' + ) + ); + if (isset($mgi['id2'])) { + $mgilog = ''; + $ccv .= 'top.useMagicBattle(\'' . $mgi['mname'] . '\',' . $itm[$i]['id'] . ',\'' . $mgi['img'] . '\',1,2);'; + } } - $mgi = mysql_fetch_array(mysql_query('SELECT * FROM `eff_main` WHERE `id2` = "' . $itm[$i]['magic_inc'] . '" AND `type1` = "12345" LIMIT 1')); - if (isset($mgi['id2'])) { - $mgilog = ''; - $ccv .= 'top.useMagicBattle(\'' . $mgi['mname'] . '\',' . $itm[$i]['id'] . ',\'' . $mgi['img'] . '\',1,2);'; - } - } - $info .= 'abitms(' . (0 + $t) . ',' . (0 + $itm[$i]['uid']) . ',' . (0 + $itm[$i]['id']) . ',' . (0 + $itm[$i]['inOdet']) . ',"' . $itm[$i]['name'] . '","' . $ttl . '","' . $itm[$i]['img'] . '","' . $ccv . '");'; - $i++; + $info .= 'abitms(' . (0 + $t) . ',' . (0 + $itm[$i]['uid']) . ',' . (0 + $itm[$i]['id']) . ',' . (0 + $itm[$i]['inOdet']) . ',"' . $itm[$i]['name'] . '","' . $ttl . '","' . $itm[$i]['img'] . '","' . $ccv . '");'; + $i++; + } } return $info; @@ -1355,7 +1150,7 @@ class Battle } // - public function testUsersLive() + public function testUsersLive(): bool { $r = false; $tl = 0; @@ -1385,7 +1180,8 @@ class Battle public function miniLogAdd($user, $text) { $txt = $text; - $vLog = 'at1=00000||at2=00000||zb1=0||zb2=0||bl1=0||bl2=0||time1=' . time() . '||time2=' . time() . '||s1=' . $user['sex'] . '||t1=' . $user['team'] . '||login1=' . $user['login'] . '||'; + $vLog = 'at1=00000||at2=00000||zb1=0||zb2=0||bl1=0||bl2=0||time1=' . time() . '||time2=' . time( + ) . '||s1=' . $user['sex'] . '||t1=' . $user['team'] . '||login1=' . $user['login'] . '||'; $mas1 = [ 'time' => time(), 'battle' => $this->info['id'], @@ -1406,14 +1202,13 @@ class Battle public function testFinish() { global $u; - // mysql_query('START TRANSACTION;'); - // - $test = mysql_fetch_array(mysql_query('SELECT `id` FROM `battle` WHERE `id` = "' . $this->info['id'] . '" AND `team_win` = -1 LIMIT 1 FOR UPDATE')); - //mysql_query('UPDATE `battle` SET `testfinish` = "'.$u->info['id'].'" WHERE `id` = "'.$this->info['id'].'" LIMIT 1'); - // + $test = mysql_fetch_array( + mysql_query( + 'SELECT `id` FROM `battle` WHERE `id` = "' . $this->info['id'] . '" AND `team_win` = -1 LIMIT 1 FOR UPDATE' + ) + ); mysql_query('COMMIT;'); - // if ($this->info['team_win'] == -1 && isset($test['id'])) { $hp = []; $tml = []; @@ -1440,7 +1235,9 @@ class Battle //. $tmHpNow = []; $tmNow = []; - $sp = mysql_query('SELECT `u`.`login`,`u`.`id`,`u`.`battle`,`s`.`team`,`s`.`hpNow` FROM `users` AS `u` LEFT JOIN `stats` AS `s` ON `s`.`id` = `u`.`id` WHERE `u`.`battle` = "' . $this->info['id'] . '"'); + $sp = mysql_query( + 'SELECT `u`.`login`,`u`.`id`,`u`.`battle`,`s`.`team`,`s`.`hpNow` FROM `users` AS `u` LEFT JOIN `stats` AS `s` ON `s`.`id` = `u`.`id` WHERE `u`.`battle` = "' . $this->info['id'] . '"' + ); while ($pl = mysql_fetch_array($sp)) { if (!isset($tmHpNow[$pl['team']])) { $tmHpNow[$pl['team']] = 0; @@ -1490,7 +1287,9 @@ class Battle if ($this->info['id'] > 0) { // unset($this->users, $this->stats, $this->uids, $this->bots, $this->iBots); - $trl = mysql_query('SELECT `u`.`no_ip`,`u`.`id`,`u`.`notrhod`,`u`.`login`,`u`.`login2`,`u`.`sex`,`u`.`online`,`u`.`admin`,`u`.`align`,`u`.`align_lvl`,`u`.`align_exp`,`u`.`clan`,`u`.`level`,`u`.`battle`,`u`.`obraz`,`u`.`win`,`u`.`lose`,`u`.`nich`,`u`.`animal`,`st`.`stats`,`st`.`hpNow`,`st`.`mpNow`,`st`.`exp`,`st`.`dnow`,`st`.`team`,`st`.`battle_yron`,`st`.`battle_exp`,`st`.`enemy`,`st`.`battle_text`,`st`.`upLevel`,`st`.`timeGo`,`st`.`timeGoL`,`st`.`bot`,`st`.`lider`,`st`.`btl_cof`,`st`.`tactic1`,`st`.`tactic2`,`st`.`tactic3`,`st`.`tactic4`,`st`.`tactic5`,`st`.`tactic6`,`st`.`tactic7`,`st`.`x`,`st`.`y`,`st`.`battleEnd`,`st`.`priemslot`,`st`.`priems`,`st`.`priems_z`,`st`.`bet`,`st`.`clone`,`st`.`atack`,`st`.`bbexp`,`st`.`res_x`,`st`.`res_y`,`st`.`res_s`,`st`.`id`,`st`.`last_hp`,`st`.`last_pr`,`u`.`sex`,`u`.`money`,`u`.`money3`,`u`.`money2`,`u`.`bot_id` FROM `users` AS `u` LEFT JOIN `stats` AS `st` ON (`u`.`id` = `st`.`id`) WHERE `u`.`battle` = "' . $this->info['id'] . '" ORDER BY `st`.`bot` DESC'); + $trl = mysql_query( + 'SELECT `u`.`no_ip`,`u`.`id`,`u`.`notrhod`,`u`.`login`,`u`.`login2`,`u`.`sex`,`u`.`online`,`u`.`admin`,`u`.`align`,`u`.`align_lvl`,`u`.`align_exp`,`u`.`clan`,`u`.`level`,`u`.`battle`,`u`.`obraz`,`u`.`win`,`u`.`lose`,`u`.`nich`,`u`.`animal`,`st`.`stats`,`st`.`hpNow`,`st`.`mpNow`,`st`.`exp`,`st`.`dnow`,`st`.`team`,`st`.`battle_yron`,`st`.`battle_exp`,`st`.`enemy`,`st`.`battle_text`,`st`.`upLevel`,`st`.`timeGo`,`st`.`timeGoL`,`st`.`bot`,`st`.`lider`,`st`.`btl_cof`,`st`.`tactic1`,`st`.`tactic2`,`st`.`tactic3`,`st`.`tactic4`,`st`.`tactic5`,`st`.`tactic6`,`st`.`tactic7`,`st`.`x`,`st`.`y`,`st`.`battleEnd`,`st`.`priemslot`,`st`.`priems`,`st`.`priems_z`,`st`.`bet`,`st`.`clone`,`st`.`atack`,`st`.`bbexp`,`st`.`res_x`,`st`.`res_y`,`st`.`res_s`,`st`.`id`,`st`.`last_hp`,`st`.`last_pr`,`u`.`sex`,`u`.`money`,`u`.`money3`,`u`.`money2`,`u`.`bot_id` FROM `users` AS `u` LEFT JOIN `stats` AS `st` ON (`u`.`id` = `st`.`id`) WHERE `u`.`battle` = "' . $this->info['id'] . '" ORDER BY `st`.`bot` DESC' + ); $ir = 0; $bi = 0; $this->users = null; @@ -1521,20 +1320,22 @@ class Battle $tsi = 0; if ($this->info['id'] > 0) { // - $trl = mysql_query('SELECT `u`.`no_ip`,`u`.`id`,`u`.`notrhod`,`u`.`login`,`u`.`login2`,`u`.`sex`,`u`.`online`,`u`.`admin`,`u`.`align`,`u`.`align_lvl`,`u`.`align_exp`,`u`.`clan`,`u`.`level`,`u`.`battle`,`u`.`obraz`,`u`.`win`,`u`.`lose`,`u`.`nich`,`u`.`animal`,`st`.`stats`,`st`.`hpNow`,`st`.`mpNow`,`st`.`exp`,`st`.`dnow`,`st`.`team`,`st`.`battle_yron`,`st`.`battle_exp`,`st`.`enemy`,`st`.`battle_text`,`st`.`upLevel`,`st`.`timeGo`,`st`.`timeGoL`,`st`.`bot`,`st`.`lider`,`st`.`btl_cof`,`st`.`tactic1`,`st`.`tactic2`,`st`.`tactic3`,`st`.`tactic4`,`st`.`tactic5`,`st`.`tactic6`,`st`.`tactic7`,`st`.`x`,`st`.`y`,`st`.`battleEnd`,`st`.`priemslot`,`st`.`priems`,`st`.`priems_z`,`st`.`bet`,`st`.`clone`,`st`.`atack`,`st`.`bbexp`,`st`.`res_x`,`st`.`res_y`,`st`.`res_s`,`st`.`id`,`st`.`last_hp`,`st`.`last_pr`,`u`.`sex`,`u`.`money`,`u`.`bot_id`,`u`.`money3`,`u`.`money2` FROM `users` AS `u` LEFT JOIN `stats` AS `st` ON (`u`.`id` = `st`.`id`) WHERE `u`.`id` = "' . $this->info['id'] . '" LIMIT 1'); + $trl = mysql_query( + 'SELECT `u`.`no_ip`,`u`.`id`,`u`.`notrhod`,`u`.`login`,`u`.`login2`,`u`.`sex`,`u`.`online`,`u`.`admin`,`u`.`align`,`u`.`align_lvl`,`u`.`align_exp`,`u`.`clan`,`u`.`level`,`u`.`battle`,`u`.`obraz`,`u`.`win`,`u`.`lose`,`u`.`nich`,`u`.`animal`,`st`.`stats`,`st`.`hpNow`,`st`.`mpNow`,`st`.`exp`,`st`.`dnow`,`st`.`team`,`st`.`battle_yron`,`st`.`battle_exp`,`st`.`enemy`,`st`.`battle_text`,`st`.`upLevel`,`st`.`timeGo`,`st`.`timeGoL`,`st`.`bot`,`st`.`lider`,`st`.`btl_cof`,`st`.`tactic1`,`st`.`tactic2`,`st`.`tactic3`,`st`.`tactic4`,`st`.`tactic5`,`st`.`tactic6`,`st`.`tactic7`,`st`.`x`,`st`.`y`,`st`.`battleEnd`,`st`.`priemslot`,`st`.`priems`,`st`.`priems_z`,`st`.`bet`,`st`.`clone`,`st`.`atack`,`st`.`bbexp`,`st`.`res_x`,`st`.`res_y`,`st`.`res_s`,`st`.`id`,`st`.`last_hp`,`st`.`last_pr`,`u`.`sex`,`u`.`money`,`u`.`bot_id`,`u`.`money3`,`u`.`money2` FROM `users` AS `u` LEFT JOIN `stats` AS `st` ON (`u`.`id` = `st`.`id`) WHERE `u`.`id` = "' . $this->info['id'] . '" LIMIT 1' + ); $pl = mysql_fetch_array($trl); // if ($pl['login2'] == '') { $pl['login2'] = $pl['login']; } - $this->users[count($this->users)] = $pl; + $this->users[] = $pl; $this->uids[$pl['id']] = $ir; if ($pl['bot'] > 0) { - $this->bots[count($this->bots)] = $pl['id']; + $this->bots[] = $pl['id']; $this->iBots[$pl['id']] = $bi; } // - $this->stats[count($this->stats)] = $u->getStats($pl, 0, 0, false, false, true); + $this->stats[] = $u->getStats($pl, 0, 0, false, false, true); } } @@ -1544,7 +1345,9 @@ class Battle $i = 0; $dlt = ''; $dlt2 = ''; - $sp = mysql_query('SELECT `users`.`id`,`stats`.`bot`,`stats`.`team` FROM `users`,`stats` WHERE `users`.`battle` = "' . $this->info['id'] . '" AND `stats`.`id` = `users`.`id` LIMIT 250'); + $sp = mysql_query( + 'SELECT `users`.`id`,`stats`.`bot`,`stats`.`team` FROM `users`,`stats` WHERE `users`.`battle` = "' . $this->info['id'] . '" AND `stats`.`id` = `users`.`id` LIMIT 250' + ); while ($pl = mysql_fetch_array($sp)) { if ($pl['bot'] == 1 && $pl['team'] != $u->info['team']) { $dlt .= ' `id`="' . $pl['id'] . '" OR'; @@ -1569,7 +1372,7 @@ class Battle $obr = 0; // , - if ($this->get_chanse(20) == true) { + if ($this->get_chanse(20)) { // if ($this->info['izlomLvl'] == 8) { $bots = [ @@ -1579,16 +1382,21 @@ class Battle ' ', ' ', ]; - //$bots = array( ' ' ); } $logins_bot = []; // echo '
...
'; // $id2 = rand(0, (count($bots) - 1)); - $id = mysql_fetch_array(mysql_query('SELECT * FROM `test_bot` WHERE `login` = "' . $bots[$id2] . '" AND `pishera` != "" AND `active` = "1" ORDER BY `level` DESC LIMIT 1')); - $bot = $u->addNewbot($id['id'], null, null, $logins_bot, null, - round($this->info['izlomRoundSee'])); + $id = mysql_fetch_array( + mysql_query( + 'SELECT * FROM `test_bot` WHERE `login` = "' . $bots[$id2] . '" AND `pishera` != "" AND `active` = "1" ORDER BY `level` DESC LIMIT 1' + ) + ); + $bot = $u->addNewbot( + $id['id'], null, null, $logins_bot, null, + round($this->info['izlomRoundSee']) + ); if (isset($id['id']) && $bot != false) { // $btxt = ''; @@ -1604,14 +1412,18 @@ class Battle } else { $btxt = $btxt . ' .'; } - $this->miniLogAdd([ - 'login' => $id['login'], - 'sex' => $id['sex'], - 'team' => 0, - ], '{tm1} ' . $btxt); + $this->miniLogAdd( + [ + 'login' => $id['login'], + 'sex' => $id['sex'], + 'team' => 0, + ], '{tm1} ' . $btxt + ); // $logins_bot = $bot['logins_bot']; - mysql_query('UPDATE `users` SET `battle`="' . $this->info['id'] . '" WHERE `id` = "' . $bot['id'] . '" LIMIT 1'); + mysql_query( + 'UPDATE `users` SET `battle`="' . $this->info['id'] . '" WHERE `id` = "' . $bot['id'] . '" LIMIT 1' + ); mysql_query('UPDATE `stats` SET `team`="2" WHERE `id` = "' . $bot['id'] . '" LIMIT 1'); $u->addAction(time(), 'win_bot_' . $id['id'], '', $this->users[$i]['id']); if (rand(0, 10000) < 1500) { @@ -1635,10 +1447,16 @@ class Battle $logins_bot = []; // $id2 = rand(0, (count($bots) - 1)); - $id = mysql_fetch_array(mysql_query('SELECT * FROM `test_bot` WHERE `login` = "' . $bots[$id2] . '" AND `level` <= "' . $u->info['level'] . '" AND `pishera` != "" AND `active` = "1" ORDER BY `level` DESC LIMIT 1')); - $bot = $u->addNewbot($id['id'], null, null, $logins_bot, null, - ($this->info['izlomRoundSee'] * 2)); - if (isset($id['id']) && $bot != false) { + $id = mysql_fetch_array( + mysql_query( + 'SELECT * FROM `test_bot` WHERE `login` = "' . $bots[$id2] . '" AND `level` <= "' . $u->info['level'] . '" AND `pishera` != "" AND `active` = "1" ORDER BY `level` DESC LIMIT 1' + ) + ); + $bot = $u->addNewbot( + $id['id'], null, null, $logins_bot, null, + ($this->info['izlomRoundSee'] * 2) + ); + if (isset($id['id']) && $bot) { // $btxt = ''; if ($id['align'] > 0) { @@ -1653,14 +1471,18 @@ class Battle } else { $btxt = $btxt . ' .'; } - $this->miniLogAdd([ - 'login' => $id['login'], - 'sex' => $id['sex'], - 'team' => 0, - ], '{tm1} ' . $btxt); + $this->miniLogAdd( + [ + 'login' => $id['login'], + 'sex' => $id['sex'], + 'team' => 0, + ], '{tm1} ' . $btxt + ); // $logins_bot = $bot['logins_bot']; - mysql_query('UPDATE `users` SET `battle`="' . $this->info['id'] . '" WHERE `id` = "' . $bot['id'] . '" LIMIT 1'); + mysql_query( + 'UPDATE `users` SET `battle`="' . $this->info['id'] . '" WHERE `id` = "' . $bot['id'] . '" LIMIT 1' + ); mysql_query('UPDATE `stats` SET `team`="2" WHERE `id` = "' . $bot['id'] . '" LIMIT 1'); if (rand(0, 10000) < 1500) { $obr++; @@ -1669,9 +1491,13 @@ class Battle } // $id2 = rand(0, (count($bots) - 1)); - $id = mysql_fetch_array(mysql_query('SELECT * FROM `test_bot` WHERE `login` = "' . $bots[$id2] . '" AND `level` <= "' . $u->info['level'] . '" AND `pishera` != "" AND `active` = "1" ORDER BY `level` DESC LIMIT 1')); + $id = mysql_fetch_array( + mysql_query( + 'SELECT * FROM `test_bot` WHERE `login` = "' . $bots[$id2] . '" AND `level` <= "' . $u->info['level'] . '" AND `pishera` != "" AND `active` = "1" ORDER BY `level` DESC LIMIT 1' + ) + ); $bot = $u->addNewbot($id['id'], null, null, $logins_bot, null, $this->info['izlomRoundSee']); - if (isset($id['id']) && $bot != false) { + if (isset($id['id']) && $bot) { // $btxt = ''; if ($id['align'] > 0) { @@ -1686,14 +1512,18 @@ class Battle } else { $btxt = $btxt . ' .'; } - $this->miniLogAdd([ - 'login' => $id['login'], - 'sex' => $id['sex'], - 'team' => 0, - ], '{tm1} ' . $btxt); + $this->miniLogAdd( + [ + 'login' => $id['login'], + 'sex' => $id['sex'], + 'team' => 0, + ], '{tm1} ' . $btxt + ); // $logins_bot = $bot['logins_bot']; - mysql_query('UPDATE `users` SET `battle`="' . $this->info['id'] . '" WHERE `id` = "' . $bot['id'] . '" LIMIT 1'); + mysql_query( + 'UPDATE `users` SET `battle`="' . $this->info['id'] . '" WHERE `id` = "' . $bot['id'] . '" LIMIT 1' + ); mysql_query('UPDATE `stats` SET `team`="2" WHERE `id` = "' . $bot['id'] . '" LIMIT 1'); if (rand(0, 10000) < 1500) { $obr++; @@ -1703,10 +1533,16 @@ class Battle // if (rand(0, 100) < 70) { $id2 = rand(0, (count($bots) - 1)); - $id = mysql_fetch_array(mysql_query('SELECT * FROM `test_bot` WHERE `login` = "' . $bots[$id2] . '" AND `level` <= "' . $u->info['level'] . '" AND `pishera` != "" AND `active` = "1" ORDER BY `level` DESC LIMIT 1')); - $bot = $u->addNewbot($id['id'], null, null, $logins_bot, null, - $this->info['izlomRoundSee']); - if (isset($id['id']) && $bot != false) { + $id = mysql_fetch_array( + mysql_query( + 'SELECT * FROM `test_bot` WHERE `login` = "' . $bots[$id2] . '" AND `level` <= "' . $u->info['level'] . '" AND `pishera` != "" AND `active` = "1" ORDER BY `level` DESC LIMIT 1' + ) + ); + $bot = $u->addNewbot( + $id['id'], null, null, $logins_bot, null, + $this->info['izlomRoundSee'] + ); + if (isset($id['id']) && $bot) { // $btxt = ''; if ($id['align'] > 0) { @@ -1721,14 +1557,18 @@ class Battle } else { $btxt = $btxt . ' .'; } - $this->miniLogAdd([ - 'login' => $id['login'], - 'sex' => $id['sex'], - 'team' => 0, - ], '{tm1} ' . $btxt); + $this->miniLogAdd( + [ + 'login' => $id['login'], + 'sex' => $id['sex'], + 'team' => 0, + ], '{tm1} ' . $btxt + ); // $logins_bot = $bot['logins_bot']; - mysql_query('UPDATE `users` SET `battle`="' . $this->info['id'] . '" WHERE `id` = "' . $bot['id'] . '" LIMIT 1'); + mysql_query( + 'UPDATE `users` SET `battle`="' . $this->info['id'] . '" WHERE `id` = "' . $bot['id'] . '" LIMIT 1' + ); mysql_query('UPDATE `stats` SET `team`="2" WHERE `id` = "' . $bot['id'] . '" LIMIT 1'); if (rand(0, 10000) < 1500) { $obr++; @@ -1742,10 +1582,16 @@ class Battle // if (rand(0, 100) < 20) { $id2 = rand(0, (count($bots) - 1)); - $id = mysql_fetch_array(mysql_query('SELECT * FROM `test_bot` WHERE `login` = "' . $bots[$id2] . '" AND `level` <= "' . $u->info['level'] . '" AND `pishera` != "" AND `active` = "1" ORDER BY `level` DESC LIMIT 1')); - $bot = $u->addNewbot($id['id'], null, null, $logins_bot, null, - $this->info['izlomRoundSee']); - if (isset($id['id']) && $bot != false) { + $id = mysql_fetch_array( + mysql_query( + 'SELECT * FROM `test_bot` WHERE `login` = "' . $bots[$id2] . '" AND `level` <= "' . $u->info['level'] . '" AND `pishera` != "" AND `active` = "1" ORDER BY `level` DESC LIMIT 1' + ) + ); + $bot = $u->addNewbot( + $id['id'], null, null, $logins_bot, null, + $this->info['izlomRoundSee'] + ); + if (isset($id['id']) && $bot) { // $btxt = ''; if ($id['align'] > 0) { @@ -1760,15 +1606,21 @@ class Battle } else { $btxt = $btxt . ' .'; } - $this->miniLogAdd([ - 'login' => $id['login'], - 'sex' => $id['sex'], - 'team' => 0, - ], '{tm1} ' . $btxt); + $this->miniLogAdd( + [ + 'login' => $id['login'], + 'sex' => $id['sex'], + 'team' => 0, + ], '{tm1} ' . $btxt + ); // $logins_bot = $bot['logins_bot']; - mysql_query('UPDATE `users` SET `battle`="' . $this->info['id'] . '" WHERE `id` = "' . $bot['id'] . '" LIMIT 1'); - mysql_query('UPDATE `stats` SET `team`="2" WHERE `id` = "' . $bot['id'] . '" LIMIT 1'); + mysql_query( + 'UPDATE `users` SET `battle`="' . $this->info['id'] . '" WHERE `id` = "' . $bot['id'] . '" LIMIT 1' + ); + mysql_query( + 'UPDATE `stats` SET `team`="2" WHERE `id` = "' . $bot['id'] . '" LIMIT 1' + ); if (rand(0, 10000) < 1500) { $obr++; } @@ -1780,53 +1632,19 @@ class Battle } // unset($logins_bot); - // - // - // - /*if( true == false ) { - $mz = mysql_fetch_array(mysql_query('SELECT COUNT(`id`) FROM `izlom` WHERE `izlom` = "'.$this->info['izlom'].'" AND `level` = "'.$this->info['izlomLvl'].'" LIMIT 50')); - $mz = $mz[0]; - $pz = $this->info['izlomRound']+rand(1,3); - if($pz/$mz>1){ - $zz = floor($pz/$mz); - $pz = $pz-($zz*$mz); - } - $iz = mysql_fetch_array(mysql_query('SELECT * FROM `izlom` WHERE `izlom` = "'.$this->info['izlom'].'" AND `level` = "'.$this->info['izlomLvl'].'" AND `round` = "'.$pz.'" LIMIT 1')); - $i = 0; $bots = $iz['bots']; $bots = explode('|',$bots); $j = 0; $k = 0; $obr = 0; - $logins_bot = array(); - while($i0) - { - $k = $u->addNewbot($bots[$i],NULL,NULL,$logins_bot); - if($k!=false) - { - $logins_bot = $k['logins_bot']; - $upd = mysql_query('UPDATE `users` SET `battle` = "'.$this->info['id'].'" WHERE `id` = "'.$k['id'].'" LIMIT 1'); - if($upd) - { - $upd = mysql_query('UPDATE `stats` SET `team` = "2" WHERE `id` = "'.$k['id'].'" LIMIT 1'); - if($upd) - { - $j++; if(rand(0,10000) < 1500){ $obr++; } - } - } - } - } - $i++; - } - unset($logins_bot); - }*/ - // - // - // + if ($j == 0) { // $this->finishBattle($tml, $tmv, null, $tl); - $fin1 = mysql_query('INSERT INTO `izlom_rating` (`uid`,`time`,`voln`,`level`,`bots`,`rep`,`obr`,`btl`) VALUES ("' . $u->info['id'] . '","' . time() . '","' . $this->info['izlomRoundSee'] . '","' . $this->info['izlomLvl'] . '","0","0","' . ($this->info['izlomObr'] - $this->info['izlomObrNow']) . '","' . $this->info['id'] . '")'); + $fin1 = mysql_query( + 'INSERT INTO `izlom_rating` (`uid`,`time`,`voln`,`level`,`bots`,`rep`,`obr`,`btl`) VALUES ("' . $u->info['id'] . '","' . time( + ) . '","' . $this->info['izlomRoundSee'] . '","' . $this->info['izlomLvl'] . '","0","0","' . ($this->info['izlomObr'] - $this->info['izlomObrNow']) . '","' . $this->info['id'] . '")' + ); } else { $this->info['izlomRound'] = $iz['round']; - mysql_query('UPDATE `battle` SET `izlomObrNow` = ' . $obr . ',`izlomObr` = `izlomObr` + ' . $obr . ',`timeout` = (`timeout`+5),`izlomRound` = "' . ($this->info['izlomRound'] + 1) . '",`izlomRoundSee` = `izlomRoundSee`+1 WHERE `id` = "' . $this->info['id'] . '" LIMIT 1'); + mysql_query( + 'UPDATE `battle` SET `izlomObrNow` = ' . $obr . ',`izlomObr` = `izlomObr` + ' . $obr . ',`timeout` = (`timeout`+5),`izlomRound` = "' . ($this->info['izlomRound'] + 1) . '",`izlomRoundSee` = `izlomRoundSee`+1 WHERE `id` = "' . $this->info['id'] . '" LIMIT 1' + ); $this->stats[$this->uids[$u->info['id']]]['hpNow'] += $this->stats[$this->uids[$u->info['id']]]['hpAll'] * 0.25; $this->stats[$this->uids[$u->info['id']]]['mpNow'] += $this->stats[$this->uids[$u->info['id']]]['mpAll'] * 0.25; $this->users[$this->uids[$u->info['id']]]['hpNow'] = $this->stats[$this->uids[$u->info['id']]]['hpAll']; @@ -1843,9 +1661,13 @@ class Battle 'type' => 1, ]; if ($u->info['sex'] == 1) { - $mas['text'] = '' . date('H:i') . ' ' . $u->info['login'] . ' "".'; + $mas['text'] = '' . date( + 'H:i' + ) . ' ' . $u->info['login'] . ' "".'; } else { - $mas['text'] = '' . date('H:i') . ' ' . $u->info['login'] . ' "".'; + $mas['text'] = '' . date( + 'H:i' + ) . ' ' . $u->info['login'] . ' "".'; } if ($u->stats['hpNow'] < $u->stats['hpAll']) { $hpSks = floor(($u->stats['hpAll'] * ((rand(15, 25)) / 100))); @@ -1860,38 +1682,56 @@ class Battle $mas['text'] .= ' [' . floor($u->info['hpNow'] + $hpSks) . '/' . $u->stats['hpAll'] . ']'; $this->add_log($mas); - mysql_query('UPDATE `stats` SET `hpNow` = "' . ($u->info['hpNow'] + ($u->stats['hpAll'] * ((rand(15, - 25)) / 100))) . '",`mpNow` = "' . ($u->info['mpNow'] + ($u->stats['mpAll'] * 0.25)) . '" WHERE `id` = "' . $u->info['id'] . '" LIMIT 1'); + mysql_query( + 'UPDATE `stats` SET `hpNow` = "' . ($u->info['hpNow'] + ($u->stats['hpAll'] * ((rand( + 15, + 25 + )) / 100))) . '",`mpNow` = "' . ($u->info['mpNow'] + ($u->stats['mpAll'] * 0.25)) . '" WHERE `id` = "' . $u->info['id'] . '" LIMIT 1' + ); } } else { // $this->finishBattle($tml, $tmv, null, $tl); if ($this->info['izlom'] > 0) { - $fin1 = mysql_query('INSERT INTO `izlom_rating` (`uid`,`time`,`voln`,`level`,`bots`,`rep`,`obr`,`btl`) VALUES ("' . $u->info['id'] . '","' . time() . '","' . $this->info['izlomRoundSee'] . '","' . $this->info['izlomLvl'] . '","0","0","' . ($this->info['izlomObr'] - $this->info['izlomObrNow']) . '","' . $this->info['id'] . '")'); + $fin1 = mysql_query( + 'INSERT INTO `izlom_rating` (`uid`,`time`,`voln`,`level`,`bots`,`rep`,`obr`,`btl`) VALUES ("' . $u->info['id'] . '","' . time( + ) . '","' . $this->info['izlomRoundSee'] . '","' . $this->info['izlomLvl'] . '","0","0","' . ($this->info['izlomObr'] - $this->info['izlomObrNow']) . '","' . $this->info['id'] . '")' + ); } } if (isset($fin1)) { - mysql_query('INSERT INTO `eff_users` (`no_Ace`,`id_eff`,`overType`,`uid`,`name`,`data`,`timeUse`) VALUES ("1","31","23","' . $u->info['id'] . '"," ","nofastfinisheff=1","' . time() . '")'); - mysql_query("INSERT INTO `chat` (`new`,`city`,`room`,`login`,`to`,`text`,`time`,`type`,`toChat`) VALUES ('1','" . $u->info['city'] . "','" . $u->info['room'] . "','','" . $u->info['login'] . "',' ""x" . (($this->info['izlomObr'] - $this->info['izlomObrNow']) * 7) . "','" . time() . "','6','0')"); + mysql_query( + 'INSERT INTO `eff_users` (`no_Ace`,`id_eff`,`overType`,`uid`,`name`,`data`,`timeUse`) VALUES ("1","31","23","' . $u->info['id'] . '"," ","nofastfinisheff=1","' . time( + ) . '")' + ); + mysql_query( + "INSERT INTO `chat` (`new`,`city`,`room`,`login`,`to`,`text`,`time`,`type`,`toChat`) VALUES ('1','" . $u->info['city'] . "','" . $u->info['room'] . "','','" . $u->info['login'] . "',' ""x" . (($this->info['izlomObr'] - $this->info['izlomObrNow']) * 7) . "','" . time( + ) . "','6','0')" + ); $i01 = 1; while ($i01 <= (($this->info['izlomObr'] - $this->info['izlomObrNow'])) * 7) { $u->addItem(1226, $u->info['id'], '|sudba=' . $u->info['login']); $i01++; } - mysql_query('INSERT INTO `actions`(`uid`, `time`, `city`, `room`, `vars`, `ip`, `vals`, `val`) VALUES ("' . $u->info['id'] . '","' . time() . '","capitalcity","' . $u->info['room'] . '","izlom"," ","","")'); + mysql_query( + 'INSERT INTO `actions`(`uid`, `time`, `city`, `room`, `vars`, `ip`, `vals`, `val`) VALUES ("' . $u->info['id'] . '","' . time( + ) . '","capitalcity","' . $u->info['room'] . '","izlom"," ","","")' + ); unset($fin1); } } } else { mysql_query('START TRANSACTION;'); - $test = mysql_fetch_array(mysql_query('SELECT `id`,`team_win`, `testfinish` FROM `battle` WHERE `id` = "' . $this->info['id'] . '" AND `team_win` != -1 LIMIT 1 FOR UPDATE')); + $test = mysql_fetch_array( + mysql_query( + 'SELECT `id`,`team_win`, `testfinish` FROM `battle` WHERE `id` = "' . $this->info['id'] . '" AND `team_win` != -1 LIMIT 1 FOR UPDATE' + ) + ); mysql_query('COMMIT;'); if (isset($test['id'])) { $this->finishBattle(null, null, 10, $tl); } } - // - //mysql_query('UPDATE `battle` SET `testfinish` = "0" WHERE `id` = "'.$this->info['id'].'" LIMIT 1'); } // @@ -1900,9 +1740,15 @@ class Battle global $magic, $u, $q, $c; mysql_query('LOCK TABLES users,stats,battle,battle_last,battle_end,chat WRITE'); $frtu = false; - $test = mysql_fetch_array(mysql_query('SELECT `id`,`team_win`,`testfinish` FROM `battle` WHERE `id` = "' . $this->info['id'] . '" AND `team_win` != -1 LIMIT 1;')); - if ($test['testfinish'] != -1) { //$frtu == false - $trtt = mysql_query('UPDATE `battle` SET `testfinish` = "-1" WHERE `id` = "' . $this->info['id'] . '" LIMIT 1'); + $test = mysql_fetch_array( + mysql_query( + 'SELECT `id`,`team_win`,`testfinish` FROM `battle` WHERE `id` = "' . $this->info['id'] . '" AND `team_win` != -1 LIMIT 1;' + ) + ); + if ($test['testfinish'] != -1) { + $trtt = mysql_query( + 'UPDATE `battle` SET `testfinish` = "-1" WHERE `id` = "' . $this->info['id'] . '" LIMIT 1' + ); $relbf = $this->info['team_win']; if ($nl != 10) { $i = 0; @@ -1918,9 +1764,10 @@ class Battle } } - // - $t = mysql_query('SELECT `u`.`stopexp`,`u`.`twink`,`u`.`city`,`u`.`room`,`u`.`no_ip`,`u`.`pass`,`u`.`id`,`u`.`notrhod`,`u`.`login`,`u`.`login2`,`u`.`sex`,`u`.`online`,`u`.`admin`,`u`.`align`,`u`.`align_lvl`,`u`.`align_exp`,`u`.`clan`,`u`.`level`,`u`.`battle`,`u`.`obraz`,`u`.`win`,`u`.`lose`,`u`.`nich`,`u`.`animal`,`st`.`stats`,`st`.`hpNow`,`st`.`mpNow`,`st`.`exp`,`st`.`dnow`,`st`.`team`,`st`.`battle_yron`,`st`.`battle_exp`,`st`.`enemy`,`st`.`battle_text`,`st`.`upLevel`,`st`.`timeGo`,`st`.`timeGoL`,`st`.`bot`,`st`.`lider`,`st`.`btl_cof`,`st`.`tactic1`,`st`.`tactic2`,`st`.`tactic3`,`st`.`tactic4`,`st`.`tactic5`,`st`.`tactic6`,`st`.`tactic7`,`st`.`x`,`st`.`y`,`st`.`battleEnd`,`st`.`priemslot`,`st`.`priems`,`st`.`priems_z`,`st`.`bet`,`st`.`clone`,`st`.`atack`,`st`.`bbexp`,`st`.`res_x`,`st`.`res_y`,`st`.`res_s`,`st`.`id`,`st`.`last_hp`,`st`.`last_pr`,`u`.`sex`,`u`.`money`,`u`.`bot_id`,`u`.`money3`,`u`.`money2` FROM `users` AS `u` LEFT JOIN `stats` AS `st` ON (`u`.`id` = `st`.`id`) WHERE `u`.`battle` = "' . $this->info['id'] . '"'); + $t = mysql_query( + 'SELECT `u`.`stopexp`,`u`.`twink`,`u`.`city`,`u`.`room`,`u`.`no_ip`,`u`.`pass`,`u`.`id`,`u`.`notrhod`,`u`.`login`,`u`.`login2`,`u`.`sex`,`u`.`online`,`u`.`admin`,`u`.`align`,`u`.`align_lvl`,`u`.`align_exp`,`u`.`clan`,`u`.`level`,`u`.`battle`,`u`.`obraz`,`u`.`win`,`u`.`lose`,`u`.`nich`,`u`.`animal`,`st`.`stats`,`st`.`hpNow`,`st`.`mpNow`,`st`.`exp`,`st`.`dnow`,`st`.`team`,`st`.`battle_yron`,`st`.`battle_exp`,`st`.`enemy`,`st`.`battle_text`,`st`.`upLevel`,`st`.`timeGo`,`st`.`timeGoL`,`st`.`bot`,`st`.`lider`,`st`.`btl_cof`,`st`.`tactic1`,`st`.`tactic2`,`st`.`tactic3`,`st`.`tactic4`,`st`.`tactic5`,`st`.`tactic6`,`st`.`tactic7`,`st`.`x`,`st`.`y`,`st`.`battleEnd`,`st`.`priemslot`,`st`.`priems`,`st`.`priems_z`,`st`.`bet`,`st`.`clone`,`st`.`atack`,`st`.`bbexp`,`st`.`res_x`,`st`.`res_y`,`st`.`res_s`,`st`.`id`,`st`.`last_hp`,`st`.`last_pr`,`u`.`sex`,`u`.`money`,`u`.`bot_id`,`u`.`money3`,`u`.`money2` FROM `users` AS `u` LEFT JOIN `stats` AS `st` ON (`u`.`id` = `st`.`id`) WHERE `u`.`battle` = "' . $this->info['id'] . '"' + ); $i = 0; $bi = 0; while ($pl = mysql_fetch_array($t)) { @@ -1942,32 +1789,45 @@ class Battle unset($pl, $t); if ($this->info['time_over'] == 0) { - $tststrt = mysql_fetch_array(mysql_query('SELECT * FROM `battle` WHERE `id` = "' . $this->info['id'] . '" AND `time_over` = "0" LIMIT 1')); + $tststrt = mysql_fetch_array( + mysql_query( + 'SELECT * FROM `battle` WHERE `id` = "' . $this->info['id'] . '" AND `time_over` = "0" LIMIT 1' + ) + ); if (isset($tststrt['id'])) { if ($this->info['inTurnir'] == 0 || $this->info['type'] == 500) { - mysql_query('UPDATE `battle` SET `time_over` = "' . time() . '",`team_win` = "' . $this->info['team_win'] . '" WHERE `id` = "' . $this->info['id'] . '" LIMIT 1'); + mysql_query( + 'UPDATE `battle` SET `time_over` = "' . time( + ) . '",`team_win` = "' . $this->info['team_win'] . '" WHERE `id` = "' . $this->info['id'] . '" LIMIT 1' + ); } - mysql_query('UPDATE `battle_stat` SET `team_win` = "' . $this->info['team_win'] . '" WHERE `battle_id` = "' . $this->info['id'] . '"'); + mysql_query( + 'UPDATE `battle_stat` SET `team_win` = "' . $this->info['team_win'] . '" WHERE `battle_id` = "' . $this->info['id'] . '"' + ); // $i = 0; $vl = ''; $vtvl = ''; $relu = 0; while ($i < count($this->users)) { - /*if( $this->user[$i]['clon'] == 0 && $this->user[$i]['bot'] == 0 ) { - $relu++; - }*/ - $vl .= '("' . $this->users[$i]['login'] . '","' . $this->users[$i]['city'] . '","' . $this->info['id'] . '","' . $this->users[$i]['id'] . '","' . time() . '","' . $this->users[$i]['team'] . '","' . $this->users[$i]['level'] . '","' . $this->users[$i]['align'] . '","' . $this->users[$i]['clan'] . '","' . $this->users[$i]['exp'] . '","' . $this->users[$i]['bot'] . '","' . $this->users[$i]['money'] . '","' . $this->users[$i]['money2'] . '","' . $this->users[$i]['money3'] . '"),'; + $vl .= '("' . $this->users[$i]['login'] . '","' . $this->users[$i]['city'] . '","' . $this->info['id'] . '","' . $this->users[$i]['id'] . '","' . time( + ) . '","' . $this->users[$i]['team'] . '","' . $this->users[$i]['level'] . '","' . $this->users[$i]['align'] . '","' . $this->users[$i]['clan'] . '","' . $this->users[$i]['exp'] . '","' . $this->users[$i]['bot'] . '","' . $this->users[$i]['money'] . '","' . $this->users[$i]['money2'] . '","' . $this->users[$i]['money3'] . '"),'; if ($this->users[$i]['team'] == $this->info['team_win'] && $this->info['team_win'] > 0) { $vtvl .= '' . $this->users[$i]['login'] . ', '; } $i++; } - $this->info['players_c'] = mysql_fetch_array(mysql_query('SELECT COUNT(`id`) FROM `users` WHERE `login` NOT LIKE "%(%" AND `battle` = "' . $this->info['id'] . '" LIMIT 1')); + $this->info['players_c'] = mysql_fetch_array( + mysql_query( + 'SELECT COUNT(`id`) FROM `users` WHERE `login` NOT LIKE "%(%" AND `battle` = "' . $this->info['id'] . '" LIMIT 1' + ) + ); $this->info['players_c'] = $this->info['players_c'][0]; - mysql_query('UPDATE `battle` SET `players_c` = "' . $this->info['players_c'] . '" WHERE `id` = "' . $this->info['id'] . '" LIMIT 1'); + mysql_query( + 'UPDATE `battle` SET `players_c` = "' . $this->info['players_c'] . '" WHERE `id` = "' . $this->info['id'] . '" LIMIT 1' + ); if ($vtvl != '') { $vtvl = rtrim($vtvl, ', '); @@ -1987,11 +1847,18 @@ class Battle 'type' => '1', ]; $vtvl = ' , ' . $vtvl . '.'; - $ins = mysql_query('INSERT INTO `battle_logs` (`time`,`battle`,`id_hod`,`text`,`vars`,`zona1`,`zonb1`,`zona2`,`zonb2`,`type`) VALUES ("' . $mass['time'] . '","' . $mass['battle'] . '","' . $mass['id_hod'] . '","' . $vtvl . '","' . $mass['vars'] . '","' . $mass['zona1'] . '","' . $mass['zonb1'] . '","' . $mass['zona2'] . '","' . $mass['zonb2'] . '","' . $mass['type'] . '")'); } else { - $this->info['players_cc'] = mysql_fetch_array(mysql_query('SELECT COUNT(`u`.`id`) FROM `users` AS `u` LEFT JOIN `stats` AS `s` ON `s`.`id` = `u`.`id` WHERE `s`.`hpNow` > 0 AND `u`.`battle` = "' . $this->info['id'] . '" AND `s`.`team` != "' . $u->info['team'] . '" LIMIT 1')); + $this->info['players_cc'] = mysql_fetch_array( + mysql_query( + 'SELECT COUNT(`u`.`id`) FROM `users` AS `u` LEFT JOIN `stats` AS `s` ON `s`.`id` = `u`.`id` WHERE `s`.`hpNow` > 0 AND `u`.`battle` = "' . $this->info['id'] . '" AND `s`.`team` != "' . $u->info['team'] . '" LIMIT 1' + ) + ); $this->info['players_cc'] = $this->info['players_cc'][0]; - $this->info['players_cc2'] = mysql_fetch_array(mysql_query('SELECT COUNT(`u`.`id`) FROM `users` AS `u` LEFT JOIN `stats` AS `s` ON `s`.`id` = `u`.`id` WHERE `s`.`hpNow` >= 1 AND `u`.`battle` = "' . $this->info['id'] . '" AND `s`.`team` != "' . $u->info['team'] . '" LIMIT 1')); + $this->info['players_cc2'] = mysql_fetch_array( + mysql_query( + 'SELECT COUNT(`u`.`id`) FROM `users` AS `u` LEFT JOIN `stats` AS `s` ON `s`.`id` = `u`.`id` WHERE `s`.`hpNow` >= 1 AND `u`.`battle` = "' . $this->info['id'] . '" AND `s`.`team` != "' . $u->info['team'] . '" LIMIT 1' + ) + ); $this->info['players_cc2'] = $this->info['players_cc2'][0]; $inf_test = ', users: ' . $this->info['players_cc'] . ' and ' . $this->info['players_cc2'] . ''; $this->hodID++; @@ -2009,14 +1876,14 @@ class Battle 'type' => '1', ]; $vtvl = ' , .'; - $ins = mysql_query('INSERT INTO `battle_logs` (`time`,`battle`,`id_hod`,`text`,`vars`,`zona1`,`zonb1`,`zona2`,`zonb2`,`type`) VALUES ("' . $mass['time'] . '","' . $mass['battle'] . '","' . $mass['id_hod'] . '","' . $vtvl . '","' . $mass['vars'] . '","' . $mass['zona1'] . '","' . $mass['zonb1'] . '","' . $mass['zona2'] . '","' . $mass['zonb2'] . '","' . $mass['type'] . '")'); } + $ins = mysql_query( + 'INSERT INTO `battle_logs` (`time`,`battle`,`id_hod`,`text`,`vars`,`zona1`,`zonb1`,`zona2`,`zonb2`,`type`) VALUES ("' . $mass['time'] . '","' . $mass['battle'] . '","' . $mass['id_hod'] . '","' . $vtvl . '","' . $mass['vars'] . '","' . $mass['zona1'] . '","' . $mass['zonb1'] . '","' . $mass['zona2'] . '","' . $mass['zonb2'] . '","' . $mass['type'] . '")' + ); $this->saveLogs($this->info['id'], 'all'); - //$this->hodID++; if ($this->info['type'] == 99) { - //$this->hodID++; $vLog = 'time1=' . time(); $mass = [ 'time' => time(), @@ -2031,7 +1898,9 @@ class Battle 'type' => '1', ]; $vtvl = ' ...'; - $ins = mysql_query('INSERT INTO `battle_logs` (`time`,`battle`,`id_hod`,`text`,`vars`,`zona1`,`zonb1`,`zona2`,`zonb2`,`type`) VALUES ("' . $mass['time'] . '","' . $mass['battle'] . '","' . $mass['id_hod'] . '","' . $vtvl . '","' . $mass['vars'] . '","' . $mass['zona1'] . '","' . $mass['zonb1'] . '","' . $mass['zona2'] . '","' . $mass['zonb2'] . '","' . $mass['type'] . '")'); + $ins = mysql_query( + 'INSERT INTO `battle_logs` (`time`,`battle`,`id_hod`,`text`,`vars`,`zona1`,`zonb1`,`zona2`,`zonb2`,`type`) VALUES ("' . $mass['time'] . '","' . $mass['battle'] . '","' . $mass['id_hod'] . '","' . $vtvl . '","' . $mass['vars'] . '","' . $mass['zona1'] . '","' . $mass['zonb1'] . '","' . $mass['zona2'] . '","' . $mass['zonb2'] . '","' . $mass['type'] . '")' + ); $i = 0; $vtvl = ''; $tr_nm = [ @@ -2042,7 +1911,11 @@ class Battle ]; while ($i < count($this->users)) { if ($this->users[$i]['team'] != $this->info['team_win']) { - $tr_pl = mysql_fetch_array(mysql_query('SELECT `id`,`v1` FROM `eff_users` WHERE `id_eff` = 4 AND `uid` = "' . $this->users[$i]['id'] . '" AND `delete` = "0" ORDER BY `v1` DESC LIMIT 1')); + $tr_pl = mysql_fetch_array( + mysql_query( + 'SELECT `id`,`v1` FROM `eff_users` WHERE `id_eff` = 4 AND `uid` = "' . $this->users[$i]['id'] . '" AND `delete` = "0" ORDER BY `v1` DESC LIMIT 1' + ) + ); if (!isset($tr_pl['id']) || $tr_pl['v1'] < 3) { if ($this->info['smert'] == 1) { $tr_tp = 4; @@ -2062,15 +1935,21 @@ class Battle } $i++; } - $ins = mysql_query('INSERT INTO `battle_logs` (`time`,`battle`,`id_hod`,`text`,`vars`,`zona1`,`zonb1`,`zona2`,`zonb2`,`type`) VALUES ("' . $mass['time'] . '","' . $mass['battle'] . '","' . $mass['id_hod'] . '","' . $vtvl . '","' . $mass['vars'] . '","' . $mass['zona1'] . '","' . $mass['zonb1'] . '","' . $mass['zona2'] . '","' . $mass['zonb2'] . '","' . $mass['type'] . '")'); + $ins = mysql_query( + 'INSERT INTO `battle_logs` (`time`,`battle`,`id_hod`,`text`,`vars`,`zona1`,`zonb1`,`zona2`,`zonb2`,`type`) VALUES ("' . $mass['time'] . '","' . $mass['battle'] . '","' . $mass['id_hod'] . '","' . $vtvl . '","' . $mass['vars'] . '","' . $mass['zona1'] . '","' . $mass['zonb1'] . '","' . $mass['zona2'] . '","' . $mass['zonb2'] . '","' . $mass['type'] . '")' + ); } if ($vl != '') { $vl = rtrim($vl, ','); - mysql_query('INSERT INTO `battle_last` (`login`,`city`,`battle_id`,`uid`,`time`,`team`,`lvl`,`align`,`clan`,`exp`,`bot`,`money`,`money2`,`money3`) VALUES ' . $vl . ''); + mysql_query( + 'INSERT INTO `battle_last` (`login`,`city`,`battle_id`,`uid`,`time`,`team`,`lvl`,`align`,`clan`,`exp`,`bot`,`money`,`money2`,`money3`) VALUES ' . $vl . '' + ); } - mysql_query('INSERT INTO `battle_end` (`battle_id`,`city`,`time`,`team_win`) VALUES ("' . $this->info['id'] . '","' . $this->info['city'] . '","' . $this->info['time_start'] . '","' . $this->info['team_win'] . '")'); + mysql_query( + 'INSERT INTO `battle_end` (`battle_id`,`city`,`time`,`team_win`) VALUES ("' . $this->info['id'] . '","' . $this->info['city'] . '","' . $this->info['time_start'] . '","' . $this->info['team_win'] . '")' + ); } @@ -2087,8 +1966,6 @@ class Battle 'zonb2' => '', 'type' => '1', ]; - //$vtvl = ''; - //$ins = mysql_query('INSERT INTO `battle_logs` (`time`,`battle`,`id_hod`,`text`,`vars`,`zona1`,`zonb1`,`zona2`,`zonb2`,`type`) VALUES ("'.$mass['time'].'","'.$mass['battle'].'","'.$mass['id_hod'].'","'.$vtvl.'","'.$mass['vars'].'","'.$mass['zona1'].'","'.$mass['zonb1'].'","'.$mass['zona2'].'","'.$mass['zonb2'].'","'.$mass['type'].'")'); $i = 0; $vtvl = ''; $tr_nm = [ @@ -2099,9 +1976,15 @@ class Battle ]; while ($i < count($this->users)) { if ($this->users[$i]['team'] != $this->info['team_win'] && $this->info['team_win'] > 0) { - $tr_pl = mysql_fetch_array(mysql_query('SELECT * FROM `eff_users` WHERE `v1` = "priem" AND `v2` = 292 AND `uid` = "' . $this->users[$i]['id'] . '" AND `delete` = "0" LIMIT 1')); + $tr_pl = mysql_fetch_array( + mysql_query( + 'SELECT * FROM `eff_users` WHERE `v1` = "priem" AND `v2` = 292 AND `uid` = "' . $this->users[$i]['id'] . '" AND `delete` = "0" LIMIT 1' + ) + ); - $ins = mysql_query('INSERT INTO `battle_logs` (`time`,`battle`,`id_hod`,`text`,`vars`,`zona1`,`zonb1`,`zona2`,`zonb2`,`type`) VALUES ("' . $mass['time'] . '","' . $mass['battle'] . '","' . $mass['id_hod'] . '","' . $vtvl2 . '","' . $mass['vars'] . '","' . $mass['zona1'] . '","' . $mass['zonb1'] . '","' . $mass['zona2'] . '","' . $mass['zonb2'] . '","' . $mass['type'] . '")'); + $ins = mysql_query( + 'INSERT INTO `battle_logs` (`time`,`battle`,`id_hod`,`text`,`vars`,`zona1`,`zonb1`,`zona2`,`zonb2`,`type`) VALUES ("' . $mass['time'] . '","' . $mass['battle'] . '","' . $mass['id_hod'] . '","' . $vtvl2 . '","' . $mass['vars'] . '","' . $mass['zona1'] . '","' . $mass['zonb1'] . '","' . $mass['zona2'] . '","' . $mass['zonb2'] . '","' . $mass['type'] . '")' + ); if (isset($tr_pl['id'])) { if (rand(0, 100) < $tr_pl['data']) { @@ -2123,20 +2006,24 @@ class Battle if ($vtvl != '') { if ($this->info['type'] != 99) { $vtvl2 = ' ...'; - $ins = mysql_query('INSERT INTO `battle_logs` (`time`,`battle`,`id_hod`,`text`,`vars`,`zona1`,`zonb1`,`zona2`,`zonb2`,`type`) VALUES ("' . $mass['time'] . '","' . $mass['battle'] . '","' . $mass['id_hod'] . '","' . $vtvl2 . '","' . $mass['vars'] . '","' . $mass['zona1'] . '","' . $mass['zonb1'] . '","' . $mass['zona2'] . '","' . $mass['zonb2'] . '","' . $mass['type'] . '")'); + $ins = mysql_query( + 'INSERT INTO `battle_logs` (`time`,`battle`,`id_hod`,`text`,`vars`,`zona1`,`zonb1`,`zona2`,`zonb2`,`type`) VALUES ("' . $mass['time'] . '","' . $mass['battle'] . '","' . $mass['id_hod'] . '","' . $vtvl2 . '","' . $mass['vars'] . '","' . $mass['zona1'] . '","' . $mass['zonb1'] . '","' . $mass['zona2'] . '","' . $mass['zonb2'] . '","' . $mass['type'] . '")' + ); } - $ins = mysql_query('INSERT INTO `battle_logs` (`time`,`battle`,`id_hod`,`text`,`vars`,`zona1`,`zonb1`,`zona2`,`zonb2`,`type`) VALUES ("' . $mass['time'] . '","' . $mass['battle'] . '","' . $mass['id_hod'] . '","' . $vtvl . '","' . $mass['vars'] . '","' . $mass['zona1'] . '","' . $mass['zonb1'] . '","' . $mass['zona2'] . '","' . $mass['zonb2'] . '","' . $mass['type'] . '")'); + $ins = mysql_query( + 'INSERT INTO `battle_logs` (`time`,`battle`,`id_hod`,`text`,`vars`,`zona1`,`zonb1`,`zona2`,`zonb2`,`type`) VALUES ("' . $mass['time'] . '","' . $mass['battle'] . '","' . $mass['id_hod'] . '","' . $vtvl . '","' . $mass['vars'] . '","' . $mass['zona1'] . '","' . $mass['zonb1'] . '","' . $mass['zona2'] . '","' . $mass['zonb2'] . '","' . $mass['type'] . '")' + ); } // if ($this->info['inTurnir'] > 0 && $this->info['dungeon'] != 15 && $u->info['room'] != 413) { - $bs = mysql_fetch_array(mysql_query('SELECT * FROM `bs_turnirs` WHERE `id` = "' . $this->info['inTurnir'] . '" LIMIT 1')); + $bs = mysql_fetch_array( + mysql_query('SELECT * FROM `bs_turnirs` WHERE `id` = "' . $this->info['inTurnir'] . '" LIMIT 1') + ); $i = 0; $j = 0; while ($i < count($this->users)) { if ($this->stats[$i]['hpNow'] < 1 && $this->users[$i]['clone'] == 0 && $this->stats[$i]['clone'] == 0) { - // - //echo '['.$this->users[$i]['login'].']'; // if ($this->users[$i]['sex'] == 0) { $text .= '{u1} '; @@ -2144,27 +2031,30 @@ class Battle $text .= '{u1} '; } // - $spik = mysql_query('SELECT `id`,`item_id` FROM `items_users` WHERE `uid` = "' . $this->users[$i]['id'] . '" AND `delete` ="0"'); + $spik = mysql_query( + 'SELECT `id`,`item_id` FROM `items_users` WHERE `uid` = "' . $this->users[$i]['id'] . '" AND `delete` ="0"' + ); while ($plik = mysql_fetch_array($spik)) { - /* - -1 - mysql_query('INSERT INTO `bs_items` (`x`,`y`,`bid`,`count`,`item_id`) VALUES ( - "'.$this->users[$i]['x'].'","'.$this->users[$i]['y'].'","'.$bs['id'].'","'.$bs['count'].'","'.$plik['item_id'].'" - )'); - */ - mysql_query('INSERT INTO `dungeon_items` (`dn`,`item_id`,`time`,`x`,`y`) VALUES ( - "' . $this->users[$i]['dnow'] . '","' . $plik['item_id'] . '","' . (time() - 600) . '","' . $this->users[$i]['x'] . '","' . $this->users[$i]['y'] . '" - )'); + + mysql_query( + 'INSERT INTO `dungeon_items` (`dn`,`item_id`,`time`,`x`,`y`) VALUES ( + "' . $this->users[$i]['dnow'] . '","' . $plik['item_id'] . '","' . (time( + ) - 600) . '","' . $this->users[$i]['x'] . '","' . $this->users[$i]['y'] . '" + )' + ); } unset($spik, $plik); // $usrreal = ''; - $usr_real = mysql_fetch_array(mysql_query('SELECT `id`,`login`,`align`,`clan`,`battle`,`level` FROM `users` WHERE `login` = "' . $this->users[$i]['login'] . '" AND `inUser` = "' . $this->users[$i]['id'] . '" LIMIT 1')); + $usr_real = mysql_fetch_array( + mysql_query( + 'SELECT `id`,`login`,`align`,`clan`,`battle`,`level` FROM `users` WHERE `login` = "' . $this->users[$i]['login'] . '" AND `inUser` = "' . $this->users[$i]['id'] . '" LIMIT 1' + ) + ); if (!isset($usr_real['id'])) { $usr_real = $this->users[$i]; } if (isset($usr_real['id'])) { - $usrreal = ''; if ($usr_real['align'] > 0) { $usrreal .= ''; } @@ -2176,10 +2066,13 @@ class Battle $mereal = '[??]'; } $text = str_replace('{u1}', $usrreal, $text); - mysql_query('INSERT INTO `bs_logs` (`type`,`text`,`time`,`id_bs`,`count_bs`,`city`,`m`,`u`) VALUES ( - "1", "' . mysql_real_escape_string($text) . '", "' . time() . '", "' . $bs['id'] . '", "' . $bs['count'] . '", "' . $bs['city'] . '", + mysql_query( + 'INSERT INTO `bs_logs` (`type`,`text`,`time`,`id_bs`,`count_bs`,`city`,`m`,`u`) VALUES ( + "1", "' . mysql_real_escape_string($text) . '", "' . time( + ) . '", "' . $bs['id'] . '", "' . $bs['count'] . '", "' . $bs['city'] . '", "' . round($bs['money'] * 0.85, 2) . '","' . $i . '" - )'); + )' + ); // // mysql_query('DELETE FROM `users` WHERE `id` = "' . $this->users[$i]['id'] . '" LIMIT 1'); @@ -2189,9 +2082,14 @@ class Battle mysql_query('DELETE FROM `eff_users` WHERE `uid` = "' . $this->users[$i]['id'] . '"'); mysql_query('DELETE FROM `users_delo` WHERE `uid` = "' . $this->users[$i]['id'] . '"'); // - mysql_query('UPDATE `users` SET `inUser` = "0" WHERE `login` = "' . $this->users[$i]['login'] . '" OR `inUser` = "' . $this->users[$i]['id'] . '" LIMIT 1'); + mysql_query( + 'UPDATE `users` SET `inUser` = "0" WHERE `login` = "' . $this->users[$i]['login'] . '" OR `inUser` = "' . $this->users[$i]['id'] . '" LIMIT 1' + ); // - mysql_query('UPDATE `bs_zv` SET `off` = "' . time() . '" WHERE `inBot` = "' . $this->users[$i]['id'] . '" AND `off` = "0" LIMIT 1'); + mysql_query( + 'UPDATE `bs_zv` SET `off` = "' . time( + ) . '" WHERE `inBot` = "' . $this->users[$i]['id'] . '" AND `off` = "0" LIMIT 1' + ); unset($text, $usrreal, $usr_real); if ($this->users[$i]['pass'] != 'bstowerbot') { $bs['users']--; @@ -2204,7 +2102,9 @@ class Battle $i++; } if ($j > 0) { - mysql_query('UPDATE `bs_turnirs` SET `arhiv` = "' . $bs['arhiv'] . '",`users` = "' . $bs['users'] . '",`users_finish` = "' . $bs['users_finish'] . '" WHERE `id` = "' . $bs['id'] . '" LIMIT 1'); + mysql_query( + 'UPDATE `bs_turnirs` SET `arhiv` = "' . $bs['arhiv'] . '",`users` = "' . $bs['users'] . '",`users_finish` = "' . $bs['users_finish'] . '" WHERE `id` = "' . $bs['id'] . '" LIMIT 1' + ); } unset($bs, $j); @@ -2217,14 +2117,26 @@ class Battle $i = 0; while ($i < count($this->users)) { if ($this->users[$i]['no_ip'] == 'trupojor') { - $mon = mysql_fetch_array(mysql_query('SELECT * FROM `aaa_monsters` WHERE `uid` = "' . $this->users[$i]['id'] . '" LIMIT 1')); + $mon = mysql_fetch_array( + mysql_query( + 'SELECT * FROM `aaa_monsters` WHERE `uid` = "' . $this->users[$i]['id'] . '" LIMIT 1' + ) + ); if (isset($mon['id'])) { if ($this->info['team_win'] == 0) { // - mysql_query('UPDATE `stats` SET `hpNow` = "' . $this->stats[$i]['hpAll'] . '",`mpNow` = "' . $this->stats[$i]['mpAll'] . '" WHERE `id` = "' . $this->users[$i]['id'] . '" LIMIT 1'); - mysql_query('INSERT INTO `chat` (`text`,`city`,`to`,`type`,`new`,`time`) VALUES ("! ' . mysql_real_escape_string(str_replace('{b}', - '' . $this->users[$i]['login'] . ' [' . $this->users[$i]['level'] . ']users[$i]['id'] . ' >', - $mon['nich_text'])) . ' ","' . $this->users[$i]['city'] . '","","6","1","' . time() . '")'); + mysql_query( + 'UPDATE `stats` SET `hpNow` = "' . $this->stats[$i]['hpAll'] . '",`mpNow` = "' . $this->stats[$i]['mpAll'] . '" WHERE `id` = "' . $this->users[$i]['id'] . '" LIMIT 1' + ); + mysql_query( + 'INSERT INTO `chat` (`text`,`city`,`to`,`type`,`new`,`time`) VALUES ("! ' . mysql_real_escape_string( + str_replace( + '{b}', + '' . $this->users[$i]['login'] . ' [' . $this->users[$i]['level'] . ']users[$i]['id'] . ' >', + $mon['nich_text'] + ) + ) . ' ","' . $this->users[$i]['city'] . '","","6","1","' . time() . '")' + ); } elseif ($this->info['team_win'] != $this->users[$i]['team']) { // $j = 0; @@ -2250,38 +2162,47 @@ class Battle $usrwin = ' '; } + mysql_query( + 'UPDATE `users` SET `room` = "303" WHERE `id` = "' . $this->users[$i]['id'] . '" LIMIT 1' + ); - mysql_query('UPDATE `users` SET `room` = "303" WHERE `id` = "' . $this->users[$i]['id'] . '" LIMIT 1'); - - /*$truptime=mysql_fetch_array(mysql_query('SELECT `s`.`id` , `s`.`res_x` FROM `stats` AS `s` WHERE `s`.`id` IN (SELECT `u`.`id` FROM `users` AS `u` WHERE `u`.`no_ip` = "trupojor") ORDER BY `s`.`res_x` DESC LIMIT 1')); - $truptimelast=$truptime['res_x']+2700; - if ($truptimelast > (time()+10080) || $truptimelast < time() ) - { - $truptimelast=time()+10080; - }*/ - // if ($this->users[$i]['level']>9) - // { $truptimelast = time() + rand(1800, 3600); - //} - // else - // {$truptimelast=time()+10080;} - - mysql_query('UPDATE `stats` SET `res_x` = "' . $truptimelast . '" WHERE `id` = "' . $this->users[$i]['id'] . '" LIMIT 1'); - mysql_query('INSERT INTO `chat` (`text`,`city`,`to`,`type`,`new`,`time`) VALUES ("! ' . mysql_real_escape_string(str_replace('{b}', - '' . $this->users[$i]['login'] . ' [' . $this->users[$i]['level'] . ']users[$i]['id'] . ' >', - str_replace('{u}', $usrwin, - $mon['win_text']))) . ' ","' . $this->users[$i]['city'] . '","","6","1","' . time() . '")'); + mysql_query( + 'UPDATE `stats` SET `res_x` = "' . $truptimelast . '" WHERE `id` = "' . $this->users[$i]['id'] . '" LIMIT 1' + ); + mysql_query( + 'INSERT INTO `chat` (`text`,`city`,`to`,`type`,`new`,`time`) VALUES ("! ' . mysql_real_escape_string( + str_replace( + '{b}', + '' . $this->users[$i]['login'] . ' [' . $this->users[$i]['level'] . ']users[$i]['id'] . ' >', + str_replace( + '{u}', $usrwin, + $mon['win_text'] + ) + ) + ) . ' ","' . $this->users[$i]['city'] . '","","6","1","' . time() . '")' + ); unset($usrwin); } else { // if ($mon['win_back'] == 1) { - mysql_query('UPDATE `users` SET `room` = "303" WHERE `id` = "' . $this->users[$i]['id'] . '" LIMIT 1'); + mysql_query( + 'UPDATE `users` SET `room` = "303" WHERE `id` = "' . $this->users[$i]['id'] . '" LIMIT 1' + ); } - mysql_query('UPDATE `stats` SET `hpNow` = "' . $this->stats[$i]['hpAll'] . '",`mpNow` = "' . $this->stats[$i]['mpAll'] . '" WHERE `id` = "' . $this->users[$i]['id'] . '" LIMIT 1'); - mysql_query('INSERT INTO `chat` (`text`,`city`,`to`,`type`,`new`,`time`) VALUES ("! ' . mysql_real_escape_string(str_replace('{b}', - '' . $this->users[$i]['login'] . ' [' . $this->users[$i]['level'] . ']users[$i]['id'] . ' >', - $mon['lose_text'])) . ' ","' . $this->users[$i]['city'] . '","","6","1","' . time() . '")'); + mysql_query( + 'UPDATE `stats` SET `hpNow` = "' . $this->stats[$i]['hpAll'] . '",`mpNow` = "' . $this->stats[$i]['mpAll'] . '" WHERE `id` = "' . $this->users[$i]['id'] . '" LIMIT 1' + ); + mysql_query( + 'INSERT INTO `chat` (`text`,`city`,`to`,`type`,`new`,`time`) VALUES ("! ' . mysql_real_escape_string( + str_replace( + '{b}', + '' . $this->users[$i]['login'] . ' [' . $this->users[$i]['level'] . ']users[$i]['id'] . ' >', + $mon['lose_text'] + ) + ) . ' ","' . $this->users[$i]['city'] . '","","6","1","' . time() . '")' + ); } } } @@ -2297,9 +2218,15 @@ class Battle while ($i < count($this->users)) { // if ($this->info['type'] == 33) { - $plde = mysql_fetch_array(mysql_query('SELECT * FROM `users` WHERE `id` = "' . $this->users[$i]['id'] . '" LIMIT 1')); + $plde = mysql_fetch_array( + mysql_query('SELECT * FROM `users` WHERE `id` = "' . $this->users[$i]['id'] . '" LIMIT 1') + ); if (isset($plde['mail']) && $plde['mail'] == "haot@new-combats.com") { - $pld = mysql_fetch_array(mysql_query('SELECT * FROM `users` WHERE `inUser` = "' . $this->users[$i]['id'] . '" LIMIT 1')); + $pld = mysql_fetch_array( + mysql_query( + 'SELECT * FROM `users` WHERE `inUser` = "' . $this->users[$i]['id'] . '" LIMIT 1' + ) + ); if (isset($pld['id'])) { if ($this->users[$i]['battle_yron'] >= 500) { @@ -2309,8 +2236,9 @@ class Battle $u->addItem(4754, $pld['id'], ''); $u->addItem(4754, $pld['id'], ''); $pld['battle_text'] .= ' (x5). '; - mysql_query('UPDATE `users_achiv` SET `pg`= `pg`+1 WHERE `id` = "' . $pld['id'] . '" LIMIT 1'); - + mysql_query( + 'UPDATE `users_achiv` SET `pg`= `pg`+1 WHERE `id` = "' . $pld['id'] . '" LIMIT 1' + ); if ($this->users[$i]['team'] == $this->info['team_win']) { if (rand(1, 100) <= 5) { @@ -2322,12 +2250,24 @@ class Battle $pld['battle_text'] .= ' . 500 .'; } - mysql_query("INSERT INTO `chat` (`new`,`city`,`room`,`login`,`to`,`text`,`time`,`type`,`toChat`) VALUES ('1','" . $pld['city'] . "','" . $pld['room'] . "','','" . $pld['login'] . "','" . $pld['battle_text'] . "','-1','6','0')"); - mysql_query('DELETE FROM `stats` WHERE `id` = "' . $this->users[$i]['id'] . '" LIMIT 1'); - mysql_query('DELETE FROM `items_users` WHERE `uid` = "' . $this->users[$i]['id'] . '" LIMIT 100'); - mysql_query('DELETE FROM `eff_users` WHERE `uid` = "' . $this->users[$i]['id'] . '" LIMIT 100'); - mysql_query('UPDATE `users` SET `inUser` = "0" WHERE `inUser` = "' . $this->users[$i]['id'] . '" LIMIT 1'); - mysql_query('DELETE FROM `users` WHERE `id` = "' . $this->users[$i]['id'] . '" LIMIT 1'); + mysql_query( + "INSERT INTO `chat` (`new`,`city`,`room`,`login`,`to`,`text`,`time`,`type`,`toChat`) VALUES ('1','" . $pld['city'] . "','" . $pld['room'] . "','','" . $pld['login'] . "','" . $pld['battle_text'] . "','-1','6','0')" + ); + mysql_query( + 'DELETE FROM `stats` WHERE `id` = "' . $this->users[$i]['id'] . '" LIMIT 1' + ); + mysql_query( + 'DELETE FROM `items_users` WHERE `uid` = "' . $this->users[$i]['id'] . '" LIMIT 100' + ); + mysql_query( + 'DELETE FROM `eff_users` WHERE `uid` = "' . $this->users[$i]['id'] . '" LIMIT 100' + ); + mysql_query( + 'UPDATE `users` SET `inUser` = "0" WHERE `inUser` = "' . $this->users[$i]['id'] . '" LIMIT 1' + ); + mysql_query( + 'DELETE FROM `users` WHERE `id` = "' . $this->users[$i]['id'] . '" LIMIT 1' + ); } } @@ -2338,18 +2278,30 @@ class Battle $botsi++; mysql_query('DELETE FROM `users` WHERE `id` = "' . $this->users[$i]['id'] . '" LIMIT 1'); mysql_query('DELETE FROM `stats` WHERE `id` = "' . $this->users[$i]['id'] . '" LIMIT 1'); - mysql_query('DELETE FROM `items_users` WHERE `uid` = "' . $this->users[$i]['id'] . '" LIMIT 100'); + mysql_query( + 'DELETE FROM `items_users` WHERE `uid` = "' . $this->users[$i]['id'] . '" LIMIT 100' + ); mysql_query('DELETE FROM `eff_users` WHERE `uid` = "' . $this->users[$i]['id'] . '" LIMIT 100'); } elseif ($this->users[$i]['bot'] == 2) { $this->users[$i]['battle'] = 0; - mysql_query('UPDATE `users` SET `battle` = "0" WHERE `id` = "' . $this->users[$i]['id'] . '" LIMIT 1'); - mysql_query('UPDATE `stats` SET `zv` = "0",`team` = "0",`exp` = `exp` + `battle_exp`,`battle_exp` = "0",`battle_yron` = "0",`enemy` = "0", `timeGo` = "' . time() . '" WHERE `id` = "' . $this->users[$i]['id'] . '" LIMIT 1'); + mysql_query( + 'UPDATE `users` SET `battle` = "0" WHERE `id` = "' . $this->users[$i]['id'] . '" LIMIT 1' + ); + mysql_query( + 'UPDATE `stats` SET `zv` = "0",`team` = "0",`exp` = `exp` + `battle_exp`,`battle_exp` = "0",`battle_yron` = "0",`enemy` = "0", `timeGo` = "' . time( + ) . '" WHERE `id` = "' . $this->users[$i]['id'] . '" LIMIT 1' + ); //mysql_query('UPDATE `stats` SET `zv` = "0",`team` = "0",`exp` = `exp` + `battle_exp`,`battle_exp` = "0",`timeGo` = "'.time().'" WHERE `id` = "'.$this->users[$i]['id'].'" LIMIT 1'); mysql_query('DELETE FROM `eff_users` WHERE `uid` = "' . $this->users[$i]['id'] . '" LIMIT 100'); } elseif ($this->users[$i]['bot'] > 0) { $this->users[$i]['battle'] = 0; - mysql_query('UPDATE `users` SET `battle` = "0" WHERE `id` = "' . $this->users[$i]['id'] . '" LIMIT 1'); - mysql_query('UPDATE `stats` SET `zv` = "0",`team` = "0",`exp` = `exp` + `battle_exp`,`battle_exp` = "0",`battle_yron` = "0",`enemy` = "0", `timeGo` = "' . time() . '" WHERE `id` = "' . $this->users[$i]['id'] . '" LIMIT 1'); + mysql_query( + 'UPDATE `users` SET `battle` = "0" WHERE `id` = "' . $this->users[$i]['id'] . '" LIMIT 1' + ); + mysql_query( + 'UPDATE `stats` SET `zv` = "0",`team` = "0",`exp` = `exp` + `battle_exp`,`battle_exp` = "0",`battle_yron` = "0",`enemy` = "0", `timeGo` = "' . time( + ) . '" WHERE `id` = "' . $this->users[$i]['id'] . '" LIMIT 1' + ); mysql_query('DELETE FROM `eff_users` WHERE `uid` = "' . $this->users[$i]['id'] . '" LIMIT 100'); } if ($this->users[$i]['clone'] > 0 && $this->users[$i]['bot'] > 0 && isset($this->users[$this->uids[$this->users[$i]['clone']]]['id']) && $this->users[$this->uids[$this->users[$i]['clone']]]['team'] != $this->users[$i]['team']) { @@ -2367,20 +2319,28 @@ class Battle while ($j < count($this->users)) { if ($this->users[$j]['bot'] == 0 && $this->users[$j]['team'] != $this->users[$i]['team']) { if ($this->users[$j]['team'] == $this->info['team_win']) { // if($this->users[$j]['team']==$this->info['team_win']){ - $u->addAction(time(), 'win_bot_' . $this->users[$i]['bot_id'], '', - $this->users[$j]['id']); + $u->addAction( + time(), 'win_bot_' . $this->users[$i]['bot_id'], '', + $this->users[$j]['id'] + ); // - mysql_query('UPDATE `dialog_act` SET `now` = `now` + 1 WHERE `uid` = "' . $this->users[$j]['id'] . '" AND + mysql_query( + 'UPDATE `dialog_act` SET `now` = `now` + 1 WHERE `uid` = "' . $this->users[$j]['id'] . '" AND ( `btl_bot` LIKE "' . $this->users[$i]['bot_id'] . '!%" OR `btl_bot` LIKE "%!' . $this->users[$i]['bot_id'] . '!%" ) AND `val` != 1 - LIMIT 1'); + LIMIT 1' + ); // } elseif ($this->info['team_win'] == 0) { - $u->addAction(time(), 'nich_bot_' . $this->users[$i]['bot_id'], '', - $this->users[$j]['id']); + $u->addAction( + time(), 'nich_bot_' . $this->users[$i]['bot_id'], '', + $this->users[$j]['id'] + ); } else { - $u->addAction(time(), 'lose_bot_' . $this->users[$i]['bot_id'], '', - $this->users[$j]['id']); + $u->addAction( + time(), 'lose_bot_' . $this->users[$i]['bot_id'], '', + $this->users[$j]['id'] + ); } } $j++; @@ -2391,1428 +2351,1409 @@ class Battle } $botss = []; - if (true == true) { - if ($nl != 10) { - // - if ($this->info['dungeon'] > 0) { - if ($this->info['team_win'] == $u->info['team'] && $this->info['dungeon'] == 102) { - $j1 = mysql_fetch_array(mysql_query('SELECT * FROM `laba_obj` WHERE `type` = 2 AND `lib` = "' . $this->info['dn_id'] . '" AND `x` = "' . $this->info['x'] . '" AND `y` = "' . $this->info['y'] . '" LIMIT 1')); - if (isset($j1['id'])) { - mysql_query('DELETE FROM `laba_obj` WHERE `id` = "' . $j1['id'] . '" LIMIT 1'); - // - mysql_query('INSERT INTO `laba_obj` (`use`,`lib`,`time`,`type`,`x`,`y`,`vars`) VALUES ( - "0","' . $j1['lib'] . '","' . time() . '","6","' . $j1['x'] . '","' . $j1['y'] . '","' . (0 + $botsi) . '" - )'); - } - } elseif ($this->info['team_win'] == $u->info['team']) { - // , - $j1 = mysql_query('SELECT * FROM `dungeon_bots` WHERE `dn` = "' . $this->info['dn_id'] . '" AND `for_dn` = "0" AND `x` = "' . $this->info['x'] . '" AND `delete` = "0" AND `y`= "' . $this->info['y'] . '" LIMIT 100'); - while ($tbot = mysql_fetch_array($j1)) { - $j2 = 0; - while ($j2 < $tbot['colvo']) { - if (isset($tbot['id2'])) { - $tbot2 = mysql_fetch_array(mysql_query('SELECT * FROM `test_bot` WHERE `id` = "' . $tbot['id_bot'] . '" LIMIT 1')); - $itms = explode('|', $tbot2['p_items']); - $tii = 0; - $testdrop = 0; - while ($tii < count($itms) && $testdrop == 0) { - $itmz = explode('=', $itms[$tii]); - if ($itmz[0] > 0) { - if (isset($itmz[2]) && $itmz[2] != '') { // $itmz[2] == quest888 - $questDrop = mysql_fetch_array(mysql_query('SELECT * FROM `actions` WHERE `vars` LIKE "%' . $itmz[2] . '%" AND `vals` = "go" AND `uid` = "' . $u->info['id'] . '" LIMIT 1')); - } - if (isset($questDrop['id'])) { // , - } elseif (isset($itmz[2]) && $itmz[2] != '') { - $itmz[1] = 0; - } // , , 0 - unset($questDrop); - // - if ($itmz[1] * 100000 >= rand(1, 10000000)) { - $tou = 0; // - /* */ - $itmnm = mysql_fetch_array(mysql_query('SELECT `name` FROM `items_main` WHERE `id` = "' . $itmz[0] . '" LIMIT 1')); - $itmnm = $itmnm['name']; + // + if ($nl != 10 && $this->info['dungeon'] > 0) { + if ($this->info['team_win'] == $u->info['team'] && $this->info['dungeon'] == 102) { + $j1 = mysql_fetch_array( + mysql_query( + 'SELECT * FROM `laba_obj` WHERE `type` = 2 AND `lib` = "' . $this->info['dn_id'] . '" AND `x` = "' . $this->info['x'] . '" AND `y` = "' . $this->info['y'] . '" LIMIT 1' + ) + ); + if (isset($j1['id'])) { + mysql_query('DELETE FROM `laba_obj` WHERE `id` = "' . $j1['id'] . '" LIMIT 1'); + // + mysql_query( + 'INSERT INTO `laba_obj` (`use`,`lib`,`time`,`type`,`x`,`y`,`vars`) VALUES ( + "0","' . $j1['lib'] . '","' . time( + ) . '","6","' . $j1['x'] . '","' . $j1['y'] . '","' . (0 + $botsi) . '" + )' + ); + } + } elseif ($this->info['team_win'] == $u->info['team']) { + // , + $j1 = mysql_query( + 'SELECT * FROM `dungeon_bots` WHERE `dn` = "' . $this->info['dn_id'] . '" AND `for_dn` = "0" AND `x` = "' . $this->info['x'] . '" AND `delete` = "0" AND `y`= "' . $this->info['y'] . '" LIMIT 100' + ); + while ($tbot = mysql_fetch_array($j1)) { + $j2 = 0; + while ($j2 < $tbot['colvo']) { + if (isset($tbot['id2'])) { + $tbot2 = mysql_fetch_array( + mysql_query( + 'SELECT * FROM `test_bot` WHERE `id` = "' . $tbot['id_bot'] . '" LIMIT 1' + ) + ); + $itms = explode('|', $tbot2['p_items']); + $tii = 0; + $testdrop = 0; + while ($tii < count($itms) && $testdrop == 0) { + $itmz = explode('=', $itms[$tii]); + if ($itmz[0] > 0) { + if (isset($itmz[2]) && $itmz[2] != '') { // $itmz[2] == quest888 + $questDrop = mysql_fetch_array( + mysql_query( + 'SELECT * FROM `actions` WHERE `vars` LIKE "%' . $itmz[2] . '%" AND `vals` = "go" AND `uid` = "' . $u->info['id'] . '" LIMIT 1' + ) + ); + } + if (isset($questDrop['id'])) { // , + } elseif (isset($itmz[2]) && $itmz[2] != '') { + $itmz[1] = 0; + } // , , 0 + unset($questDrop); - $rtxt = ' ' . $tbot2['login'] . ' "' . $itmnm . '" '; - mysql_query("INSERT INTO `chat` (`dn`,`city`,`room`,`login`,`to`,`text`,`time`,`type`,`toChat`,`typeTime`,`new`) VALUES ('" . $this->info['dn_id'] . "','" . $this->users[0]['city'] . "','" . $this->users[0]['room'] . "','','','" . $rtxt . "','" . time() . "','6','0','1','1')"); + // + if ($itmz[1] * 100000 >= rand(1, 10000000)) { + $tou = 0; // + /* */ + $itmnm = mysql_fetch_array( + mysql_query( + 'SELECT `name` FROM `items_main` WHERE `id` = "' . $itmz[0] . '" LIMIT 1' + ) + ); + $itmnm = $itmnm['name']; - $ins = mysql_query('INSERT INTO `dungeon_items` (`dn`,`user`,`item_id`,`time`,`x`,`y`) VALUES ( - "' . $this->info['dn_id'] . '", - "' . $tou . '", - "' . $itmz[0] . '", - "' . time() . '", - "' . $this->info['x'] . '", - "' . $this->info['y'] . '")'); - if (!isset($questDrop['id'])) { - $testdrop = 1; // drop-drop //quest - } - } + $rtxt = ' ' . $tbot2['login'] . ' "' . $itmnm . '" '; + mysql_query( + "INSERT INTO `chat` (`dn`,`city`,`room`,`login`,`to`,`text`,`time`,`type`,`toChat`,`typeTime`,`new`) VALUES ('" . $this->info['dn_id'] . "','" . $this->users[0]['city'] . "','" . $this->users[0]['room'] . "','','','" . $rtxt . "','" . time( + ) . "','6','0','1','1')" + ); + + $ins = mysql_query( + 'INSERT INTO `dungeon_items` (`dn`,`user`,`item_id`,`time`,`x`,`y`) VALUES ( + "' . $this->info['dn_id'] . '", + "' . $tou . '", + "' . $itmz[0] . '", + "' . time() . '", + "' . $this->info['x'] . '", + "' . $this->info['y'] . '")' + ); + if (!isset($questDrop['id'])) { + $testdrop = 1; // drop-drop //quest } - $tii++; } } - $j2++; - } - // - // 1-15 , - if (date('m') == 9 && date('d') < 15) { - if ($this->get_chanse(99) == true) { - // - } elseif ($this->info['dungeon'] == 12 || $this->info['dungeon'] == 101) { - $tou = 0; // - /* */ - $itmz = [ - rand(4745, 4751), - 100, - ]; - // - $itmnm = mysql_fetch_array(mysql_query('SELECT `name` FROM `items_main` WHERE `id` = "' . $itmz[0] . '" LIMIT 1')); - $itmnm = $itmnm['name']; - - $rtxt = ' ' . $tbot2['login'] . ' "' . $itmnm . '" '; - mysql_query("INSERT INTO `chat` (`dn`,`city`,`room`,`login`,`to`,`text`,`time`,`type`,`toChat`,`typeTime`,`new`) VALUES ('" . $this->info['dn_id'] . "','" . $this->users[0]['city'] . "','" . $this->users[0]['room'] . "','','','" . $rtxt . "','" . time() . "','6','0','1','1')"); - - $ins = mysql_query('INSERT INTO `dungeon_items` (`dn`,`user`,`item_id`,`time`,`x`,`y`) VALUES ( - "' . $this->info['dn_id'] . '", - "' . $tou . '", - "' . $itmz[0] . '", - "' . time() . '", - "' . $this->info['x'] . '", - "' . $this->info['y'] . '")'); - } - } - // - // , - - if (rand(1, 100) <= 99) { - // - } elseif ($this->info['dungeon'] == 12 || $this->info['dungeon'] == 3 || - $this->info['dungeon'] == 101 || $this->info['dungeon'] == 16 || - $this->info['dungeon'] == 9 || $this->info['dungeon'] == 10 || - $this->info['dungeon'] == 13 || $this->info['dungeon'] == 106) { - $tou = 0; // - // - $itmz = rand(3143, 3192); - // - $itmnm = mysql_fetch_array(mysql_query('SELECT `name` FROM `items_main` WHERE `id` = "' . $itmz . '" LIMIT 1')); - $itmnm = $itmnm['name']; - - $rtxt = ' ' . $tbot2['login'] . ' "' . $itmnm . '" '; - mysql_query("INSERT INTO `chat` (`dn`,`city`,`room`,`login`,`to`,`text`,`time`,`type`,`toChat`,`typeTime`,`new`) VALUES ('" . $this->info['dn_id'] . "','" . $this->users[0]['city'] . "','" . $this->users[0]['room'] . "','','','" . $rtxt . "','" . time() . "','6','0','1','1')"); - - $ins = mysql_query('INSERT INTO `dungeon_items` (`dn`,`user`,`item_id`,`time`,`x`,`y`) VALUES ( - "' . $this->info['dn_id'] . '", - "' . $tou . '", - "' . $itmz . '", - "' . time() . '", - "' . $this->info['x'] . '", - "' . $this->info['y'] . '")'); + $tii++; } } - # mysql_query('UPDATE `dungeon_bots` SET `delete` = "'.time().'" WHERE `dn` = "'.$this->info['dn_id'].'" AND `for_dn` = "0" AND `x` = "'.$this->info['x'].'" AND `y`= "'.$this->info['y'].'" AND `delete` = "0" '); - mysql_query('UPDATE `dungeon_bots` SET `delete` = "' . time() . '" AND `inBattle` = "' . $this->info['id'] . '" WHERE `dn` = "' . $this->info['dn_id'] . '" AND `for_dn` = "0" AND `delete` = "0" '); + $j2++; + } + // + // 1-15 , + if (date('m') == 9 && date('d') < 15) { + if ($this->get_chanse(99) == true) { + // + } elseif ($this->info['dungeon'] == 12 || $this->info['dungeon'] == 101) { + $tou = 0; // + /* */ + $itmz = [ + rand(4745, 4751), + 100, + ]; + // + $itmnm = mysql_fetch_array( + mysql_query( + 'SELECT `name` FROM `items_main` WHERE `id` = "' . $itmz[0] . '" LIMIT 1' + ) + ); + $itmnm = $itmnm['name']; + + $rtxt = ' ' . $tbot2['login'] . ' "' . $itmnm . '" '; + mysql_query( + "INSERT INTO `chat` (`dn`,`city`,`room`,`login`,`to`,`text`,`time`,`type`,`toChat`,`typeTime`,`new`) VALUES ('" . $this->info['dn_id'] . "','" . $this->users[0]['city'] . "','" . $this->users[0]['room'] . "','','','" . $rtxt . "','" . time( + ) . "','6','0','1','1')" + ); + + $ins = mysql_query( + 'INSERT INTO `dungeon_items` (`dn`,`user`,`item_id`,`time`,`x`,`y`) VALUES ( + "' . $this->info['dn_id'] . '", + "' . $tou . '", + "' . $itmz[0] . '", + "' . time() . '", + "' . $this->info['x'] . '", + "' . $this->info['y'] . '")' + ); + } + } + // + // , + + if (rand(1, 100) <= 99) { + // + } elseif ($this->info['dungeon'] == 12 || $this->info['dungeon'] == 3 || + $this->info['dungeon'] == 101 || $this->info['dungeon'] == 16 || + $this->info['dungeon'] == 9 || $this->info['dungeon'] == 10 || + $this->info['dungeon'] == 13 || $this->info['dungeon'] == 106) { + $tou = 0; // + // + $itmz = rand(3143, 3192); + // + $itmnm = mysql_fetch_array( + mysql_query('SELECT `name` FROM `items_main` WHERE `id` = "' . $itmz . '" LIMIT 1') + ); + $itmnm = $itmnm['name']; + + $rtxt = ' ' . $tbot2['login'] . ' "' . $itmnm . '" '; + mysql_query( + "INSERT INTO `chat` (`dn`,`city`,`room`,`login`,`to`,`text`,`time`,`type`,`toChat`,`typeTime`,`new`) VALUES ('" . $this->info['dn_id'] . "','" . $this->users[0]['city'] . "','" . $this->users[0]['room'] . "','','','" . $rtxt . "','" . time( + ) . "','6','0','1','1')" + ); + + $ins = mysql_query( + 'INSERT INTO `dungeon_items` (`dn`,`user`,`item_id`,`time`,`x`,`y`) VALUES ( + "' . $this->info['dn_id'] . '", + "' . $tou . '", + "' . $itmz . '", + "' . time() . '", + "' . $this->info['x'] . '", + "' . $this->info['y'] . '")' + ); + } + } + mysql_query( + 'UPDATE `dungeon_bots` SET `delete` = "' . time( + ) . '" AND `inBattle` = "' . $this->info['id'] . '" WHERE `dn` = "' . $this->info['dn_id'] . '" AND `for_dn` = "0" AND `delete` = "0" ' + ); + } else { + // RESTART + $dnr = 1; + if ($this->info['dungeon'] != 102) { + mysql_query( + 'UPDATE `dungeon_bots` SET `inBattle` = "0" WHERE `dn` = "' . $this->info['dn_id'] . '" AND `for_dn` = "0" AND `x` = "' . $this->info['x'] . '" AND `y`= "' . $this->info['y'] . '"' + ); + } + } + } + + $gm = []; + $gms = []; + $bm = []; + $bms = []; + + // + // + + // + $i = $this->uids[$u->info['id']]; + + if ($this->info['team_win'] >= 0) { + + + if ($this->stats[$i]['pbe'] > 0) { + // + $this->expCoef += $this->stats[$i]['pbe']; + } + + if ($this->info['razdel'] == 5) { + if ($c['m'] >= 6 && $c['m'] <= 8) { + // + $this->expCoef += 5; + } elseif ($c['w'] == 0 || $c['w'] == 6) { + // + $this->expCoef += 5; + } + } + + $this->stats[$i]['exp'] += $this->expCoef; + + $this->stats[$i]['exp'] += $this->aBexp * $c['exp']; + + if ($this->stats[$i]['os4'] > 0) { + $this->stats[$i]['exp'] += $this->stats[$i]['os4']; + } + + + $act01 = 0; + $this->users[$i]['battle_exp'] = round( + $this->users[$i]['battle_exp'] + ($this->users[$i]['battle_exp'] / 100 * (1 + $this->info['addExp'] + $this->stats[$i]['exp'])) + ); + + if ($this->info['type'] == 564) { + // + $this->users[$i]['battle_exp'] = 0; + } + + if ($this->info['dungeon'] == 104) { + $this->users[$i]['battle_exp'] = ($u->info['level'] * 2) * (count($this->uids) - 1); + } elseif ($this->info['dungeon'] > 0 && $this->users[$i]['dnow'] != 0 && $this->info['dungeon'] != 1 && $this->users[$i]['team'] == $this->info['team_win']) { + $dun_limitForLevel = [ + 4 => 750, + 5 => 1500, + 6 => 3500, + 7 => 8000, + 8 => 25000, + 9 => 50000, + 10 => 75000, + 11 => 100000, + 12 => 100000, + 13 => 100000, + 14 => 100000, + ]; + // . + + if ($this->users[$i]['battle_exp'] > 0) { + $dun_exp = []; // . + $rep = mysql_fetch_array( + mysql_query( + 'SELECT `dungeonexp`,`id` FROM `rep` WHERE `id` = "' . $this->users[$i]['id'] . '" LIMIT 1' + ) + ); + $rep = explode(',', $rep['dungeonexp']); + foreach ($rep as $key => $val) { + $val = explode('=', $val); // + if (isset($val[0]) && isset($val[1]) && $val[0] != '' && $val[1] != 0) { + $dun_exp[(int)$val[0]] = (int)$val[1]; + } + } + unset($rep); + } + + if (!isset($dun_exp[$this->info['dungeon']])) { + $dun_exp[$this->info['dungeon']] = 0; + } + + if (!isset($dun_limitForLevel[(int)$this->users[$i]['level']])) { // , . + $this->users[$i]['battle_exp'] = 0; + } elseif ( + isset($dun_exp[$this->info['dungeon']]) && + $dun_exp[$this->info['dungeon']] >= $dun_limitForLevel[(int)$this->users[$i]['level']] + ) { // , . + $this->users[$i]['battle_exp'] = 0; + } elseif ( + isset($dun_exp[$this->info['dungeon']]) && + $dun_limitForLevel[(int)$this->users[$i]['level']] > $dun_exp[$this->info['dungeon']] + ) { // . + if (($dun_exp[$this->info['dungeon']] + $this->users[$i]['battle_exp']) > $dun_limitForLevel[(int)$this->users[$i]['level']]) { + // , . + $this->users[$i]['battle_exp'] = abs( + $this->users[$i]['battle_exp'] - abs( + $dun_limitForLevel[(int)$this->users[$i]['level']] - ($this->users[$i]['battle_exp'] + $dun_exp[$this->info['dungeon']]) + ) + ); + $dun_exp[$this->info['dungeon']] += $this->users[$i]['battle_exp']; + } elseif ($dun_limitForLevel[(int)$this->users[$i]['level']] > ($dun_exp[$this->info['dungeon']] + $this->users[$i]['battle_exp'])) { + // , . + $dun_exp[$this->info['dungeon']] += $this->users[$i]['battle_exp']; } else { - // RESTART - $dnr = 1; - if ($this->info['dungeon'] != 102) { - mysql_query('UPDATE `dungeon_bots` SET `inBattle` = "0" WHERE `dn` = "' . $this->info['dn_id'] . '" AND `for_dn` = "0" AND `x` = "' . $this->info['x'] . '" AND `y`= "' . $this->info['y'] . '"'); - } + $this->users[$i]['battle_exp'] = 0; + } + } else { // . + $this->users[$i]['battle_exp'] = 0; + } + + + if ($this->users[$i]['battle_exp'] > 0 && isset($dun_exp[$this->info['dungeon']]) && $dun_exp[$this->info['dungeon']] > 0) { + $dunexp = []; + foreach ($dun_exp as $key => $val) { + $dunexp[$key] = $key . '=' . $val; // + } + $dun_exp = implode(",", $dunexp); + mysql_query( + 'UPDATE `rep` SET `dungeonexp` = "' . $dun_exp . '" WHERE `id` = "' . $this->users[$i]['id'] . '" LIMIT 1' + ); + unset($dunexp, $dun_exp); + } + unset($dun_limitForLevel); + } + + $sinf = ''; + if ($c['exp_mega']) { + $this->users[$i]['battle_exp'] += floor( + $this->users[$i]['battle_exp'] / 100 * $c['exp_mega_val'][$this->users[$i]['level']] + ); + } + + if ($this->info['team_win'] == 0 && $this->info['type'] != 564) { + if ($this->users[$i]['level'] <= 1) { + $this->users[$i]['battle_exp'] = floor($this->users[$i]['battle_exp'] * 0.50); + } else { + $this->users[$i]['battle_exp'] = ceil($this->users[$i]['battle_exp'] * 0.10); + } + $this->users[$i]['nich'] += 1; + mysql_query( + 'UPDATE `users` SET `swin` = 0, `slose` = 0 WHERE `id` = "' . $this->users[$i]['id'] . '" LIMIT 1' + ); + } elseif ($this->users[$i]['team'] == $this->info['team_win'] && $this->info['type'] != 564) { + $gm[$i] = $this->info['money']; + $gms[$i] = $this->info['money3']; + $this->users[$i]['win'] += 1; + $act01 = 1; + mysql_query( + 'UPDATE `users` SET `swin` = `swin` + 1, `slose` = 0 WHERE `id` = "' . $this->users[$i]['id'] . '" LIMIT 1' + ); + } elseif ($this->info['type'] != 564) { + if ($this->users[$i]['level'] <= 1) { + $this->users[$i]['battle_exp'] = ceil($this->users[$i]['battle_exp'] * 0.33); + } else { + $this->users[$i]['battle_exp'] = ceil($this->users[$i]['battle_exp'] * 0.10); + } + $bm[$i] = $this->info['money']; + $bms[$i] = $this->info['money3']; + $this->users[$i]['lose'] += 1; + mysql_query( + 'UPDATE `users` SET `swin` = 0, `slose` = `slose` + 1 WHERE `id` = "' . $this->users[$i]['id'] . '" LIMIT 1' + ); + $act01 = 2; + } + // - ( .) + if ($this->info['money3'] > 0 && isset($gms[$i]) && $this->info['type'] != 564) { + $mn = [ + 'l' => 0, // + 'w' => 0, // + 'm' => 0, // () + ]; + if ($act01 == 1) { + $mn['l'] = mysql_fetch_array( + mysql_query( + 'SELECT COUNT(`id`) FROM `battle_users` WHERE `battle` = "' . $this->info['id'] . '" AND `team` != "' . $this->users[$i]['team'] . '" LIMIT 1' + ) + ); + $mn['l'] = $mn['l'][0]; + $mn['w'] = mysql_fetch_array( + mysql_query( + 'SELECT COUNT(`id`) FROM `battle_users` WHERE `battle` = "' . $this->info['id'] . '" AND `team` = "' . $this->users[$i]['team'] . '" LIMIT 1' + ) + ); + $mn['w'] = $mn['w'][0]; + $mn['m'] = round(($mn['l'] * $this->info['money3']) / 100 * 87, 2); + $gms[$i] = round(($mn['m'] / $mn['w']), 2); + } + } + // + // + if ($act01 == 1) { + // + if ($this->users[$i]['dnow'] == 0) { + if ($this->users[$i]['hpNow'] < 1) { + $lom = 0.05; + } + } + } elseif ($act01 == 2) { + // + $lom = 0.55; + } else { + // + $lom = 0.05; + } + $nlom = [0 => rand(0, 18), 1 => rand(0, 18), 2 => rand(0, 18), 3 => rand(0, 18)]; + if ($this->info['type'] == 564) { + $lom = 0; + } + if ($this->stats[$i]['silver'] >= 4) { + $lom = 0; + } + mysql_query( + 'UPDATE `items_users` SET `iznosNOW` = `iznosNOW`+' . $lom . ' WHERE `inOdet` < "18" AND `inOdet` > "0" AND `uid` = "' . $this->users[$i]['id'] . '" AND `inOdet`!="0" AND `inOdet`!=' . $nlom[0] . ' AND `inOdet`!=' . $nlom[1] . ' AND `inOdet`!=' . $nlom[2] . ' AND `inOdet`!=' . $nlom[3] . ' LIMIT 18' + ); + + $prc = ''; + if ($this->users[$i]['align'] == 2) { + $this->users[$i]['battle_exp'] = floor($this->users[$i]['battle_exp'] / 2); + } + if ($this->users[$i]['animal'] > 0) { + $ulan = $u->testAction( + '`uid` = "' . $this->users[$i]['id'] . '" AND `vars` = "animal_use' . $this->info['id'] . '" LIMIT 1', + 1 + ); + if (isset($ulan['id']) && $this->users[$i]['team'] == $this->info['team_win'] && $this->users[$i]['level'] > $ulan['vals']) { + $a004 = mysql_fetch_array( + mysql_query( + 'SELECT `max_exp`,`name` FROM `users_animal` WHERE `uid` = "' . $this->users[$i]['id'] . '" AND `id` = "' . $this->users[$i]['animal'] . '" AND `pet_in_cage` = "0" AND `delete` = "0" LIMIT 1' + ) + ); + //33% , + $aexp = (round($this->users[$i]['battle_exp'] / 100 * 33)); + if ($aexp > $a004['max_exp']) { + $aexp = $a004['max_exp']; + } + unset($ulan); + // + mysql_query( + "INSERT INTO `chat` (`new`,`city`,`room`,`login`,`to`,`text`,`time`,`type`,`toChat` + ) VALUES ( + '1','" . $this->users[$i]['city'] . "','" . $this->users[$i]['room'] . "','','" . $this->users[$i]['login'] . "' + ,' "" . $a004['name'] . "" : " . $aexp . "','-1','6','0')" + ); + // + $upd = mysql_query( + 'UPDATE `users_animal` SET `exp` = `exp` + ' . $aexp . ' WHERE `id` = "' . $this->users[$i]['animal'] . '" AND `level` < ' . $this->users[$i]['level'] . ' LIMIT 1' + ); + if ($upd) { + $this->users[$i]['battle_exp'] = round($this->users[$i]['battle_exp'] / 100 * 67); + $this->info['addExp'] -= 33.333; } } } - $gm = []; - $gms = []; - $bm = []; - $bms = []; + $prsusers = mysql_fetch_array( + mysql_query( + 'SELECT SUM(`price1`) FROM `battle_users` WHERE `battle` = "' . $this->info['id'] . '" LIMIT 1' + ) + ); - // - // + $btlstatus = $this->typeBattle($prsusers[0]); + if ($this->info['smert'] == 1) { + $btlstatus = [150, 150, ' ', ' ']; + } + // + if ($this->stats[$i]['clanpos'] > 0 && ($this->stats[$i]['clanpos'] == 1 || $this->stats[$i]['clanpos'] == 2 || $this->stats[$i]['clanpos'] == 3)) { + $this->info['addExp'] += 0; + } - // - $i = $this->uids[$u->info['id']]; - - if ($this->info['team_win'] >= 0) { - // +100% - /* - if(date('w') == 0 || date('w') == 6) { - $this->stats[$i]['exp'] += 100; - } - */ - - /*if( date('d.m') == '15.05' ) { - // 40 (54, 40) - //$this->stats[$i]['exp'] += 100; - }elseif( date('d.m') == '13.06' ) { - // - //$this->stats[$i]['exp'] += 100; - }*/ - - if ($this->stats[$i]['pbe'] > 0) { - // - $this->expCoef += $this->stats[$i]['pbe']; + unset($r1); + // + if ($btlstatus[0] > 0) { + if ($this->info['type'] == 99) { + $this->info['addExp'] += $btlstatus[1]; + } else { + $this->info['addExp'] += $btlstatus[0]; } + } + + if ($this->users[$i]['align'] == 2 || $this->users[$i]['haos'] > time()) { + $this->stats[$i]['exp'] = -($this->info['addExp'] + 50); + } + if ($this->info['addExp'] + $this->stats[$i]['exp'] != 0) { + $prc = ' (' . (100 + $this->info['addExp'] + $this->stats[$i]['exp']) . '%)'; + } + if ($this->info['money'] > 0) { + if (isset($gm[$i])) { + $prc .= ' ' . $gm[$i] . ' . .'; + $u->addDelo( + 4, $this->users[$i]['id'], + '"System.battle": ' . $gm[$i] . ' . ( ' . $this->info['id'] . ').', + time(), $this->info['city'], 'System.battle', 0, 0 + ); + $this->users[$i]['money'] += $gm[$i]; + } elseif (isset($bm[$i])) { + $prc .= ' ' . $bm[$i] . ' . .'; + $u->addDelo( + 4, $this->users[$i]['id'], + '"System.battle": ' . $gm[$i] . ' . ( ' . $this->info['id'] . ').', + time(), $this->info['city'], 'System.battle', 0, 0 + ); + $this->users[$i]['money'] -= $bm[$i]; + } + } + if ($c['money_haot'] && $this->users[$i]['exp'] <= 200000000) { + if ($act01 == 1 && $this->info['razdel'] == 5 && $this->users[$i]['level'] >= 8) { + // + $trexp = [ + 8 => 1200, + 9 => 3000, + 10 => 4500, + 11 => 12000, + 12 => 20000, + 13 => 30000, + 14 => 30000, + 15 => 30000, + 16 => 30000, + 17 => 30000, + 18 => 30000, + 19 => 30000, + 20 => 30000, + 21 => 30000, + ]; + $trexp = $trexp[$this->users[$i]['level']]; + + // + $trmn = [ + 8 => 1000, + 9 => 3000, + 10 => 2500, + 11 => 3000, + 12 => 3000, + 13 => 3000, + 14 => 3000, + 15 => 3000, + 16 => 3000, + 17 => 3000, + 18 => 3000, + 19 => 3000, + 20 => 3000, + 21 => 3000, + ]; + $trmn = $trmn[$this->users[$i]['level']]; + + // + $admn = [ + 8 => 0.05, //0.05 + 9 => 0.065, //0.065 + 10 => 0.075, //0.075 + 11 => 0.085, //0.085 + 12 => 0.1, //0.1 + 13 => 0.1, + 14 => 0.1, + 15 => 0.1, + 16 => 0.1, + 17 => 0.1, + 18 => 0.1, + 19 => 0.1, + 20 => 0.1, + 21 => 0.1, + ]; + $admn = $admn[$this->users[$i]['level']]; - if ($this->info['razdel'] == 5) { if ($c['m'] >= 6 && $c['m'] <= 8) { // - $this->expCoef += 5; - } elseif ($c['w'] == 0 || $c['w'] == 6) { - // - $this->expCoef += 5; - } - } - - $this->stats[$i]['exp'] += $this->expCoef; - - $this->stats[$i]['exp'] += $this->aBexp * $c['exp']; - - if ($this->stats[$i]['os4'] > 0) { - $this->stats[$i]['exp'] += $this->stats[$i]['os4']; - } - - /*if($this->stats[$i]['silver']>0) { - $this->stats[$i]['exp'] += 5*$this->stats[$i]['silver']; - if($this->stats[$i]['bonusexp'] > 1) { // ( ) - $this->stats[$i]['exp'] += 1000*$this->stats[$i]['bonusexp']; - } - //if($this->stats[$i]['speeden']>20) { // ( ) - //$this->stats[$i]['enNow'] += $this->stats[$i]['speeden']; - - //$upd2 = mysql_query('UPDATE `stats` SET `enNow` = "'.$this->users[$i]['enNow'].'" WHERE `id` = "'.$this->users[$i]['id'].'" LIMIT 1'); - //} - }*/ - - $act01 = 0; - $this->users[$i]['battle_exp'] = round($this->users[$i]['battle_exp'] + ($this->users[$i]['battle_exp'] / 100 * (1 + $this->info['addExp'] + $this->stats[$i]['exp']))); - - if ($this->info['type'] == 564) { - // - $this->users[$i]['battle_exp'] = 0; - } - - if ($this->info['dungeon'] == 104) { - $this->users[$i]['battle_exp'] = ($u->info['level'] * 2) * (count($this->uids) - 1); - } elseif ($this->info['dungeon'] > 0 && $this->users[$i]['dnow'] != 0 && $this->info['dungeon'] != 1 && $this->users[$i]['team'] == $this->info['team_win']) { - $dun_limitForLevel = [ - 4 => 750, - 5 => 1500, - 6 => 3500, - 7 => 8000, - 8 => 25000, - 9 => 50000, - 10 => 75000, - 11 => 100000, - 12 => 100000, - 13 => 100000, - 14 => 100000, - ]; - // . - - if ($this->users[$i]['battle_exp'] > 0) { - $dun_exp = []; // . - $rep = mysql_fetch_array(mysql_query('SELECT `dungeonexp`,`id` FROM `rep` WHERE `id` = "' . $this->users[$i]['id'] . '" LIMIT 1')); - $rep = explode(',', $rep['dungeonexp']); - foreach ($rep as $key => $val) { - $val = explode('=', $val); // - if (isset($val[0]) && isset($val[1]) && $val[0] != '' && $val[1] != 0) { - $dun_exp[(int)$val[0]] = (int)$val[1]; - } - } - unset($rep); - } - - if (!isset($dun_exp[$this->info['dungeon']])) { - $dun_exp[$this->info['dungeon']] = 0; - } - - if (!isset($dun_limitForLevel[(int)$this->users[$i]['level']])) { // , . - $this->users[$i]['battle_exp'] = 0; - } elseif ( - isset($dun_exp[$this->info['dungeon']]) && - $dun_exp[$this->info['dungeon']] >= $dun_limitForLevel[(int)$this->users[$i]['level']] - ) { // , . - $this->users[$i]['battle_exp'] = 0; - } elseif ( - isset($dun_exp[$this->info['dungeon']]) && - $dun_limitForLevel[(int)$this->users[$i]['level']] > $dun_exp[$this->info['dungeon']] - ) { // . - if (($dun_exp[$this->info['dungeon']] + $this->users[$i]['battle_exp']) > $dun_limitForLevel[(int)$this->users[$i]['level']]) { - // , . - $this->users[$i]['battle_exp'] = abs($this->users[$i]['battle_exp'] - abs($dun_limitForLevel[(int)$this->users[$i]['level']] - ($this->users[$i]['battle_exp'] + $dun_exp[$this->info['dungeon']]))); - $dun_exp[$this->info['dungeon']] += $this->users[$i]['battle_exp']; - } elseif ($dun_limitForLevel[(int)$this->users[$i]['level']] > ($dun_exp[$this->info['dungeon']] + $this->users[$i]['battle_exp'])) { - // , . - $this->users[$i]['battle_exp'] = $this->users[$i]['battle_exp']; - $dun_exp[$this->info['dungeon']] += $this->users[$i]['battle_exp']; - } else { - $this->users[$i]['battle_exp'] = 0; - } - } else { // . - $this->users[$i]['battle_exp'] = 0; - } - - - if ($this->users[$i]['battle_exp'] > 0 && isset($dun_exp[$this->info['dungeon']]) && $dun_exp[$this->info['dungeon']] > 0) { - $dunexp = []; - foreach ($dun_exp as $key => $val) { - $dunexp[$key] = $key . '=' . $val; // - } - $dun_exp = implode(",", $dunexp); - mysql_query('UPDATE `rep` SET `dungeonexp` = "' . $dun_exp . '" WHERE `id` = "' . $this->users[$i]['id'] . '" LIMIT 1'); - unset($dunexp, $dun_exp); - } - unset($dun_limitForLevel); - } - - $sinf = ''; - if ($c['exp_mega'] == true) { - $this->users[$i]['battle_exp'] += floor($this->users[$i]['battle_exp'] / 100 * $c['exp_mega_val'][$this->users[$i]['level']]); - } - - /*if( $this->users[$i]['level'] < 8 ) { - $this->users[$i]['battle_exp'] = $this->users[$i]['battle_exp']*10; - }elseif( $this->users[$i]['level'] < 9 ) { - //$this->users[$i]['battle_exp'] = $this->users[$i]['battle_exp']*2; - }*/ - - if ($this->info['team_win'] == 0 && $this->info['type'] != 564) { - // - if ($this->info['razdel'] == 5) { - //mysql_query('INSERT INTO `users_reting` (`uid`,`time`,`val`) VALUES ( - //"'.$this->users[$i]['id'].'","'.time().'","10")'); - } - //$sinf .= ' '; - if ($this->users[$i]['level'] <= 1) { - $this->users[$i]['battle_exp'] = floor($this->users[$i]['battle_exp'] * 0.50); - } else { - //$this->users[$i]['battle_exp'] = 0; - $this->users[$i]['battle_exp'] = ceil($this->users[$i]['battle_exp'] * 0.10); - } - $this->users[$i]['nich'] += 1; - // - mysql_query('UPDATE `users` SET `swin` = 0, `slose` = 0 WHERE `id` = "' . $this->users[$i]['id'] . '" LIMIT 1'); - // - } elseif ($this->users[$i]['team'] == $this->info['team_win'] && $this->info['type'] != 564) { - // - if ($this->info['razdel'] == 5) { - //mysql_query('INSERT INTO `users_reting` (`uid`,`time`,`val`) VALUES ( - //"'.$this->users[$i]['id'].'","'.time().'","30")'); - } - //$sinf .= ' '; - $gm[$i] = $this->info['money']; - - $gms[$i] = $this->info['money3']; - - $this->users[$i]['win'] += 1; - $act01 = 1; - // - mysql_query('UPDATE `users` SET `swin` = `swin` + 1, `slose` = 0 WHERE `id` = "' . $this->users[$i]['id'] . '" LIMIT 1'); - // - } elseif ($this->info['type'] != 564) { - // - if ($this->info['razdel'] == 5) { - //mysql_query('INSERT INTO `users_reting` (`uid`,`time`,`val`) VALUES ( - //"'.$this->users[$i]['id'].'","'.time().'","10")'); - } - //$sinf .= ' '; - if ($this->users[$i]['level'] <= 1) { - $this->users[$i]['battle_exp'] = ceil($this->users[$i]['battle_exp'] * 0.33); - } else { - //$this->users[$i]['battle_exp'] = 0; - $this->users[$i]['battle_exp'] = ceil($this->users[$i]['battle_exp'] * 0.10); - } - $bm[$i] = $this->info['money']; - - $bms[$i] = $this->info['money3']; - - $this->users[$i]['lose'] += 1; - - mysql_query('UPDATE `users` SET `swin` = 0, `slose` = `slose` + 1 WHERE `id` = "' . $this->users[$i]['id'] . '" LIMIT 1'); - // - $act01 = 2; - } - if ($this->users[$i]['level'] < 4) { - //$this->users[$i]['battle_exp'] = $this->users[$i]['battle_exp']*3; - } - //$sinf .= ' '.$this->info['id'].'-'.$this->info['team_win'].'-'.$relbf.'-'.$this->users[$i]['team'].'-'.$tl .' '; - // - // - ( .) - if ($this->info['money3'] > 0 && isset($gms[$i]) && $this->info['type'] != 564) { - $mn = [ - 'l' => 0, // - 'w' => 0, // - 'm' => 0 // () - ]; - if ($act01 == 1) { - $mn['l'] = mysql_fetch_array(mysql_query('SELECT COUNT(`id`) FROM `battle_users` WHERE `battle` = "' . $this->info['id'] . '" AND `team` != "' . $this->users[$i]['team'] . '" LIMIT 1')); - $mn['l'] = $mn['l'][0]; - $mn['w'] = mysql_fetch_array(mysql_query('SELECT COUNT(`id`) FROM `battle_users` WHERE `battle` = "' . $this->info['id'] . '" AND `team` = "' . $this->users[$i]['team'] . '" LIMIT 1')); - $mn['w'] = $mn['w'][0]; - $mn['m'] = round(($mn['l'] * $this->info['money3']) / 100 * 87, 2); - $gms[$i] = round(($mn['m'] / $mn['w']), 2); - } - } - // - // - // - if ($act01 == 1) { - // - if ($this->users[$i]['dnow'] == 0) { - if ($this->users[$i]['hpNow'] < 1) { - $lom = 0.05; - } - } - } elseif ($act01 == 2) { - // - $lom = 0.55; - } else { - // - $lom = 0.05; - } - //$lom = round($lom*2.75,2); - $nlom = [0 => rand(0, 18), 1 => rand(0, 18), 2 => rand(0, 18), 3 => rand(0, 18)]; - if ($this->info['type'] == 564) { - $lom = 0; - } - if ($this->stats[$i]['silver'] >= 4) { - $lom = 0; - } - mysql_query('UPDATE `items_users` SET `iznosNOW` = `iznosNOW`+' . $lom . ' WHERE `inOdet` < "18" AND `inOdet` > "0" AND `uid` = "' . $this->users[$i]['id'] . '" AND `inOdet`!="0" AND `inOdet`!=' . $nlom[0] . ' AND `inOdet`!=' . $nlom[1] . ' AND `inOdet`!=' . $nlom[2] . ' AND `inOdet`!=' . $nlom[3] . ' LIMIT 18'); - - $prc = ''; - if ($this->users[$i]['align'] == 2) { - $this->users[$i]['battle_exp'] = floor($this->users[$i]['battle_exp'] / 2); - } - if ($this->users[$i]['animal'] > 0) { - $ulan = $u->testAction('`uid` = "' . $this->users[$i]['id'] . '" AND `vars` = "animal_use' . $this->info['id'] . '" LIMIT 1', - 1); - if (isset($ulan['id']) && $this->users[$i]['team'] == $this->info['team_win'] && $this->users[$i]['level'] > $ulan['vals']) { - $a004 = mysql_fetch_array(mysql_query('SELECT `max_exp`,`name` FROM `users_animal` WHERE `uid` = "' . $this->users[$i]['id'] . '" AND `id` = "' . $this->users[$i]['animal'] . '" AND `pet_in_cage` = "0" AND `delete` = "0" LIMIT 1')); - //33% , - $aexp = (round($this->users[$i]['battle_exp'] / 100 * 33)); - if ($aexp > $a004['max_exp']) { - $aexp = $a004['max_exp']; - } - unset($ulan); - // - mysql_query("INSERT INTO `chat` (`new`,`city`,`room`,`login`,`to`,`text`,`time`,`type`,`toChat` - ) VALUES ( - '1','" . $this->users[$i]['city'] . "','" . $this->users[$i]['room'] . "','','" . $this->users[$i]['login'] . "' - ,' "" . $a004['name'] . "" : " . $aexp . "','-1','6','0')"); - // - $upd = mysql_query('UPDATE `users_animal` SET `exp` = `exp` + ' . $aexp . ' WHERE `id` = "' . $this->users[$i]['animal'] . '" AND `level` < ' . $this->users[$i]['level'] . ' LIMIT 1'); - if ($upd) { - $this->users[$i]['battle_exp'] = round($this->users[$i]['battle_exp'] / 100 * 67); - $this->info['addExp'] -= 33.333; - } - } - } - - $prsusers = mysql_fetch_array(mysql_query('SELECT SUM(`price1`) FROM `battle_users` WHERE `battle` = "' . $this->info['id'] . '" LIMIT 1')); - unset($prsusers); - $btlstatus = $this->typeBattle($prsusers[0]); - if ($this->info['smert'] == 1) { - $btlstatus = [150, 150, ' ', ' ']; - } - // - if ($this->stats[$i]['clanpos'] > 0) { - if ($this->stats[$i]['clanpos'] == 1) { - $this->info['addExp'] += 0; - } elseif ($this->stats[$i]['clanpos'] == 2) { - $this->info['addExp'] += 0; - } elseif ($this->stats[$i]['clanpos'] == 3) { - $this->info['addExp'] += 0; - } - } - - unset($r1); - // - if ($btlstatus[0] > 0) { - if ($this->info['type'] == 99) { - $this->info['addExp'] += $btlstatus[1]; - } else { - $this->info['addExp'] += $btlstatus[0]; - } - } - - if ($this->users[$i]['align'] == 2 || $this->users[$i]['haos'] > time()) { - $this->stats[$i]['exp'] = -($this->info['addExp'] + 50); - } - if ($this->info['addExp'] + $this->stats[$i]['exp'] != 0) { - $prc = ' (' . (100 + $this->info['addExp'] + $this->stats[$i]['exp']) . '%)'; - } - if ($this->info['money'] > 0) { - if (isset($gm[$i])) { - $prc .= ' ' . $gm[$i] . ' . .'; - $u->addDelo(4, $this->users[$i]['id'], - '"System.battle": ' . $gm[$i] . ' . ( ' . $this->info['id'] . ').', - time(), $this->info['city'], 'System.battle', 0, 0); - $this->users[$i]['money'] += $gm[$i]; - } elseif (isset($bm[$i])) { - $prc .= ' ' . $bm[$i] . ' . .'; - $u->addDelo(4, $this->users[$i]['id'], - '"System.battle": ' . $gm[$i] . ' . ( ' . $this->info['id'] . ').', - time(), $this->info['city'], 'System.battle', 0, 0); - $this->users[$i]['money'] -= $bm[$i]; - } - } - // - if ($c['money_haot'] == true && $this->users[$i]['exp'] <= 200000000) { - if ($act01 == 1 && $this->info['razdel'] == 5 && $this->users[$i]['level'] >= 8) { - // - $trexp = [ - 8 => 1200, - 9 => 3000, - 10 => 4500, - 11 => 12000, - 12 => 20000, - 13 => 30000, - 14 => 30000, - 15 => 30000, - 16 => 30000, - 17 => 30000, - 18 => 30000, - 19 => 30000, - 20 => 30000, - 21 => 30000, - ]; - $trexp = $trexp[$this->users[$i]['level']]; - - // - $trmn = [ - 8 => 1000, - 9 => 3000, - 10 => 2500, - 11 => 3000, - 12 => 3000, - 13 => 3000, - 14 => 3000, - 15 => 3000, - 16 => 3000, - 17 => 3000, - 18 => 3000, - 19 => 3000, - 20 => 3000, - 21 => 3000, - ]; - $trmn = $trmn[$this->users[$i]['level']]; - - // - $admn = [ - 8 => 0.05, //0.05 - 9 => 0.065, //0.065 - 10 => 0.075, //0.075 - 11 => 0.085, //0.085 - 12 => 0.1, //0.1 - 13 => 0.1, - 14 => 0.1, - 15 => 0.1, - 16 => 0.1, - 17 => 0.1, - 18 => 0.1, - 19 => 0.1, - 20 => 0.1, - 21 => 0.1, - ]; - $admn = $admn[$this->users[$i]['level']]; - - if ($c['m'] >= 6 && $c['m'] <= 8) { - // - if ($c['w'] == 0 || $c['w'] == 5 || $c['w'] == 6) { - // - $admn = $admn * 2; - } - } elseif ($c['w'] == 0 || $c['w'] == 5 || $c['w'] == 6) { + if ($c['w'] == 0 || $c['w'] == 5 || $c['w'] == 6) { // $admn = $admn * 2; } - if ($this->users[$i]['battle_exp'] < $trexp) { - // - $prc .= ', 0 ( ).'; - //}elseif( $this->stats[$i]['prckr'] < $trmn ) { - // - //$prc .= ', 0 ( ).'; - } elseif ($admn > 0) { - if ($this->info['type'] != 33) { - $prc .= ', ' . $admn . ' .'; - } - $u->addDelo(4, $this->users[$i]['id'], - '"System.battle": ' . $admn . ' ( ' . $this->info['id'] . ').', - time(), $this->info['city'], 'System.battle', 0, 0); - $this->users[$i]['money2'] += $admn; + } elseif ($c['w'] == 0 || $c['w'] == 5 || $c['w'] == 6) { + // + $admn = $admn * 2; + } + if ($this->users[$i]['battle_exp'] < $trexp) { + $prc .= ', 0 ( ).'; + } elseif ($admn > 0) { + if ($this->info['type'] != 33) { + $prc .= ', ' . $admn . ' .'; } - - //$bnsv = 0.50; - /* - if( $this->info['otmorozok_use'] > 0 ) { - $bnsv += 1; - } - if( $c['w'] == 0 || $c['w'] == 6 ) { - $bnsv += 0.50; - } - $admnb = round($bnsv+(($this->stats[$i]['prckr']/100)*$c['money_haot_proc']),2); - if($act01!=1) { - $admnb = round($admnb/10,2); - } - */ - /*$admnb = 0; - // - if( $admnb >= 0.01 ) { - $adexp = array( - 0 => 0, - 1 => 0, - 2 => 0, - 3 => 0, - 4 => 0, - 5 => 0, - 6 => 0, - 7 => 0, - 8 => 3000, - 9 => 5000, - 10 => 8000, - 11 => 12000, - 12 => 20000, - 13 => 30000, - 14 => 30000, - 15 => 30000, - 16 => 30000, - 17 => 30000, - 18 => 30000, - 19 => 30000, - 20 => 30000, - 21 => 30000 - ); - $adexp = $adexp[$this->users[$i]['level']]; - if( $adexp > 0 && $adexp > ) { - if($act01!=1) { - $adexp = round($adexp/10); - } - //$uzrbtl = mysql_fetch_array(mysql_query('SELECT COUNT(`id`) FROM `battle_users` WHERE `battle` = "'.$this->info['id'].'" AND `login` NOT LIKE "%(%)&" AND `align` != "" LIMIT 1')); - //$uzrbtl = $uzrbtl[0]; - if( $this->users[$i]['battle_exp'] < $adexp ) { - // .. - $prc .= ', 0 , .'; - }else{ - $prc .= ', '.$admnb.' .'; - $u->addDelo(4,$this->users[$i]['id'],'"System.battle": '.$admnb.' ( '.$this->info['id'].').',time(),$this->info['city'],'System.battle',0,0); - $this->users[$i]['money2'] += $admnb; - } - } - // - $minpsh = 0; - if($act01==1){ - // - $minpsh = 25; - }elseif($act01==2){ - // - $minpsh = 15; - }else{ - // - $minpsh = 15; - } - if( $c['w'] == 0 || $c['w'] == 6 ) { - $minpsh += 10; - } - if( $minpsh > 0 ) { - mysql_query('UPDATE `actions` SET `time` = `time` - "'.($minpsh*60).'" WHERE `vars` LIKE "psh0" AND `uid` = "'.$this->users[$i]['id'].'"'); - $prc .= ', '.$minpsh.' .'; - } - // - */ + $u->addDelo( + 4, $this->users[$i]['id'], + '"System.battle": ' . $admn . ' ( ' . $this->info['id'] . ').', + time(), $this->info['city'], 'System.battle', 0, 0 + ); + $this->users[$i]['money2'] += $admn; } } - // - if ($this->info['money3'] > 0) { - if (isset($gms[$i])) { - $prc .= ' ' . $gms[$i] . ' $. .'; - $u->addDelo(4, $this->users[$i]['id'], - '"System.battle": ' . $gms[$i] . ' $. ( ' . $this->info['id'] . ').', - time(), $this->info['city'], 'System.battle', 0, 0); - $this->users[$i]['money3'] += $gms[$i]; - mysql_query('UPDATE `users` SET `money3` = `money3` + "' . $gms[$i] . '" WHERE `id` = "' . $this->users[$i]['id'] . '" LIMIT 1'); - } elseif (isset($bms[$i])) { - $prc .= ' ' . $bms[$i] . ' $. .'; - $u->addDelo(4, $this->users[$i]['id'], - '"System.battle": ' . $gms[$i] . ' $. ( ' . $this->info['id'] . ').', - time(), $this->info['city'], 'System.battle', 0, 0); - $this->users[$i]['money3'] -= $bms[$i]; - mysql_query('UPDATE `users` SET `money3` = `money3` - "' . $bms[$i] . '" WHERE `id` = "' . $this->users[$i]['id'] . '" LIMIT 1'); - } + } + if ($this->info['money3'] > 0) { + if (isset($gms[$i])) { + $prc .= ' ' . $gms[$i] . ' $. .'; + $u->addDelo( + 4, $this->users[$i]['id'], + '"System.battle": ' . $gms[$i] . ' $. ( ' . $this->info['id'] . ').', + time(), $this->info['city'], 'System.battle', 0, 0 + ); + $this->users[$i]['money3'] += $gms[$i]; + mysql_query( + 'UPDATE `users` SET `money3` = `money3` + "' . $gms[$i] . '" WHERE `id` = "' . $this->users[$i]['id'] . '" LIMIT 1' + ); + } elseif (isset($bms[$i])) { + $prc .= ' ' . $bms[$i] . ' $. .'; + $u->addDelo( + 4, $this->users[$i]['id'], + '"System.battle": ' . $gms[$i] . ' $. ( ' . $this->info['id'] . ').', + time(), $this->info['city'], 'System.battle', 0, 0 + ); + $this->users[$i]['money3'] -= $bms[$i]; + mysql_query( + 'UPDATE `users` SET `money3` = `money3` - "' . $bms[$i] . '" WHERE `id` = "' . $this->users[$i]['id'] . '" LIMIT 1' + ); } - /*if($this->info['kingfight']==1 && $this->info['type'] != 564 ) { - // - if($this->info['team_win'] == 0) { + } - }elseif($this->users[$i]['team'] == $this->info['team_win']){ - $bnks = mysql_fetch_array(mysql_query('SELECT * FROM `bank` WHERE `uid` = "'.$this->users[$i]['id'].'" ORDER BY `useNow` DESC LIMIT 1')); - if(isset($bnks['id'])) { - $bnks['msn'] = round($this->user[$i]['level']/50,2); - $bnks['msn'] = 0.15; - mysql_query('UPDATE `bank` SET `money2` = `money2` + "'.mysql_real_escape_string($bnks['msn']).'" WHERE `id` = "'.$bnks['id'].'" LIMIT 1'); - $prc .= ' : '.$bnks['msn'].' ., '.$bnks['id'].''; + $lime = [ + 8 => 18000, + 9 => 28000, + 10 => 84000, + 11 => 100, + 12 => 100, + 13 => 100, + 14 => 100, + 15 => 100, + 16 => 100, + 17 => 100, + 18 => 100, + 19 => 100, + 20 => 100, + 21 => 100, + ]; - } - unset($bnks); - } - }*/ + if ($this->users[$i]['level'] < 8) { + $lime = 5400; + } else { + $lime = $lime[$this->users[$i]['level']]; + } - /* - 7 - 10800 - 8 - 36000 - 9 - 56000 - 10 - 86000 - if($this->users[$i]['battle_exp'] > (1+$this->users[$i]['level']*$this->users[$i]['level'])*4755) { - $this->users[$i]['battle_exp'] = (1+$this->users[$i]['level']*$this->users[$i]['level'])*4755; - } - */ + if ($this->stats[$i]['silver'] >= 5) { + $lime += round($lime); + } - //$lime = array(8=>18000,9=>28000,10=>84000,11=>150000); - $lime = [ - 8 => 18000, - 9 => 28000, - 10 => 84000, - 11 => 100, - 12 => 100, - 13 => 100, - 14 => 100, - 15 => 100, - 16 => 100, - 17 => 100, - 18 => 100, - 19 => 100, - 20 => 100, - 21 => 100, - ]; + if ($this->users[$i]['stopexp'] == 1) { + $lime = 0; + $this->users[$i]['battle_exp'] = 0; + } - if ($this->users[$i]['level'] < 8) { - $lime = 5400; + if ($lime < $this->users[$i]['battle_exp'] && $c['limitedexp'] == true) { + $this->users[$i]['battle_exp'] = $lime; + } + + unset($lime); + + if ($btlstatus[0] > 0) { + if ($this->info['type'] == 99) { + $prc .= ' (' . $btlstatus[3] . ')'; } else { - $lime = $lime[$this->users[$i]['level']]; + $prc .= ' (' . $btlstatus[2] . ')'; } + } - if ($this->stats[$i]['silver'] >= 5) { - $lime += round($lime); - } - - /*if( $this->stats[$i]['silver'] > 0 ) { - $lime += floor($lime/100*(10*$this->stats[$i]['silver'])); - }*/ - - if ($this->users[$i]['stopexp'] == 1) { - $lime = 0; + if ($this->info['dungeon'] == 1 && $this->users[$i]['team'] == $this->info['team_win']) { + // + $rep = mysql_fetch_array( + mysql_query( + 'SELECT `dl1`,`id` FROM `rep` WHERE `id` = "' . $this->users[$i]['id'] . '" LIMIT 1' + ) + ); + if ($rep['dl' . $this->info['dungeon']] > 0) { + $this->users[$i]['battle_exp'] += 3 * count($this->users); + if ($rep['dl' . $this->info['dungeon']] > $this->users[$i]['battle_exp']) { + $rep['dl' . $this->info['dungeon']] -= $this->users[$i]['battle_exp']; + } else { + $this->users[$i]['battle_exp'] = $rep['dl' . $this->info['dungeon']]; + $rep['dl' . $this->info['dungeon']] = 0; + } + mysql_query( + 'UPDATE `rep` SET `dl' . $this->info['dungeon'] . '` = "' . $rep['dl' . $this->info['dungeon']] . '" WHERE `id` = "' . $rep['id'] . '" LIMIT 1' + ); + } else { $this->users[$i]['battle_exp'] = 0; } + } - if ($lime < $this->users[$i]['battle_exp'] && $c['limitedexp'] == true) { - $this->users[$i]['battle_exp'] = $lime; + if ($this->users[$i]['battle_exp'] < 1) { + $this->users[$i]['battle_exp'] = 0; + } + + if ($this->users[$i]['battle_exp'] < 1 && $this->users[$i]['twink'] == 0) { + if ($this->info['money'] == 0 && $this->info['money3'] == 0 && $this->info['kingfight'] == 0 && (!isset($admnb) || $admnb == 0)) { + $prc = ''; } - // - /*if( $this->users[$i]['battle_exp'] > 100 && $this->info[$i]['level'] == 6 ) { - $this->users[$i]['battle_exp'] = 100; - }*/ - // - unset($lime); + } + if ($this->user[$i]['host_reg'] == 'real_bot_user') { + $this->users[$i]['battle_exp'] = round($this->users[$i]['battle_exp'] / 3); + } - //if(100+$this->info['addExp']+$this->stats[$i]['exp'] > 1000) { - //$prc .= ' ( )'; - //} + if ($sinf != '') { + $sinf = ' ( ' . $sinf . ' )'; + } - if ($btlstatus[0] > 0) { - if ($this->info['type'] == 99) { - $prc .= ' (' . $btlstatus[3] . ')'; - } else { - $prc .= ' (' . $btlstatus[2] . ')'; - } - } + //-------------- 8-9-------------- + if ($this->users[$i]['level'] == 8 && $this->users[$i]['battle_exp'] >= 23000) { + $this->users[$i]['battle_exp'] = 23000; + }; + if ($this->users[$i]['level'] == 9 && $this->users[$i]['battle_exp'] >= 31000) { + $this->users[$i]['battle_exp'] = 31000; + }; + if ($this->users[$i]['level'] == 10 && $this->users[$i]['battle_exp'] >= 52000) { + $this->users[$i]['battle_exp'] = 52000; + }; + if ($this->users[$i]['level'] >= 11 && $this->users[$i]['battle_exp'] >= 75000) { + $this->users[$i]['battle_exp'] = 75000; + }; + //------------------------------------- - if ($this->info['dungeon'] == 1 && $this->users[$i]['team'] == $this->info['team_win']) { - // - $rep = mysql_fetch_array(mysql_query('SELECT `dl1`,`id` FROM `rep` WHERE `id` = "' . $this->users[$i]['id'] . '" LIMIT 1')); - if ($rep['dl' . $this->info['dungeon']] > 0) { - $this->users[$i]['battle_exp'] += 3 * count($this->users); - if ($rep['dl' . $this->info['dungeon']] > $this->users[$i]['battle_exp']) { - $rep['dl' . $this->info['dungeon']] -= $this->users[$i]['battle_exp']; - } else { - $this->users[$i]['battle_exp'] = $rep['dl' . $this->info['dungeon']]; - $rep['dl' . $this->info['dungeon']] = 0; - } - mysql_query('UPDATE `rep` SET `dl' . $this->info['dungeon'] . '` = "' . $rep['dl' . $this->info['dungeon']] . '" WHERE `id` = "' . $rep['id'] . '" LIMIT 1'); - } else { - $this->users[$i]['battle_exp'] = 0; - } - } + if ($this->info['type'] != 33) { + $this->users[$i]['battle_text'] = ' . : ' . floor( + $this->users[$i]['battle_yron'] + ) . ' HP. : ' . (0 + $this->users[$i]['battle_exp']) . '' . $prc . '.' . $sinf; //stats + } - if ($this->users[$i]['battle_exp'] < 1) { - $this->users[$i]['battle_exp'] = 0; - } - - if ($this->users[$i]['battle_exp'] < 1 && $this->users[$i]['twink'] == 0) { - if ($this->info['money'] == 0 && $this->info['money3'] == 0 && $this->info['kingfight'] == 0 && (!isset($admnb) || $admnb == 0)) { - $prc = ''; - } - } - - if ($this->user[$i]['host_reg'] == 'real_bot_user') { - $this->users[$i]['battle_exp'] = round($this->users[$i]['battle_exp'] / 3); - } - - if ($sinf != '') { - $sinf = ' ( ' . $sinf . ' )'; - } - - /*if( $this->users[$i]['level'] >= 8 ) { - if( $this->users[$i]['battle_exp'] > 1000 ) { - $this->users[$i]['battle_exp'] = 1000; - } - }*/ - //-------------- 8-9-------------- - - - if ($this->users[$i]['level'] == 8 && $this->users[$i]['battle_exp'] >= 23000) { - $this->users[$i]['battle_exp'] = 23000; - }; - // if ($this->users[$i]['level']==9 ) {$this->users[$i]['battle_exp']=floor($this->users[$i]['battle_exp']/3);}; - if ($this->users[$i]['level'] == 9 && $this->users[$i]['battle_exp'] >= 31000) { - $this->users[$i]['battle_exp'] = 31000; - }; - // if ($this->users[$i]['level']==10 ) {$this->users[$i]['battle_exp']=floor($this->users[$i]['battle_exp']/4);}; - if ($this->users[$i]['level'] == 10 && $this->users[$i]['battle_exp'] >= 52000) { - $this->users[$i]['battle_exp'] = 52000; - }; - // if ($this->users[$i]['level']==11 ) {$this->users[$i]['battle_exp']=floor($this->users[$i]['battle_exp']/4);}; - if ($this->users[$i]['level'] >= 11 && $this->users[$i]['battle_exp'] >= 75000) { - $this->users[$i]['battle_exp'] = 75000; - }; - //------------------------------------- - - if ($this->info['type'] != 33) { - $this->users[$i]['battle_text'] = ' . : ' . floor($this->users[$i]['battle_yron']) . ' HP. : ' . (0 + $this->users[$i]['battle_exp']) . '' . $prc . '.' . $sinf; //stats - } - - /* */ - if ($c['nolevel'] == true) { - $rex95 = substr($this->users[$i]['exp'], -1); - if ($this->users[$i]['money4'] < 1000 && $this->users[$i]['exp'] == 12499) { - $rex95 = 6; - $rex95 = 5; - } - } else { + /* */ + if ($c['nolevel']) { + $rex95 = substr($this->users[$i]['exp'], -1); + if ($this->users[$i]['money4'] < 1000 && $this->users[$i]['exp'] == 12499) { + $rex95 = 6; $rex95 = 5; } + } else { + $rex95 = 5; + } + if ($c['zuby'] && $this->info['dungeon'] == 0 && ($this->info['clone'] == 0 || $this->users[$i]['level'] < 5) && $rex95 != 9 && $this->info['type'] != 564) { + if ($this->users[$i]['align'] != 2 && $this->users[$i]['level'] >= 0 && $this->users[$i]['level'] < 8 && $this->users[$i]['battle_exp'] > 0) { + $rzb = 0; - //echo '['.$rex95.']'; - if ($c['zuby'] == true && $this->info['dungeon'] == 0 && ($this->info['clone'] == 0 || $this->users[$i]['level'] < 5) && $rex95 != 9 && $this->info['type'] != 564) { - if ($this->users[$i]['align'] != 2 && $this->users[$i]['level'] >= 0 && $this->users[$i]['level'] < 8 && $this->users[$i]['battle_exp'] > 0) { - $rzb = 0; + if ($this->get_chanse(50)) { + $rzb += rand(1, 3); + } else { + if ($this->users[$i]['battle_exp'] > 15) { + $rzb += 1; + } + } - if ($this->get_chanse(50) == true) { - $rzb += rand(1, 3); + $chzbs = 100; + + if ($this->stats[$i]['silver'] > 0) { + $chzbs = 150; + } + + if ($this->users[$i]['battle_exp'] > 9) { + if ($this->users[$i]['level'] > 1) { + // + if ($this->get_chanse(25 / 100 * $chzbs)) { + $rzb += 10; + } + } elseif ($this->users[$i]['level'] == 1) { + if ($this->get_chanse(30 / 100 * $chzbs)) { + $rzb += 10; + } + } + + if ($this->users[$i]['level'] > 3) { + if ($this->get_chanse(5 / 100 * $chzbs)) { + $rzb += 100; + } + } + } + + if ($this->users[$i]['team'] == $this->info['team_win']) { + // + if ($this->users[$i]['level'] < 8) { + $rzb += 1; + } + } elseif ($this->users[$i]['team'] == 0) { + // + if ($this->get_chanse(25 / 100 * $chzbs) && $this->users[$i]['battle_exp'] > 2) { + $rzb = rand(0, 1); } else { - if ($this->users[$i]['battle_exp'] > 15) { - $rzb += 1; - } - } - - $chzbs = 100; - - if ($this->stats[$i]['silver'] > 0) { - $chzbs = 150; - } - - if ($this->users[$i]['battle_exp'] > 9) { - if ($this->users[$i]['level'] > 1) { - // - if ($this->get_chanse(25 / 100 * $chzbs) == true) { - $rzb += 10; - } - } elseif ($this->users[$i]['level'] == 1) { - if ($this->get_chanse(30 / 100 * $chzbs) == true) { - $rzb += 10; - } - } - - if ($this->users[$i]['level'] > 3) { - if ($this->get_chanse(5 / 100 * $chzbs) == true) { - $rzb += 100; - } - } - } - - if ($this->users[$i]['team'] == $this->info['team_win']) { - // - if ($this->users[$i]['level'] < 8) { - $rzb += 1; - } - } elseif ($this->users[$i]['team'] == 0) { - // - if ($this->get_chanse(25 / 100 * $chzbs) == true && $this->users[$i]['battle_exp'] > 2) { - $rzb = rand(0, 1); - } else { - $rzb = 0; - } - } else { - // - if ($this->users[$i]['level'] >= 1) { - $rzb = 0; - } else { - if ($this->users[$i]['battle_exp'] < 3) { - $rzb = 0; - } elseif ($this->user[$i]['lose'] > $this->user[$i]['win']) { - if ($this->get_chanse(5 / 100 * $chzbs) == true) { - $rzb = rand(0, 1); - } else { - $rzb = 0; - } - } elseif ($this->get_chanse(10 / 100 * $chzbs) == true) { - $rzb = rand(0, 1); - } - } $rzb = 0; } - - if ($rex95 == 6 /*|| $this->users[$i]['exp'] == 12499 */) { - if ($this->users[$i]['battle_exp'] > 10) { - $rzb = rand(0, 1); - } else { + } else { + // + if ($this->users[$i]['level'] >= 1) { + $rzb = 0; + } else { + if ($this->users[$i]['battle_exp'] < 3) { $rzb = 0; + } elseif ($this->user[$i]['lose'] > $this->user[$i]['win']) { + if ($this->get_chanse(5 / 100 * $chzbs)) { + $rzb = rand(0, 1); + } else { + $rzb = 0; + } + } elseif ($this->get_chanse(10 / 100 * $chzbs)) { + $rzb = rand(0, 1); } } - - if ($rzb > 0 && rand(0, 1000) <= 500) { - $rzb = rand(1, 3); - } - if ($rzb > 0) { - if ($this->stats[$i]['silver'] >= 5) { - $rzb = $rzb * 2; - } - mysql_query('UPDATE `users` SET `money4` = `money4` + "' . $rzb . '" WHERE `id` = "' . $this->users[$i]['id'] . '" LIMIT 1'); - $this->users[$i]['battle_text'] .= ' ' . $u->zuby($rzb, - 1) . ' .'; - } + $rzb = 0; } - } - if ($this->info['priz'] > 0) { - // - /* - [4754] - 2-3 = 1 - 4-5 = 1 - 6-7 = 2 - 8-9 = 3 - (3) - - */ - if ($this->info['type'] == 33)// - { - /* - $pld = mysql_fetch_array(mysql_query('SELECT `id` FROM `users` WHERE `inUser` = "'.$this->users[$i]['id'].'" LIMIT 1')); - if (isset($pld['id'])) - { - $u->addItem(4754,$pld['id'],''); - $u->addItem(4754,$pld['id'],''); - $u->addItem(4754,$pld['id'],''); - $u->addItem(4754,$pld['id'],''); - $u->addItem(4754,$pld['id'],''); - $this->users[$i]['battle_text'] .= ' (x5). '; - mysql_query('UPDATE `users` SET `inUser` = "0" WHERE `id` = "'.$pld['id'].'" LIMIT 1'); - mysql_query('DELETE FROM `users` WHERE `id` = "'.$this->users[$i]['id'].'" LIMIT 1'); - mysql_query('DELETE FROM `stats` WHERE `id` = "'.$this->users[$i]['id'].'" LIMIT 1'); - mysql_query('DELETE FROM `items_users` WHERE `uid` = "'.$this->users[$i]['id'].'" LIMIT 100'); - mysql_query('DELETE FROM `eff_users` WHERE `uid` = "'.$this->users[$i]['id'].'" LIMIT 100'); - } - - if($this->users[$i]['team']==$this->info['team_win'] && isset($pld['id'])) - { - if(rand(1,100)<=5) - { - $u->addItem(10020,$pld['id'],''); - $this->users[$i]['battle_text'] .= ' . '; - } - - } - */ - } else { - $tmon = [ - 2 => 1, - 3 => 1, - 4 => 1, - 5 => 1, - 6 => 1, - 7 => 2, - 8 => 3, - 9 => 3, - 10 => 5, - 11 => 5, - ]; - $tmon = $tmon[$this->users[$i]['level']]; - // - $tmonc = mysql_fetch_array(mysql_query('SELECT COUNT(*) FROM `battle` WHERE `id` IN ( SELECT `battle_id` FROM `battle_last` WHERE `uid` = "' . $this->users[$i]['id'] . '" ) AND `priz` > 0 AND `time_start` > "' . strtotime(date('d.m.Y')) . '"')); - $tmonc = $tmonc[0]; - // - if ($this->users[$i]['team'] == $this->info['team_win']) { - // - if ($tmonc < 1) { - $tmonc = 1; - } elseif ($tmonc > 96) { - $tmonc = 96; - } - $tmon = ($tmon * $tmonc); - } - // - $tmoni = 1; - while ($tmoni <= floor($tmon / 2)) { - $u->addItem(4754, $this->users[$i]['id'], ''); // - $tmoni++; - } - // - $this->users[$i]['battle_text'] .= ' (x' . floor($tmon / 2) . '). ( , ! ' . ($tmonc) . '/96 )'; - // - unset($tmon, $tmoni); - } - } - // - if ($this->info['dungeon'] == 0 && $this->info['razdel'] == 5 && $this->users[$i]['team'] == $this->info['team_win']) { - //2 - $u->repexp_add($this->users[$i]['id'], 2); // +2 - $check = mysql_fetch_array(mysql_query('SELECT * FROM `eff_users` WHERE `id_eff` = 478 AND `uid` = "' . $this->users[$i]['id'] . '" AND `delete` = 0 ORDER BY `overType` DESC LIMIT 1;')); - if (isset($check['id'])) { - $urcheck = 10000; - if ($this->users[$i]['level'] == 8) { - $urcheck = 3000; - } elseif ($this->users[$i]['level'] == 9) { - $urcheck = 7000; - } elseif ($this->users[$i]['level'] == 10) { - $urcheck = 12000; - } elseif ($this->users[$i]['level'] >= 11) { - $urcheck = 18000; - } - - if ($this->users[$i]['battle_yron'] >= $urcheck) { - //UPDATE `eff_users` SET `timeUse` = '1555700000' WHERE `eff_users`.`id` = 31912807; - mysql_query('UPDATE `eff_users` SET `timeUse` = `timeUse` - 300 WHERE `id_eff`=478 AND `delete` = 0 AND `uid` =' . $this->users[$i]['id'] . ' LIMIT 1'); - $this->users[$i]['battle_text'] .= ' ' . $urcheck . ' -5 . !'; - } - } - mysql_query('UPDATE `users_achiv` SET `vx`= `vx`+1 WHERE `id` = "' . $this->users[$i]['id'] . '" LIMIT 1'); // - - } - // - if ($this->info['dungeon'] == 0 && $this->info['type'] == 250 && $this->users[$i]['team'] == $this->info['team_win']) { - mysql_query('UPDATE `users_achiv` SET `kw`= `kw`+1 WHERE `id` = "' . $this->users[$i]['id'] . '" LIMIT 1'); - if (date('w') == 0 || date('w') == 6 || date('w') == 4) { - $u->repexp_add($this->users[$i]['id'], 25); // () 25 - } - } - // - if ($this->info['dungeon'] == 0 && $this->info['type'] == 99 && $this->users[$i]['team'] == $this->info['team_win']) { - if (date('w') == 0 || date('w') == 6 || date('w') == 5) { - $u->repexp_add($this->users[$i]['id'], 10); // () 10 - } - } - - // - if ($this->info['dungeon'] == 0 && $this->info['type'] == 500 && $this->users[$i]['team'] == $this->info['team_win'] && $this->users[$i]['no_ip'] != 'trupojor' && $this->users[$i]['bot'] == 0) { - if ($this->users[$i]['level'] > 9) { - $mid = 903093; - } else { - $mid = 89489; - } - $mon = mysql_fetch_array(mysql_query('SELECT * FROM `aaa_monsters` WHERE `uid` = "' . $mid . '" LIMIT 1')); - - if ($this->users[$i]['battle_yron'] >= 2000) { - $ritem = rand(1, 100); - if ($ritem <= 20) { - $mon['win_itm'] = '4459@1'; - } elseif ($ritem <= 40) { - $mon['win_itm'] = '4460@1'; - } elseif ($ritem <= 60) { - $mon['win_itm'] = '4461@1'; - } elseif ($ritem <= 80) { - $mon['win_itm'] = '4462@1'; + if ($rex95 == 6) { + if ($this->users[$i]['battle_exp'] > 10) { + $rzb = rand(0, 1); } else { - $mon['win_itm'] = '4463@1'; + $rzb = 0; } - } elseif ($this->users[$i]['battle_yron'] >= 1500) { - $ritem = rand(1, 100); - if ($ritem <= 20) { - $mon['win_itm'] = '4459@1'; - } elseif ($ritem <= 40) { - $mon['win_itm'] = '4460@1'; - } elseif ($ritem <= 60) { - $mon['win_itm'] = '4461@1'; - } elseif ($ritem <= 80) { - $mon['win_itm'] = '4462@1'; - } else { - $mon['win_itm'] = '4463@1'; - } - } elseif ($this->users[$i]['battle_yron'] >= 1000) { - $ritem = rand(1, 100); - if ($ritem <= 25) { - $mon['win_itm'] = '4460@1'; - } elseif ($ritem <= 50) { - $mon['win_itm'] = '4461@1'; - } elseif ($ritem <= 75) { - $mon['win_itm'] = '4462@1'; - } else { - $mon['win_itm'] = '4463@1'; - } - } else { - $mon['win_itm'] = '4392@1'; - $timewait = 0; } - if ($this->users[$i]['battle_yron'] > 0) { - mysql_query('INSERT INTO `eff_users` (`no_Ace`,`id_eff`,`overType`,`uid`,`name`,`data`,`timeUse`) VALUES ("1","478","111","' . $this->users[$i]['id'] . '"," ","pravonapodvig=1","' . time() . '")'); - } - mysql_query('INSERT INTO `actions`(`uid`, `time`, `city`, `room`, `vars`, `ip`, `vals`, `val`) VALUES ("' . $this->users[$i]['id'] . '","' . (time() - $timewait) . '","capitalcity","' . $this->users[$i]['room'] . '","end_trup"," ","","")'); - mysql_query('INSERT INTO `eff_users` (`no_Ace`,`id_eff`,`overType`,`uid`,`name`,`data`,`timeUse`) VALUES ("1","479","112","' . $u->info['id'] . '"," ","zashitatk=1","' . time() . '")'); - $ritem = rand(1, 1000); - if ($ritem == 555) { - $mon['win_itm'] = $mon['win_itm'] . ',5022@1'; - } - // - $this->addGlobalItems($mid, $this->users[$i]['id'], $mon['win_itm'], $mon['win_eff'], - $mon['win_ico'], 1, $mon['win_money1'], $mon['win_money2']); //$mon['win_exp'] + if ($rzb > 0 && rand(0, 1000) <= 500) { + $rzb = rand(1, 3); + } + if ($rzb > 0) { + if ($this->stats[$i]['silver'] >= 5) { + $rzb = $rzb * 2; + } + mysql_query( + 'UPDATE `users` SET `money4` = `money4` + "' . $rzb . '" WHERE `id` = "' . $this->users[$i]['id'] . '" LIMIT 1' + ); + $this->users[$i]['battle_text'] .= ' ' . $u->zuby( + $rzb, + 1 + ) . ' .'; + } } + } - if ($this->info['dungeon'] == 0 && $this->info['razdel'] == 5 && $u->info['battle_yron'] >= 2000) //$u->info['battle_yron'] + if ($this->info['priz'] > 0) { + // + /* + [4754] + 2-3 = 1 + 4-5 = 1 + 6-7 = 2 + 8-9 = 3 + (3) + + */ + if ($this->info['type'] != 33)// { - // ang_g + $tmon = [ + 2 => 1, + 3 => 1, + 4 => 1, + 5 => 1, + 6 => 1, + 7 => 2, + 8 => 3, + 9 => 3, + 10 => 5, + 11 => 5, + ]; + $tmon = $tmon[$this->users[$i]['level']]; + $tmonc = mysql_fetch_array( + mysql_query( + 'SELECT COUNT(*) FROM `battle` WHERE `id` IN ( SELECT `battle_id` FROM `battle_last` WHERE `uid` = "' . $this->users[$i]['id'] . '" ) AND `priz` > 0 AND `time_start` > "' . strtotime( + date('d.m.Y') + ) . '"' + ) + ); + $tmonc = $tmonc[0]; if ($this->users[$i]['team'] == $this->info['team_win']) { // - $tmoni = 2; + if ($tmonc < 1) { + $tmonc = 1; + } elseif ($tmonc > 96) { + $tmonc = 96; + } + $tmon = ($tmon * $tmonc); + } + $tmoni = 1; + while ($tmoni <= floor($tmon / 2)) { + $u->addItem(4754, $this->users[$i]['id'], ''); // + $tmoni++; + } + $this->users[$i]['battle_text'] .= ' (x' . floor( + $tmon / 2 + ) . '). ( , ! ' . ($tmonc) . '/96 )'; + unset($tmon, $tmoni); + } + } + // + if ($this->info['dungeon'] == 0 && $this->info['razdel'] == 5 && $this->users[$i]['team'] == $this->info['team_win']) { + //2 + $u->repexp_add($this->users[$i]['id'], 2); // +2 + $check = mysql_fetch_array( + mysql_query( + 'SELECT * FROM `eff_users` WHERE `id_eff` = 478 AND `uid` = "' . $this->users[$i]['id'] . '" AND `delete` = 0 ORDER BY `overType` DESC LIMIT 1;' + ) + ); + if (isset($check['id'])) { + $urcheck = 10000; + if ($this->users[$i]['level'] == 8) { + $urcheck = 3000; + } elseif ($this->users[$i]['level'] == 9) { + $urcheck = 7000; + } elseif ($this->users[$i]['level'] == 10) { + $urcheck = 12000; + } elseif ($this->users[$i]['level'] >= 11) { + $urcheck = 18000; + } + + if ($this->users[$i]['battle_yron'] >= $urcheck) { + mysql_query( + 'UPDATE `eff_users` SET `timeUse` = `timeUse` - 300 WHERE `id_eff`=478 AND `delete` = 0 AND `uid` =' . $this->users[$i]['id'] . ' LIMIT 1' + ); + $this->users[$i]['battle_text'] .= ' ' . $urcheck . ' -5 . !'; + } + } + mysql_query( + 'UPDATE `users_achiv` SET `vx`= `vx`+1 WHERE `id` = "' . $this->users[$i]['id'] . '" LIMIT 1' + ); // + + } + // + if ($this->info['dungeon'] == 0 && $this->info['type'] == 250 && $this->users[$i]['team'] == $this->info['team_win']) { + mysql_query( + 'UPDATE `users_achiv` SET `kw`= `kw`+1 WHERE `id` = "' . $this->users[$i]['id'] . '" LIMIT 1' + ); + if (date('w') == 0 || date('w') == 6 || date('w') == 4) { + $u->repexp_add($this->users[$i]['id'], 25); // () 25 + } + } + // + if ($this->info['dungeon'] == 0 && $this->info['type'] == 99 && $this->users[$i]['team'] == $this->info['team_win']) { + if (date('w') == 0 || date('w') == 6 || date('w') == 5) { + $u->repexp_add($this->users[$i]['id'], 10); // () 10 + } + } + + // + if ($this->info['dungeon'] == 0 && $this->info['type'] == 500 && $this->users[$i]['team'] == $this->info['team_win'] && $this->users[$i]['no_ip'] != 'trupojor' && $this->users[$i]['bot'] == 0) { + if ($this->users[$i]['level'] > 9) { + $mid = 903093; + } else { + $mid = 89489; + } + $mon = mysql_fetch_array( + mysql_query('SELECT * FROM `aaa_monsters` WHERE `uid` = "' . $mid . '" LIMIT 1') + ); + + if ($this->users[$i]['battle_yron'] >= 2000) { + $ritem = rand(1, 100); + if ($ritem <= 20) { + $mon['win_itm'] = '4459@1'; + } elseif ($ritem <= 40) { + $mon['win_itm'] = '4460@1'; + } elseif ($ritem <= 60) { + $mon['win_itm'] = '4461@1'; + } elseif ($ritem <= 80) { + $mon['win_itm'] = '4462@1'; } else { - $tmoni = 1; + $mon['win_itm'] = '4463@1'; } - - // - $tmon = $tmoni; - $effblago = mysql_fetch_array(mysql_query('SELECT * FROM `eff_users` WHERE `uid` = ' . $this->users[$i]['id'] . ' AND `delete` = 0 AND `id_eff`= 414 LIMIT 1')); - if (isset ($effblago['id'])) { - $limitg = 50; + } elseif ($this->users[$i]['battle_yron'] >= 1500) { + $ritem = rand(1, 100); + if ($ritem <= 20) { + $mon['win_itm'] = '4459@1'; + } elseif ($ritem <= 40) { + $mon['win_itm'] = '4460@1'; + } elseif ($ritem <= 60) { + $mon['win_itm'] = '4461@1'; + } elseif ($ritem <= 80) { + $mon['win_itm'] = '4462@1'; } else { - $limitg = 25; + $mon['win_itm'] = '4463@1'; } - while ($tmoni >= 1) { - if ($u->info['ang_g'] < $limitg) { - $u->addItem(4754, $this->users[$i]['id'], ''); - mysql_query('UPDATE `users` SET `ang_g`=`ang_g`+1 WHERE `id` =' . $this->users[$i]['id'] . ''); - } else { - $tmon--; - } - $tmoni--; - } - - if ($this->info['type'] != 33) { - $this->users[$i]['battle_text'] .= ' (' . $tmon . '). [' . ($u->info['ang_g'] + $tmon) . '/' . $limitg . '] . '; - } - unset($tmon, $tmoni, $effblago, $limitg); - } - - - if ($this->info['razdel'] == 5 || $this->info['razdel'] == 4) { - if (date('d.m') == '31.10' || (date('m') == 11 && date('d') < 7)) { - // 4504 - $this->users[$i]['battle_text'] .= ' (x1).'; - $u->addItem(4504, $this->users[$i]['id'], '|sudba=1'); - } - } - - - // - if ($this->info['dungeon'] == 0 && $this->info['razdel'] == 5 && $this->users[$i]['exp'] >= 1500 /*($this->users[$i]['exp'] < 12499 || $this->users[$i]['exp'] > 12500)*/ - ) { - if ($this->users[$i]['battle_exp'] > 100 * $this->users[$i]['level']) { - $rzbvo = $this->users[$i]['battle_exp'] * 6 / 1000; - - if ($this->users[$i]['level'] == 8) { - if ($rzbvo >= 100) { - $rzbvo = 100; - } - } - if ($this->users[$i]['level'] == 9) { - if ($rzbvo >= 150) { - $rzbvo = 150; - } - } - if ($this->users[$i]['level'] == 10) { - if ($rzbvo >= 200) { - $rzbvo = 200; - } - } - if ($this->users[$i]['level'] == 11) { - if ($rzbvo >= 250) { - $rzbvo = 250; - } - } - if ($this->users[$i]['level'] == 12) { - if ($rzbvo >= 250) { - $rzbvo = 250; - } - } - - - /*if( $this->info['players_c'] > 4 ) { - $rzbvo = 2*$this->info['players_c']; - }*/ - if ($this->info['type'] != 33) { - $this->users[$i]['battle_text'] .= ' ' . $rzbvo . ' .'; - } - mysql_query('UPDATE `rep` SET `rep3` = `rep3` + "' . $rzbvo . '" WHERE `id` = "' . $this->users[$i]['id'] . '" LIMIT 1'); - mysql_query('INSERT INTO `actions`(`uid`, `time`, `city`, `room`, `vars`, `ip`, `vals`, `val`) VALUES ("' . $this->users[$i]['id'] . '","' . time() . '","capitalcity","' . $this->users[$i]['room'] . '","end_xaot"," ","' . $zadID . '","")'); - } - } - - if ($this->stats[$i]['hpNow'] >= 1) { - $this->stats[$i]['test_heal'] = mysql_fetch_array(mysql_query('SELECT SUM(`yrn`) FROM `battle_stat` WHERE `uid2` = "' . $this->users[$i]['id'] . '" AND `battle` = "' . $this->info['id'] . '" LIMIT 1')); - $this->stats[$i]['test_heal'] = $this->stats[$i]['test_heal'][0]; - $this->stats[$i]['test_start'] = mysql_fetch_array(mysql_query('SELECT `hpStart` FROM `battle_users` WHERE `uid` = "' . $this->users[$i]['id'] . '" AND `battle` = "' . $this->info['id'] . '" LIMIT 1')); - $this->stats[$i]['test_start'] = $this->stats[$i]['test_start']['hpStart']; - // - $this->stats[$i]['hpNow'] = ($this->stats[$i]['test_start'] - $this->stats[$i]['test_heal']); - if ($this->stats[$i]['hpNow'] < 1) { - $this->stats[$i]['hpNow'] = 1; + } elseif ($this->users[$i]['battle_yron'] >= 1000) { + $ritem = rand(1, 100); + if ($ritem <= 25) { + $mon['win_itm'] = '4460@1'; + } elseif ($ritem <= 50) { + $mon['win_itm'] = '4461@1'; + } elseif ($ritem <= 75) { + $mon['win_itm'] = '4462@1'; + } else { + $mon['win_itm'] = '4463@1'; } } else { - $this->stats[$i]['hpNow'] = 0; + $mon['win_itm'] = '4392@1'; + $timewait = 0; } - /* - $this->stats[$i]['test_heal'] = ($this->stats[$i]['hpNow']-$this->stats[$i]['hpAll']) + $this->stats[$i]['test_heal']; - if($this->users[$i]['team']==$this->info['team_win']){ - // - $this->stats[$i]['hpNow'] -= $this->stats[$i]['test_heal']; - $this->users[$i]['hpNow'] = $this->stats[$i]['hpNow']; - if(floor($this->stats[$i]['hpNow']) < 0) { - $this->stats[$i]['hpNow'] = 0; - } - }else{ - $this->stats[$i]['hpNow'] = 0; - } - */ - unset($this->stats[$i]['test_heal']); - - $this->users[$i]['last_b'] = $this->info['id']; //stats - $this->users[$i]['last_a'] = $act01; - $this->users[$i]['battle'] = -1; //users - $this->users[$i]['battle_yron'] = 0; //stats - - $this->users[$i]['exp'] += $this->users[$i]['battle_exp']; //users - - /*if($this->stats[$i]['speeden']>2) { // ( ) - $this->users[$i]['enNow']+= $this->stats[$i]['enNow']; //users - $upd2 = mysql_query('UPDATE `stats` SET `enNow` = "'.$this->users[$i]['enNow'].'" WHERE `id` = "'.$this->users[$i]['id'].'" LIMIT 1'); - }*/ - // ( ) - - if ($this->users[$i]['clan'] > 0) { - $cpr = 1; - if ($this->info['typeBattle'] == 9) { - $cpr = 25; - } elseif ($this->info['typeBattle'] == 50) { - $cpr = 65; - } - if ($this->stats[$i]['silver'] >= 5) { - $cpr = floor($cpr / 100 * 150); - } - mysql_query('UPDATE `clan` SET `exp` = `exp` + "' . round($this->users[$i]['battle_exp'] / 100 * $cpr) . '" WHERE `id` = "' . $this->users[$i]['clan'] . '" LIMIT 1'); + if ($this->users[$i]['battle_yron'] > 0) { + mysql_query( + 'INSERT INTO `eff_users` (`no_Ace`,`id_eff`,`overType`,`uid`,`name`,`data`,`timeUse`) VALUES ("1","478","111","' . $this->users[$i]['id'] . '"," ","pravonapodvig=1","' . time( + ) . '")' + ); } + mysql_query( + 'INSERT INTO `actions`(`uid`, `time`, `city`, `room`, `vars`, `ip`, `vals`, `val`) VALUES ("' . $this->users[$i]['id'] . '","' . (time( + ) - $timewait) . '","capitalcity","' . $this->users[$i]['room'] . '","end_trup"," ","","")' + ); + mysql_query( + 'INSERT INTO `eff_users` (`no_Ace`,`id_eff`,`overType`,`uid`,`name`,`data`,`timeUse`) VALUES ("1","479","112","' . $u->info['id'] . '"," ","zashitatk=1","' . time( + ) . '")' + ); + $ritem = rand(1, 1000); + if ($ritem == 555) { + $mon['win_itm'] = $mon['win_itm'] . ',5022@1'; + } + // + $this->addGlobalItems( + $mid, $this->users[$i]['id'], $mon['win_itm'], $mon['win_eff'], + $mon['win_ico'], 1, $mon['win_money1'], $mon['win_money2'] + ); //$mon['win_exp'] - $this->users[$i]['battle_exp'] = 0; //stats + } + if ($this->info['dungeon'] == 0 && $this->info['razdel'] == 5 && $u->info['battle_yron'] >= 2000) //$u->info['battle_yron'] + { + // ang_g if ($this->users[$i]['team'] == $this->info['team_win']) { - mysql_query('UPDATE `rep` SET `n_capitalcity` = `n_capitalcity` + ' . $this->users[$i]['bn_capitalcity'] . ' ,`n_demonscity` = `n_demonscity` + ' . $this->users[$i]['bn_demonscity'] . ' ,`n_demonscity` = `n_demonscity` + ' . $this->users[$i]['bn_suncity'] . ' WHERE `id` = "' . $this->users[$i]['id'] . '" LIMIT 1'); + // + $tmoni = 2; + } else { + $tmoni = 1; } - // - $this->users[$i]['bn_demonscity'] = 0; - $this->users[$i]['bn_capitalcity'] = 0; - $this->users[$i]['bn_suncity'] = 0; - // - $spe = mysql_query('SELECT * FROM `eff_users` WHERE `uid` = "' . $this->users[$i]['id'] . '" AND `file_finish` != "" AND `v1` = "priem" LIMIT 30'); - while ($ple = mysql_fetch_array($spe)) { - if (file_exists('../../_incl_data/class/priems/' . $ple['file_finish'] . '.php')) { - require('../../_incl_data/class/priems/' . $ple['file_finish'] . '.php'); - } + // + $tmon = $tmoni; + $effblago = mysql_fetch_array( + mysql_query( + 'SELECT * FROM `eff_users` WHERE `uid` = ' . $this->users[$i]['id'] . ' AND `delete` = 0 AND `id_eff`= 414 LIMIT 1' + ) + ); + if (isset ($effblago['id'])) { + $limitg = 50; + } else { + $limitg = 25; } - // - mysql_query('DELETE FROM `eff_users` WHERE `v1` = "priem" AND `uid` = "' . $this->users[$i]['id'] . '" LIMIT 50'); - if ($dnr == 1) { - if ($this->users[$i]['room'] == 370) { - $dies = mysql_fetch_array(mysql_query('SELECT COUNT(`id`) FROM `dungeon_actions` WHERE `uid` = "' . $this->users[$i]['id'] . '" AND `dn` = "' . $this->users[$i]['dnow'] . '" AND `vars` = "dielaba" LIMIT 1')); - $dies = $dies[0]; - mysql_query('INSERT INTO `dungeon_actions` (`dn`,`uid`,`x`,`y`,`time`,`vars`,`vals`) VALUES ( - "' . $this->users[$i]['dnow'] . '","' . $this->users[$i]['id'] . '","' . $this->users[$i]['x'] . '","' . $this->users[$i]['y'] . '","' . time() . '","dielaba","" - )'); + while ($tmoni >= 1) { + if ($u->info['ang_g'] < $limitg) { + $u->addItem(4754, $this->users[$i]['id'], ''); + mysql_query( + 'UPDATE `users` SET `ang_g`=`ang_g`+1 WHERE `id` =' . $this->users[$i]['id'] . '' + ); } else { - $dies = mysql_fetch_array(mysql_query('SELECT COUNT(`id`) FROM `dungeon_actions` WHERE `uid` = "' . $this->users[$i]['id'] . '" AND `dn` = "' . $this->users[$i]['dnow'] . '" AND `vars` = "die" LIMIT 1')); - $dies = $dies[0]; - mysql_query('INSERT INTO `dungeon_actions` (`dn`,`uid`,`x`,`y`,`time`,`vars`,`vals`) VALUES ( - "' . $this->users[$i]['dnow'] . '","' . $this->users[$i]['id'] . '","' . $this->users[$i]['x'] . '","' . $this->users[$i]['y'] . '","' . time() . '","die","" - )'); + $tmon--; } - if ($dies < 2 || $this->info['dungeon'] == 15) { + $tmoni--; + } + + if ($this->info['type'] != 33) { + $this->users[$i]['battle_text'] .= ' (' . $tmon . '). [' . ($u->info['ang_g'] + $tmon) . '/' . $limitg . '] . '; + } + unset($tmon, $tmoni, $effblago, $limitg); + } + + + if ($this->info['razdel'] == 5 || $this->info['razdel'] == 4) { + if (date('d.m') == '31.10' || (date('m') == 11 && date('d') < 7)) { + // 4504 + $this->users[$i]['battle_text'] .= ' (x1).'; + $u->addItem(4504, $this->users[$i]['id'], '|sudba=1'); + } + } + + + // + if ($this->info['dungeon'] == 0 && $this->info['razdel'] == 5 && $this->users[$i]['exp'] >= 1500 /*($this->users[$i]['exp'] < 12499 || $this->users[$i]['exp'] > 12500)*/ + ) { + if ($this->users[$i]['battle_exp'] > 100 * $this->users[$i]['level']) { + $rzbvo = $this->users[$i]['battle_exp'] * 6 / 1000; + + if ($this->users[$i]['level'] == 8) { + if ($rzbvo >= 100) { + $rzbvo = 100; + } + } + if ($this->users[$i]['level'] == 9) { + if ($rzbvo >= 150) { + $rzbvo = 150; + } + } + if ($this->users[$i]['level'] == 10) { + if ($rzbvo >= 200) { + $rzbvo = 200; + } + } + if ($this->users[$i]['level'] == 11) { + if ($rzbvo >= 250) { + $rzbvo = 250; + } + } + if ($this->users[$i]['level'] == 12) { + if ($rzbvo >= 250) { + $rzbvo = 250; + } + } + + + if ($this->info['type'] != 33) { + $this->users[$i]['battle_text'] .= ' ' . $rzbvo . ' .'; + } + mysql_query( + 'UPDATE `rep` SET `rep3` = `rep3` + "' . $rzbvo . '" WHERE `id` = "' . $this->users[$i]['id'] . '" LIMIT 1' + ); + mysql_query( + 'INSERT INTO `actions`(`uid`, `time`, `city`, `room`, `vars`, `ip`, `vals`, `val`) VALUES ("' . $this->users[$i]['id'] . '","' . time( + ) . '","capitalcity","' . $this->users[$i]['room'] . '","end_xaot"," ","' . $zadID . '","")' + ); + } + } + + if ($this->stats[$i]['hpNow'] >= 1) { + $this->stats[$i]['test_heal'] = mysql_fetch_array( + mysql_query( + 'SELECT SUM(`yrn`) FROM `battle_stat` WHERE `uid2` = "' . $this->users[$i]['id'] . '" AND `battle` = "' . $this->info['id'] . '" LIMIT 1' + ) + ); + $this->stats[$i]['test_heal'] = $this->stats[$i]['test_heal'][0]; + $this->stats[$i]['test_start'] = mysql_fetch_array( + mysql_query( + 'SELECT `hpStart` FROM `battle_users` WHERE `uid` = "' . $this->users[$i]['id'] . '" AND `battle` = "' . $this->info['id'] . '" LIMIT 1' + ) + ); + $this->stats[$i]['test_start'] = $this->stats[$i]['test_start']['hpStart']; + // + $this->stats[$i]['hpNow'] = ($this->stats[$i]['test_start'] - $this->stats[$i]['test_heal']); + if ($this->stats[$i]['hpNow'] < 1) { + $this->stats[$i]['hpNow'] = 1; + } + } else { + $this->stats[$i]['hpNow'] = 0; + } + + unset($this->stats[$i]['test_heal']); + + $this->users[$i]['last_b'] = $this->info['id']; //stats + $this->users[$i]['last_a'] = $act01; + $this->users[$i]['battle'] = -1; //users + $this->users[$i]['battle_yron'] = 0; //stats + + $this->users[$i]['exp'] += $this->users[$i]['battle_exp']; //users + + + // ( ) + + if ($this->users[$i]['clan'] > 0) { + $cpr = 1; + if ($this->info['typeBattle'] == 9) { + $cpr = 25; + } elseif ($this->info['typeBattle'] == 50) { + $cpr = 65; + } + if ($this->stats[$i]['silver'] >= 5) { + $cpr = floor($cpr / 100 * 150); + } + mysql_query( + 'UPDATE `clan` SET `exp` = `exp` + "' . round( + $this->users[$i]['battle_exp'] / 100 * $cpr + ) . '" WHERE `id` = "' . $this->users[$i]['clan'] . '" LIMIT 1' + ); + } + + $this->users[$i]['battle_exp'] = 0; //stats + + if ($this->users[$i]['team'] == $this->info['team_win']) { + mysql_query( + 'UPDATE `rep` SET `n_capitalcity` = `n_capitalcity` + ' . $this->users[$i]['bn_capitalcity'] . ' ,`n_demonscity` = `n_demonscity` + ' . $this->users[$i]['bn_demonscity'] . ' ,`n_demonscity` = `n_demonscity` + ' . $this->users[$i]['bn_suncity'] . ' WHERE `id` = "' . $this->users[$i]['id'] . '" LIMIT 1' + ); + } + + // + $this->users[$i]['bn_demonscity'] = 0; + $this->users[$i]['bn_capitalcity'] = 0; + $this->users[$i]['bn_suncity'] = 0; + // + $spe = mysql_query( + 'SELECT * FROM `eff_users` WHERE `uid` = "' . $this->users[$i]['id'] . '" AND `file_finish` != "" AND `v1` = "priem" LIMIT 30' + ); + while ($ple = mysql_fetch_array($spe)) { + if (file_exists('../../_incl_data/class/priems/' . $ple['file_finish'] . '.php')) { + require('../../_incl_data/class/priems/' . $ple['file_finish'] . '.php'); + } + } + // + mysql_query( + 'DELETE FROM `eff_users` WHERE `v1` = "priem" AND `uid` = "' . $this->users[$i]['id'] . '" LIMIT 50' + ); + if ($dnr == 1) { + if ($this->users[$i]['room'] == 370) { + $dies = mysql_fetch_array( + mysql_query( + 'SELECT COUNT(`id`) FROM `dungeon_actions` WHERE `uid` = "' . $this->users[$i]['id'] . '" AND `dn` = "' . $this->users[$i]['dnow'] . '" AND `vars` = "dielaba" LIMIT 1' + ) + ); + $dies = $dies[0]; + mysql_query( + 'INSERT INTO `dungeon_actions` (`dn`,`uid`,`x`,`y`,`time`,`vars`,`vals`) VALUES ( + "' . $this->users[$i]['dnow'] . '","' . $this->users[$i]['id'] . '","' . $this->users[$i]['x'] . '","' . $this->users[$i]['y'] . '","' . time( + ) . '","dielaba","" + )' + ); + } else { + $dies = mysql_fetch_array( + mysql_query( + 'SELECT COUNT(`id`) FROM `dungeon_actions` WHERE `uid` = "' . $this->users[$i]['id'] . '" AND `dn` = "' . $this->users[$i]['dnow'] . '" AND `vars` = "die" LIMIT 1' + ) + ); + $dies = $dies[0]; + mysql_query( + 'INSERT INTO `dungeon_actions` (`dn`,`uid`,`x`,`y`,`time`,`vars`,`vals`) VALUES ( + "' . $this->users[$i]['dnow'] . '","' . $this->users[$i]['id'] . '","' . $this->users[$i]['x'] . '","' . $this->users[$i]['y'] . '","' . time( + ) . '","die","" + )' + ); + } + if ($dies < 2 || $this->info['dungeon'] == 15) { + // + $tshbn = mysql_fetch_array( + mysql_query( + 'SELECT `id` FROM `items_users` WHERE `uid` = "' . $this->users[$i]['id'] . '" AND `delete` = 0 AND `item_id` = "4910" LIMIT 1' + ) + ); + if (isset($tshbn['id'])) { + // + mysql_query('DELETE FROM `items_users` WHERE `id` = "' . $tshbn['id'] . '" LIMIT 1'); // - $tshbn = mysql_fetch_array(mysql_query('SELECT `id` FROM `items_users` WHERE `uid` = "' . $this->users[$i]['id'] . '" AND `delete` = 0 AND `item_id` = "4910" LIMIT 1')); - if (isset($tshbn['id'])) { - // - mysql_query('DELETE FROM `items_users` WHERE `id` = "' . $tshbn['id'] . '" LIMIT 1'); - // - mysql_query('INSERT INTO `dungeon_obj` ( + mysql_query( + 'INSERT INTO `dungeon_obj` ( `name`,`dn`,`x`,`y`,`img`,`delete`,`action`,`for_dn`, `type`,`w`,`h`,`s`,`s2`,`os1`,`os2`,`os3`,`os4`,`type2`,`top`,`left`,`date` ) VALUES ( "","' . $this->info['dn_id'] . '","' . $this->users[$i]['x'] . '","' . $this->users[$i]['y'] . '","shaiba.png","0","fileact:15/shaiba","0", "0","120","220","0","0","5","8","12","0","0","0","0","{use:\'takeit\',rt1:69,rl1:-47,rt2:74,rl2:126,rt3:76,rl3:140,rt4:80,rl4:150}" - )'); - // - } - // ( 00) - $this->users[$i]['x'] = $this->users[$i]['res_x']; - $this->users[$i]['y'] = $this->users[$i]['res_y']; - $this->users[$i]['s'] = $this->users[$i]['res_s']; - $r_n = mysql_fetch_array(mysql_query('SELECT `name` FROM `room` WHERE `id` = "' . (int)$this->users[$i]['room'] . '" LIMIT 1')); - if ($this->users[$i]['room'] == 370) { - if ($this->users[$i]['sex'] == 0) { - $rtxt = '' . $this->users[$i]['login'] . ' '; - } else { - $rtxt = '' . $this->users[$i]['login'] . ' '; - } + )' + ); + // + } + // ( 00) + $this->users[$i]['x'] = $this->users[$i]['res_x']; + $this->users[$i]['y'] = $this->users[$i]['res_y']; + $this->users[$i]['s'] = $this->users[$i]['res_s']; + $r_n = mysql_fetch_array( + mysql_query( + 'SELECT `name` FROM `room` WHERE `id` = "' . (int)$this->users[$i]['room'] . '" LIMIT 1' + ) + ); + if ($this->users[$i]['room'] == 370) { + if ($this->users[$i]['sex'] == 0) { + $rtxt = '' . $this->users[$i]['login'] . ' '; } else { - if ($this->users[$i]['sex'] == 0) { - $rtxt = '' . $this->users[$i]['login'] . ' "' . $r_n['name'] . '"'; - } else { - $rtxt = '' . $this->users[$i]['login'] . ' "' . $r_n['name'] . '"'; - } - } - } elseif ($this->info['dungeon'] == 102) { - $nld = ''; - $lab = mysql_fetch_array(mysql_query('SELECT `id`,`users` FROM `laba_now` WHERE `id` = "' . $this->users[$i]['id'] . '" LIMIT 1')); - if ($lab['users'] < 2) { - // - mysql_query('DELETE FROM `laba_now` WHERE `id` = "' . $lab['id'] . '" LIMIT 1'); - mysql_query('DELETE FROM `laba_map` WHERE `id` = "' . $lab['id'] . '" LIMIT 1'); - mysql_query('DELETE FROM `laba_obj` WHERE `lib` = "' . $lab['id'] . '"'); - mysql_query('DELETE FROM `laba_act` WHERE `lib` = "' . $lab['id'] . '"'); - mysql_query('DELETE FROM `laba_itm` WHERE `lib` = "' . $lab['id'] . '"'); - } else { - $lab['users']--; - mysql_query('UPDATE `laba_now` SET `users` = "' . $lab['users'] . '" WHERE `id` = "' . $lab['id'] . '" LIMIT 1'); - } - mysql_query('UPDATE `stats` SET `dnow` = "0" WHERE `id` = "' . $this->users[$i]['id'] . '" LIMIT 1'); - mysql_query('UPDATE `users` SET `room` = "369" WHERE `id` = "' . $this->users[$i]['id'] . '" LIMIT 1'); - // - mysql_query('UPDATE `items_users` SET `delete` = "' . time() . '" WHERE `uid` = "' . $this->users[$i]['id'] . '" AND `delete` < 1234567890 AND `inShop` = "0" AND (`dn_delete` = "1" OR `data` LIKE "%fromlaba=1%")'); - if ($this->users[$i]['login'] != '') { - if ($this->users[$i]['sex'] == 0) { - $rtxt = '' . $this->users[$i]['login'] . ' ' . $nld; - } else { - $rtxt = '' . $this->users[$i]['login'] . ' ' . $nld; - } + $rtxt = '' . $this->users[$i]['login'] . ' '; } } else { - $tinf = mysql_fetch_array(mysql_query('SELECT `uid` FROM `dungeon_now` WHERE `id` = "' . $this->info['dn_id'] . '" LIMIT 1')); - $nld = ''; - if ($tinf['uid'] == $this->users[$i]['id']) { - $tinf = mysql_fetch_array(mysql_query('SELECT `id` FROM `stats` WHERE `dnow` = "' . $this->info['dn_id'] . '" AND `hpNow` >= 1 LIMIT 1')); - if (isset($tinf['id'])) { - $tinf = mysql_fetch_array(mysql_query('SELECT `id`,`login` FROM `users` WHERE `id` = "' . $tinf['id'] . '" LIMIT 1')); - $nld .= ', "' . $tinf['login'] . '"'; - mysql_query('UPDATE `dungeon_now` SET `uid` = "' . $tinf['id'] . '" WHERE `id` = "' . $this->info['dn_id'] . '" LIMIT 1'); - } + if ($this->users[$i]['sex'] == 0) { + $rtxt = '' . $this->users[$i]['login'] . ' "' . $r_n['name'] . '"'; + } else { + $rtxt = '' . $this->users[$i]['login'] . ' "' . $r_n['name'] . '"'; } - $rooms = [ - 374 => 372, // ( ) - 189 => 188, // ( ) - 392 => 393, // ( ) - - 398 => 397, // ( ) - 243 => 395, // ( ) - 360 => 242, // ( ) - - 19 => 293 // - ]; - // $n_rm = $rooms[$this->users[$i]['room']]; - mysql_query('UPDATE `stats` SET `dnow` = "0" WHERE `id` = "' . $this->users[$i]['id'] . '" LIMIT 1'); - mysql_query('UPDATE `users` SET `room` = "321" WHERE `id` = "' . $this->users[$i]['id'] . '" LIMIT 1'); - // - mysql_query('UPDATE `items_users` SET `delete` = "' . time() . '" WHERE `uid` = "' . $this->users[$i]['id'] . '" AND `dn_delete` = "1" LIMIT 1000'); - mysql_query('UPDATE `items_users` SET `delete` = "' . time() . '" WHERE `uid` = "' . $u->info['id'] . '" AND `item_id` = "1189" OR `item_id` = "4447" OR `item_id` = "1174") LIMIT 1000'); + } + } elseif ($this->info['dungeon'] == 102) { + $nld = ''; + $lab = mysql_fetch_array( + mysql_query( + 'SELECT `id`,`users` FROM `laba_now` WHERE `id` = "' . $this->users[$i]['id'] . '" LIMIT 1' + ) + ); + if ($lab['users'] < 2) { + // + mysql_query('DELETE FROM `laba_now` WHERE `id` = "' . $lab['id'] . '" LIMIT 1'); + mysql_query('DELETE FROM `laba_map` WHERE `id` = "' . $lab['id'] . '" LIMIT 1'); + mysql_query('DELETE FROM `laba_obj` WHERE `lib` = "' . $lab['id'] . '"'); + mysql_query('DELETE FROM `laba_act` WHERE `lib` = "' . $lab['id'] . '"'); + mysql_query('DELETE FROM `laba_itm` WHERE `lib` = "' . $lab['id'] . '"'); + } else { + $lab['users']--; + mysql_query( + 'UPDATE `laba_now` SET `users` = "' . $lab['users'] . '" WHERE `id` = "' . $lab['id'] . '" LIMIT 1' + ); + } + mysql_query( + 'UPDATE `stats` SET `dnow` = "0" WHERE `id` = "' . $this->users[$i]['id'] . '" LIMIT 1' + ); + mysql_query( + 'UPDATE `users` SET `room` = "369" WHERE `id` = "' . $this->users[$i]['id'] . '" LIMIT 1' + ); + // + mysql_query( + 'UPDATE `items_users` SET `delete` = "' . time( + ) . '" WHERE `uid` = "' . $this->users[$i]['id'] . '" AND `delete` < 1234567890 AND `inShop` = "0" AND (`dn_delete` = "1" OR `data` LIKE "%fromlaba=1%")' + ); + if ($this->users[$i]['login'] != '') { if ($this->users[$i]['sex'] == 0) { $rtxt = '' . $this->users[$i]['login'] . ' ' . $nld; } else { $rtxt = '' . $this->users[$i]['login'] . ' ' . $nld; } } - if ($rtxt != '') { - mysql_query("INSERT INTO `chat` (`dn`,`city`,`room`,`login`,`to`,`text`,`time`,`type`,`toChat`,`typeTime`,`new`) VALUES ('" . $this->info['dn_id'] . "','" . $this->users[$i]['city'] . "','" . $this->users[$i]['room'] . "','','','" . $rtxt . "','" . time() . "','6','0','1','1')"); - } - } - - mysql_query('UPDATE `users` SET `login2` = "" WHERE `battle` = "' . $this->info['id'] . '"'); - $upd = mysql_query('UPDATE `users` SET `login2` = "", `money` = "' . $this->users[$i]['money'] . '", `money2` = "' . $this->users[$i]['money2'] . '",`win` = "' . $this->users[$i]['win'] . '",`lose` = "' . $this->users[$i]['lose'] . '",`nich` = "' . $this->users[$i]['nich'] . '",`battle` = "-1" WHERE `id` = "' . $this->users[$i]['id'] . '" LIMIT 1'); - - if ($u->info['id'] == $this->users[$i]['id']) { - $u->info['battle_text'] = $this->users[$i]['battle_text']; - } - - $upd2 = mysql_query('UPDATE `stats` SET `hpNow` = "' . $this->stats[$i]['hpNow'] . '",`mpNow` = "' . $this->stats[$i]['mpNow'] . '",`bn_capitalcity` = 0,`bn_demonscity` = 0,`smena` = 3,`tactic7` = "-100",`x`="' . $this->users[$i]['x'] . '",`y`="' . $this->users[$i]['y'] . '",`priems_z`="0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0",`last_pr`="0",`tactic1`="0",`tactic2`="0",`tactic3`="0",`tactic4`="0",`tactic5`="0",`tactic6`="0.00000000",`tactic7`="10",`exp` = "' . $this->users[$i]['exp'] . '",`battle_exp` = "' . $this->users[$i]['battle_exp'] . '",`battle_text` = "' . $this->users[$i]['battle_text'] . '",`battle_yron` = "0",`enemy` = "0",`last_b`="' . $this->info['id'] . '",`regHP` = "' . time() . '",`regMP` = "' . time() . '" WHERE `id` = "' . $this->users[$i]['id'] . '" LIMIT 1'); - if ($this->info['turnir'] == 0) { - // - mysql_query("INSERT INTO `chat` (`new`,`city`,`room`,`login`,`to`,`text`,`time`,`type`,`toChat`) VALUES ('1','" . $this->users[$i]['city'] . "','" . $this->users[$i]['room'] . "','','" . $this->users[$i]['login'] . "','" . $this->users[$i]['battle_text'] . "','-1','6','0')"); } else { - mysql_query('UPDATE `turnirs` SET `winner` = "' . $this->info['team_win'] . '" WHERE `id` = "' . $this->info['turnir'] . '" LIMIT 1'); - } - // - $upd3 = mysql_query('UPDATE `battle` SET `time_over` = "' . time() . '",`team_win` = "' . $this->info['team_win'] . '" WHERE `id` = "' . $this->info['id'] . '" LIMIT 1'); - - // ( ) - /*$tinf = mysql_fetch_array(mysql_query('SELECT * FROM `dungeon_now` WHERE `id` = "'.$this->info['dn_id'].'" LIMIT 1')); - if(isset($tinf['id']) && $tinf['bsid']>0) - { - $bs = mysql_fetch_array(mysql_query('SELECT * FROM `bs_turnirs` WHERE `city` = "'.$u->info['city'].'" AND `id` = "'.$tinf['bsid'].'" AND `time_start` = "'.$tinf['time_start'].'" LIMIT 1')); - if(isset($bs['id'])) - { - $u->bsfinish($bs,$this->users,$this->info); - } - }*/ - // - if ($this->users[$i]['animal'] > 0) { - $a = mysql_fetch_array(mysql_query('SELECT * FROM `users_animal` WHERE `uid` = "' . $this->users[$i]['id'] . '" AND `id` = "' . $this->users[$i]['animal'] . '" AND `pet_in_cage` = "0" AND `delete` = "0" LIMIT 1')); - if (isset($a['id'])) { - if ($a['eda'] < 1) { - $u->send('', $this->users[$i]['room'], $this->users[$i]['city'], '', - $this->users[$i]['login'], '' . $a['name'] . ' ...', - time(), 6, 0, 0, 0, 1); + $tinf = mysql_fetch_array( + mysql_query( + 'SELECT `uid` FROM `dungeon_now` WHERE `id` = "' . $this->info['dn_id'] . '" LIMIT 1' + ) + ); + $nld = ''; + if ($tinf['uid'] == $this->users[$i]['id']) { + $tinf = mysql_fetch_array( + mysql_query( + 'SELECT `id` FROM `stats` WHERE `dnow` = "' . $this->info['dn_id'] . '" AND `hpNow` >= 1 LIMIT 1' + ) + ); + if (isset($tinf['id'])) { + $tinf = mysql_fetch_array( + mysql_query( + 'SELECT `id`,`login` FROM `users` WHERE `id` = "' . $tinf['id'] . '" LIMIT 1' + ) + ); + $nld .= ', "' . $tinf['login'] . '"'; + mysql_query( + 'UPDATE `dungeon_now` SET `uid` = "' . $tinf['id'] . '" WHERE `id` = "' . $this->info['dn_id'] . '" LIMIT 1' + ); } } + $rooms = [ + 374 => 372, // ( ) + 189 => 188, // ( ) + 392 => 393, // ( ) + + 398 => 397, // ( ) + 243 => 395, // ( ) + 360 => 242, // ( ) + + 19 => 293, // + ]; + // $n_rm = $rooms[$this->users[$i]['room']]; + mysql_query( + 'UPDATE `stats` SET `dnow` = "0" WHERE `id` = "' . $this->users[$i]['id'] . '" LIMIT 1' + ); + mysql_query( + 'UPDATE `users` SET `room` = "321" WHERE `id` = "' . $this->users[$i]['id'] . '" LIMIT 1' + ); + // + mysql_query( + 'UPDATE `items_users` SET `delete` = "' . time( + ) . '" WHERE `uid` = "' . $this->users[$i]['id'] . '" AND `dn_delete` = "1" LIMIT 1000' + ); + mysql_query( + 'UPDATE `items_users` SET `delete` = "' . time( + ) . '" WHERE `uid` = "' . $u->info['id'] . '" AND `item_id` = "1189" OR `item_id` = "4447" OR `item_id` = "1174") LIMIT 1000' + ); + if ($this->users[$i]['sex'] == 0) { + $rtxt = '' . $this->users[$i]['login'] . ' ' . $nld; + } else { + $rtxt = '' . $this->users[$i]['login'] . ' ' . $nld; + } } - mysql_query('UPDATE `stats` SET `battle_text` = "",`last_b`="0" WHERE `id` = "' . $this->users[$i]['id'] . '" LIMIT 1'); - mysql_query('UPDATE `battle_users` SET `finish` = 1 WHERE `uid` = "' . $this->users[$i]['id'] . '"'); - //mysql_query('DELETE FROM `battle_logs` WHERE `battle` = "'.$this->info['id'].'"'); - $this->saveLogs($this->info['id'], 'all'); - if ($u->info['battle'] != 0 && !isset($u->info['battle_lsto'])) { - echo ''; + if ($rtxt != '') { + mysql_query( + "INSERT INTO `chat` (`dn`,`city`,`room`,`login`,`to`,`text`,`time`,`type`,`toChat`,`typeTime`,`new`) VALUES ('" . $this->info['dn_id'] . "','" . $this->users[$i]['city'] . "','" . $this->users[$i]['room'] . "','','','" . $rtxt . "','" . time( + ) . "','6','0','1','1')" + ); } + } + + mysql_query('UPDATE `users` SET `login2` = "" WHERE `battle` = "' . $this->info['id'] . '"'); + $upd = mysql_query( + 'UPDATE `users` SET `login2` = "", `money` = "' . $this->users[$i]['money'] . '", `money2` = "' . $this->users[$i]['money2'] . '",`win` = "' . $this->users[$i]['win'] . '",`lose` = "' . $this->users[$i]['lose'] . '",`nich` = "' . $this->users[$i]['nich'] . '",`battle` = "-1" WHERE `id` = "' . $this->users[$i]['id'] . '" LIMIT 1' + ); + + if ($u->info['id'] == $this->users[$i]['id']) { + $u->info['battle_text'] = $this->users[$i]['battle_text']; + } + + $upd2 = mysql_query( + 'UPDATE `stats` SET `hpNow` = "' . $this->stats[$i]['hpNow'] . '",`mpNow` = "' . $this->stats[$i]['mpNow'] . '",`bn_capitalcity` = 0,`bn_demonscity` = 0,`smena` = 3,`tactic7` = "-100",`x`="' . $this->users[$i]['x'] . '",`y`="' . $this->users[$i]['y'] . '",`priems_z`="0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0",`last_pr`="0",`tactic1`="0",`tactic2`="0",`tactic3`="0",`tactic4`="0",`tactic5`="0",`tactic6`="0.00000000",`tactic7`="10",`exp` = "' . $this->users[$i]['exp'] . '",`battle_exp` = "' . $this->users[$i]['battle_exp'] . '",`battle_text` = "' . $this->users[$i]['battle_text'] . '",`battle_yron` = "0",`enemy` = "0",`last_b`="' . $this->info['id'] . '",`regHP` = "' . time( + ) . '",`regMP` = "' . time() . '" WHERE `id` = "' . $this->users[$i]['id'] . '" LIMIT 1' + ); + if ($this->info['turnir'] == 0) { + // + mysql_query( + "INSERT INTO `chat` (`new`,`city`,`room`,`login`,`to`,`text`,`time`,`type`,`toChat`) VALUES ('1','" . $this->users[$i]['city'] . "','" . $this->users[$i]['room'] . "','','" . $this->users[$i]['login'] . "','" . $this->users[$i]['battle_text'] . "','-1','6','0')" + ); } else { - //echo ' , 0- , !'; + mysql_query( + 'UPDATE `turnirs` SET `winner` = "' . $this->info['team_win'] . '" WHERE `id` = "' . $this->info['turnir'] . '" LIMIT 1' + ); + } + // + $upd3 = mysql_query( + 'UPDATE `battle` SET `time_over` = "' . time( + ) . '",`team_win` = "' . $this->info['team_win'] . '" WHERE `id` = "' . $this->info['id'] . '" LIMIT 1' + ); + + + // + if ($this->users[$i]['animal'] > 0) { + $a = mysql_fetch_array( + mysql_query( + 'SELECT * FROM `users_animal` WHERE `uid` = "' . $this->users[$i]['id'] . '" AND `id` = "' . $this->users[$i]['animal'] . '" AND `pet_in_cage` = "0" AND `delete` = "0" LIMIT 1' + ) + ); + if (isset($a['id'])) { + if ($a['eda'] < 1) { + $u->send( + '', $this->users[$i]['room'], $this->users[$i]['city'], '', + $this->users[$i]['login'], '' . $a['name'] . ' ...', + time(), 6, 0, 0, 0, 1 + ); + } + } + } + mysql_query( + 'UPDATE `stats` SET `battle_text` = "",`last_b`="0" WHERE `id` = "' . $this->users[$i]['id'] . '" LIMIT 1' + ); + mysql_query('UPDATE `battle_users` SET `finish` = 1 WHERE `uid` = "' . $this->users[$i]['id'] . '"'); + $this->saveLogs($this->info['id'], 'all'); + if ($u->info['battle'] != 0 && !isset($u->info['battle_lsto'])) { + echo ''; } } - //unlink($lock_file); - mysql_query('UPDATE `battle` SET `testfinish` = "0" WHERE `id` = "' . $this->info['id'] . '" LIMIT 1'); + } else { sleep(2); - mysql_query('UPDATE `battle` SET `testfinish` = "0" WHERE `id` = "' . $this->info['id'] . '" LIMIT 1'); } + mysql_query('UPDATE `battle` SET `testfinish` = "0" WHERE `id` = "' . $this->info['id'] . '" LIMIT 1'); mysql_query('UNLOCK TABLES'); } - // - //$this->addGlobalItems($this->user[$i]['id'],$this->user[$j]['id'],$mon['win_itm'],$mon['win_eff'],$mon['win_ico'],$mon['win_exp'],$mon['win_money'],$mon['win_money2']); + public $ainm = []; public function addGlobalItems($bid, $uid, $itm, $eff, $ico, $exp, $cr, $ecr) @@ -3823,7 +3764,9 @@ class Battle if ($bid == 1008) { // $jit = 0; - $iit = mysql_fetch_array(mysql_query('SELECT COUNT(*) FROM `users` WHERE `online` > ' . (time() - 120) . '')); + $iit = mysql_fetch_array( + mysql_query('SELECT COUNT(*) FROM `users` WHERE `online` > ' . (time() - 120) . '') + ); $iit = floor($iit[0] / 20); $iit = rand(1, $iit); while ($jit < $iit) { @@ -3918,7 +3861,8 @@ class Battle ]; $svtk = $svtk[rand(0, count($svtk) - 1)]; if ($svtk == 1000) { - mysql_query('INSERT INTO `items_local` + mysql_query( + 'INSERT INTO `items_local` ( `room` , `time`,`item_id`,`data`,`tr_login`,`colvo` ) VALUES ( "' . $this->users[$this->uids[$uid]]['room'] . '", @@ -3962,9 +3906,11 @@ class Battle "|nosale=1|srok=259200", "' . $this->users[$this->uids[$uid]]['login'] . '", "1" - )'); + )' + ); } - mysql_query('INSERT INTO `items_local` + mysql_query( + 'INSERT INTO `items_local` ( `room` , `time`,`item_id`,`data`,`tr_login`,`colvo` ) VALUES ( "' . $this->users[$this->uids[$uid]]['room'] . '", @@ -3973,7 +3919,8 @@ class Battle "|nosale=1|srok=259200", "' . $this->users[$this->uids[$uid]]['login'] . '", "1" - )'); + )' + ); } $jit++; } @@ -3981,12 +3928,15 @@ class Battle } elseif ($bid == 1007) { //, CAPITAL CITY $jit = 0; - $iit = mysql_fetch_array(mysql_query('SELECT COUNT(*) FROM `users` WHERE `online` > ' . (time() - 120) . '')); + $iit = mysql_fetch_array( + mysql_query('SELECT COUNT(*) FROM `users` WHERE `online` > ' . (time() - 120) . '') + ); $iit = floor($iit[0] / 20); $iit = rand(1, $iit); while ($jit < $iit) { if (rand(0, 100) < 50) { - mysql_query('INSERT INTO `items_local` + mysql_query( + 'INSERT INTO `items_local` ( `room` , `time`,`item_id`,`data`,`tr_login`,`colvo` ) VALUES ( "' . $this->users[$this->uids[$uid]]['room'] . '", @@ -3995,14 +3945,16 @@ class Battle "", "' . $this->users[$this->uids[$uid]]['login'] . '", "1" - )'); + )' + ); } $jit++; } } elseif ($bid == 1006) { // CAPITAL CITY if (rand(0, 100) < 10) { - mysql_query('INSERT INTO `items_local` + mysql_query( + 'INSERT INTO `items_local` ( `room` , `time`,`item_id`,`data`,`tr_login`,`colvo` ) VALUES ( "' . $this->users[$this->uids[$uid]]['room'] . '", @@ -4011,12 +3963,13 @@ class Battle "srok=86400", "' . $this->users[$this->uids[$uid]]['login'] . '", "1" - )'); + )' + ); } } elseif ($bid == 1000) { // CAPITAL CITY - //if( rand(0,100) < 10 ) { - mysql_query('INSERT INTO `items_local` + mysql_query( + 'INSERT INTO `items_local` ( `room` , `time`,`item_id`,`data`,`tr_login`,`colvo` ) VALUES ( "' . $this->users[$this->uids[$uid]]['room'] . '", @@ -4025,12 +3978,12 @@ class Battle "srok=2592000", "' . $this->users[$this->uids[$uid]]['login'] . '", "1" - )'); - //} + )' + ); } elseif ($bid == 1001) { // CAPITAL CITY - //if( rand(0,100) < 10 ) { - mysql_query('INSERT INTO `items_local` + mysql_query( + 'INSERT INTO `items_local` ( `room` , `time`,`item_id`,`data`,`tr_login`,`colvo` ) VALUES ( "' . $this->users[$this->uids[$uid]]['room'] . '", @@ -4039,12 +3992,12 @@ class Battle "srok=2592000", "' . $this->users[$this->uids[$uid]]['login'] . '", "1" - )'); - //} + )' + ); } elseif ($bid == 1002) { // CAPITAL CITY - //if( rand(0,100) < 10 ) { - mysql_query('INSERT INTO `items_local` + mysql_query( + 'INSERT INTO `items_local` ( `room` , `time`,`item_id`,`data`,`tr_login`,`colvo` ) VALUES ( "' . $this->users[$this->uids[$uid]]['room'] . '", @@ -4053,12 +4006,12 @@ class Battle "srok=2592000", "' . $this->users[$this->uids[$uid]]['login'] . '", "1" - )'); - //} + )' + ); } elseif ($bid == 1003) { // CAPITAL CITY - //if( rand(0,100) < 10 ) { - mysql_query('INSERT INTO `items_local` + mysql_query( + 'INSERT INTO `items_local` ( `room` , `time`,`item_id`,`data`,`tr_login`,`colvo` ) VALUES ( "' . $this->users[$this->uids[$uid]]['room'] . '", @@ -4067,12 +4020,12 @@ class Battle "srok=2592000", "' . $this->users[$this->uids[$uid]]['login'] . '", "1" - )'); - //} + )' + ); } elseif ($bid == 1004) { // CAPITAL CITY - //if( rand(0,100) < 10 ) { - mysql_query('INSERT INTO `items_local` + mysql_query( + 'INSERT INTO `items_local` ( `room` , `time`,`item_id`,`data`,`tr_login`,`colvo` ) VALUES ( "' . $this->users[$this->uids[$uid]]['room'] . '", @@ -4081,42 +4034,63 @@ class Battle "srok=2592000", "' . $this->users[$this->uids[$uid]]['login'] . '", "1" - )'); - //} + )' + ); } - // if ($exp >= 0) { - $this->users[$this->uids[$uid]]['battle_exp'] += round($exp * $this->users[$this->uids[$uid]]['battle_yron'] / $this->stats[$this->uids[$bid]]['hpAll']); - mysql_query('UPDATE `stats` SET `battle_exp` = "' . mysql_real_escape_string($this->users[$this->uids[$uid]]['battle_exp']) . '" WHERE `id` = "' . mysql_real_escape_string($uid) . '" LIMIT 1'); + //added if, was division by zero. 27.08.22, ins. + $this->users[$this->uids[$uid]]['battle_exp'] += round( + $this->stats[$this->uids[$bid]]['hpAll'] > 0 ? $exp * $this->users[$this->uids[$uid]]['battle_yron'] / $this->stats[$this->uids[$bid]]['hpAll'] : $exp * $this->users[$this->uids[$uid]]['battle_yron'] + ); + mysql_query( + 'UPDATE `stats` SET `battle_exp` = "' . mysql_real_escape_string( + $this->users[$this->uids[$uid]]['battle_exp'] + ) . '" WHERE `id` = "' . mysql_real_escape_string($uid) . '" LIMIT 1' + ); } // - if ($cr != '' && $cr > 0) { - if ($this->stats[$this->uids[$uid]]['hpNow'] > 0) { - mysql_query('UPDATE `users` SET `money` = (`money` + ' . mysql_real_escape_string($cr) . ') WHERE `id` = "' . mysql_real_escape_string($uid) . '" LIMIT 1'); - mysql_query("INSERT INTO `chat` (`new`,`city`,`room`,`login`,`to`,`text`,`time`,`type`,`toChat`) VALUES ('1','" . $this->users[$this->uids[$uid]]['city'] . "','" . $this->users[$this->uids[$uid]]['room'] . "','','" . $this->users[$this->uids[$uid]]['login'] . "',' : " . mysql_real_escape_string($cr) . " .','-1','6','0')"); + if ($cr != '' && $cr > 0 && $this->stats[$this->uids[$uid]]['hpNow'] > 0) { + mysql_query( + 'UPDATE `users` SET `money` = (`money` + ' . mysql_real_escape_string( + $cr + ) . ') WHERE `id` = "' . mysql_real_escape_string($uid) . '" LIMIT 1' + ); + mysql_query( + "INSERT INTO `chat` (`new`,`city`,`room`,`login`,`to`,`text`,`time`,`type`,`toChat`) VALUES ('1','" . $this->users[$this->uids[$uid]]['city'] . "','" . $this->users[$this->uids[$uid]]['room'] . "','','" . $this->users[$this->uids[$uid]]['login'] . "',' : " . mysql_real_escape_string( + $cr + ) . " .','-1','6','0')" + ); + } + // + if ($ecr != '' && $ecr > 0 && $this->stats[$this->uids[$uid]]['hpNow'] > 0) { + $this->users[$this->uids[$uid]]['money2'] += $ecr; + $resulttp = mysql_query( + 'UPDATE `users` SET `money2` = (`money2` + ' . mysql_real_escape_string( + $ecr + ) . ') WHERE `id` = "' . $this->users[$this->uids[$uid]]['id'] . '" LIMIT 1' + ); + if (!$resulttp) { + mysql_query( + "INSERT INTO `chat` (`new`,`city`,`room`,`login`,`to`,`text`,`time`,`type`,`toChat`) VALUES ('1','" . $this->users[$this->uids[$uid]]['city'] . "','" . $this->users[$this->uids[$uid]]['room'] . "','','" . $this->users[$this->uids[$uid]]['login'] . "',' !!!','-1','6','0')" + ); + $u->addDelo( + 4, $this->users[$this->uids[$uid]]['id'], + '"System.battle": ( ), !!! ', time(), + $this->users[$this->uids[$uid]]['city'], 'System.battle', 0, 0 + ); + } else { + mysql_query( + "INSERT INTO `chat` (`new`,`city`,`room`,`login`,`to`,`text`,`time`,`type`,`toChat`) VALUES ('1','" . $this->users[$this->uids[$uid]]['city'] . "','" . $this->users[$this->uids[$uid]]['room'] . "','','" . $this->users[$this->uids[$uid]]['login'] . "',' -: " . mysql_real_escape_string( + $ecr + ) . " .','-1','6','0')" + ); + $u->addDelo( + 4, $this->users[$this->uids[$uid]]['id'], + '"System.battle": ' . $ecr . ' ( ), : ' . $this->users[$this->uids[$uid]]['money2'] . ' ', + time(), $this->users[$this->uids[$uid]]['city'], 'System.battle', 0, 0 + ); } } - // - if ($ecr != '' && $ecr > 0) { - if ($this->stats[$this->uids[$uid]]['hpNow'] > 0) { - $this->users[$this->uids[$uid]]['money2'] += $ecr; - //$sleptime=rand(1,20); - //usleep($sleptime*100000); - $resulttp = mysql_query('UPDATE `users` SET `money2` = (`money2` + ' . mysql_real_escape_string($ecr) . ') WHERE `id` = "' . $this->users[$this->uids[$uid]]['id'] . '" LIMIT 1'); - if (!$resulttp) { - mysql_query("INSERT INTO `chat` (`new`,`city`,`room`,`login`,`to`,`text`,`time`,`type`,`toChat`) VALUES ('1','" . $this->users[$this->uids[$uid]]['city'] . "','" . $this->users[$this->uids[$uid]]['room'] . "','','" . $this->users[$this->uids[$uid]]['login'] . "',' !!!','-1','6','0')"); - $u->addDelo(4, $this->users[$this->uids[$uid]]['id'], - '"System.battle": ( ), !!! ', time(), - $this->users[$this->uids[$uid]]['city'], 'System.battle', 0, 0); - } else { - mysql_query("INSERT INTO `chat` (`new`,`city`,`room`,`login`,`to`,`text`,`time`,`type`,`toChat`) VALUES ('1','" . $this->users[$this->uids[$uid]]['city'] . "','" . $this->users[$this->uids[$uid]]['room'] . "','','" . $this->users[$this->uids[$uid]]['login'] . "',' -: " . mysql_real_escape_string($ecr) . " .','-1','6','0')"); - $u->addDelo(4, $this->users[$this->uids[$uid]]['id'], - '"System.battle": ' . $ecr . ' ( ), : ' . $this->users[$this->uids[$uid]]['money2'] . ' ', - time(), $this->users[$this->uids[$uid]]['city'], 'System.battle', 0, 0); - } - } - } - // if ($ico != '') { /* 0(, 1 - , 2 - )@ @@ -4136,7 +4110,6 @@ class Battle while ($i < count($ico)) { $ico_e = explode('@', $ico[$i]); if (isset($ico_e[3])) { - // $add = 1; if ($ico_e[4] == 1 && floor($this->stats[$this->uids[$uid]]['hpNow']) < 1) { $add = 0; @@ -4146,27 +4119,49 @@ class Battle if ($ico_e[8] == 0) { $ins = true; if ($ico_e[9] == 1) { - mysql_query('DELETE FROM `users_ico` WHERE `uid` = "' . mysql_real_escape_string($uid) . '" AND `img` = "' . mysql_real_escape_string($ico_e[2]) . '"'); + mysql_query( + 'DELETE FROM `users_ico` WHERE `uid` = "' . mysql_real_escape_string( + $uid + ) . '" AND `img` = "' . mysql_real_escape_string($ico_e[2]) . '"' + ); } } else { - $old_ico = mysql_fetch_array(mysql_query('SELECT `id` FROM `users_ico` WHERE `uid` = "' . mysql_real_escape_string($uid) . '" AND (`endTime` > "' . time() . '" OR `endTime` = 0) AND `img` = "' . mysql_real_escape_string($ico_e[2]) . '" LIMIT 1')); + $old_ico = mysql_fetch_array( + mysql_query( + 'SELECT `id` FROM `users_ico` WHERE `uid` = "' . mysql_real_escape_string( + $uid + ) . '" AND (`endTime` > "' . time( + ) . '" OR `endTime` = 0) AND `img` = "' . mysql_real_escape_string( + $ico_e[2] + ) . '" LIMIT 1' + ) + ); if (!isset($old_ico['id'])) { $ins = true; } else { if ($old_ico['id'] > 0) { $txt .= ', "' . $ico_e[3] . ' ()"'; - mysql_query('UPDATE `users_ico` SET `x` = `x` + 1,`endTime` = "' . mysql_real_escape_string(time() + $ico_e[1] * 60) . '" WHERE `id` = "' . $old_ico['id'] . '" LIMIT 1'); + mysql_query( + 'UPDATE `users_ico` SET `x` = `x` + 1,`endTime` = "' . mysql_real_escape_string( + time() + $ico_e[1] * 60 + ) . '" WHERE `id` = "' . $old_ico['id'] . '" LIMIT 1' + ); } else { $ins = true; } } unset($old_ico); } - if ($ins == true) { + if ($ins) { if ($ico_e[9] == 1) { - mysql_query('DELETE FROM `users_ico` WHERE `uid` = "' . mysql_real_escape_string($uid) . '" AND `img` = "' . mysql_real_escape_string($ico_e[2]) . '"'); + mysql_query( + 'DELETE FROM `users_ico` WHERE `uid` = "' . mysql_real_escape_string( + $uid + ) . '" AND `img` = "' . mysql_real_escape_string($ico_e[2]) . '"' + ); } - mysql_query('INSERT INTO `users_ico` (`uid`,`time`,`text`,`img`,`endTime`,`type`,`bonus`) VALUES ( + mysql_query( + 'INSERT INTO `users_ico` (`uid`,`time`,`text`,`img`,`endTime`,`type`,`bonus`) VALUES ( "' . mysql_real_escape_string($uid) . '", "' . time() . '", "' . mysql_real_escape_string($ico_e[3]) . '", @@ -4174,20 +4169,23 @@ class Battle "' . mysql_real_escape_string(time() + $ico_e[1] * 60) . '", "' . mysql_real_escape_string($ico_e[0]) . '", "' . mysql_real_escape_string($ico_e[6]) . '" - )'); + )' + ); $txt .= ', "' . $ico_e[3] . '"'; } } - // } $i++; } if ($txt != '') { $txt = ltrim($txt, ', '); - mysql_query("INSERT INTO `chat` (`new`,`city`,`room`,`login`,`to`,`text`,`time`,`type`,`toChat`) VALUES ('1','" . $this->users[$this->uids[$uid]]['city'] . "','" . $this->users[$this->uids[$uid]]['room'] . "','','" . $this->users[$this->uids[$uid]]['login'] . "',' : " . mysql_real_escape_string($txt) . "','-1','6','0')"); + mysql_query( + "INSERT INTO `chat` (`new`,`city`,`room`,`login`,`to`,`text`,`time`,`type`,`toChat`) VALUES ('1','" . $this->users[$this->uids[$uid]]['city'] . "','" . $this->users[$this->uids[$uid]]['room'] . "','','" . $this->users[$this->uids[$uid]]['login'] . "',' : " . mysql_real_escape_string( + $txt + ) . "','-1','6','0')" + ); } } - // if ($itm != '') { $i = 0; $txt = ''; @@ -4201,7 +4199,13 @@ class Battle $j++; } if (!isset($this->ainm[$itm_e[0]])) { - $this->ainm[$itm_e[0]] = mysql_fetch_array(mysql_query('SELECT `id`,`name` FROM `items_main` WHERE `id` = "' . mysql_real_escape_string($itm_e[0]) . '" LIMIT 1')); + $this->ainm[$itm_e[0]] = mysql_fetch_array( + mysql_query( + 'SELECT `id`,`name` FROM `items_main` WHERE `id` = "' . mysql_real_escape_string( + $itm_e[0] + ) . '" LIMIT 1' + ) + ); } if (isset($this->ainm[$itm_e[0]]['id'])) { // @@ -4215,7 +4219,11 @@ class Battle } if ($txt != '') { $txt = ltrim($txt, ', '); - mysql_query("INSERT INTO `chat` (`new`,`city`,`room`,`login`,`to`,`text`,`time`,`type`,`toChat`) VALUES ('1','" . $this->users[$this->uids[$uid]]['city'] . "','" . $this->users[$this->uids[$uid]]['room'] . "','','" . $this->users[$this->uids[$uid]]['login'] . "',' : " . mysql_real_escape_string($txt) . "','-1','6','0')"); + mysql_query( + "INSERT INTO `chat` (`new`,`city`,`room`,`login`,`to`,`text`,`time`,`type`,`toChat`) VALUES ('1','" . $this->users[$this->uids[$uid]]['city'] . "','" . $this->users[$this->uids[$uid]]['room'] . "','','" . $this->users[$this->uids[$uid]]['login'] . "',' : " . mysql_real_escape_string( + $txt + ) . "','-1','6','0')" + ); } } // @@ -4227,20 +4235,7 @@ class Battle global $u; if (!isset($this->ga[$u->info['id']][$u->info['enemy']])) { if ($this->stats[$this->uids[$u->info['id']]]['hpNow'] > 0) { - /*$us = $this->stats[$this->uids[$u->info['id']]]; - $i = 1; $no = 0; - if($us['weapon1']!=1 && $us['weapon2']==1) - { - $uz['zona'] += 1; - } - while($i<=$uz['zona']) - { - if($this->uAtc['a'][$i]==0) - { - $no = 1; - } - $i++; - }*/ + $us = $this->stats[$this->uids[$u->info['id']]]; $i = 1; $no = 0; @@ -4252,22 +4247,25 @@ class Battle $i++; } - if ($this->uAtc['b'] == 0) { $no = 1; } - if ($no == 0) { // if ($u->info['enemy'] > 0) { if (!isset($this->ga[$u->info['enemy']][$u->info['id']])) { if ($this->stats[$this->uids[$u->info['id']]]['hpNow'] >= 1 && $this->stats[$this->uids[$u->info['enemy']]]['hpNow'] >= 1) { // - $a = $this->uAtc['a'][1] . '' . $this->uAtc['a'][2] . '' . $this->uAtc['a'][3] . '' . $this->uAtc['a'][4] . '' . $this->uAtc['a'][5]; + $a = $this->uAtc['a'][1] . $this->uAtc['a'][2] . $this->uAtc['a'][3] . $this->uAtc['a'][4] . $this->uAtc['a'][5]; $b = $this->uAtc['b']; - mysql_query('DELETE FROM `battle_act` WHERE `battle` = "' . $this->info['id'] . '" AND ((`uid2` = "' . $u->info['id'] . '" AND `uid1` = "' . $u->info['enemy'] . '") OR (`uid1` = "' . $u->info['id'] . '" AND `uid2` = "' . $u->info['enemy'] . '")) LIMIT 2'); - $d = mysql_query('INSERT INTO `battle_act` (`battle`,`time`,`uid1`,`uid2`,`a1`,`b1`) VALUES ("' . $this->info['id'] . '","' . time() . '","' . $u->info['id'] . '","' . $u->info['enemy'] . '","' . $a . '","' . $b . '")'); + mysql_query( + 'DELETE FROM `battle_act` WHERE `battle` = "' . $this->info['id'] . '" AND ((`uid2` = "' . $u->info['id'] . '" AND `uid1` = "' . $u->info['enemy'] . '") OR (`uid1` = "' . $u->info['id'] . '" AND `uid2` = "' . $u->info['enemy'] . '")) LIMIT 2' + ); + $d = mysql_query( + 'INSERT INTO `battle_act` (`battle`,`time`,`uid1`,`uid2`,`a1`,`b1`) VALUES ("' . $this->info['id'] . '","' . time( + ) . '","' . $u->info['id'] . '","' . $u->info['enemy'] . '","' . $a . '","' . $b . '")' + ); if (!$d) { $this->e = ' ...'; } else { @@ -4276,17 +4274,12 @@ class Battle } } else { // - if ($this->stats[$this->uids[$u->info['id']]]['hpNow'] >= 1 && $this->stats[$this->uids[$u->info['enemy']]]['hpNow'] >= 1) { - if (isset($this->atacks[$this->ga[$u->info['enemy']][$u->info['id']]]['id'])) { - $this->atacks[$this->ga[$u->info['enemy']][$u->info['id']]]['a2'] = $this->uAtc['a'][1] . '' . $this->uAtc['a'][2] . '' . $this->uAtc['a'][3] . '' . $this->uAtc['a'][4] . '' . $this->uAtc['a'][5]; - $this->atacks[$this->ga[$u->info['enemy']][$u->info['id']]]['b2'] = $this->uAtc['b']; - $this->startAtack($this->atacks[$this->ga[$u->info['enemy']][$u->info['id']]]['id']); - } + if ($this->stats[$this->uids[$u->info['id']]]['hpNow'] >= 1 && $this->stats[$this->uids[$u->info['enemy']]]['hpNow'] >= 1 && isset($this->atacks[$this->ga[$u->info['enemy']][$u->info['id']]]['id'])) { + $this->atacks[$this->ga[$u->info['enemy']][$u->info['id']]]['a2'] = $this->uAtc['a'][1] . '' . $this->uAtc['a'][2] . '' . $this->uAtc['a'][3] . '' . $this->uAtc['a'][4] . '' . $this->uAtc['a'][5]; + $this->atacks[$this->ga[$u->info['enemy']][$u->info['id']]]['b2'] = $this->uAtc['b']; + $this->startAtack($this->atacks[$this->ga[$u->info['enemy']][$u->info['id']]]['id']); } } - } else { - // ( ) - } } else { $this->e = ' '; @@ -4294,9 +4287,6 @@ class Battle } else { $this->e = ' , ...'; } - } else { - // , - } } @@ -4304,34 +4294,34 @@ class Battle public function magicItems($uid1, $uid2, $end) { global $u, $priem, $c, $code; - if (isset($this->stats[$this->uids[$uid1]])) { - $i = 0; - while ($i < count($this->stats[$this->uids[$uid1]]['items'])) { - $itm = $this->stats[$this->uids[$uid1]]['items'][$i]; - if (isset($itm['id'])) { - $e = $u->lookStats($itm['data']); - if (isset($e['bm_a1'])) { - if ($end > 0) { - if (file_exists('../../_incl_data/class/priems/' . $e['bm_a1'] . '.end.php')) { - require('../../_incl_data/class/priems/' . $e['bm_a1'] . '.end.php'); - } - } else { - if (file_exists('../../_incl_data/class/priems/' . $e['bm_a1'] . '.php')) { - require('../../_incl_data/class/priems/' . $e['bm_a1'] . '.php'); - } + if (!isset($this->stats[$this->uids[$uid1]])) { + return; + } + $i = 0; + while ($i < count($this->stats[$this->uids[$uid1]]['items'])) { + $itm = $this->stats[$this->uids[$uid1]]['items'][$i]; + if (isset($itm['id'])) { + $e = $u->lookStats($itm['data']); + if (isset($e['bm_a1'])) { + if ($end > 0) { + if (file_exists('../../_incl_data/class/priems/' . $e['bm_a1'] . '.end.php')) { + require('../../_incl_data/class/priems/' . $e['bm_a1'] . '.end.php'); + } + } else { + if (file_exists('../../_incl_data/class/priems/' . $e['bm_a1'] . '.php')) { + require('../../_incl_data/class/priems/' . $e['bm_a1'] . '.php'); } } } - $i++; } - unset($itm); + $i++; } + unset($itm); } // public function testPog($uid, $yr) { - //$yr = round($yr*1.25); $yr2 = $yr; if ($yr > 0) { $testmana = false; @@ -4340,8 +4330,10 @@ class Battle $ypg22 = 0; while ($i < count($this->stats[$this->uids[$uid]]['set_pog2'])) { $j = $this->stats[$this->uids[$uid]]['set_pog2'][$i]; - $this->stats[$this->uids[$uid]]['effects'][$j['id'] - 1]['data'] = str_replace('add_pog2=' . $j['y'], - 'add_pog2=$', $this->stats[$this->uids[$uid]]['effects'][$j['id'] - 1]['data']); + $this->stats[$this->uids[$uid]]['effects'][$j['id'] - 1]['data'] = str_replace( + 'add_pog2=' . $j['y'], + 'add_pog2=$', $this->stats[$this->uids[$uid]]['effects'][$j['id'] - 1]['data'] + ); $dt3 = $u->lookStats($this->stats[$this->uids[$uid]]['effects'][$j['id'] - 1]['data']); if (isset($dt3['add_pog2mp'])) { $priem->minMana($uid, round(round($yr2 / 100 * (100 - $dt3['add_pog2p'])) * $dt3['add_pog2mp'])); @@ -4349,16 +4341,21 @@ class Battle $j['y'] -= $yr2; // if (isset($dt3['add_pog2p'])) { $yr2 = round($yr2 / 100 * (100 - $dt3['add_pog2p'])); - //echo '[: '.($dt3['add_pog2p']).'% '.(round(round($yr2/100*(100-$dt3['add_pog2p']))*$dt3['add_pog2mp'])).'MP]'; } unset($dt3); if ($j['y'] < 0 || ($this->stats[$this->uids[$uid]]['mpNow'] <= 0 && $dt3['add_pog2mp'] > 0)) { $dt2 = $u->lookStats($this->stats[$this->uids[$uid]]['effects'][$j['id'] - 1]['data']); if (isset($dt2['endPog']) && $dt2['endPog'] == 1) { // - $this->stats[$this->uids[$uid]]['effects'][$j['id'] - 1]['priem'] = mysql_fetch_array(mysql_query('SELECT * FROM `priems` WHERE `id` = "' . $this->stats[$this->uids[$uid]]['effects'][$j['id'] - 1]['v2'] . '" LIMIT 1')); - $this->delPriem($this->stats[$this->uids[$uid]]['effects'][$j['id'] - 1], - $this->users[$this->uids[$uid]], 4, $uid); + $this->stats[$this->uids[$uid]]['effects'][$j['id'] - 1]['priem'] = mysql_fetch_array( + mysql_query( + 'SELECT * FROM `priems` WHERE `id` = "' . $this->stats[$this->uids[$uid]]['effects'][$j['id'] - 1]['v2'] . '" LIMIT 1' + ) + ); + $this->delPriem( + $this->stats[$this->uids[$uid]]['effects'][$j['id'] - 1], + $this->users[$this->uids[$uid]], 4, $uid + ); $this->stats[$this->uids[$uid]]['effects'][$j['id'] - 1] = 'delete'; } unset($dt2); @@ -4367,11 +4364,13 @@ class Battle } $this->stats[$this->uids[$uid]]['set_pog'][$i]['y'] = $j['y']; - $this->stats[$this->uids[$uid]]['effects'][$j['id'] - 1]['data'] = str_replace('add_pog2=$', - 'add_pog2=' . $j['y'], $this->stats[$this->uids[$uid]]['effects'][$j['id'] - 1]['data']); - $upd = mysql_query('UPDATE `eff_users` SET `data` = "' . $this->stats[$this->uids[$uid]]['effects'][$j['id'] - 1]['data'] . '" WHERE `id` = "' . $this->stats[$this->uids[$uid]]['effects'][$j['id'] - 1]['id'] . '" LIMIT 1'); - if ($upd) { - } + $this->stats[$this->uids[$uid]]['effects'][$j['id'] - 1]['data'] = str_replace( + 'add_pog2=$', + 'add_pog2=' . $j['y'], $this->stats[$this->uids[$uid]]['effects'][$j['id'] - 1]['data'] + ); + $upd = mysql_query( + 'UPDATE `eff_users` SET `data` = "' . $this->stats[$this->uids[$uid]]['effects'][$j['id'] - 1]['data'] . '" WHERE `id` = "' . $this->stats[$this->uids[$uid]]['effects'][$j['id'] - 1]['id'] . '" LIMIT 1' + ); $i++; } } @@ -4385,12 +4384,14 @@ class Battle public function testPogB($uid, $yr, $pliid, $test = 0) { - //$yr = round($yr*1.25); $yr2 = $yr; - $checktuman = mysql_fetch_array(mysql_query('SELECT * FROM `eff_users` WHERE `uid` = "' . $uid . '" + $checktuman = mysql_fetch_array( + mysql_query( + 'SELECT * FROM `eff_users` WHERE `uid` = "' . $uid . '" AND (`v2` = 273 OR `v2` = 286 OR `v2` = 287 OR `v2` = 288) - AND `delete` =0 LIMIT 1')); // - //if ( !isset($checktuman['id'])) + AND `delete` =0 LIMIT 1' + ) + ); // if ($yr > 0 && !isset($checktuman['id'])) { $testmana = false; global $u, $priem; @@ -4399,28 +4400,27 @@ class Battle while ($i < count($this->stats[$this->uids[$uid]]['set_pog2'])) { $j = $this->stats[$this->uids[$uid]]['set_pog2'][$i]; if ($this->stats[$this->uids[$uid]]['effects'][$j['id'] - 1]['id'] == $pliid || $test == 1) { - $this->stats[$this->uids[$uid]]['effects'][$j['id'] - 1]['data'] = str_replace('add_pog2=' . $j['y'], - 'add_pog2=$', $this->stats[$this->uids[$uid]]['effects'][$j['id'] - 1]['data']); + $this->stats[$this->uids[$uid]]['effects'][$j['id'] - 1]['data'] = str_replace( + 'add_pog2=' . $j['y'], + 'add_pog2=$', $this->stats[$this->uids[$uid]]['effects'][$j['id'] - 1]['data'] + ); $dt3 = $u->lookStats($this->stats[$this->uids[$uid]]['effects'][$j['id'] - 1]['data']); - // $dt30 = 0; $dt30 = floor($j['y'] / $yr2 * 100); - // - //echo '['.$j['y'].'|'.$dt3['add_pog2'].'|'.$yr2.' -> '.$dt30.'/'.$dt3['add_pog2p'].'] '; - // if ($dt30 < $dt3['add_pog2p']) { $dt3['add_pog2p'] = $dt30; } - // unset($dt30); - // if (isset($dt3['add_pog2mp'])) { - if ((round(round($yr2 / 100 * (100 - $dt3['add_pog2p'])) * $dt3['add_pog2mp'])) > $this->stats[$this->uids[$uid]]['mpNow']) { + if ((round( + round($yr2 / 100 * (100 - $dt3['add_pog2p'])) * $dt3['add_pog2mp'] + )) > $this->stats[$this->uids[$uid]]['mpNow']) { // , % - $j['yhj'] = $this->stats[$this->uids[$uid]]['mpNow'] / (round(round($yr2 / 100 * (100 - $dt3['add_pog2p'])) * $dt3['add_pog2mp'])) * 100; + $j['yhj'] = $this->stats[$this->uids[$uid]]['mpNow'] / (round( + round($yr2 / 100 * (100 - $dt3['add_pog2p'])) * $dt3['add_pog2mp'] + )) * 100; $j['yhj'] = floor($j['yhj']); // % $dt3['add_pog2p'] = floor($dt3['add_pog2p'] / 100 * $j['yhj']); - //echo '[!]'; } if ($test == 1) { $priem->minMana($uid, round(round($yr2 / 100 * $dt3['add_pog2p']) * $dt3['add_pog2mp'])); @@ -4433,43 +4433,45 @@ class Battle if ($test == 1) { //$j['y'] -= $this->poglast[$uid]; // $j['y'] -= round($this->poglast[$uid] / 100 * $dt3['add_pog2p']); - $priem->minMana($uid, - round(round($this->poglast[$uid] / 100 * $dt3['add_pog2p']) * $dt3['add_pog2mp'])); + $priem->minMana( + $uid, + round(round($this->poglast[$uid] / 100 * $dt3['add_pog2p']) * $dt3['add_pog2mp']) + ); } if (isset($dt3['add_pog2p'])) { $yr2 = round($yr2 / 100 * (100 - $dt3['add_pog2p'])); - //echo '[: '.($dt3['add_pog2p']).'% ( '.$yr2/100*$dt3['add_pog2p'].' '.$yr2.' . ) '.(round(round($yr2/100*(100-$dt3['add_pog2p']))*$dt3['add_pog2mp'])).'MP , : '.$this->stats[$this->uids[$uid]]['mpNow'].']'; } - //unset($dt3); if ($j['y'] < 0 || ($this->stats[$this->uids[$uid]]['mpNow'] <= 0 && $dt3['add_pog2mp'] > 0)) { $dt2 = $u->lookStats($this->stats[$this->uids[$uid]]['effects'][$j['id'] - 1]['data']); if (isset($dt2['endPog']) && $dt2['endPog'] == 1) { // // - $this->stats[$this->uids[$uid]]['effects'][$j['id'] - 1]['priem'] = mysql_fetch_array(mysql_query('SELECT * FROM `priems` WHERE `id` = "' . $this->stats[$this->uids[$uid]]['effects'][$j['id'] - 1]['v2'] . '" LIMIT 1')); - $this->delPriem($this->stats[$this->uids[$uid]]['effects'][$j['id'] - 1], - $this->users[$this->uids[$uid]], 4, $uid); + $this->stats[$this->uids[$uid]]['effects'][$j['id'] - 1]['priem'] = mysql_fetch_array( + mysql_query( + 'SELECT * FROM `priems` WHERE `id` = "' . $this->stats[$this->uids[$uid]]['effects'][$j['id'] - 1]['v2'] . '" LIMIT 1' + ) + ); + $this->delPriem( + $this->stats[$this->uids[$uid]]['effects'][$j['id'] - 1], + $this->users[$this->uids[$uid]], 4, $uid + ); $this->stats[$this->uids[$uid]]['effects'][$j['id'] - 1] = 'delete'; } unset($dt2); - //$yr2 += -($j['y']); $j['y'] = 0; } $this->stats[$this->uids[$uid]]['set_pog'][$i]['y'] = $j['y']; if (isset($this->stats[$this->uids[$uid]]['effects'][$j['id'] - 1]['data'])) { - $this->stats[$this->uids[$uid]]['effects'][$j['id'] - 1]['data'] = str_replace('add_pog2=$', - 'add_pog2=' . $j['y'], $this->stats[$this->uids[$uid]]['effects'][$j['id'] - 1]['data']); - //echo '['.$j['id'].'!'.$this->stats[$this->uids[$uid]]['effects'][$j['id']-1]['id'].']'; - $upd = mysql_query('UPDATE `eff_users` SET `data` = "' . $this->stats[$this->uids[$uid]]['effects'][$j['id'] - 1]['data'] . '" WHERE `id` = "' . $this->stats[$this->uids[$uid]]['effects'][$j['id'] - 1]['id'] . '" LIMIT 1'); - } - if ($upd) { - //echo '['.$j['y'].'->'.$yr2.']'; - //echo $this->stats[$this->uids[$uid]]['effects'][$j['id']-1]['data']; + $this->stats[$this->uids[$uid]]['effects'][$j['id'] - 1]['data'] = str_replace( + 'add_pog2=$', + 'add_pog2=' . $j['y'], $this->stats[$this->uids[$uid]]['effects'][$j['id'] - 1]['data'] + ); + $upd = mysql_query( + 'UPDATE `eff_users` SET `data` = "' . $this->stats[$this->uids[$uid]]['effects'][$j['id'] - 1]['data'] . '" WHERE `id` = "' . $this->stats[$this->uids[$uid]]['effects'][$j['id'] - 1]['id'] . '" LIMIT 1' + ); } if ($j['y'] - $this->poglast[$uid] + $yr2 < 0) { - //echo '['.$yr.']'; $yr -= $yr + ($j['y'] - $this->poglast[$uid] + $yr2); - //echo '['.$this->poglast[$uid].','.$yr2.','.$j['y'].']'; $yr2 = $yr; $i = count($this->stats[$this->uids[$uid]]['set_pog2']) + 1; } @@ -4482,62 +4484,6 @@ class Battle } - // - public function testHowRazmen($id) - { - $r = [ - 1 => 0, - 2 => 0, - ]; - if (isset($this->atacks[$id])) { - if ($this->atacks[$id]['out1'] > 0 && $this->atacks[$id]['out2'] > 0) { - // 1 - if ($this->atacks[$id]['out1'] == 100) { - // - $r[1] = -2; - } else { - // - $r[1] = -1; - } - // 2 - if ($this->atacks[$id]['out2'] == 100) { - // - $r[2] = -2; - } else { - // - $r[2] = -1; - } - } elseif ($this->atacks[$id]['out1'] > 0) { - // 1 - if ($this->atacks[$id]['out1'] == 100) { - // - $r[1] = -2; - } else { - // - $r[1] = -1; - } - // 2 - $r[2] = 1; - } elseif ($this->atacks[$id]['out2'] > 0) { - // 2 - if ($this->atacks[$id]['out2'] == 100) { - // - $r[2] = -2; - } else { - // - $r[2] = -1; - } - // 1 - $r[1] = 1; - } else { - // 1 2 , 2 1 - $r[1] = 1; - $r[2] = 1; - } - } - return $r; - } - // . public function newRazmen($id, $at = null) { @@ -4547,13 +4493,11 @@ class Battle if ($this->atacks[$id]['out1'] == 0) { $at[1] = $this->usersTestAtack($id, $uid1, $uid2); } else { - //echo '['. $this->users[$this->uids[$uid1]]['login'] .' ]'; $at[1] = [0]; } if ($this->atacks[$id]['out2'] == 0) { $at[2] = $this->usersTestAtack($id, $uid2, $uid1); } else { - //echo '['. $this->users[$this->uids[$uid2]]['login'] .' ]'; $at[2] = [0]; } @@ -4561,7 +4505,7 @@ class Battle } //1 2 - public function usersTestAtack($id, $uid1, $uid2) + public function usersTestAtack($id, $uid1, $uid2): array { $r = []; $block = [ @@ -4600,7 +4544,6 @@ class Battle } if ($this->atacks[$id]['out' . $a] == 0) { while ($i <= $this->stats[$this->uids[$uid2]]['zonb']) { - //echo '{'.$j.'}'; $block[$j] = 1; $j++; if ($j > 5 || $j < 1) { @@ -4632,7 +4575,7 @@ class Battle } // - public function testRazmenblock1($id, $uid1, $uid2, $atack) + public function testRazmenblock1($id, $uid1, $uid2, $atack): bool { $r = false; // @@ -4644,7 +4587,6 @@ class Battle } if ($this->atacks[$id]['out2'] == 0) { while ($i <= $this->stats[$this->uids[$uid2]]['zonb']) { - //echo '{'.$j.'}'; $block[$j] = 1; $j++; if ($j > 5 || $j < 1) { @@ -4655,44 +4597,11 @@ class Battle } // if ($atack > 0) { - if ($block[$atack] == 1) { - // - // , - $r = true; - } else { - // - // , - $r = false; - } + $r = $block[$atack] == 1; } return $r; } - // . () - public function firstRazmen($id, $at) - { - $uid1 = $this->atacks[$id]['uid1']; - $uid2 = $this->atacks[$id]['uid2']; - - $i = 1; - while ($i <= 2) { - if ($i == 1) { - $u1 = ${'uid1'}; - $u2 = ${'uid2'}; - } else { - $u1 = ${'uid2'}; - $u2 = ${'uid1'}; - } - - // - - - $i++; - } - - return $at; - } - // public function yhod_user($uid1, $uid2, $type) { @@ -4745,7 +4654,7 @@ class Battle $r = $type; } } - if ($rand_user != false && count($rand_user) > 0) { + if ($rand_user && count($rand_user) > 0) { $r = $rand_user[rand(0, (count($rand_user) - 1))]; } $this->import_user = $r; @@ -4760,7 +4669,7 @@ class Battle { global $u; - if ($pat == true) { + if ($pat) { $pat = $at; $at = $pat['p']; } else { @@ -4771,11 +4680,15 @@ class Battle $uid2 = $this->atacks[$id]['uid2']; if ($this->stats[$this->uids[$this->atacks[$id]['uid1']]]['yhod'] > 0) { - $uid1 = $this->yhod_user($this->atacks[$id]['uid2'], $this->atacks[$id]['uid1'], - $this->stats[$this->uids[$this->atacks[$id]['uid1']]]['yhod']); + $uid1 = $this->yhod_user( + $this->atacks[$id]['uid2'], $this->atacks[$id]['uid1'], + $this->stats[$this->uids[$this->atacks[$id]['uid1']]]['yhod'] + ); } elseif ($this->stats[$this->uids[$this->atacks[$id]['uid2']]]['yhod'] > 0) { - $uid2 = $this->yhod_user($this->atacks[$id]['uid1'], $this->atacks[$id]['uid2'], - $this->stats[$this->uids[$this->atacks[$id]['uid2']]]['yhod']); + $uid2 = $this->yhod_user( + $this->atacks[$id]['uid1'], $this->atacks[$id]['uid2'], + $this->stats[$this->uids[$this->atacks[$id]['uid2']]]['yhod'] + ); } $i = 1; @@ -4793,78 +4706,67 @@ class Battle } // (u2) (u1) - //print_r( $at[$i] ); $j = 0; $wp01 = 3; $k01 = 0; if ($rjd > 0) { $j = $rjd - 1; } - while ($j < count($at[$a]['atack']) && $j < 8) { - // , - if ($k01 == 0 && isset($this->stats[$this->uids[$u1]]['wp3id'])) { - // - $wp01 = 3; - $k01 = 1; - } else { - // - if (isset($this->stats[$this->uids[$u1]]['wp14id']) && $this->stats[$this->uids[$u1]]['items'][$this->stats[$this->uids[$u1]]['wp14id']]['type'] != 13) { - $wp01 = 14; + if (is_array($at[$a]['atack'])) { + while ($j < count($at[$a]['atack']) && $j < 8) { + // , + if ($k01 == 0 && isset($this->stats[$this->uids[$u1]]['wp3id'])) { + // + $wp01 = 3; + $k01 = 1; } else { - if (isset($this->stats[$this->uids[$u1]]['wp3id'])) { - $wp01 = 3; + // + if (isset($this->stats[$this->uids[$u1]]['wp14id']) && $this->stats[$this->uids[$u1]]['items'][$this->stats[$this->uids[$u1]]['wp14id']]['type'] != 13) { + $wp01 = 14; } else { - // - $wp01 = 3; } + $k01 = 0; } - $k01 = 0; - } - $witm01 = 0; - $witm_type01 = 0; - if ($wp01 > 0) { + $witm01 = 0; + $witm_type01 = 0; $witm01 = $this->stats[$this->uids[$u1]]['items'][$this->stats[$this->uids[$u1]]['wp' . $wp01 . 'id']]; $witm_data01 = $u->lookStats($witm01['data']); - //$r['wt'] = $witm['type']; - } - // - if ($at[$a]['atack'][$j][2] == $v) { - //if( $wp01 > 0 && $witm01['type'] == 20 ) { - // $tyv = $this->mfs( 2 , array( 'mf' => $this->stats[$this->uids[$u2]]['m4']*1.25 , 'amf' => $this->stats[$this->uids[$u1]]['m5'] + $witm_data01['sv_m5'] ) ); - //}else{ - $tyv = $this->mfs(2, [ - 'u1' => $u1, - 'u2' => $u2, - 'mf' => $this->stats[$this->uids[$u2]]['m4'], - 'amf' => (int)$this->stats[$this->uids[$u2]]['m15'], - 'smf' => ($this->stats[$this->uids[$u1]]['m5'] + $witm_data01['sv_m5']), - 'asmf' => $this->stats[$this->uids[$u1]]['m21'], - ], $this->users[$this->uids[$u1]]['level'], $this->users[$this->uids[$u2]]['level']); - //} - if ($tyv == 1 && $this->atacks[$id]['out' . $b] == 0) { - //, :) - $this->stats[$this->uids[$u1]]['nopryh'] = floor(0 + (int)$this->stats[$this->uids[$u1]]['nopryh']); - if (!isset($this->stats[$this->uids[$u1]]['nopryh']) || $this->stats[$this->uids[$u1]]['nopryh'] <= 0) { - $at[$a]['atack'][$j][1] = 2; - } else { - $this->stats[$this->uids[$u1]]['nopryh']--; - $this->stats[$this->uids[$u1]]['nopryh_act']++; + if ($at[$a]['atack'][$j][2] == $v) { + $tyv = $this->mfs( + 2, [ + 'u1' => $u1, + 'u2' => $u2, + 'mf' => $this->stats[$this->uids[$u2]]['m4'], + 'amf' => (int)$this->stats[$this->uids[$u2]]['m15'], + 'smf' => ($this->stats[$this->uids[$u1]]['m5'] + $witm_data01['sv_m5']), + 'asmf' => $this->stats[$this->uids[$u1]]['m21'], + ], $this->users[$this->uids[$u1]]['level'], $this->users[$this->uids[$u2]]['level'] + ); + if ($tyv == 1 && $this->atacks[$id]['out' . $b] == 0) { + //, :) + $this->stats[$this->uids[$u1]]['nopryh'] = floor( + 0 + (int)$this->stats[$this->uids[$u1]]['nopryh'] + ); + if (!isset($this->stats[$this->uids[$u1]]['nopryh']) || $this->stats[$this->uids[$u1]]['nopryh'] <= 0) { + $at[$a]['atack'][$j][1] = 2; + } else { + $this->stats[$this->uids[$u1]]['nopryh']--; + $this->stats[$this->uids[$u1]]['nopryh_act']++; + } } } + $j++; } - $j++; } - $i++; } unset($witm01, $witm_type01, $wp01, $k01); - if (isset($pat) && $pat != false) { + if (isset($pat) && $pat) { $pat['p'] = $at; $at = $pat; } - return $at; } @@ -4872,8 +4774,7 @@ class Battle public function mf2Razmen($id, $at, $v, $pat = false, $rjd = 0) { global $u; - - if ($pat == true) { + if ($pat) { $pat = $at; $at = $pat['p']; } else { @@ -4884,11 +4785,15 @@ class Battle $uid2 = $this->atacks[$id]['uid2']; if ($this->stats[$this->uids[$this->atacks[$id]['uid1']]]['yhod'] > 0) { - $uid1 = $this->yhod_user($this->atacks[$id]['uid2'], $this->atacks[$id]['uid1'], - $this->stats[$this->uids[$this->atacks[$id]['uid1']]]['yhod']); + $uid1 = $this->yhod_user( + $this->atacks[$id]['uid2'], $this->atacks[$id]['uid1'], + $this->stats[$this->uids[$this->atacks[$id]['uid1']]]['yhod'] + ); } elseif ($this->stats[$this->uids[$this->atacks[$id]['uid2']]]['yhod'] > 0) { - $uid2 = $this->yhod_user($this->atacks[$id]['uid1'], $this->atacks[$id]['uid2'], - $this->stats[$this->uids[$this->atacks[$id]['uid2']]]['yhod']); + $uid2 = $this->yhod_user( + $this->atacks[$id]['uid1'], $this->atacks[$id]['uid2'], + $this->stats[$this->uids[$this->atacks[$id]['uid2']]]['yhod'] + ); } $i = 1; @@ -4906,70 +4811,62 @@ class Battle } // (u1) (u2) - //print_r( $at[$i] ); $j = 0; $wp01 = 0; $k01 = 0; if ($rjd > 0) { $j = $rjd - 1; } - while ($j < count($at[$a]['atack']) && $j <= 8) { - // , - if ($k01 == 0 && isset($this->stats[$this->uids[$u1]]['wp3id'])) { - // - $wp01 = 3; - $k01 = 1; - } else { - // - if (isset($this->stats[$this->uids[$u1]]['wp14id']) && $this->stats[$this->uids[$u1]]['items'][$this->stats[$this->uids[$u1]]['wp14id']]['type'] != 13) { - $wp01 = 14; + + if (is_array($at[$a]['atack'])) { + while ($j < count($at[$a]['atack']) && $j <= 8) { + // , + if ($k01 == 0 && isset($this->stats[$this->uids[$u1]]['wp3id'])) { + // + $wp01 = 3; + $k01 = 1; } else { - if (isset($this->stats[$this->uids[$u1]]['wp3id'])) { - $wp01 = 3; + // + if (isset($this->stats[$this->uids[$u1]]['wp14id']) && $this->stats[$this->uids[$u1]]['items'][$this->stats[$this->uids[$u1]]['wp14id']]['type'] != 13) { + $wp01 = 14; } else { - // $wp01 = 3; } + $k01 = 0; } - $k01 = 0; - } - $witm01 = 0; - $witm_type01 = 0; - if ($wp01 > 0) { + $witm01 = 0; + $witm_type01 = 0; $witm01 = $this->stats[$this->uids[$u1]]['items'][$this->stats[$this->uids[$u1]]['wp' . $wp01 . 'id']]; $witm_data01 = $u->lookStats($witm01['data']); - //$r['wt'] = $witm['type']; - } - // - //if( $at[$a]['atack'][$j][2] == $v ) { - if ($this->mfs(1, [ - 'u1' => $u1, - 'u2' => $u2, - 'mf' => $this->stats[$this->uids[$u1]]['m1'] + $witm_data01['sv_m1'], - 'amf' => $this->stats[$this->uids[$u1]]['m14'], - 'smf' => $this->stats[$this->uids[$u2]]['m2'], - 'aamf1' => (int)$this->stats[$this->uids[$u2]]['enemy_am1'], - ], $this->users[$this->uids[$u1]]['level'], $this->users[$this->uids[$u2]]['level']) == 1) { - //, :) - if ($at[$a]['atack'][$j][1] == 3) { - // - $at[$a]['atack'][$j][1] = 4; // - } elseif ($at[$a]['atack'][$j][1] != 2 && $at[$a]['atack'][$j][1] != 6 && $at[$a]['atack'][$j][1] != 7 && $at[$a]['atack'][$j][1] != 8) { - // - $at[$a]['atack'][$j][1] = 5; - } else { - $at[$a]['atack'][$j][1] = 1; + if ($this->mfs( + 1, [ + 'u1' => $u1, + 'u2' => $u2, + 'mf' => $this->stats[$this->uids[$u1]]['m1'] + $witm_data01['sv_m1'], + 'amf' => $this->stats[$this->uids[$u1]]['m14'], + 'smf' => $this->stats[$this->uids[$u2]]['m2'], + 'aamf1' => (int)$this->stats[$this->uids[$u2]]['enemy_am1'], + ], $this->users[$this->uids[$u1]]['level'], $this->users[$this->uids[$u2]]['level'] + ) == 1) { + //, :) + if ($at[$a]['atack'][$j][1] == 3) { + // + $at[$a]['atack'][$j][1] = 4; // + } elseif ($at[$a]['atack'][$j][1] != 2 && $at[$a]['atack'][$j][1] != 6 && $at[$a]['atack'][$j][1] != 7 && $at[$a]['atack'][$j][1] != 8) { + // + $at[$a]['atack'][$j][1] = 5; + } else { + $at[$a]['atack'][$j][1] = 1; + } } + $j++; } - //} - $j++; } - $i++; } unset($witm01, $witm_type01, $k01, $wp01); - if (isset($pat) && $pat != false) { + if (isset($pat) && $pat) { $pat['p'] = $at; $at = $pat; } @@ -4980,7 +4877,7 @@ class Battle // public function mf3Razmen($id, $at, $v, $pat = false, $rjd = 0) { - if ($pat == true) { + if ($pat) { $pat = $at; $at = $pat['p']; } else { @@ -4991,11 +4888,15 @@ class Battle $uid2 = $this->atacks[$id]['uid2']; if ($this->stats[$this->uids[$this->atacks[$id]['uid1']]]['yhod'] > 0) { - $uid1 = $this->yhod_user($this->atacks[$id]['uid2'], $this->atacks[$id]['uid1'], - $this->stats[$this->uids[$this->atacks[$id]['uid1']]]['yhod']); + $uid1 = $this->yhod_user( + $this->atacks[$id]['uid2'], $this->atacks[$id]['uid1'], + $this->stats[$this->uids[$this->atacks[$id]['uid1']]]['yhod'] + ); } elseif ($this->stats[$this->uids[$this->atacks[$id]['uid2']]]['yhod'] > 0) { - $uid2 = $this->yhod_user($this->atacks[$id]['uid1'], $this->atacks[$id]['uid2'], - $this->stats[$this->uids[$this->atacks[$id]['uid2']]]['yhod']); + $uid2 = $this->yhod_user( + $this->atacks[$id]['uid1'], $this->atacks[$id]['uid2'], + $this->stats[$this->uids[$this->atacks[$id]['uid2']]]['yhod'] + ); } $i = 1; @@ -5013,37 +4914,42 @@ class Battle } // (u2) (u1) - //print_r( $at[$i] ); $j = 0; if ($rjd > 0) { $j = $rjd - 1; } - while ($j < count($at[$a]['atack']) && $j < 8) { - // , - if ((!isset($this->stats[$this->uids[$u2]]['no_pr1']) || $this->stats[$this->uids[$u2]]['no_pr1'] == 0) && $at[$a]['atack'][$j][2] == $v) { - if ($this->mfs(3, [ - 'u1' => $u1, - 'u2' => $u2, - '1' => $this->stats[$this->uids[$u2]]['m7'], - '2' => $this->stats[$this->uids[$u1]]['m7'], - ], $this->users[$this->uids[$u1]]['level'], - $this->users[$this->uids[$u2]]['level']) == 1 && $this->atacks[$id]['out' . $b] == 0) { - //, :) - $this->stats[$this->uids[$u1]]['nopryh'] = floor(0 + (int)$this->stats[$this->uids[$u1]]['nopryh']); - if ((!isset($this->stats[$this->uids[$u1]]['nopryh']) || $this->stats[$this->uids[$u1]]['nopryh'] == 0) && $this->stats[$this->uids[$u1]]['nopryh_act'] < 1) { - $at[$a]['atack'][$j][1] = 6; - $this->stats[$this->uids[$u1]]['nopryh']--; - $this->stats[$this->uids[$u1]]['nopryh_act']++; + + if (is_array($at[$a]['atack'])) { + while ($j < count($at[$a]['atack']) && $j < 8) { + // , + if ((!isset($this->stats[$this->uids[$u2]]['no_pr1']) || $this->stats[$this->uids[$u2]]['no_pr1'] == 0) && $at[$a]['atack'][$j][2] == $v) { + if ($this->mfs( + 3, [ + 'u1' => $u1, + 'u2' => $u2, + '1' => $this->stats[$this->uids[$u2]]['m7'], + '2' => $this->stats[$this->uids[$u1]]['m7'], + ], $this->users[$this->uids[$u1]]['level'], + $this->users[$this->uids[$u2]]['level'] + ) == 1 && $this->atacks[$id]['out' . $b] == 0) { + //, :) + $this->stats[$this->uids[$u1]]['nopryh'] = floor( + 0 + (int)$this->stats[$this->uids[$u1]]['nopryh'] + ); + if ((!isset($this->stats[$this->uids[$u1]]['nopryh']) || $this->stats[$this->uids[$u1]]['nopryh'] == 0) && $this->stats[$this->uids[$u1]]['nopryh_act'] < 1) { + $at[$a]['atack'][$j][1] = 6; + $this->stats[$this->uids[$u1]]['nopryh']--; + $this->stats[$this->uids[$u1]]['nopryh_act']++; + } } } + $j++; } - $j++; } - $i++; } - if (isset($pat) && $pat != false) { + if (isset($pat) && $pat) { $pat['p'] = $at; $at = $pat; } @@ -5054,7 +4960,7 @@ class Battle // public function mf4Razmen($id, $at, $v, $pat = false, $rjd = 0) { - if ($pat == true) { + if ($pat) { $pat = $at; $at = $pat['p']; } else { @@ -5065,11 +4971,15 @@ class Battle $uid2 = $this->atacks[$id]['uid2']; if ($this->stats[$this->uids[$this->atacks[$id]['uid1']]]['yhod'] > 0) { - $uid1 = $this->yhod_user($this->atacks[$id]['uid2'], $this->atacks[$id]['uid1'], - $this->stats[$this->uids[$this->atacks[$id]['uid1']]]['yhod']); + $uid1 = $this->yhod_user( + $this->atacks[$id]['uid2'], $this->atacks[$id]['uid1'], + $this->stats[$this->uids[$this->atacks[$id]['uid1']]]['yhod'] + ); } elseif ($this->stats[$this->uids[$this->atacks[$id]['uid2']]]['yhod'] > 0) { - $uid2 = $this->yhod_user($this->atacks[$id]['uid1'], $this->atacks[$id]['uid2'], - $this->stats[$this->uids[$this->atacks[$id]['uid2']]]['yhod']); + $uid2 = $this->yhod_user( + $this->atacks[$id]['uid1'], $this->atacks[$id]['uid2'], + $this->stats[$this->uids[$this->atacks[$id]['uid2']]]['yhod'] + ); } $i = 1; @@ -5087,21 +4997,18 @@ class Battle } if ($this->stats[$this->uids[$u2]]['sheld1'] > 0) { // (u2) (u1) - //print_r( $at[$i] ); $j = 0; while ($j < count($at[$a]['atack']) && $j < 8) { // , if ($at[$a]['atack'][$j][2] == $v) { - if ($this->mfs(5, + if ($this->mfs( + 5, ($this->stats[$this->uids[$u2]]['m8'] / 2 + $this->stats[$this->uids[$u2]]['m18']), $this->users[$this->uids[$u1]]['level'], - $this->users[$this->uids[$u2]]['level']) == 1 && $this->atacks[$id]['out' . $b] == 0) { + $this->users[$this->uids[$u2]]['level'] + ) == 1 && $this->atacks[$id]['out' . $b] == 0) { // , :) - /*if( !isset($this->stats[$this->uids[$u1]]['nopryh']) || $this->stats[$this->uids[$u1]]['nopryh'] == 0 ) {*/ $at[$a]['atack'][$j][1] = 7; - // $this->stats[$this->uids[$u1]]['nopryh']--; - // $this->stats[$this->uids[$u1]]['nopryh_act']++; - // } } } $j++; @@ -5110,7 +5017,7 @@ class Battle $i++; } - if (isset($pat) && $pat != false) { + if (isset($pat) && $pat) { $pat['p'] = $at; $at = $pat; } @@ -5127,11 +5034,15 @@ class Battle $uid2 = $this->atacks[$id]['uid2']; if ($this->stats[$this->uids[$this->atacks[$id]['uid1']]]['yhod'] > 0) { - $uid1 = $this->yhod_user($this->atacks[$id]['uid2'], $this->atacks[$id]['uid1'], - $this->stats[$this->uids[$this->atacks[$id]['uid1']]]['yhod']); + $uid1 = $this->yhod_user( + $this->atacks[$id]['uid2'], $this->atacks[$id]['uid1'], + $this->stats[$this->uids[$this->atacks[$id]['uid1']]]['yhod'] + ); } elseif ($this->stats[$this->uids[$this->atacks[$id]['uid2']]]['yhod'] > 0) { - $uid2 = $this->yhod_user($this->atacks[$id]['uid1'], $this->atacks[$id]['uid2'], - $this->stats[$this->uids[$this->atacks[$id]['uid2']]]['yhod']); + $uid2 = $this->yhod_user( + $this->atacks[$id]['uid1'], $this->atacks[$id]['uid2'], + $this->stats[$this->uids[$this->atacks[$id]['uid2']]]['yhod'] + ); } $i = 1; @@ -5149,7 +5060,6 @@ class Battle } // (u2) (u1) - //print_r( $at[$i] ); $j = 0; if ($rjd > 0) { $j = $rjd - 1; @@ -5158,22 +5068,22 @@ class Battle // , if ($at[$a]['atack'][$j][2] == $v) { if ($at[$a]['atack'][$j][1] == 2) { - if ($this->mfs(6, [ + if ($this->mfs( + 6, [ 'u1' => $u1, 'u2' => $u2, 'a' => $this->stats[$this->uids[$u2]]['m6'], 'b' => $this->stats[$this->uids[$u1]]['m6'], - ], $this->users[$this->uids[$u1]]['level'], $this->users[$this->uids[$u2]]['level']) == 1) { + ], $this->users[$this->uids[$u1]]['level'], $this->users[$this->uids[$u2]]['level'] + ) == 1) { //, :) $at[$a]['atack'][$j][1] = 8; $rnd_a = rand(1, 5); $rjd = count($at[$b]['atack']); - if ($this->testRazmenblock1($id, $u2, $u1, $rnd_a) == false) { + if (!$this->testRazmenblock1($id, $u2, $u1, $rnd_a)) { $at[$b]['atack'][] = [$rnd_a, 1, 0, 1]; // 3 , 0 , 1 - //$at[$b]['atack'][] = $at[$b]['atack'][(count($at[$b]['atack'])-1)]; // 3 , 0 , 1 } else { $at[$b]['atack'][] = [$rnd_a, 3, 0, 1]; // 3 , 0 , 1 - //$at[$b]['atack'][] = $at[$b]['atack'][(count($at[$b]['atack'])-1)]; // 3 , 0 , 1 } $at = $this->contrRestart($id, $at, 1, $rjd); } @@ -5181,96 +5091,13 @@ class Battle } $j++; } - $i++; } - return $at; } - // ( ) - public function seeRazmen($id, $at) - { - $r = ''; - - $uid1 = $this->atacks[$id]['uid1']; - $uid2 = $this->atacks[$id]['uid2']; - - $i = 1; - while ($i <= 2) { - if ($i == 1) { - $a = 1; - $b = 2; - $u1 = ${'uid1'}; - $u2 = ${'uid2'}; - } else { - $a = 2; - $b = 1; - $u1 = ${'uid2'}; - $u2 = ${'uid1'}; - } - - if (!isset($at[$a]['atack'])) { - $r .= 'u1 '; - } else { - $j = 0; - while ($j < count($at[$a]['atack']) && $j < 8) { - if ($at[$a]['atack'][$j][1] == 1) { - //u1 u2 - $r .= 'u1 u2'; - } elseif ($at[$a]['atack'][$j][1] == 2) { - //u2 u1 - $r .= 'u2 u1'; - } elseif ($at[$a]['atack'][$j][1] == 3) { - //u2 u1 - $r .= 'u2 u1'; - } elseif ($at[$a]['atack'][$j][1] == 4) { - //u1 u2 - $r .= 'u1 u2 '; - } elseif ($at[$a]['atack'][$j][1] == 5) { - //u1 u2 - $r .= 'u1 u2'; - } elseif ($at[$a]['atack'][$j][1] == 6) { - //u2 u1 - $r .= 'u2 u1'; - } elseif ($at[$a]['atack'][$j][1] == 7) { - //u2 u1 - $r .= 'u2 u1'; - } elseif ($at[$a]['atack'][$j][1] == 8) { - //u2 u1 - $r .= 'u2 u1 '; - } - if ($at[$a]['atack'][$j][3] == 1) { - $r .= ' ()'; - } - if (isset($at[$a]['atack'][$j]['yron'])) { - $r .= ' ' . $at[$a]['atack'][$j]['yron']['r'] . ''; - if ($at[$a]['atack'][$j]['yron']['w'] == 3) { - $r .= ' ( )'; - } elseif ($at[$a]['atack'][$j]['yron']['w'] == 14) { - $r .= ' ( )'; - } - } - if (isset($at[$a]['atack'][$j]['yron']['hp'])) { - $r .= ' [' . floor($at[$a]['atack'][$j]['yron']['hp']) . '/' . floor($at[$a]['atack'][$j]['yron']['hpAll']) . ']'; - } - $r .= ',
'; - $j++; - } - } - - $r = str_replace('u1', '' . $this->users[$this->uids[$u1]]['login'] . '', $r); - $r = str_replace('u2', '' . $this->users[$this->uids[$u2]]['login'] . '', $r); - - $r .= '|
'; - $i++; - } - - return $r; - } - // - public function addlt($a, $id, $s, $rnd = null) + public function addlt($a, $id, $s, $rnd = null): string { global $log_text; if ($rnd === null) { @@ -5283,7 +5110,8 @@ class Battle public function addNewStat($stat) { if (isset($stat[1])) { - mysql_query('INSERT INTO `battle_stat` + mysql_query( + 'INSERT INTO `battle_stat` ( `battle`,`uid1`,`uid2`,`time`,`type`,`a`,`b`,`ma`,`mb`,`type_a`,`type_b`,`yrn`,`yrn_krit`,`tm1`,`tm2` ) VALUES ( "' . $this->info['id'] . '", "' . $stat[1]['uid1'] . '", @@ -5300,10 +5128,12 @@ class Battle "' . $stat[1]['yrn_krit'] . '", "' . $stat[1]['tm1'] . '", "' . $stat[1]['tm2'] . '" - )'); + )' + ); } if (isset($stat[2])) { - mysql_query('INSERT INTO `battle_stat` + mysql_query( + 'INSERT INTO `battle_stat` ( `battle`,`uid1`,`uid2`,`time`,`type`,`a`,`b`,`ma`,`mb`,`type_a`,`type_b`,`yrn`,`yrn_krit`,`tm1`,`tm2` ) VALUES ( "' . $this->info['id'] . '", "' . $stat[2]['uid1'] . '", @@ -5320,7 +5150,8 @@ class Battle "' . $stat[2]['yrn_krit'] . '", "' . $stat[2]['tm1'] . '", "' . $stat[2]['tm2'] . '" - )'); + )' + ); } } @@ -5329,15 +5160,18 @@ class Battle // public function asr($u1, $u2, $type) { - mysql_query('INSERT INTO `battle_static` ( + mysql_query( + 'INSERT INTO battle_static ( `uid1`,`uid2`,`hod`,`type`,`time`,`bid` ) VALUES ( - "' . $u1 . '","' . $u2 . '","' . $this->hodID . '","' . $type . '","' . time() . '","' . $this->info['id'] . '" - )'); + "' . $u1 . '","' . $u2 . '","' . $this->hodID . '","' . $type . '","' . time( + ) . '","' . $this->info['id'] . '" + )' + ); } // - public function addlogRazmen($id, $at) + public function addlogRazmen($id, $at): bool { global $u; @@ -5389,9 +5223,6 @@ class Battle ], ]; - //if( $u->info['admin'] > 0 ) { - //echo '[a: '.count($at[1]['atack']).'/'.count($at['p'][1]['atack']).', b: '.count($at[2]['atack']).'/'.count($at['p'][2]['atack']).']'; - //} $i = 1; while ($i <= 2) { @@ -5407,9 +5238,7 @@ class Battle $u2 = ${'uid1'}; } - if ($this->stats[$this->uids[$u1]]['yhod'] > 0) { - //$u1 = $u2; - } elseif ($this->stats[$this->uids[$u2]]['yhod'] > 0) { + if ($this->stats[$this->uids[$u1]]['yhod'] <= 0 && $this->stats[$this->uids[$u2]]['yhod'] > 0) { $u2 = $this->yhod_user($u1, $u2, $this->stats[$this->uids[$u2]]['yhod']); } @@ -5443,15 +5272,20 @@ class Battle } else { // if ($this->info['razdel'] == 0 && $this->info['dn_id'] == 0 && $this->info['izlom'] == 0) { - mysql_query('INSERT INTO `battle_out` (`battle`,`uid1`,`uid2`,`time`,`out`) VALUES ( + mysql_query( + 'INSERT INTO `battle_out` (`battle`,`uid1`,`uid2`,`time`,`out`) VALUES ( "' . $this->info['id'] . '","' . $u1 . '","' . $u2 . '","' . time() . '","1" - )'); + )' + ); } // if (isset($u1)) { $mas['text'] .= '{u1} .'; // - mysql_query('UPDATE `eff_users` SET `delete` = "' . time() . '" WHERE `uid` = "' . $u1 . '" AND `delete` = 0 AND `v1` = "priem" AND (`v2`=288 OR `v2`=287 OR `v2`=286 OR `v2`=273) LIMIT 1'); + mysql_query( + 'UPDATE `eff_users` SET `delete` = "' . time( + ) . '" WHERE `uid` = "' . $u1 . '" AND `delete` = 0 AND `v1` = "priem" AND (`v2`=288 OR `v2`=287 OR `v2`=286 OR `v2`=273) LIMIT 1' + ); } } $mas['text'] = '{tm1} ' . $mas['text']; @@ -5473,10 +5307,14 @@ class Battle ]; $par = [ 'zona' => '{zn2_' . $at[$a]['atack'][$j][0] . '} ', - 'kyda' => $this->lg_zon[$at[$a]['atack'][$j][0]][rand(0, - (count($this->lg_zon[$at[$a]['atack'][$j][0]]) - 1))], - 'chem' => $this->lg_itm[$wt[$at[$a]['atack'][$j]['wt']]][rand(0, - (count($this->lg_itm[$wt[$at[$a]['atack'][$j]['wt']]]) - 1))], + 'kyda' => $this->lg_zon[$at[$a]['atack'][$j][0]][rand( + 0, + (count($this->lg_zon[$at[$a]['atack'][$j][0]]) - 1) + )], + 'chem' => $this->lg_itm[$wt[$at[$a]['atack'][$j]['wt']]][rand( + 0, + (count($this->lg_itm[$wt[$at[$a]['atack'][$j]['wt']]]) - 1) + )], ]; // $this->atacks[$id]['uid_' . $u1 . '_t' . $at[$a]['atack'][$j][1]]++; @@ -5486,69 +5324,129 @@ class Battle // if ($at[$a]['atack'][$j][1] == 1) { //u1 u2 - $mas['text'] .= $par['zona'] . '{u2} ' . $this->addlt($b, 1, $s2, null) . '' . $this->addlt($b, - 2, $s2, null) . '' . $this->addlt($a, 3, $s1, null) . ' {u1} ' . $this->addlt($a, 4, - $s1, null) . '' . $this->addlt($a, 5, $s1, null) . '' . $this->addlt($a, 6, $s1, - null) . ' ' . $this->addlt(1, 7, $s1, - $at[$a]['atack'][$j]['yron']['t']) . ' ' . $par['chem'] . ' ' . $par['kyda'] . '. '; + $mas['text'] .= $par['zona'] . '{u2} ' . $this->addlt($b, 1, $s2, null) . '' . $this->addlt( + $b, + 2, $s2, null + ) . '' . $this->addlt($a, 3, $s1, null) . ' {u1} ' . $this->addlt( + $a, 4, + $s1, null + ) . '' . $this->addlt($a, 5, $s1, null) . '' . $this->addlt( + $a, 6, $s1, + null + ) . ' ' . $this->addlt( + 1, 7, $s1, + $at[$a]['atack'][$j]['yron']['t'] + ) . ' ' . $par['chem'] . ' ' . $par['kyda'] . '. '; } elseif ($at[$a]['atack'][$j][1] == 2) { //u2 u1 - $mas['text'] .= $par['zona'] . '{u1} ' . $this->addlt($a, 8, $s1, null) . '' . $this->addlt($a, - 9, $s1, null) . ' {u2} ' . $this->addlt($b, 11, $s2, - null) . ' ' . $par['chem'] . ' ' . $par['kyda'] . '. '; + $mas['text'] .= $par['zona'] . '{u1} ' . $this->addlt($a, 8, $s1, null) . '' . $this->addlt( + $a, + 9, $s1, null + ) . ' {u2} ' . $this->addlt( + $b, 11, $s2, + null + ) . ' ' . $par['chem'] . ' ' . $par['kyda'] . '. '; } elseif ($at[$a]['atack'][$j][1] == 3) { //u2 u1 - $mas['text'] .= $par['zona'] . '{u1} ' . $this->addlt($a, 8, $s1, null) . '' . $this->addlt($a, - 9, $s1, null) . ' {u2} ' . $this->addlt($b, 10, $s2, - null) . ' ' . $this->addlt(1, 7, 0, $s1, - $at[$a]['atack'][$j]['yron']['t']) . ' ' . $par['chem'] . ' ' . $par['kyda'] . '. '; + $mas['text'] .= $par['zona'] . '{u1} ' . $this->addlt($a, 8, $s1, null) . '' . $this->addlt( + $a, + 9, $s1, null + ) . ' {u2} ' . $this->addlt( + $b, 10, $s2, + null + ) . ' ' . $this->addlt( + 1, 7, 0, $s1, + $at[$a]['atack'][$j]['yron']['t'] + ) . ' ' . $par['chem'] . ' ' . $par['kyda'] . '. '; } elseif ($at[$a]['atack'][$j][1] == 4) { //u1 u2 if (isset($at[$a]['atack'][$j]['yron']['t'])) { - $mas['text'] .= $par['zona'] . '{u2} ' . $this->addlt($b, 1, $s2, - null) . '' . $this->addlt($b, 2, $s2, null) . '' . $this->addlt($a, 3, $s1, - null) . ' {u1} ' . $this->addlt($a, 4, $s1, null) . '' . $this->addlt($a, 5, $s1, - null) . ', , ' . $this->addlt($a, 6, $s1, - null) . ' ' . $this->addlt(1, 7, $s1, - $at[$a]['atack'][$j]['yron']['t']) . ' ' . $par['chem'] . ' ' . $par['kyda'] . '. '; + $mas['text'] .= $par['zona'] . '{u2} ' . $this->addlt( + $b, 1, $s2, + null + ) . '' . $this->addlt($b, 2, $s2, null) . '' . $this->addlt( + $a, 3, $s1, + null + ) . ' {u1} ' . $this->addlt($a, 4, $s1, null) . '' . $this->addlt( + $a, 5, $s1, + null + ) . ', , ' . $this->addlt( + $a, 6, $s1, + null + ) . ' ' . $this->addlt( + 1, 7, $s1, + $at[$a]['atack'][$j]['yron']['t'] + ) . ' ' . $par['chem'] . ' ' . $par['kyda'] . '. '; } } elseif ($at[$a]['atack'][$j][1] == 5) { //u1 u2 - $mas['text'] .= $par['zona'] . '{u2} ' . $this->addlt($b, 1, $s2, null) . '' . $this->addlt($b, - 2, $s2, null) . '' . $this->addlt($a, 3, $s1, null) . ' {u1} ' . $this->addlt($a, 4, - $s1, null) . '' . $this->addlt($a, 5, $s1, null) . '' . $this->addlt($a, 6, $s1, - null) . ' ' . $this->addlt(1, 7, $s1, - $at[$a]['atack'][$j]['yron']['t']) . ' ' . $par['chem'] . ' ' . $par['kyda'] . '. '; + $mas['text'] .= $par['zona'] . '{u2} ' . $this->addlt($b, 1, $s2, null) . '' . $this->addlt( + $b, + 2, $s2, null + ) . '' . $this->addlt($a, 3, $s1, null) . ' {u1} ' . $this->addlt( + $a, 4, + $s1, null + ) . '' . $this->addlt($a, 5, $s1, null) . '' . $this->addlt( + $a, 6, $s1, + null + ) . ' ' . $this->addlt( + 1, 7, $s1, + $at[$a]['atack'][$j]['yron']['t'] + ) . ' ' . $par['chem'] . ' ' . $par['kyda'] . '. '; } elseif ($at[$a]['atack'][$j][1] == 6) { //u2 u1 - $mas['text'] .= $par['zona'] . '{u1} ' . $this->addlt($a, 8, $s1, null) . '' . $this->addlt($a, + $mas['text'] .= $par['zona'] . '{u1} ' . $this->addlt($a, 8, $s1, null) . '' . $this->addlt( + $a, 9, $s1, - null) . ' {u2} ' . $this->addlt(1, + null + ) . ' {u2} ' . $this->addlt( + 1, 7, 0, $s1, - $at[$a]['atack'][$j]['yron']['t']) . ' ' . $par['chem'] . ' ' . $par['kyda'] . '. '; + $at[$a]['atack'][$j]['yron']['t'] + ) . ' ' . $par['chem'] . ' ' . $par['kyda'] . '. '; } elseif ($at[$a]['atack'][$j][1] == 7) { //u2 u1 - $mas['text'] .= $par['zona'] . '{u1} ' . $this->addlt($a, 8, $s1, null) . '' . $this->addlt($a, + $mas['text'] .= $par['zona'] . '{u1} ' . $this->addlt($a, 8, $s1, null) . '' . $this->addlt( + $a, 9, $s1, - null) . ' {u2}, , ' . $this->addlt($b, - 10, $s2, null) . ' ' . $this->addlt(1, 7, 0, $s1, - $at[$a]['atack'][$j]['yron']['t']) . ' ' . $par['chem'] . ' ' . $par['kyda'] . '. '; + null + ) . ' {u2}, , ' . $this->addlt( + $b, + 10, $s2, null + ) . ' ' . $this->addlt( + 1, 7, 0, $s1, + $at[$a]['atack'][$j]['yron']['t'] + ) . ' ' . $par['chem'] . ' ' . $par['kyda'] . '. '; } elseif ($at[$a]['atack'][$j][1] == 8) { //u2 u1 - $mas['text'] .= $par['zona'] . '{u1} ' . $this->addlt($a, 8, $s1, null) . '' . $this->addlt($a, - 9, $s1, null) . ' {u2} ' . $this->addlt($b, 11, $s2, - null) . ' ' . $par['chem'] . ' ' . $par['kyda'] . ' . '; + $mas['text'] .= $par['zona'] . '{u1} ' . $this->addlt($a, 8, $s1, null) . '' . $this->addlt( + $a, + 9, $s1, null + ) . ' {u2} ' . $this->addlt( + $b, 11, $s2, + null + ) . ' ' . $par['chem'] . ' ' . $par['kyda'] . ' . '; } $stat[$a]['type_a'] .= '' . $at[$a]['atack'][$j][1] . ''; - if ((!isset($this->stats[$this->uids[$u2]]['notravma']) || $this->stats[$this->uids[$u2]]['notravma'] == 0) && isset($at[$a]['atack'][$j]['yron']['travma']) && $at[$a]['atack'][$j]['yron']['travma'][0] > 0 && floor($at[$a]['atack'][$j]['yron']['hp']) <= 0) { - $tr_pl = mysql_fetch_array(mysql_query('SELECT `id`,`v1` FROM `eff_users` WHERE `id_eff` = 4 AND `uid` = "' . $u2 . '" AND `delete` = "0" ORDER BY `v1` DESC LIMIT 1')); + if ((!isset($this->stats[$this->uids[$u2]]['notravma']) || $this->stats[$this->uids[$u2]]['notravma'] == 0) && isset($at[$a]['atack'][$j]['yron']['travma']) && $at[$a]['atack'][$j]['yron']['travma'][0] > 0 && floor( + $at[$a]['atack'][$j]['yron']['hp'] + ) <= 0) { + $tr_pl = mysql_fetch_array( + mysql_query( + 'SELECT `id`,`v1` FROM `eff_users` WHERE `id_eff` = 4 AND `uid` = "' . $u2 . '" AND `delete` = "0" ORDER BY `v1` DESC LIMIT 1' + ) + ); if (!isset($tr_pl['id']) || $tr_pl['v1'] < 3) { //263 if (isset($tr_pl['id'])) { $at[$a]['atack'][$j]['yron']['travma'][0] = rand(($tr_pl['v1'] + 1), 3); } - $tr_pl2 = mysql_fetch_array(mysql_query('SELECT `id` FROM `eff_users` WHERE `uid` = "' . $u2 . '" AND `delete` = "0" AND `name` LIKE "% %" LIMIT 1')); + $tr_pl2 = mysql_fetch_array( + mysql_query( + 'SELECT `id` FROM `eff_users` WHERE `uid` = "' . $u2 . '" AND `delete` = "0" AND `name` LIKE "% %" LIMIT 1' + ) + ); if (!isset($tr_pl2['id']) && $at[$a]['atack'][$j]['yron']['travma'][0] <= 3) { $mas['text'] = rtrim($mas['text'], '. '); $mas['text'] .= ', '; @@ -5589,7 +5487,6 @@ class Battle } if ($at[$a]['atack'][$j][1] == 4 || $at[$a]['atack'][$j][1] == 5) { $stat[$a]['yrn_krit'] += -$at[$a]['atack'][$j]['yron']['r']; - //$stat[$a]['yrn_krit'] += $at[$a]['atack'][$j]['yron']['k']; $mas['text'] .= ' ' . $at[$a]['atack'][$j]['yron']['r'] . ''; } else { $mas['text'] .= ' ' . $at[$a]['atack'][$j]['yron']['r'] . ''; @@ -5601,26 +5498,15 @@ class Battle $at[$a]['atack'][$j]['yron']['hp'] = $at[$a]['atack'][$j]['yron']['hp'] / ($at[$a]['atack'][$j]['yron']['hpAll'] / 100); $at[$a]['atack'][$j]['yron']['hpAll'] = '100%'; } - $mas['text'] .= ' [' . floor($at[$a]['atack'][$j]['yron']['hp']) . '/' . floor($at[$a]['atack'][$j]['yron']['hpAll']) . ']'; + $mas['text'] .= ' [' . floor($at[$a]['atack'][$j]['yron']['hp']) . '/' . floor( + $at[$a]['atack'][$j]['yron']['hpAll'] + ) . ']'; } - // if ($mas['text'] != '') { $mas['text'] = '{tm1} ' . $mas['text']; } - /* - '.$mass['time'].'", - "'.$mass['battle'].'", - "'.$mass['id_hod'].'", - "'.$mass['text'].'", - "'.$mass['vars'].'", - "'.$mass['zona1'].'", - "'.$mass['zonb1'].'", - "'.$mass['zona2'].'", - "'.$mass['zonb2'].'", - "'.$mass['type'].' - */ - // - if (count($at[$a]['atack'][$j]['yron']['plog']) > 0) { + + if (is_array($at[$a]['atack'][$j]['yron']['plog'])) { $il = 0; while ($il <= count($at[$a]['atack'][$j]['yron']['plog'])) { if (isset($at[$a]['atack'][$j]['yron']['plog'][$il])) { @@ -5741,42 +5627,19 @@ class Battle $rtnglos = [-1, -2, -4, -8, -16, -32, -64, -128, -256]; } - /* - $btlstatus if( $x < 50000 ) { - // - }elseif( $x >= 50000 && $x < 100000 ) { - $r = array(25,50,' ',' '); - }elseif( $x < 150000 ) { - $r = array(50,75,' ',' '); - }elseif( $x < 200000 ) { - $r = array(75,100,' ',' '); - }elseif( $x < 250000 ) { - $r = array(100,125,' ',' '); - }elseif( $x >= 250000 ) { - $r = array(150,150,' ',' '); - } - */ if ($dies[1] == 1) { - if ($this->info['dn_id'] > 0) { - // - } else { - if ($this->users[$this->uids[$u1]]['level'] >= 4) { - $rtng1 += $rtnglos[$this->users[$this->uids[$u1]]['level'] - 4]; - $rtng2 += $rtngwin[$this->users[$this->uids[$u1]]['level'] - 4]; - } + if ($this->info['dn_id'] <= 0 && $this->users[$this->uids[$u1]]['level'] >= 4) { + $rtng1 += $rtnglos[$this->users[$this->uids[$u1]]['level'] - 4]; + $rtng2 += $rtngwin[$this->users[$this->uids[$u1]]['level'] - 4]; } // 1 2 $this->spaCheck($this->users[$this->uids[$u1]]['id']); } if ($dies[2] == 1) { - if ($this->info['dn_id'] > 0) { - // - } else { - if ($this->users[$this->uids[$u1]]['level'] >= 4) { - $rtng1 += $rtnglos[$this->users[$this->uids[$u1]]['level'] - 4]; - $rtng2 += $rtngwin[$this->users[$this->uids[$u1]]['level'] - 4]; - } + if ($this->info['dn_id'] <= 0 && $this->users[$this->uids[$u1]]['level'] >= 4) { + $rtng1 += $rtnglos[$this->users[$this->uids[$u1]]['level'] - 4]; + $rtng2 += $rtngwin[$this->users[$this->uids[$u1]]['level'] - 4]; } // 2 1 $this->spaCheck($this->stats[$this->uids[$u2]]['id']); @@ -5786,18 +5649,23 @@ class Battle if ($this->info['type'] != 564 && $this->stats[$this->uids[$u1]]['inTurnir'] == 0 && $this->stats[$this->uids[$u2]]['inTurnir'] == 0 && $this->info['dn_id'] == 0 && $this->info['izlom'] == 0) { // if ($this->users[$this->uids[$u2]]['bot'] == 0) { - mysql_query('INSERT INTO `users_reting` (`uid`,`time`,`val`,`align`,`clan`) VALUES ( - "' . $u1 . '","' . time() . '","' . $rtng1 . '","' . $this->users[$this->uids[$u1]]['align'] . '","' . $this->users[$this->uids[$u1]]['clan'] . '")'); + mysql_query( + 'INSERT INTO `users_reting` (`uid`,`time`,`val`,`align`,`clan`) VALUES ( + "' . $u1 . '","' . time( + ) . '","' . $rtng1 . '","' . $this->users[$this->uids[$u1]]['align'] . '","' . $this->users[$this->uids[$u1]]['clan'] . '")' + ); } unset($rtng); if ($this->users[$this->uids[$u1]]['bot'] == 0) { - mysql_query('INSERT INTO `users_reting` (`uid`,`time`,`val`,`align`,`clan`) VALUES ( - "' . $u2 . '","' . time() . '","' . $rtng2 . '","' . $this->users[$this->uids[$u2]]['align'] . '","' . $this->users[$this->uids[$u2]]['clan'] . '")'); + mysql_query( + 'INSERT INTO `users_reting` (`uid`,`time`,`val`,`align`,`clan`) VALUES ( + "' . $u2 . '","' . time( + ) . '","' . $rtng2 . '","' . $this->users[$this->uids[$u2]]['align'] . '","' . $this->users[$this->uids[$u2]]['clan'] . '")' + ); } } unset($rtng1, $rtng2); } - return true; } @@ -5857,25 +5725,6 @@ class Battle // public function contrRestart($id, $at, $v, $rjd = 0) { - // - /*$at['p'] = $at; - // - $at = $this->mf2Razmen($id,$at,$v,true); - // ( , ) - $at = $this->mf4Razmen($id,$at,$v,true); - // - $at = $this->mf1Razmen($id,$at,$v,true); - // - $at = $this->mf3Razmen($id,$at,$v,true); - // - //$at = $this->mf5Razmen($id,$at,$v); - // - $at = $this->yronRazmen($id,$at,true); - //$at = $this->yronRazmen($id,$at); - - $at = $at['p'];*/ - - // $at = $this->mf1Razmen($id, $at, $v, true, $rjd); // @@ -5889,34 +5738,9 @@ class Battle // $at = $this->mf2Razmen($id, $at, $v, true, $rjd); $at = $this->yronRazmen($id, $at, true, $rjd); - - return $at; } - // - /* public function contrRestart($id,$at,$v) { - // - $at['p'] = $at; - // - //$at = $this->mf2Razmen($id,$at,$v,true); - // ( , ) - $at = $this->mf4Razmen($id,$at,$v,true); - // - $at = $this->mf1Razmen($id,$at,$v,true); - // - $at = $this->mf3Razmen($id,$at,$v,true); - // - //$at = $this->mf5Razmen($id,$at,$v); - // - //$at = $this->yronRazmen($id,$at,true); - $at = $this->yronRazmen($id,$at); - - $at = $at['p']; - - return $at; - } - */ // public function yronGetrazmenStats($s, $z) @@ -5943,21 +5767,16 @@ class Battle 2 => [4, 5, 6], // 3 => [2, 4, 5, 6, 13], // 4 => [7, 16, 10, 11, 12], // - 5 => [17] // + 5 => [17], // ]; - // $zi = $zi[$z]; $i = 0; - // while ($i < count($zi)) { - // $t = $u->items['add']; $ii = 0; - // while ($ii < count($s['items'])) { if (isset($s['items'][$ii]) && $s['items'][$ii]['inOdet'] == $zi[$i]) { $po = $u->lookStats($s['items'][$ii]['data']); - // $x = 0; while ($x < count($t)) { $n = $t[$x]; @@ -5985,32 +5804,19 @@ class Battle } $x++; } - // } $ii++; } - // $i++; } - // return $s; } // . - public function yronGetrazmen($uid1, $uid2, $wp, $zona) + public function yronGetrazmen($uid1, $uid2, $wp, $zona): array { global $u; - //$oldst1 = $this->stats[$this->uids[$uid1]]; - //$oldst2 = $this->stats[$this->uids[$uid2]]; - // 1 2 - //$this->stats[$this->uids[$uid1]] = $this->yronGetrazmenStats( $this->stats[$this->uids[$uid1]] , $zona ); - //$this->stats[$this->uids[$uid2]] = $this->yronGetrazmenStats( $this->stats[$this->uids[$uid2]] , $zona ); - //$this->a_save_stats($uid1); - //$this->a_save_stats($uid2); - // - //$this->a_testing_stats($uid1,$zona); - //$this->a_testing_stats($uid2,$zona); - // + $r = [ 'y' => 0, 'r' => '--', @@ -6029,9 +5835,7 @@ class Battle $witm = $this->stats[$this->uids[$uid1]]['items'][$this->stats[$this->uids[$uid1]]['wp' . $wp . 'id']]; $witm_data = $u->lookStats($witm['data']); $witm_type = $this->weaponTx($witm); - //$r['wt'] = $witm['type']; } - //$witm_type=1; if ($witm_type == 0 || $witm_type == 12) { $witm_type2 = ''; } else { @@ -6055,7 +5859,6 @@ class Battle ]; // // - //$witm_data $iii = 1; while ($iii <= 7) { if (isset($witm_data['sv_a' . $iii]) && $witm_data['sv_a' . $iii] != 0) { @@ -6110,22 +5913,7 @@ class Battle $wAp = 0; $w3p = 0; $w14p = 0; - /* - , - if($witm_type==12) { - // - $wAp += $this->stats[$this->uids[$uid1]]['m10']; - if($this->users[$this->uids[$uid1]]['align']==7) { - $wAp += 15; - } - }elseif($witm_type < 5) { - $wAp += $this->stats[$this->uids[$uid1]]['pa'.$witm_type.''] + $this->stats[$this->uids[$uid1]]['m10'] + $witm_data['sv_pa'.$witm_type.'']; - $wAp -= $this->stats[$this->uids[$uid2]]['antpa'.$witm_type.'']; - }else{ - $wAp += $this->stats[$this->uids[$uid1]]['pm'.($witm_type-4).''] + $this->stats[$this->uids[$uid1]]['m11a'] + $witm_data['sv_pm'.($witm_type-4).'']; - $wAp -= $this->stats[$this->uids[$uid2]]['antpm'.($witm_type-4).'']; - } - */ + if ($witm_type == 12) { // $wAp += $this->stats[$this->uids[$uid1]]['m10']; @@ -6140,9 +5928,7 @@ class Battle $wAp += $this->stats[$this->uids[$uid1]]['m10'] + $this->stats[$this->uids[$uid1]]['pm' . ($witm_type - 4) . ''] + $this->stats[$this->uids[$uid1]]['m11a'] + $witm_data['sv_pm' . ($witm_type - 4) . '']; $wAp -= $this->stats[$this->uids[$uid2]]['antpm' . ($witm_type - 4) . '']; } - // - // // $vladenie = 0; @@ -6154,44 +5940,18 @@ class Battle $r['pb'] = 1; } - - /*if( $this->mfs(4, $witm_data['m9'] , $this->users[$this->uids[$uid1]]['level'] , $this->users[$this->uids[$uid2]]['level']) == 1 ) { - $proboi = $witm_data['m9']; - $r['pb'] = 1; - } - if( $this->mfs(4, $witm_data['add_m9'] , $this->users[$this->uids[$uid1]]['level'] , $this->users[$this->uids[$uid2]]['level']) == 1 ) { - $proboi = $witm_data['add_m9']; - $r['pb'] = 1; - }*/ - - // % () - /*if( $witm_data['sv_m9'] > 0 ) { - $proboi = $witm_data['sv_m9']; - $r['pb'] = 1; - }*/ - // % () - - if ($witm['2h'] > 0) { - //$witm_data['sv_yron_min'] = $witm_data['sv_yron_min']*2; - //$witm_data['sv_yron_max'] = $witm_data['sv_yron_max']*2; - } - $y = $this->yrn( - //$st1, $st2, $u1, $u2, $level, $level2, $type, $min_yron, $max_yron, $min_bron, $max_bron, - //$vladenie, $power_yron, $power_krit, $zashita, $ozashita, $proboi, $weapom_damage $this->stats[$this->uids[$uid1]], $this->stats[$this->uids[$uid2]], $this->users[$this->uids[$uid1]], $this->users[$this->uids[$uid2]], $this->users[$this->uids[$uid1]]['level'], $this->users[$this->uids[$uid2]]['level'], - // $witm_type, $this->stats[$this->uids[$uid1]]['minAtack'], //. () $this->stats[$this->uids[$uid1]]['maxAtack'], //. $bron[$zona][0], // . $bron[$zona][1], // - // $vladenie, // (($wAp /*+ $w3p + $w14p*/)), // (round($this->stats[$this->uids[$uid1]]['m3'])), // @@ -6204,7 +5964,9 @@ class Battle ($witm_data['sv_yron_max'] + $this->stats[$this->uids[$uid1]]['yron_max']), $this->stats[$this->uids[$uid2]]['zaproc'], $this->stats[$this->uids[$uid2]]['zmproc'], - (($this->stats[$this->uids[$uid2]]['zm' . ($witm_type2 - 4)]) - round($this->stats[$this->uids[$uid1]]['pzm'] * 0.8)), + (($this->stats[$this->uids[$uid2]]['zm' . ($witm_type2 - 4)]) - round( + $this->stats[$this->uids[$uid1]]['pzm'] * 0.8 + )), // $this->stats[$this->uids[$uid1]]['omzash'], // $witm['type'], @@ -6224,17 +5986,6 @@ class Battle // - 50% $wp1 = $this->stats[$this->uids[$uid1]]['items'][$this->stats[$this->uids[$uid1]]['wp3id']]; $wp2 = $this->stats[$this->uids[$uid1]]['items'][$this->stats[$this->uids[$uid1]]['wp14id']]; - /*if( $wp == 14 ) { - if( $wp1['level'] >= $wp2['level'] ) { - $r['y'] = floor( $r['y'] * 0.5 ); - $r['k'] = floor( $r['k'] * 0.5 ); - } - }elseif( $wp == 3 ) { - if( $wp2['level'] > $wp1['level'] ) { - $r['y'] = floor( $r['y'] * 0.5 ); - $r['k'] = floor( $r['k'] * 0.5 ); - } - }*/ // if ($witm['type'] == 18) { @@ -6246,12 +5997,12 @@ class Battle } elseif ($witm['type'] == 21) { $tp = 4; } else { - //$tp = 0; + $tp = 0; } if ($tp != $witm_type && $wp > 0) // { - $r['y'] = round($r['y'] / 3); + (int)$r['y'] = round((int)$r['y'] / 3); $r['r'] = round($r['r'] / 3); $r['k'] = round($r['k'] / 3); $r['m_k'] = round($r['m_k'] / 3); @@ -6260,7 +6011,7 @@ class Battle if (isset($this->stats[$this->uids[$uid2]]['zaproc'])) { $r['y'] = round($r['y'] - $r['y'] * $this->stats[$this->uids[$uid2]]['zaproc'] / 100); - $r['r'] = round($r['r'] - $r['r'] * $this->stats[$this->uids[$uid2]]['zaproc'] / 100); + (int)$r['r'] = round((int)$r['r'] - (int)$r['r'] * (int)$this->stats[$this->uids[$uid2]]['zaproc'] / 100); $r['k'] = round($r['k'] - $r['k'] * $this->stats[$this->uids[$uid2]]['zaproc'] / 100); $r['m_k'] = round($r['m_k'] - $r['m_k'] * $this->stats[$this->uids[$uid2]]['zaproc'] / 100); $r['m_y'] = round($r['m_y'] - $r['m_y'] * $this->stats[$this->uids[$uid2]]['zaproc'] / 100); @@ -6284,15 +6035,13 @@ class Battle if ($r['m_y'] < 1) { $r['m_y'] = 1; } - //$this->a_restart_stats($uid1,1); - //$this->a_testing_stats($uid2,1); return $r; } // public function yronRazmen($id, $at, $pat = false, $rjd = 0) { - if ($pat == true) { + if ($pat) { $pat = $at; $at = $pat['p']; } else { @@ -6304,10 +6053,8 @@ class Battle if ($this->stats[$this->uids[$this->atacks[$id]['uid1']]]['yhod'] > 0) { $yhod = [1 => 1, 2 => 0]; - //$uid1 = $this->yhod_user($this->atacks[$id]['uid2'],$this->atacks[$id]['uid1'],$this->stats[$this->uids[$this->atacks[$id]['uid1']]]['yhod']); } elseif ($this->stats[$this->uids[$this->atacks[$id]['uid2']]]['yhod'] > 0) { $yhod = [1 => 0, 2 => 1]; - //$uid2 = $this->yhod_user($this->atacks[$id]['uid1'],$this->atacks[$id]['uid2'],$this->stats[$this->uids[$this->atacks[$id]['uid2']]]['yhod']); } $i = 1; @@ -6324,196 +6071,108 @@ class Battle $u2 = ${'uid1'}; } - // - - - // (u2) (u1) - //print_r( $at[$i] ); $j = 0; $k = 0; $wp = 3; if ($rjd > 0) { $j = $rjd - 1; } - // - //$checkhp1=$this->stats[$this->uids[$u2]]['hpNow']; - while ($j < count($at[$a]['atack']) && $j < 8) { - // , - if ($k == 0 && isset($this->stats[$this->uids[$u1]]['wp3id'])) { - // - $wp = 3; - $k = 1; - } else { - // - if (isset($this->stats[$this->uids[$u1]]['wp14id']) && $this->stats[$this->uids[$u1]]['items'][$this->stats[$this->uids[$u1]]['wp14id']]['type'] != 13) { - $wp = 14; + if (is_array($at[$a]['atack'])) { + while ($j < count($at[$a]['atack']) && $j < 8) { + if ($k == 0 && isset($this->stats[$this->uids[$u1]]['wp3id'])) { + // + $wp = 3; + $k = 1; } else { - if (isset($this->stats[$this->uids[$u1]]['wp3id'])) { - $wp = 3; + // + if (isset($this->stats[$this->uids[$u1]]['wp14id']) && $this->stats[$this->uids[$u1]]['items'][$this->stats[$this->uids[$u1]]['wp14id']]['type'] != 13) { + $wp = 14; } else { - // - $wp = 3; + if (isset($this->stats[$this->uids[$u1]]['wp3id'])) { + $wp = 3; + } else { + // + $wp = 3; + } } + $k = 0; } - $k = 0; - } - if ($wp > 0) { $witm = $this->stats[$this->uids[$u1]]['items'][$this->stats[$this->uids[$u1]]['wp' . $wp . 'id']]; $witm_type = $this->weaponTx($witm); $at[$a]['atack'][$j]['wt'] = $witm['type']; - } - // - $at[$a]['atack'][$j]['yhod'] = $yhod[$a]; - // - /*if ($checkhp1>0) - {*/ - if (!isset($at[$a]['atack'][$j]['yron']) && ( - $at[$a]['atack'][$j][1] == 1 || - $at[$a]['atack'][$j][1] == 4 || - $at[$a]['atack'][$j][1] == 5) - ) { - // - //$at[$a]['atack'][$j]['yron'] = $this->yronGetrazmen($u1,$u2,$wp,$at[$a]['atack'][$j][0]); - $at[$a]['atack'][$j]['yron'] = $this->yronGetrazmen($u1, $u2, $wp, $at[$a]['atack'][$j][0], - $yhod[$b]); - /*if ($checkhp1 <1) - { - $at[$a]['atack'][$j]['yron']['y']=0; - $at[$a]['atack'][$j]['yron']['k']=0; - }*/ + $at[$a]['atack'][$j]['yhod'] = $yhod[$a]; + if (!isset($at[$a]['atack'][$j]['yron']) && ( + $at[$a]['atack'][$j][1] == 1 || + $at[$a]['atack'][$j][1] == 4 || + $at[$a]['atack'][$j][1] == 5) + ) { + $at[$a]['atack'][$j]['yron'] = $this->yronGetrazmen( + $u1, $u2, $wp, $at[$a]['atack'][$j][0], + ); - - if ($at[$a]['atack'][$j][1] == 4) { - $at[$a]['atack'][$j]['yron']['y_old'] = $at[$a]['atack'][$j]['yron']['y']; - $at[$a]['atack'][$j]['yron']['y'] = round($at[$a]['atack'][$j]['yron']['k'] / 2); - } elseif ($at[$a]['atack'][$j][1] == 5) { - $at[$a]['atack'][$j]['yron']['y_old'] = $at[$a]['atack'][$j]['yron']['y']; - $at[$a]['atack'][$j]['yron']['y'] = $at[$a]['atack'][$j]['yron']['k']; - } - $at[$a]['atack'][$j]['yron']['2h'] = $witm['2h']; - $at[$a]['atack'][$j]['yron']['w'] = $wp; - if ($at[$a]['atack'][$j]['yron']['y'] < 1) { - $at[$a]['atack'][$j]['yron']['r'] = '--'; + if ($at[$a]['atack'][$j][1] == 4) { + $at[$a]['atack'][$j]['yron']['y_old'] = $at[$a]['atack'][$j]['yron']['y']; + $at[$a]['atack'][$j]['yron']['y'] = round($at[$a]['atack'][$j]['yron']['k'] / 2); + } elseif ($at[$a]['atack'][$j][1] == 5) { + $at[$a]['atack'][$j]['yron']['y_old'] = $at[$a]['atack'][$j]['yron']['y']; + $at[$a]['atack'][$j]['yron']['y'] = $at[$a]['atack'][$j]['yron']['k']; + } + $at[$a]['atack'][$j]['yron']['2h'] = $witm['2h']; + $at[$a]['atack'][$j]['yron']['w'] = $wp; + if ($at[$a]['atack'][$j]['yron']['y'] < 1) { + $at[$a]['atack'][$j]['yron']['r'] = '--'; + } else { + $at[$a]['atack'][$j]['yron']['r'] = '-' . $at[$a]['atack'][$j]['yron']['y']; + } } else { - $at[$a]['atack'][$j]['yron']['r'] = '-' . $at[$a]['atack'][$j]['yron']['y']; + $at[$a]['atack'][$j]['block'] = $this->yronGetrazmen( + $u1, $u2, $wp, $at[$a]['atack'][$j][0], + $yhod[$b] + ); + if ($at[$a]['atack'][$j][1] == 4) { + $at[$a]['atack'][$j]['block']['y_old'] = $at[$a]['atack'][$j]['block']['y']; + $at[$a]['atack'][$j]['block']['y'] = round($at[$a]['atack'][$j]['block']['k'] / 2); + } elseif ($at[$a]['atack'][$j][1] == 5) { + $at[$a]['atack'][$j]['block']['y_old'] = $at[$a]['atack'][$j]['block']['y']; + $at[$a]['atack'][$j]['block']['y'] = $at[$a]['atack'][$j]['block']['k']; + } + $at[$a]['atack'][$j]['block']['2h'] = $witm['2h']; + $at[$a]['atack'][$j]['block']['w'] = $wp; + if ($at[$a]['atack'][$j]['block']['y'] < 1) { + $at[$a]['atack'][$j]['block']['r'] = '--'; + } else { + $at[$a]['atack'][$j]['block']['r'] = '-' . $at[$a]['atack'][$j]['block']['y']; + } } - - /*if( ($at[$a]['atack'][$j][1] == 1 || - $at[$a]['atack'][$j][1] == 4 || - $at[$a]['atack'][$j][1] == 5)&& $at[$a]['atack'][$j][2] != 3) - { - $checkhp1=$checkhp1-$at[$a]['atack'][$j]['yron']['y']; - }*/ - // - } else { - // - //$at[$a]['atack'][$j]['block'] = $this->yronGetrazmen($u1,$u2,$wp,$at[$a]['atack'][$j][0]); - $at[$a]['atack'][$j]['block'] = $this->yronGetrazmen($u1, $u2, $wp, $at[$a]['atack'][$j][0], - $yhod[$b]); - /*if ($checkhp1 <1) - { - $at[$a]['atack'][$j]['block']['y']=0; - $at[$a]['atack'][$j]['block']['k']=0; - }*/ - if ($at[$a]['atack'][$j][1] == 4) { - $at[$a]['atack'][$j]['block']['y_old'] = $at[$a]['atack'][$j]['block']['y']; - $at[$a]['atack'][$j]['block']['y'] = round($at[$a]['atack'][$j]['block']['k'] / 2); - } elseif ($at[$a]['atack'][$j][1] == 5) { - $at[$a]['atack'][$j]['block']['y_old'] = $at[$a]['atack'][$j]['block']['y']; - $at[$a]['atack'][$j]['block']['y'] = $at[$a]['atack'][$j]['block']['k']; - } - $at[$a]['atack'][$j]['block']['2h'] = $witm['2h']; - $at[$a]['atack'][$j]['block']['w'] = $wp; - if ($at[$a]['atack'][$j]['block']['y'] < 1) { - $at[$a]['atack'][$j]['block']['r'] = '--'; - } else { - $at[$a]['atack'][$j]['block']['r'] = '-' . $at[$a]['atack'][$j]['block']['y']; - } - /* - if( ($at[$a]['atack'][$j][1] == 1 || - $at[$a]['atack'][$j][1] == 4 || - $at[$a]['atack'][$j][1] == 5)&& $at[$a]['atack'][$j][2] != 3) - { - $checkhp1=$checkhp1-$at[$a]['atack'][$j]['block']['y']; - }*/ - // + $j++; } - /*} - else - { - - if( $at[$a]['atack'][$j][1] == 1 || $at[$a]['atack'][$j][1] == 4 || $at[$a]['atack'][$j][1] == 5 ) - { - // - $at[$a]['atack'][$j]['yron'] = $this->yronGetrazmen($u1,$u2,$wp,$at[$a]['atack'][$j][0]); - $at[$a]['atack'][$j]['yron']['y']=0; - $at[$a]['atack'][$j]['yron']['k']=0; - if( $at[$a]['atack'][$j][1] == 4 ) { - $at[$a]['atack'][$j]['yron']['y_old'] = $at[$a]['atack'][$j]['yron']['y']; - $at[$a]['atack'][$j]['yron']['y'] = round($at[$a]['atack'][$j]['yron']['k']/2); - }elseif( $at[$a]['atack'][$j][1] == 5 ) { - $at[$a]['atack'][$j]['yron']['y_old'] = $at[$a]['atack'][$j]['yron']['y']; - $at[$a]['atack'][$j]['yron']['y'] = $at[$a]['atack'][$j]['yron']['k']; - } - $at[$a]['atack'][$j]['yron']['2h'] = $witm['2h']; - $at[$a]['atack'][$j]['yron']['w'] = $wp; - if( $at[$a]['atack'][$j]['yron']['y'] < 1 ) { - $at[$a]['atack'][$j]['yron']['r'] = '--'; - }else{ - $at[$a]['atack'][$j]['yron']['r'] = '-' . $at[$a]['atack'][$j]['yron']['y']; - } - // - }else{ - // - $at[$a]['atack'][$j]['block'] = $this->yronGetrazmen($u1,$u2,$wp,$at[$a]['atack'][$j][0]); - $at[$a]['atack'][$j]['block']['y']=0; - $at[$a]['atack'][$j]['block']['k']=0; - if( $at[$a]['atack'][$j][1] == 4 ) { - $at[$a]['atack'][$j]['block']['y_old'] = $at[$a]['atack'][$j]['block']['y']; - $at[$a]['atack'][$j]['block']['y'] = round($at[$a]['atack'][$j]['block']['k']/2); - }elseif( $at[$a]['atack'][$j][1] == 5 ) { - $at[$a]['atack'][$j]['block']['y_old'] = $at[$a]['atack'][$j]['block']['y']; - $at[$a]['atack'][$j]['block']['y'] = $at[$a]['atack'][$j]['block']['k']; - } - $at[$a]['atack'][$j]['block']['2h'] = $witm['2h']; - $at[$a]['atack'][$j]['block']['w'] = $wp; - if( $at[$a]['atack'][$j]['block']['y'] < 1 ) { - $at[$a]['atack'][$j]['block']['r'] = '--'; - }else{ - $at[$a]['atack'][$j]['block']['r'] = '-' . $at[$a]['atack'][$j]['block']['y']; - } - // - } - - - }*/ - $j++; } - $i++; } - - if (isset($pat) && $pat != false) { + if (isset($pat) && $pat) { $pat['p'] = $at; $at = $pat; } - return $at; } // - public function updateHealth($id, $at) + public function updateHealth($id, $at): array { $uid1 = $this->atacks[$id]['uid1']; $uid2 = $this->atacks[$id]['uid2']; if ($this->stats[$this->uids[$this->atacks[$id]['uid1']]]['yhod'] > 0) { - $uid1 = $this->yhod_user($this->atacks[$id]['uid2'], $this->atacks[$id]['uid1'], - $this->stats[$this->uids[$this->atacks[$id]['uid1']]]['yhod']); + $uid1 = $this->yhod_user( + $this->atacks[$id]['uid2'], $this->atacks[$id]['uid1'], + $this->stats[$this->uids[$this->atacks[$id]['uid1']]]['yhod'] + ); } elseif ($this->stats[$this->uids[$this->atacks[$id]['uid2']]]['yhod'] > 0) { - $uid2 = $this->yhod_user($this->atacks[$id]['uid1'], $this->atacks[$id]['uid2'], - $this->stats[$this->uids[$this->atacks[$id]['uid2']]]['yhod']); + $uid2 = $this->yhod_user( + $this->atacks[$id]['uid1'], $this->atacks[$id]['uid2'], + $this->stats[$this->uids[$this->atacks[$id]['uid2']]]['yhod'] + ); } $i = 1; @@ -6548,68 +6207,60 @@ class Battle } // (u2) (u1) - //print_r( $at[$i] ); $j = 0; $k = 0; $wp = 3; while ($j < count($at[$a]['atack']) && $j < 8) { // - //$this->stats[$this->uids[$this->atacks[$id]['uid1']]]['tactic1'] if ($at[$a]['atack'][$j][1] == 1) { //u1 u2 if ($this->stats[$this->uids[$u2]]['this_animal'] == 0) { $this->users[$this->uids[$u1]]['tactic1']++; } // - if ($at[$a]['atack'][$j]['yron']['2h'] == 1) { - if ($this->stats[$this->uids[$u2]]['this_animal'] == 0) { - $this->users[$this->uids[$u1]]['tactic1'] += 2; - } + if ($at[$a]['atack'][$j]['yron']['2h'] == 1 && $this->stats[$this->uids[$u2]]['this_animal'] == 0) { + $this->users[$this->uids[$u1]]['tactic1'] += 2; } - } elseif ($at[$a]['atack'][$j][1] == 2) { - //u2 u1 - } elseif ($at[$a]['atack'][$j][1] == 3) { - //u2 u1 - if ($this->stats[$this->uids[$u2]]['this_animal'] == 0) { - $this->users[$this->uids[$u2]]['tactic4']++; - } - } elseif ($at[$a]['atack'][$j][1] == 4) { - //u1 u2 - if (!isset($at[$a]['atack'][$j]['notactic2'])) { + } elseif ($at[$a]['atack'][$j][1] != 2) { + if ($at[$a]['atack'][$j][1] == 3) { + //u2 u1 if ($this->stats[$this->uids[$u2]]['this_animal'] == 0) { - $this->users[$this->uids[$u1]]['tactic2']++; + $this->users[$this->uids[$u2]]['tactic4']++; } - } - $this->users[$this->uids[$u2]]['tactic4']++; // - } elseif ($at[$a]['atack'][$j][1] == 5) { - //u1 u2 - if (!isset($at[$a]['atack'][$j]['notactic2'])) { - if ($this->stats[$this->uids[$u2]]['this_animal'] == 0) { - $this->users[$this->uids[$u1]]['tactic2'] += 2; - } - // - if ($at[$a]['atack'][$j]['yron']['2h'] == 1) { + } elseif ($at[$a]['atack'][$j][1] == 4) { + //u1 u2 + if (!isset($at[$a]['atack'][$j]['notactic2'])) { if ($this->stats[$this->uids[$u2]]['this_animal'] == 0) { + $this->users[$this->uids[$u1]]['tactic2']++; + } + } + $this->users[$this->uids[$u2]]['tactic4']++; // + } elseif ($at[$a]['atack'][$j][1] == 5) { + //u1 u2 + if (!isset($at[$a]['atack'][$j]['notactic2'])) { + if ($this->stats[$this->uids[$u2]]['this_animal'] == 0) { + $this->users[$this->uids[$u1]]['tactic2'] += 2; + } + // + if ($at[$a]['atack'][$j]['yron']['2h'] == 1 && $this->stats[$this->uids[$u2]]['this_animal'] == 0) { $this->users[$this->uids[$u1]]['tactic2'] += 1; } } - } - } elseif ($at[$a]['atack'][$j][1] == 6) { - //u2 u1 - if (!isset($at[$a]['atack'][$j]['notactic5'])) { - if ($this->stats[$this->uids[$u1]]['this_animal'] == 0) { + } elseif ($at[$a]['atack'][$j][1] == 6) { + //u2 u1 + if (!isset($at[$a]['atack'][$j]['notactic5']) && $this->stats[$this->uids[$u1]]['this_animal'] == 0) { $this->users[$this->uids[$u2]]['tactic5']++; } - } - } elseif ($at[$a]['atack'][$j][1] == 7) { - //u2 u1 // - if ($this->stats[$this->uids[$u2]]['this_animal'] == 0) { - $this->users[$this->uids[$u2]]['tactic4']++; - } - } elseif ($at[$a]['atack'][$j][1] == 8) { - //u2 u1 - if ($this->stats[$this->uids[$u1]]['this_animal'] == 0) { - $this->users[$this->uids[$u2]]['tactic3']++; + } elseif ($at[$a]['atack'][$j][1] == 7) { + //u2 u1 // + if ($this->stats[$this->uids[$u2]]['this_animal'] == 0) { + $this->users[$this->uids[$u2]]['tactic4']++; + } + } elseif ($at[$a]['atack'][$j][1] == 8) { + //u2 u1 + if ($this->stats[$this->uids[$u1]]['this_animal'] == 0) { + $this->users[$this->uids[$u2]]['tactic3']++; + } } } // , @@ -6638,13 +6289,10 @@ class Battle } // - //$this->users[$this->uids[$u1]]['battle_yron'] += $at[$a]['atack'][$j]['yron']['y']; $this->takeExp($u1, $at[$a]['atack'][$j]['yron']['y'], $u1, $u2); // $this->stats[$this->uids[$u2]]['hpNow'] -= $at[$a]['atack'][$j]['yron']['y']; $this->users[$this->uids[$u2]]['last_hp'] = -$at[$a]['atack'][$j]['yron']['y']; - - //echo '['.$u1.' -> '.$u2.']'; $at[$a]['atack'][$j]['yron']['hp'] = $this->stats[$this->uids[$u2]]['hpNow']; if ($at[$a]['atack'][$j]['yron']['hp'] < 1) { $at[$a]['atack'][$j]['yron']['hp'] = 0; @@ -6653,12 +6301,13 @@ class Battle if ($at[$a]['atack'][$j]['yron']['hp'] > $at[$a]['atack'][$j]['yron']['hpAll']) { $at[$a]['atack'][$j]['yron']['hp'] = $at[$a]['atack'][$j]['yron']['hpAll']; } - // // if (rand(0, 100) <= 50) { if ($at[$a]['atack'][$j][1] == 4 || $at[$a]['atack'][$j][1] == 5) { - if (!isset($at[$a]['atack'][$j]['yron']['travma']) && rand(0, - 1000) < 500 && $this->users[$this->uids[$u2]]['level'] > 1 && $this->stats[$this->uids[$u1]] > 1) { + if (!isset($at[$a]['atack'][$j]['yron']['travma']) && rand( + 0, + 1000 + ) < 500 && $this->users[$this->uids[$u2]]['level'] > 1 && $this->stats[$this->uids[$u1]] > 1) { $trvm_chns = floor(rand(0, 200) / 10); if ($trvm_chns > 3 || $trvm_chns < 1) { $trvm_chns = 0; @@ -6671,10 +6320,8 @@ class Battle } $j++; } - $i++; } - return $at; } @@ -6684,7 +6331,8 @@ class Battle if ($id > 0) { $uid = $id; $id = $this->uids[$uid]; - mysql_query('INSERT INTO `battle_users` + mysql_query( + 'INSERT INTO `battle_users` ( `battle`,`uid`,`time_enter`,`login`,`level`,`align`,`clan`,`hpAll`,`hp`,`hpStart`,`team` ) VALUES ( @@ -6698,7 +6346,8 @@ class Battle "' . $this->stats[$id]['hp'] . '", "' . $this->stats[$id]['hpNow'] . '", "' . $this->users[$id]['team'] . '" - )'); + )' + ); } } @@ -6745,10 +6394,8 @@ class Battle } $j++; } - $i++; } - // } // @@ -6774,14 +6421,14 @@ class Battle $at['p'] = $at; $at['p']['p_cast'] = true; } - // - // if (!isset($this->stats[$this->uids[$u2]]['nopryh']) || $this->stats[$this->uids[$u2]]['nopryh'] == 0) { $j = 0; while ($j <= count($this->stats[$this->uids[$u1]]['u_priem'])) { if ($this->stats[$this->uids[$u1]]['u_priem'][$j][2] > 0 && $this->stats[$this->uids[$u1]]['u_priem'][$j][5] == 1) { - if (file_exists('../../_incl_data/class/priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php')) { + if (file_exists( + '../../_incl_data/class/priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php' + )) { $pr_used_this = $u1; $pr_moment = true; require('priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php'); @@ -6797,7 +6444,9 @@ class Battle $j = 0; while ($j <= count($this->stats[$this->uids[$u1]]['u_priem'])) { if ($this->stats[$this->uids[$u1]]['u_priem'][$j][2] > 0 && $this->stats[$this->uids[$u1]]['u_priem'][$j][5] == 2) { - if (file_exists('../../_incl_data/class/priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php')) { + if (file_exists( + '../../_incl_data/class/priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php' + )) { $pr_used_this = $u1; $pr_moment = true; require('priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php'); @@ -6811,7 +6460,9 @@ class Battle $j = 0; while ($j <= count($this->stats[$this->uids[$u1]]['u_priem'])) { if ($this->stats[$this->uids[$u1]]['u_priem'][$j][2] > 0 && $this->stats[$this->uids[$u1]]['u_priem'][$j][5] == 3) { - if (file_exists('../../_incl_data/class/priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php')) { + if (file_exists( + '../../_incl_data/class/priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php' + )) { $pr_used_this = $u1; $pr_moment = true; require('priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php'); @@ -6827,9 +6478,13 @@ class Battle $j = 0; while ($j <= count($this->stats[$this->uids[$u1]]['u_priem'])) { if ($this->stats[$this->uids[$u1]]['u_priem'][$j][2] > 0 && $this->stats[$this->uids[$u1]]['u_priem'][$j][5] == 4) { - if ($this->testPriemVarTrueZash($i, 1, $this->stats[$this->uids[$u1]]['u_priem'][$j][1], $a, $b, - $u1, $u2) == false) { - } elseif (file_exists('../../_incl_data/class/priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php')) { + if ($this->testPriemVarTrueZash( + $i, 1, $this->stats[$this->uids[$u1]]['u_priem'][$j][1], $a, $b, + $u1, $u2 + ) == false) { + } elseif (file_exists( + '../../_incl_data/class/priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php' + )) { $pr_used_this = $u1; $pr_moment = true; require('priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php'); @@ -6843,7 +6498,9 @@ class Battle $j = 0; while ($j <= count($this->stats[$this->uids[$u1]]['u_priem'])) { if ($this->stats[$this->uids[$u1]]['u_priem'][$j][2] > 0 && $this->stats[$this->uids[$u1]]['u_priem'][$j][5] == 5) { - if (file_exists('../../_incl_data/class/priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php')) { + if (file_exists( + '../../_incl_data/class/priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php' + )) { $pr_used_this = $u1; $pr_moment = true; require('priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php'); @@ -6853,10 +6510,8 @@ class Battle } $j++; } - // $i++; } - // return $at; } @@ -6883,14 +6538,14 @@ class Battle $at['p'] = $at; $at['p']['p_cast'] = true; } - // - // if (!isset($this->stats[$this->uids[$u2]]['nopryh']) || $this->stats[$this->uids[$u2]]['nopryh'] == 0) { $j = 0; while ($j <= count($this->stats[$this->uids[$u1]]['u_priem'])) { if ($this->stats[$this->uids[$u1]]['u_priem'][$j][2] > 0 && $this->stats[$this->uids[$u1]]['u_priem'][$j][6] == 1) { - if (file_exists('../../_incl_data/class/priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php')) { + if (file_exists( + '../../_incl_data/class/priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php' + )) { $pr_used_this = $u1; $pr_moment = true; require('priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php'); @@ -6906,7 +6561,9 @@ class Battle $j = 0; while ($j <= count($this->stats[$this->uids[$u1]]['u_priem'])) { if ($this->stats[$this->uids[$u1]]['u_priem'][$j][2] > 0 && $this->stats[$this->uids[$u1]]['u_priem'][$j][6] == 2) { - if (file_exists('../../_incl_data/class/priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php')) { + if (file_exists( + '../../_incl_data/class/priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php' + )) { $pr_used_this = $u1; $pr_moment = true; require('priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php'); @@ -6920,7 +6577,9 @@ class Battle $j = 0; while ($j <= count($this->stats[$this->uids[$u1]]['u_priem'])) { if ($this->stats[$this->uids[$u1]]['u_priem'][$j][2] > 0 && $this->stats[$this->uids[$u1]]['u_priem'][$j][6] == 3) { - if (file_exists('../../_incl_data/class/priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php')) { + if (file_exists( + '../../_incl_data/class/priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php' + )) { $pr_used_this = $u1; $pr_moment = true; require('priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php'); @@ -6936,9 +6595,12 @@ class Battle $j = 0; while ($j <= count($this->stats[$this->uids[$u1]]['u_priem'])) { if ($this->stats[$this->uids[$u1]]['u_priem'][$j][2] > 0 && $this->stats[$this->uids[$u1]]['u_priem'][$j][6] == 4) { - if ($this->testPriemVarTrueZash($i, 2, $this->stats[$this->uids[$u1]]['u_priem'][$j][1], $a, $b, - $u1, $u2) == false) { - } elseif (file_exists('../../_incl_data/class/priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php')) { + if ($this->testPriemVarTrueZash( + $i, 2, $this->stats[$this->uids[$u1]]['u_priem'][$j][1], $a, $b, + $u1, $u2 + ) && file_exists( + '../../_incl_data/class/priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php' + )) { $pr_used_this = $u1; $pr_moment = true; require('priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php'); @@ -6952,7 +6614,9 @@ class Battle $j = 0; while ($j <= count($this->stats[$this->uids[$u1]]['u_priem'])) { if ($this->stats[$this->uids[$u1]]['u_priem'][$j][2] > 0 && $this->stats[$this->uids[$u1]]['u_priem'][$j][6] == 5) { - if (file_exists('../../_incl_data/class/priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php')) { + if (file_exists( + '../../_incl_data/class/priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php' + )) { $pr_used_this = $u1; $pr_moment = true; require('priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php'); @@ -6962,14 +6626,11 @@ class Battle } $j++; } - // $i++; } - // return $at; } - // public function priemsTestRazmen($id, $at) { @@ -7002,7 +6663,9 @@ class Battle if ($this->stats[$this->uids[$u1]]['u_priem'][$j][1] == 220 || $this->stats[$this->uids[$u1]]['u_priem'][$j][1] == 237 || $this->stats[$this->uids[$u1]]['u_priem'][$j][1] == 286 || $this->stats[$this->uids[$u1]]['u_priem'][$j][1] == 287 || $this->stats[$this->uids[$u1]]['u_priem'][$j][1] == 288 || $this->stats[$this->uids[$u1]]['u_priem'][$j][1] == 213) { - if (file_exists('../../_incl_data/class/priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php')) { + if (file_exists( + '../../_incl_data/class/priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php' + )) { $pr_used_this = $u1; require('priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php'); $at = $fx_priem($id, $at, $u1, $j); @@ -7017,7 +6680,9 @@ class Battle $j = 0; while ($j <= count($this->stats[$this->uids[$u1]]['u_priem'])) { if ($this->stats[$this->uids[$u1]]['u_priem'][$j][2] > 0 && $this->stats[$this->uids[$u1]]['u_priem'][$j][4] == 1) { - if (file_exists('../../_incl_data/class/priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php')) { + if (file_exists( + '../../_incl_data/class/priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php' + )) { $pr_used_this = $u1; require('priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php'); $at = $fx_priem($id, $at, $u1, $j); @@ -7032,7 +6697,9 @@ class Battle $j = 0; while ($j <= count($this->stats[$this->uids[$u1]]['u_priem'])) { if ($this->stats[$this->uids[$u1]]['u_priem'][$j][2] > 0 && $this->stats[$this->uids[$u1]]['u_priem'][$j][4] == 2) { - if (file_exists('../../_incl_data/class/priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php')) { + if (file_exists( + '../../_incl_data/class/priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php' + )) { $pr_used_this = $u1; require('priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php'); $at = $fx_priem($id, $at, $u1, $j); @@ -7046,7 +6713,9 @@ class Battle $j = 0; while ($j <= count($this->stats[$this->uids[$u1]]['u_priem'])) { if ($this->stats[$this->uids[$u1]]['u_priem'][$j][2] > 0 && $this->stats[$this->uids[$u1]]['u_priem'][$j][4] == 3) { - if (file_exists('../../_incl_data/class/priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php')) { + if (file_exists( + '../../_incl_data/class/priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php' + )) { $pr_used_this = $u1; require('priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php'); if (isset($fx_priem)) { @@ -7062,9 +6731,13 @@ class Battle $j = 0; while ($j <= count($this->stats[$this->uids[$u1]]['u_priem'])) { if ($this->stats[$this->uids[$u1]]['u_priem'][$j][2] > 0 && $this->stats[$this->uids[$u1]]['u_priem'][$j][4] == 4) { - if ($this->testPriemVarTrueZash($i, 3, $this->stats[$this->uids[$u1]]['u_priem'][$j][1], $a, $b, - $u1, $u2) == false) { - } elseif (file_exists('../../_incl_data/class/priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php')) { + if (!$this->testPriemVarTrueZash( + $i, 3, $this->stats[$this->uids[$u1]]['u_priem'][$j][1], $a, $b, + $u1, $u2 + )) { + } elseif (file_exists( + '../../_incl_data/class/priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php' + )) { $pr_used_this = $u1; require('priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php'); if (isset($fx_priem)) { @@ -7076,28 +6749,13 @@ class Battle $j++; } - /* - $j = 0; - while( $j <= count( $this->stats[$this->uids[$u2]]['u_priem'] ) ) { - if( $this->stats[$this->uids[$u2]]['u_priem'][$j][2] > 0 && $this->stats[$this->uids[$u2]]['u_priem'][$j][4] == 4 ) { - if(file_exists('../../_incl_data/class/priem/'.$this->stats[$this->uids[$u2]]['u_priem'][$j][1].'.php')) { - $pr_used_this = $u2; - require('priem/'.$this->stats[$this->uids[$u2]]['u_priem'][$j][1].'.php'); - if( isset($fx_priem) ) { - $at = $fx_priem($id,$at,$u2,$j); - } - unset(${'fx_priem'}); - } - } - $j++; - } - */ - // $j = 0; while ($j <= count($this->stats[$this->uids[$u1]]['u_priem'])) { if ($this->stats[$this->uids[$u1]]['u_priem'][$j][2] > 0 && $this->stats[$this->uids[$u1]]['u_priem'][$j][4] == 5) { - if (file_exists('../../_incl_data/class/priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php')) { + if (file_exists( + '../../_incl_data/class/priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php' + )) { $pr_used_this = $u1; require('priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php'); if (isset($fx_priem)) { @@ -7108,20 +6766,6 @@ class Battle } $j++; } - // - /*$j = 0; - while( $j <= count( $this->stats[$this->uids[$u1]]['u_priem'] ) ) { - if( $this->stats[$this->uids[$u1]]['u_priem'][$j][2] > 0 && $this->stats[$this->uids[$u1]]['u_priem'][$j][4] == 8 ) { - if(file_exists('../../_incl_data/class/priem/'.$this->stats[$this->uids[$u1]]['u_priem'][$j][1].'.php')) { - $pr_used_this = $u1; - require('priem/'.$this->stats[$this->uids[$u1]]['u_priem'][$j][1].'.php'); - $at = $fx_priem($id,$at,$u1,$j); - unset(${'fx_priem'}); - } - } - $j++; - }*/ - $i++; } @@ -7148,7 +6792,9 @@ class Battle $j = 0; while ($j <= count($this->stats[$this->uids[$u1]]['u_priem'])) { if ($this->stats[$this->uids[$u1]]['u_priem'][$j][2] > 0 && $this->stats[$this->uids[$u1]]['u_priem'][$j][4] == 8) { - if (file_exists('../../_incl_data/class/priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php')) { + if (file_exists( + '../../_incl_data/class/priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php' + )) { $pr_used_this = $u1; require('priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php'); $at = $fx_priem($id, $at, $u1, $j); @@ -7162,7 +6808,9 @@ class Battle $j = 0; while ($j <= count($this->stats[$this->uids[$u1]]['u_priem'])) { if ($this->stats[$this->uids[$u1]]['u_priem'][$j][2] > 0 && $this->stats[$this->uids[$u1]]['u_priem'][$j][4] == 9) { - if (file_exists('../../_incl_data/class/priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php')) { + if (file_exists( + '../../_incl_data/class/priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php' + )) { $pr_used_this = $u1; require('priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php'); $at = $fx_priem($id, $at, $u1, $j); @@ -7171,10 +6819,8 @@ class Battle } $j++; } - $i++; } - return $at; } @@ -7182,11 +6828,9 @@ class Battle public function priemsRestartRazmen($id, $at) { if (isset($at['p'])) { - // // $uid1 = $this->atacks[$id]['uid1']; $uid2 = $this->atacks[$id]['uid2']; - /* , , : 1. @@ -7198,7 +6842,6 @@ class Battle 4 3. .. */ - $i = 1; while ($i <= 2) { if ($i == 1) { @@ -7223,7 +6866,9 @@ class Battle $j = 0; while ($j <= count($this->stats[$this->uids[$u1]]['u_priem'])) { if ($this->stats[$this->uids[$u1]]['u_priem'][$j][2] > 0 && $this->stats[$this->uids[$u1]]['u_priem'][$j][4] == 1) { - if (file_exists('../../_incl_data/class/priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php')) { + if (file_exists( + '../../_incl_data/class/priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php' + )) { $pr_tested_this = $u1; require('priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php'); $at = $fx_priem($id, $at, $u1, $j); @@ -7238,7 +6883,9 @@ class Battle $j = 0; while ($j <= count($this->stats[$this->uids[$u1]]['u_priem'])) { if ($this->stats[$this->uids[$u1]]['u_priem'][$j][2] > 0 && $this->stats[$this->uids[$u1]]['u_priem'][$j][4] == 2) { - if (file_exists('../../_incl_data/class/priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php')) { + if (file_exists( + '../../_incl_data/class/priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php' + )) { $pr_tested_this = $u1; require('priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php'); $at = $fx_priem($id, $at, $u1, $j); @@ -7251,9 +6898,13 @@ class Battle $j = 0; while ($j <= count($this->stats[$this->uids[$u1]]['u_priem'])) { if ($this->stats[$this->uids[$u1]]['u_priem'][$j][2] > 0 && $this->stats[$this->uids[$u1]]['u_priem'][$j][4] == 4) { - if ($this->testPriemVarTrueZash($i, 4, $this->stats[$this->uids[$u1]]['u_priem'][$j][1], $a, $b, - $u1, $u2) == false) { - } elseif (file_exists('../../_incl_data/class/priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php')) { + if ($this->testPriemVarTrueZash( + $i, 4, $this->stats[$this->uids[$u1]]['u_priem'][$j][1], $a, $b, + $u1, $u2 + ) == false) { + } elseif (file_exists( + '../../_incl_data/class/priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php' + )) { $pr_tested_this = $u1; require('priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php'); $at = $fx_priem($id, $at, $u1, $j); @@ -7266,7 +6917,9 @@ class Battle $j = 0; while ($j <= count($this->stats[$this->uids[$u1]]['u_priem'])) { if ($this->stats[$this->uids[$u1]]['u_priem'][$j][2] > 0 && $this->stats[$this->uids[$u1]]['u_priem'][$j][4] == 3) { - if (file_exists('../../_incl_data/class/priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php')) { + if (file_exists( + '../../_incl_data/class/priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php' + )) { $pr_tested_this = $u1; require('priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php'); $at = $fx_priem($id, $at, $u1, $j); @@ -7279,7 +6932,9 @@ class Battle $j = 0; while ($j <= count($this->stats[$this->uids[$u1]]['u_priem'])) { if ($this->stats[$this->uids[$u1]]['u_priem'][$j][2] > 0 && $this->stats[$this->uids[$u1]]['u_priem'][$j][4] == 5) { - if (file_exists('../../_incl_data/class/priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php')) { + if (file_exists( + '../../_incl_data/class/priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php' + )) { $pr_tested_this = $u1; require('priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php'); $at = $fx_priem($id, $at, $u1, $j); @@ -7292,7 +6947,9 @@ class Battle $j = 0; while ($j <= count($this->stats[$this->uids[$u2]]['u_priem'])) { if ($this->stats[$this->uids[$u1]]['u_priem'][$j][2] > 0 && $this->stats[$this->uids[$u2]]['u_priem'][$j][4] == 8) { - if (file_exists('../../_incl_data/class/priem/' . $this->stats[$this->uids[$u2]]['u_priem'][$j][1] . '.php')) { + if (file_exists( + '../../_incl_data/class/priem/' . $this->stats[$this->uids[$u2]]['u_priem'][$j][1] . '.php' + )) { $pr_tested_this = $u2; require('priem/' . $this->stats[$this->uids[$u2]]['u_priem'][$j][1] . '.php'); $at = $fx_priem($id, $at, $u2, $j); @@ -7305,7 +6962,9 @@ class Battle $j = 0; while ($j <= count($this->stats[$this->uids[$u2]]['u_priem'])) { if ($this->stats[$this->uids[$u1]]['u_priem'][$j][2] > 0 && $this->stats[$this->uids[$u2]]['u_priem'][$j][4] == 9) { - if (file_exists('../../_incl_data/class/priem/' . $this->stats[$this->uids[$u2]]['u_priem'][$j][1] . '.php')) { + if (file_exists( + '../../_incl_data/class/priem/' . $this->stats[$this->uids[$u2]]['u_priem'][$j][1] . '.php' + )) { $pr_tested_this = $u2; require('priem/' . $this->stats[$this->uids[$u2]]['u_priem'][$j][1] . '.php'); $at = $fx_priem($id, $at, $u2, $j); @@ -7317,7 +6976,6 @@ class Battle $i++; } - // $at = $at['p']; unset($at['p']); } @@ -7325,22 +6983,21 @@ class Battle } // - public function testPriemVarTrueZash($i, $id, $pid, $a, $b, $u1, $u2) + + /** + * @param $i + * @param $id + * @param $pid + * @param $a + * @param $b + * @param $u1 + * @param $u2 + * @return bool + * @deprecated always returns true + */ + public function testPriemVarTrueZash($i, $id, $pid, $a, $b, $u1, $u2): bool { - $r = true; - //echo '['.$pid.','.$i.','.$a.','.$b.']'; - $g = [ - 45 => ['221' => true], - ]; - if (isset($g[$pid])) { - //echo 1; - if ($g[$pid][$i . $a . $b] == true) { - $r = true; - } else { - // $r = false; - } - } - return $r; + return true; } // @@ -7401,7 +7058,9 @@ class Battle $j = 0; while ($j <= count($this->stats[$this->uids[$u2]]['u_priem'])) { if ($this->stats[$this->uids[$u2]]['u_priem'][$j][2] > 0 && $this->stats[$this->uids[$u2]]['u_priem'][$j][4] == 4) { - if (file_exists('../../_incl_data/class/priem/' . $this->stats[$this->uids[$u2]]['u_priem'][$j][1] . '.php')) { + if (file_exists( + '../../_incl_data/class/priem/' . $this->stats[$this->uids[$u2]]['u_priem'][$j][1] . '.php' + )) { $pr_momental_this = $u2; require('priem/' . $this->stats[$this->uids[$u2]]['u_priem'][$j][1] . '.php'); $yron = $fx_moment($u2, $u1, $j, $yron, $profil); @@ -7415,7 +7074,9 @@ class Battle $j = 0; while ($j <= count($this->stats[$this->uids[$u1]]['u_priem'])) { if ($this->stats[$this->uids[$u1]]['u_priem'][$j][2] > 0 && $this->stats[$this->uids[$u1]]['u_priem'][$j][4] == 5) { - if (file_exists('../../_incl_data/class/priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php')) { + if (file_exists( + '../../_incl_data/class/priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php' + )) { $pr_momental_this = $u1; require('priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php'); if (isset($fx_moment)) { @@ -7431,7 +7092,9 @@ class Battle $j = 0; while ($j <= count($this->stats[$this->uids[$u1]]['u_priem'])) { if ($this->stats[$this->uids[$u1]]['u_priem'][$j][2] > 0 && $this->stats[$this->uids[$u1]]['u_priem'][$j][7] == 5) { - if (file_exists('../../_incl_data/class/priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php')) { + if (file_exists( + '../../_incl_data/class/priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php' + )) { $pr_momental_this_seven = $u1; require('priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php'); if (isset($fx_moment_seven)) { @@ -7452,7 +7115,9 @@ class Battle $j = 0; while ($j <= count($this->stats[$this->uids[$u2]]['u_priem'])) { if ($this->stats[$this->uids[$u2]]['u_priem'][$j][2] > 0 && $this->stats[$this->uids[$u2]]['u_priem'][$j][4] == 8) { - if (file_exists('../../_incl_data/class/priem/' . $this->stats[$this->uids[$u2]]['u_priem'][$j][1] . '.php')) { + if (file_exists( + '../../_incl_data/class/priem/' . $this->stats[$this->uids[$u2]]['u_priem'][$j][1] . '.php' + )) { $pr_momental_this = $u2; require('priem/' . $this->stats[$this->uids[$u2]]['u_priem'][$j][1] . '.php'); if (isset($fx_moment)) { @@ -7462,7 +7127,9 @@ class Battle } } if ($this->stats[$this->uids[$u2]]['u_priem'][$j][2] > 0 && $this->stats[$this->uids[$u2]]['u_priem'][$j][4] == 9) { - if (file_exists('../../_incl_data/class/priem/' . $this->stats[$this->uids[$u2]]['u_priem'][$j][1] . '.php')) { + if (file_exists( + '../../_incl_data/class/priem/' . $this->stats[$this->uids[$u2]]['u_priem'][$j][1] . '.php' + )) { $pr_momental_this = $u2; require('priem/' . $this->stats[$this->uids[$u2]]['u_priem'][$j][1] . '.php'); if (isset($fx_moment)) { @@ -7471,7 +7138,6 @@ class Battle unset(${'fx_moment'}); } } - $j++; } @@ -7481,7 +7147,6 @@ class Battle $yron = 1; } } - //var_dump($this->stats[$this->uids[$u2]]['u_priem']); return $yron; } @@ -7506,8 +7171,12 @@ class Battle if ($yron > 0) { $this->users[$this->uids[$u1]]['battle_yron'] += $yron; - $this->users[$this->uids[$u1]]['battle_exp'] += round(1 * $this->testExp($yron, - $this->stats[$this->uids[$u1]], $this->stats[$this->uids[$u2]], $u1, $u2)); + $this->users[$this->uids[$u1]]['battle_exp'] += round( + 1 * $this->testExp( + $yron, + $this->stats[$this->uids[$u1]], $this->stats[$this->uids[$u2]], $u1, $u2 + ) + ); if ($this->stats[$this->uids[$u2]]['this_animal'] == 0) { $this->users[$this->uids[$u1]]['tactic6'] += $adt6; $this->stats[$this->uids[$u1]]['tactic6'] += $adt6; @@ -7521,16 +7190,24 @@ class Battle // $this->users[$this->uids[$u2]]['last_hp'] = -$yron; // - mysql_query('UPDATE `stats` SET + mysql_query( + 'UPDATE `stats` SET `tactic6` = `tactic6` + "' . $adt6 . '", `battle_yron` = `battle_yron` + "' . $yron . '", - `battle_exp` = `battle_exp` + "' . round($this->testExp($yron, $this->stats[$this->uids[$u1]], - $this->stats[$this->uids[$u2]], $u1, $u2)) . '" - WHERE `id` = "' . $u1 . '" LIMIT 1'); + `battle_exp` = `battle_exp` + "' . round( + $this->testExp( + $yron, $this->stats[$this->uids[$u1]], + $this->stats[$this->uids[$u2]], $u1, $u2 + ) + ) . '" + WHERE `id` = "' . $u1 . '" LIMIT 1' + ); // - mysql_query('UPDATE `stats` SET + mysql_query( + 'UPDATE `stats` SET `last_hp` = "' . $this->users[$this->uids[$u2]]['last_hp'] . '" - WHERE `id` = "' . $u2 . '" LIMIT 1'); + WHERE `id` = "' . $u2 . '" LIMIT 1' + ); } $this->addNewStat( [ @@ -7558,31 +7235,6 @@ class Battle // public $restart_stats_data = []; - public function a_restart_stats($uid1, $glob) - { - if ($uid1 > 0 && isset($this->restart_stats_data[$uid1])) { - $this->stats[$this->uids[$uid1]] = $this->restart_stats_data[$uid1]; - if ($glob == 1) { - unset($this->restart_stats_data[$uid1]); - } - } - } - - public function a_save_stats($uid1) - { - if ($uid1 > 0) { - $this->restart_stats_data[$uid1] = $this->stats[$this->uids[$uid1]]; - } - } - - public function a_testing_stats($uid1, $zona) - { - //$this->stats[$this->uids[$uid1]] = $this->yronGetrazmenStats( $this->stats[$this->uids[$uid1]] , $zona ); - if ($uid1 > 0) { - $this->stats[$this->uids[$uid1]] = $this->yronGetrazmenStats($this->stats[$this->uids[$uid1]], $zona); - } - } - public $import_atack = []; public $contr = []; public $import_user = 0; @@ -7590,23 +7242,13 @@ class Battle public function startAtack($id) { global $c, $u, $log_text, $priem; - // $this->prlog = []; - // $this->inport_user = 0; - // $vrm = [ 'uid1' => $this->atacks[$id]['uid1'], 'uid2' => $this->atacks[$id]['uid2'], ]; - // - /* - if( $this->stats[$this->uids[$this->atacks[$id]['uid1']]]['yhod'] > 0 ) { - $this->atacks[$id]['uid1'] = $this->atacks[$id]['uid2']; - }elseif( $this->stats[$this->uids[$this->atacks[$id]['uid2']]]['yhod'] > 0 ) { - $this->atacks[$id]['uid2'] = $this->atacks[$id]['uid1']; - } - */ + if (isset($this->atacks[$id]) && $this->atacks[$id]['lock'] == 0) { // $i = 1; @@ -7614,39 +7256,24 @@ class Battle $k = 0; $unpr = ''; while ($i <= 2) { - $untac = mysql_fetch_array(mysql_query('SELECT `id` FROM `eff_users` WHERE `v1` = "priem" AND `v2` = "217" AND `uid` = "' . $this->atacks[$id]['uid' . $i] . '" AND `delete` = 0 LIMIT 1')); - - $agrs = mysql_fetch_array(mysql_query('SELECT `id` FROM `eff_users` WHERE `v1` = "priem" AND `v2` = "211" AND `uid` = "' . $this->atacks[$id]['uid' . $j] . '" AND `delete` = 0 LIMIT 1')); - + $untac = mysql_fetch_array( + mysql_query( + 'SELECT `id` FROM `eff_users` WHERE `v1` = "priem" AND `v2` = "217" AND `uid` = "' . $this->atacks[$id]['uid' . $i] . '" AND `delete` = 0 LIMIT 1' + ) + ); + $agrs = mysql_fetch_array( + mysql_query( + 'SELECT `id` FROM `eff_users` WHERE `v1` = "priem" AND `v2` = "211" AND `uid` = "' . $this->atacks[$id]['uid' . $j] . '" AND `delete` = 0 LIMIT 1' + ) + ); if (isset($untac['id']) && !isset($agrs['id'])) { - // AND `a`.`v2` != 235 // AND `a`.`v2` != 273 AND `a`.`v2` != 286 AND `a`.`v2` != 287 AND `a`.`v2` != 288 - - $pvr['sp'] = mysql_query('SELECT `a`.* FROM `eff_users` AS `a` WHERE `a`.`uid` = "' . $this->atacks[$id]['uid' . $j] . '" AND `a`.`delete` = 0 AND `a`.`v1` = "priem" - - AND `a`.`v2` != 222 - - AND `a`.`v2` != 238 - - AND `a`.`v2` != 228 - AND `a`.`v2` != 229 - - AND `a`.`v2` != 139 - AND `a`.`v2` != 188 - AND `a`.`v2` != 226 - AND `a`.`v2` != 211 - AND `a`.`v2` != 49 - AND `a`.`v2` != 233 - AND `a`.`v2` != 227 - AND `a`.`v2` != 220 - AND `a`.`v2` != 191 - AND `a`.`v2` != 332 - AND `a`.`v2` != 333 - AND `a`.`v2` != 334 - AND `a`.`v2` != 335 - AND `a`.`v2` != 236 - - AND `a`.`v2` != 201 - + $pvr['sp'] = mysql_query( + 'SELECT `a`.* FROM `eff_users` AS `a` WHERE `a`.`uid` = "' . $this->atacks[$id]['uid' . $j] . '" AND `a`.`delete` = 0 AND `a`.`v1` = "priem" + AND `a`.`v2` != 222 AND `a`.`v2` != 238 AND `a`.`v2` != 228 AND `a`.`v2` != 229 + AND `a`.`v2` != 139 AND `a`.`v2` != 188 AND `a`.`v2` != 226 AND `a`.`v2` != 211 + AND `a`.`v2` != 49 AND `a`.`v2` != 233 AND `a`.`v2` != 227 AND `a`.`v2` != 220 + AND `a`.`v2` != 191 AND `a`.`v2` != 332 AND `a`.`v2` != 333 AND `a`.`v2` != 334 + AND `a`.`v2` != 335 AND `a`.`v2` != 236 AND `a`.`v2` != 201 AND `a`.`v2` != 261 AND `a`.`v2` != 262 AND `a`.`v2` != 206 AND `a`.`v2` != 207 AND `a`.`v2` != 208 AND `a`.`v2` != 209 AND `a`.`v2` != 210 AND `a`.`v2` != 284 AND `a`.`v2` != 263 AND `a`.`v2` != 258 AND `a`.`v2` != 29 AND `a`.`v2` != 30 @@ -7656,80 +7283,62 @@ class Battle AND `a`.`v2` != 285 AND `a`.`v2` != 36 AND `a`.`v2` != 85 AND `a`.`v2` != 86 AND `a`.`v2` != 87 AND `a`.`v2` != 88 AND `a`.`v2` != 89 AND `a`.`v2` != 90 AND `a`.`v2` != 269 AND `a`.`v2` != 276 AND `a`.`v2` != 277 AND `a`.`v2` != 270 - AND `a`.`v2` != 174 - AND `a`.`v2` != 324 - - AND `a`.`v2` != 217 - + AND `a`.`v2` != 174 AND `a`.`v2` != 324 AND `a`.`v2` != 217 AND `name` NOT LIKE "%%" - - LIMIT 30'); + LIMIT 30' + ); while ($pvr['pl'] = mysql_fetch_array($pvr['sp'])) { - $pvr['pl']['priem'] = mysql_fetch_array(mysql_query('SELECT * FROM `priems` WHERE `id` = "' . $pvr['pl']['v2'] . '" LIMIT 1')); + $pvr['pl']['priem'] = mysql_fetch_array( + mysql_query('SELECT * FROM `priems` WHERE `id` = "' . $pvr['pl']['v2'] . '" LIMIT 1') + ); if (isset($pvr['pl']['priem']['id']) && $pvr['pl']['priem']['neg'] == 0) { $this->delPriem($pvr['pl'], $this->users[$this->uids[$this->atacks[$id]['uid' . $j]]], 100); } } - // - $k++; } $j--; $i++; } - if ($u->info['admin'] > 0) { - //die('test'); - } - // - //UPDATE ... SET `lock` = 1 - // - //$this->a_save_stats($this->atacks[$id]['uid1']); - //$this->a_save_stats($this->atacks[$id]['uid2']); - // // 1% if ($this->atacks[$id]['out1'] == 0) { if ($this->stats[$this->uids[$this->atacks[$id]['uid1']]]['s6'] / 4 < $this->stats[$this->uids[$this->atacks[$id]['uid1']]]['level']) { - $this->stats[$this->uids[$this->atacks[$id]['uid1']]]['mpNow'] += floor($this->stats[$this->uids[$this->atacks[$id]['uid1']]]['level'] + $this->stats[$this->uids[$this->atacks[$id]['uid1']]]['hod_minmana']); + $this->stats[$this->uids[$this->atacks[$id]['uid1']]]['mpNow'] += floor( + $this->stats[$this->uids[$this->atacks[$id]['uid1']]]['level'] + $this->stats[$this->uids[$this->atacks[$id]['uid1']]]['hod_minmana'] + ); } else { - $this->stats[$this->uids[$this->atacks[$id]['uid1']]]['mpNow'] += floor($this->stats[$this->uids[$this->atacks[$id]['uid1']]]['s6'] / 4 + $this->stats[$this->uids[$this->atacks[$id]['uid1']]]['hod_minmana']); + $this->stats[$this->uids[$this->atacks[$id]['uid1']]]['mpNow'] += floor( + $this->stats[$this->uids[$this->atacks[$id]['uid1']]]['s6'] / 4 + $this->stats[$this->uids[$this->atacks[$id]['uid1']]]['hod_minmana'] + ); } $this->users[$this->uids[$this->atacks[$id]['uid1']]]['mpNow'] = $this->stats[$this->uids[$this->atacks[$id]['uid1']]]['mpNow']; } // if ($this->atacks[$id]['out2'] == 0) { if ($this->stats[$this->uids[$this->atacks[$id]['uid2']]]['s6'] / 4 < $this->stats[$this->uids[$this->atacks[$id]['uid2']]]['level']) { - $this->stats[$this->uids[$this->atacks[$id]['uid2']]]['mpNow'] += floor($this->stats[$this->uids[$this->atacks[$id]['uid2']]]['level'] + $this->stats[$this->uids[$this->atacks[$id]['uid2']]]['hod_minmana']); + $this->stats[$this->uids[$this->atacks[$id]['uid2']]]['mpNow'] += floor( + $this->stats[$this->uids[$this->atacks[$id]['uid2']]]['level'] + $this->stats[$this->uids[$this->atacks[$id]['uid2']]]['hod_minmana'] + ); } else { - $this->stats[$this->uids[$this->atacks[$id]['uid2']]]['mpNow'] += floor($this->stats[$this->uids[$this->atacks[$id]['uid2']]]['s6'] / 4 + $this->stats[$this->uids[$this->atacks[$id]['uid2']]]['hod_minmana']); + $this->stats[$this->uids[$this->atacks[$id]['uid2']]]['mpNow'] += floor( + $this->stats[$this->uids[$this->atacks[$id]['uid2']]]['s6'] / 4 + $this->stats[$this->uids[$this->atacks[$id]['uid2']]]['hod_minmana'] + ); } $this->users[$this->uids[$this->atacks[$id]['uid2']]]['mpNow'] = $this->stats[$this->uids[$this->atacks[$id]['uid2']]]['mpNow']; } - // - //$this->users[$this->uids[$this->atacks[$id]['uid1']]]['mpNow'] = $this->stats[$this->uids[$this->atacks[$id]['uid1']]]['mpNow']; - //$this->users[$this->uids[$this->atacks[$id]['uid2']]]['mpNow'] = $this->stats[$this->uids[$this->atacks[$id]['uid2']]]['mpNow']; - // // if ($this->stats[$this->uids[$this->atacks[$id]['uid1']]]['antm3'] != 0) { - $this->stats[$this->uids[$this->atacks[$id]['uid2']]]['m3'] -= round($this->stats[$this->uids[$this->atacks[$id]['uid1']]]['antm3']); + $this->stats[$this->uids[$this->atacks[$id]['uid2']]]['m3'] -= round( + $this->stats[$this->uids[$this->atacks[$id]['uid1']]]['antm3'] + ); } if ($this->stats[$this->uids[$this->atacks[$id]['uid2']]]['antm3'] != 0) { - $this->stats[$this->uids[$this->atacks[$id]['uid1']]]['m3'] -= round($this->stats[$this->uids[$this->atacks[$id]['uid2']]]['antm3']); + $this->stats[$this->uids[$this->atacks[$id]['uid1']]]['m3'] -= round( + $this->stats[$this->uids[$this->atacks[$id]['uid2']]]['antm3'] + ); } - // - ,, - /*if( $this->users[$this->uids[$this->atacks[$id]['uid1']]]['level'] == 7 ) { - if( $this->stats[$this->uids[$this->atacks[$id]['uid1']]]['s2'] > 55 ) { - $this->stats[$this->uids[$this->atacks[$id]['uid1']]]['m5'] += ($this->stats[$this->uids[$this->atacks[$id]['uid1']]]['s2']-5)*6; - } - } - if( $this->users[$this->uids[$this->atacks[$id]['uid2']]]['level'] == 7 ) { - if( $this->stats[$this->uids[$this->atacks[$id]['uid2']]]['s2'] > 55 ) { - $this->stats[$this->uids[$this->atacks[$id]['uid2']]]['m5'] += ($this->stats[$this->uids[$this->atacks[$id]['uid1']]]['s2']-5)*6; - } - }*/ - - // $last_yrn = [ 1 => $this->users[$this->uids[$this->atacks[$id]['uid1']]]['battle_yron'], 2 => $this->users[$this->uids[$this->atacks[$id]['uid2']]]['battle_yron'], @@ -7747,29 +7356,12 @@ class Battle $this->priemsRazmenMoment($id, $at); $this->priemsRazmen($id, $at); - // ( , , ) - if ($this->atacks[$id]['uid2'] == 1) { - // $this->stats[$this->uids[$this->atacks[$id]['uid1']]]['zona'] += 1; - // $this->stats[$this->uids[$this->atacks[$id]['uid2']]]['zona'] += 1; - } $at = $this->newRazmen($id); // // , , , , // ( , ) - /* - $at = $this->mf4Razmen($id,$at,0); - // - $at = $this->mf2Razmen($id,$at,0); - // - $at = $this->mf1Razmen($id,$at,0); - // - $at = $this->mf3Razmen($id,$at,0); - // - $at = $this->mf5Razmen($id,$at,0); - // - $at = $this->yronRazmen($id,$at); - */ + $at = $this->mf2Razmen($id, $at, $v); // $at = $this->mf3Razmen($id, $at, $v); // $at = $this->mf4Razmen($id, $at, $v); // @@ -7780,12 +7372,10 @@ class Battle $at = $this->yronRazmen($id, $at); // // - //['effects'][ // $at = $this->priemsTestRazmen($id, $at); // ( .) $at = $this->priemsRestartRazmen($id, $at); // ( ) - // // if (count($this->stats[$this->uids[$this->atacks[$id]['uid1']]]['set_pog']) > 0) { @@ -7799,25 +7389,12 @@ class Battle $at = $this->updateHealth($id, $at); // + - //mysql_query('LOCK TABLES battle_logs WRITE'); $this->addlogRazmen($id, $at); - //mysql_query('UNLOCK TABLES'); - //echo $this->seeRazmen($id,$at); - // NEW BATTLE SYSTEM // $this->magicItems($this->atacks[$id]['uid1'], $this->atacks[$id]['uid2'], $id); $this->magicItems($this->atacks[$id]['uid2'], $this->atacks[$id]['uid1'], $id); - /* - if( $this->stats[$this->uids[$vrm['uid1']]]['yhod'] > 0 ) { - $this->atacks[$id]['uid1'] = $vrm['uid1']; - }elseif( $this->stats[$this->uids[$vrm['uid2']]]['yhod'] > 0 ) { - $this->atacks[$id]['uid2'] = $vrm['uid2']; - } - */ - - // // $this->restZonb($this->atacks[$id]['uid1'], $this->atacks[$id]['uid2']); // @@ -7825,53 +7402,19 @@ class Battle $zd2 = explode('|', $this->users[$this->uids[$this->atacks[$id]['uid2']]]['priems_z']); $zd1id = explode('|', $this->users[$this->uids[$this->atacks[$id]['uid1']]]['priems']); $zd2id = explode('|', $this->users[$this->uids[$this->atacks[$id]['uid2']]]['priems']); - // $prmos = []; - // $i5 = 0; while ($i5 < 51) { if (isset($zd1[$i5]) && $zd1[$i5] > 0) { // - //$tstpm = mysql_fetch_array(mysql_query('SELECT `id` FROM `priems` WHERE `id` = "'.$zd1id[$i5].'" AND `activ` = 1 AND `img` NOT LIKE "wis_%" LIMIT 1')); - // - //if(isset($tstpm['id'])) { - // $zd1[$i5] -= 1; - //}elseif( $this->users[$this->uids[$this->atacks[$id]['uid2']]]['id'] == $this->users[$this->uids[$this->atacks[$id]['uid1']]]['enemy'] ) { - // - // $zd1[$i5] -= 1; - //}else{ - // ( ) - // if(!isset($prmos[$zd1id[$i5]])) { - // $prmos[$zd1id[$i5]] = mysql_fetch_array(mysql_query('SELECT `id`,`tr_hod` FROM `priems` WHERE `id` = "'.$zd1id[$i5].'" LIMIT 1')); - // } - // if( $prmos[$zd1id[$i5]]['tr_hod'] > 0 ) { - // $zd1[$i5] -= 1; - // } - //} } else { $zd1[$i5] = 0; } if (isset($zd2[$i5]) && $zd2[$i5] > 0) { // - //$tstpm = mysql_fetch_array(mysql_query('SELECT `id` FROM `priems` WHERE `id` = "'.$zd2id[$i5].'" AND `activ` = 1 AND `img` NOT LIKE "wis_%" LIMIT 1')); - // - //if(isset($tstpm['id'])) { - // $zd2[$i5] -= 1; - //}elseif( $this->users[$this->uids[$this->atacks[$id]['uid1']]]['id'] == $this->users[$this->uids[$this->atacks[$id]['uid2']]]['enemy'] ) { - // - // $zd2[$i5] -= 1; - //}else{ - // ( ) - // if(!isset($prmos[$zd2id[$i5]])) { - // $prmos[$zd2id[$i5]] = mysql_fetch_array(mysql_query('SELECT `id`,`tr_hod` FROM `priems` WHERE `id` = "'.$zd2id[$i5].'" LIMIT 1')); - // } - // if( $prmos[$zd2id[$i5]]['tr_hod'] > 0 ) { - // $zd2[$i5] -= 1; - // } - //} } else { $zd2[$i5] = 0; } @@ -7894,7 +7437,6 @@ class Battle } elseif ($this->atacks[$id]['uid2'] == $u->info['id']) { $u->info['priems_z'] = implode('|', $zd2); } - // // $i = 1; while ($i <= 6) { @@ -7910,30 +7452,41 @@ class Battle } $i++; } - // // - mysql_query('UPDATE `items_users` SET `btl_zd` = `btl_zd` - 1 WHERE (`uid` = "' . $this->atacks[$id]['uid1'] . '" OR `uid` = "' . $this->atacks[$id]['uid2'] . '") AND `btl_zd` > 0 AND `inOdet` > 0 LIMIT 100'); - - mysql_query('UPDATE `users` SET `notrhod` = "-1" WHERE `id` = "' . $this->atacks[$id]['uid1'] . '" OR `id` = "' . $this->atacks[$id]['uid2'] . '" LIMIT 2'); + mysql_query( + 'UPDATE `items_users` SET `btl_zd` = `btl_zd` - 1 WHERE (`uid` = "' . $this->atacks[$id]['uid1'] . '" OR `uid` = "' . $this->atacks[$id]['uid2'] . '") AND `btl_zd` > 0 AND `inOdet` > 0 LIMIT 100' + ); + mysql_query( + 'UPDATE `users` SET `notrhod` = "-1" WHERE `id` = "' . $this->atacks[$id]['uid1'] . '" OR `id` = "' . $this->atacks[$id]['uid2'] . '" LIMIT 2' + ); // - mysql_query('UPDATE `pirogi` SET `hod` = `hod` - 1 WHERE `btl` = "' . $this->info['id'] . '" AND (`uid` = "' . $this->atacks[$id]['uid1'] . '" OR `uid` = "' . $this->atacks[$id]['uid2'] . '")'); - mysql_query('UPDATE `tactic` SET `hod` = `hod` - 1 WHERE `btl` = "' . $this->info['id'] . '" AND (`uid` = "' . $this->atacks[$id]['uid1'] . '" OR `uid` = "' . $this->atacks[$id]['uid2'] . '")'); + mysql_query( + 'UPDATE `pirogi` SET `hod` = `hod` - 1 WHERE `btl` = "' . $this->info['id'] . '" AND (`uid` = "' . $this->atacks[$id]['uid1'] . '" OR `uid` = "' . $this->atacks[$id]['uid2'] . '")' + ); + mysql_query( + 'UPDATE `tactic` SET `hod` = `hod` - 1 WHERE `btl` = "' . $this->info['id'] . '" AND (`uid` = "' . $this->atacks[$id]['uid1'] . '" OR `uid` = "' . $this->atacks[$id]['uid2'] . '")' + ); // mysql_query('DELETE FROM `pirogi` WHERE `btl` = "' . $this->info['id'] . '" AND `hod` < 1'); mysql_query('DELETE FROM `tactic` WHERE `btl` = "' . $this->info['id'] . '" AND `hod` < 1'); // - mysql_query('UPDATE `spells` SET `hod` = `hod` - 1 WHERE `btl` = "' . $this->info['id'] . '" AND (`uid` = "' . $this->atacks[$id]['uid1'] . '" OR `uid` = "' . $this->atacks[$id]['uid2'] . '")'); + mysql_query( + 'UPDATE `spells` SET `hod` = `hod` - 1 WHERE `btl` = "' . $this->info['id'] . '" AND (`uid` = "' . $this->atacks[$id]['uid1'] . '" OR `uid` = "' . $this->atacks[$id]['uid2'] . '")' + ); mysql_query('DELETE FROM `spells` WHERE `btl` = "' . $this->info['id'] . '" AND `hod` < 1'); - // battle_users - mysql_query('UPDATE `battle_users` SET `hp` = "' . $this->stats[$this->uids[$this->atacks[$id]['uid1']]]['hpNow'] . '" - WHERE `battle` = "' . $this->info['id'] . '" AND `uid` = "' . $this->atacks[$id]['uid1'] . '" LIMIT 1'); - mysql_query('UPDATE `battle_users` SET `hp` = "' . $this->stats[$this->uids[$this->atacks[$id]['uid2']]]['hpNow'] . '" - WHERE `battle` = "' . $this->info['id'] . '" AND `uid` = "' . $this->atacks[$id]['uid2'] . '" LIMIT 1'); + mysql_query( + 'UPDATE `battle_users` SET `hp` = "' . $this->stats[$this->uids[$this->atacks[$id]['uid1']]]['hpNow'] . '" + WHERE `battle` = "' . $this->info['id'] . '" AND `uid` = "' . $this->atacks[$id]['uid1'] . '" LIMIT 1' + ); + mysql_query( + 'UPDATE `battle_users` SET `hp` = "' . $this->stats[$this->uids[$this->atacks[$id]['uid2']]]['hpNow'] . '" + WHERE `battle` = "' . $this->info['id'] . '" AND `uid` = "' . $this->atacks[$id]['uid2'] . '" LIMIT 1' + ); // 25% $last_yrn = [ @@ -7947,13 +7500,22 @@ class Battle $last_yrn[200] = floor($last_yrn[20] - $last_yrn[2]); if ($this->stats[$this->uids[$this->atacks[$id]['uid1']]]['yhod'] > 0) { - $this->save_stats($this->yhod_user($this->atacks[$id]['uid2'], $this->atacks[$id]['uid1'], - $this->stats[$this->uids[$this->atacks[$id]['uid1']]]['yhod'])); + $this->save_stats( + $this->yhod_user( + $this->atacks[$id]['uid2'], $this->atacks[$id]['uid1'], + $this->stats[$this->uids[$this->atacks[$id]['uid1']]]['yhod'] + ) + ); } elseif ($this->stats[$this->uids[$this->atacks[$id]['uid2']]]['yhod'] > 0) { - $this->save_stats($this->yhod_user($this->atacks[$id]['uid1'], $this->atacks[$id]['uid2'], - $this->stats[$this->uids[$this->atacks[$id]['uid2']]]['yhod'])); + $this->save_stats( + $this->yhod_user( + $this->atacks[$id]['uid1'], $this->atacks[$id]['uid2'], + $this->stats[$this->uids[$this->atacks[$id]['uid2']]]['yhod'] + ) + ); } - mysql_query('UPDATE `stats` SET + mysql_query( + 'UPDATE `stats` SET `hpNow` = "' . $this->stats[$this->uids[$this->atacks[$id]['uid1']]]['hpNow'] . '", `mpNow` = "' . $this->stats[$this->uids[$this->atacks[$id]['uid1']]]['mpNow'] . '", @@ -7971,9 +7533,10 @@ class Battle `battle_exp` = "' . $this->users[$this->uids[$this->atacks[$id]['uid1']]]['battle_exp'] . '", `priems_z` = "' . $this->users[$this->uids[$this->atacks[$id]['uid1']]]['priems_z'] . '" - WHERE `id` = "' . $this->atacks[$id]['uid1'] . '" LIMIT 1'); - // - mysql_query('UPDATE `stats` SET + WHERE `id` = "' . $this->atacks[$id]['uid1'] . '" LIMIT 1' + ); + mysql_query( + 'UPDATE `stats` SET `hpNow` = "' . $this->stats[$this->uids[$this->atacks[$id]['uid2']]]['hpNow'] . '", `mpNow` = "' . $this->stats[$this->uids[$this->atacks[$id]['uid2']]]['mpNow'] . '", @@ -7991,12 +7554,9 @@ class Battle `battle_exp` = "' . $this->users[$this->uids[$this->atacks[$id]['uid2']]]['battle_exp'] . '", `priems_z` = "' . $this->users[$this->uids[$this->atacks[$id]['uid2']]]['priems_z'] . '" - WHERE `id` = "' . $this->atacks[$id]['uid2'] . '" LIMIT 1'); - // + WHERE `id` = "' . $this->atacks[$id]['uid2'] . '" LIMIT 1' + ); $this->priemsRazmenMomentEnd($id, $at); - // - - // // \ $j = 1; $jn = 1; @@ -8007,11 +7567,15 @@ class Battle if (isset($eff[$i])) { if ($eff[$i]['timeUse'] == 77 && $eff[$i]['hod'] > -1) { $eff[$i]['hod']--; - $eff[$i]['priem'] = mysql_fetch_array(mysql_query('SELECT * FROM `priems` WHERE `id` = "' . $eff[$i]['v2'] . '" LIMIT 1')); + $eff[$i]['priem'] = mysql_fetch_array( + mysql_query('SELECT * FROM `priems` WHERE `id` = "' . $eff[$i]['v2'] . '" LIMIT 1') + ); if (round($eff[$i]['priem']['minmana'] * $eff[$i]['x']) != 0) { // - $priem->minMana($eff[$i]['user_use'], - round($eff[$i]['priem']['minmana'] * $eff[$i]['x'])); + $priem->minMana( + $eff[$i]['user_use'], + round($eff[$i]['priem']['minmana'] * $eff[$i]['x']) + ); if ($this->stats[$this->uids[$eff[$i]['user_use']]]['mpNow'] <= 0) { $eff[$i]['hod'] = 0; } @@ -8041,15 +7605,17 @@ class Battle $pvr['i']++; } - $pvr['mp'] = round($this->stats[$this->uids[$pvr['uid']]]['mpAll'] / 100 * rand($pvr['x1'], - $pvr['x2'])); + $pvr['mp'] = round( + $this->stats[$this->uids[$pvr['uid']]]['mpAll'] / 100 * rand( + $pvr['x1'], + $pvr['x2'] + ) + ); $pvr['mpSee'] = 0; $pvr['mpNow'] = floor($this->stats[$this->uids[$pvr['uid']]]['mpNow']); $pvr['mpAll'] = $this->stats[$this->uids[$pvr['uid']]]['mpAll']; $pvr['mpTr'] = $pvr['mpAll'] - $pvr['mpNow']; - //$pvr['mp'] = $btl->hphe( $u->info['id'] , $pvr['hp'] ); - if ($pvr['mpTr'] > 0) { // if ($pvr['mpTr'] < $pvr['mp']) { @@ -8069,16 +7635,18 @@ class Battle $btl->stats[$btl->uids[$pvr['uid']]]['mpNow'] = $pvr['mpNow']; $btl->users[$btl->uids[$pvr['uid']]]['mpNow'] = $pvr['mpNow']; - mysql_query('UPDATE `stats` SET `mpNow` = "' . $btl->stats[$btl->uids[$pvr['uid']]]['mpNow'] . '" WHERE `id` = "' . $pvr['uid'] . '" LIMIT 1'); + mysql_query( + 'UPDATE `stats` SET `mpNow` = "' . $btl->stats[$btl->uids[$pvr['uid']]]['mpNow'] . '" WHERE `id` = "' . $pvr['uid'] . '" LIMIT 1' + ); $pvr['text'] = $this->addlt(1, 21, $this->users[$this->uids[$pvr['uid']]]['sex'], null); $pvr['text2'] = '{tm1} ' . $pvr['text'] . ' ' . $pvr['mpSee'] . ' [' . $pvr['mpNow'] . '/' . $pvr['mpAll'] . '] ()'; - $this->priemAddLog($id, 1, 2, $pvr['uid'], 0, + $this->priemAddLog( + $id, 1, 2, $pvr['uid'], 0, '' . $pvr['x'] . '', $pvr['text2'], ($this->hodID + 0) ); - //echo '[ '.round(rand($pvr['x1'],$pvr['x2'])).'% .]'; unset($pvr); } @@ -8087,7 +7655,9 @@ class Battle } if ($eff[$i]['hod'] > 0) { $this->stats[$this->uids[$this->atacks[$id]['uid' . $j]]]['effects']['hod'] = $eff[$i]['hod']; - mysql_query('UPDATE `eff_users` SET `hod` = "' . $eff[$i]['hod'] . '" WHERE `id` = "' . $eff[$i]['id'] . '" LIMIT 1'); + mysql_query( + 'UPDATE `eff_users` SET `hod` = "' . $eff[$i]['hod'] . '" WHERE `id` = "' . $eff[$i]['id'] . '" LIMIT 1' + ); } else { // if ($eff[$i]['v2'] > 0) { @@ -8096,19 +7666,29 @@ class Battle } else { $jn = 1; } - $this->delPriem($eff[$i], $this->users[$this->uids[$this->atacks[$id]['uid' . $j]]], - 3, $this->atacks[$id]['uid' . $jn]); + $this->delPriem( + $eff[$i], $this->users[$this->uids[$this->atacks[$id]['uid' . $j]]], + 3, $this->atacks[$id]['uid' . $jn] + ); } } } elseif ($eff[$i]['timeUse'] == 77 && $eff[$i]['hod'] == -2) { - $eff[$i]['priem'] = mysql_fetch_array(mysql_query('SELECT * FROM `priems` WHERE `id` = "' . $eff[$i]['v2'] . '" LIMIT 1')); + $eff[$i]['priem'] = mysql_fetch_array( + mysql_query('SELECT * FROM `priems` WHERE `id` = "' . $eff[$i]['v2'] . '" LIMIT 1') + ); $priem->hodUsePriem($eff[$i], $eff[$i]['priem']); } else { - $eff[$i]['priem'] = mysql_fetch_array(mysql_query('SELECT * FROM `priems` WHERE `id` = "' . $eff[$i]['v2'] . '" LIMIT 1')); - if (isset($eff[$i]['priem']['minmana']) && round($eff[$i]['priem']['minmana'] * $eff[$i]['x']) != 0) { + $eff[$i]['priem'] = mysql_fetch_array( + mysql_query('SELECT * FROM `priems` WHERE `id` = "' . $eff[$i]['v2'] . '" LIMIT 1') + ); + if (isset($eff[$i]['priem']['minmana']) && round( + $eff[$i]['priem']['minmana'] * $eff[$i]['x'] + ) != 0) { // - $priem->minMana($eff[$i]['user_use'], - round($eff[$i]['priem']['minmana'] * $eff[$i]['x'])); + $priem->minMana( + $eff[$i]['user_use'], + round($eff[$i]['priem']['minmana'] * $eff[$i]['x']) + ); if ($this->stats[$this->uids[$eff[$i]['user_use']]]['mpNow'] <= 0) { $eff[$i]['hod'] = 0; if (isset($this->rehodeff[$eff[$i]['id']])) { @@ -8120,9 +7700,11 @@ class Battle } else { $jn = 1; } - $this->delPriem($eff[$i], + $this->delPriem( + $eff[$i], $this->users[$this->uids[$this->atacks[$id]['uid' . $j]]], 3, - $this->atacks[$id]['uid' . $jn]); + $this->atacks[$id]['uid' . $jn] + ); } } } elseif ($eff[$i]['timeUse'] > 100 && $eff[$i]['hod'] > -1 && $c['effz'] > 0) { @@ -8132,7 +7714,9 @@ class Battle } if ($eff[$i]['hod'] > 0) { $this->stats[$this->uids[$this->atacks[$id]['uid' . $j]]]['effects']['hod'] = $eff[$i]['hod']; - mysql_query('UPDATE `eff_users` SET `hod` = "' . $eff[$i]['hod'] . '" WHERE `id` = "' . $eff[$i]['id'] . '" LIMIT 1'); + mysql_query( + 'UPDATE `eff_users` SET `hod` = "' . $eff[$i]['hod'] . '" WHERE `id` = "' . $eff[$i]['id'] . '" LIMIT 1' + ); } else { // if ($eff[$i]['v2'] > 0) { @@ -8141,43 +7725,55 @@ class Battle } else { $jn = 1; } - $this->delPriem($eff[$i], + $this->delPriem( + $eff[$i], $this->users[$this->uids[$this->atacks[$id]['uid' . $j]]], 3, - $this->atacks[$id]['uid' . $jn]); + $this->atacks[$id]['uid' . $jn] + ); } } } - // } } $i++; } $j++; } - // - // // if ($c['propsk_die'] > 0 && $this->info['razdel'] == 0 && $this->info['dn_id'] == 0 && $this->info['izlom'] == 0) { - $cn1 = mysql_fetch_array(mysql_query('SELECT COUNT(*) FROM `battle_out` WHERE `battle` = "' . $this->info['id'] . '" AND `uid1` = "' . $this->atacks[$id]['uid1'] . '" LIMIT 1')); - $cn2 = mysql_fetch_array(mysql_query('SELECT COUNT(*) FROM `battle_out` WHERE `battle` = "' . $this->info['id'] . '" AND `uid1` = "' . $this->atacks[$id]['uid2'] . '" LIMIT 1')); + $cn1 = mysql_fetch_array( + mysql_query( + 'SELECT COUNT(*) FROM `battle_out` WHERE `battle` = "' . $this->info['id'] . '" AND `uid1` = "' . $this->atacks[$id]['uid1'] . '" LIMIT 1' + ) + ); + $cn2 = mysql_fetch_array( + mysql_query( + 'SELECT COUNT(*) FROM `battle_out` WHERE `battle` = "' . $this->info['id'] . '" AND `uid1` = "' . $this->atacks[$id]['uid2'] . '" LIMIT 1' + ) + ); if ($cn1[0] > 3) { - // $pvr['text2'] = '{tm1} {u1} - .'; - $this->priemAddLog($id, 1, 2, $this->atacks[$id]['uid1'], 0, '', + $this->priemAddLog( + $id, 1, 2, $this->atacks[$id]['uid1'], 0, '', $pvr['text2'], ($this->hodID + 0) ); unset($pvr); - mysql_query('UPDATE `stats` SET `hpNow` = 0 WHERE `id` = "' . $this->atacks[$id]['uid1'] . '" LIMIT 1'); + mysql_query( + 'UPDATE `stats` SET `hpNow` = 0 WHERE `id` = "' . $this->atacks[$id]['uid1'] . '" LIMIT 1' + ); } if ($cn2[0] > $c['propsk_die']) { $pvr['text2'] = '{tm1} {u1} - .'; - $this->priemAddLog($id, 1, 2, $this->atacks[$id]['uid2'], 0, '', + $this->priemAddLog( + $id, 1, 2, $this->atacks[$id]['uid2'], 0, '', $pvr['text2'], ($this->hodID + 0) ); unset($pvr); - mysql_query('UPDATE `stats` SET `hpNow` = 0 WHERE `id` = "' . $this->atacks[$id]['uid2'] . '" LIMIT 1'); + mysql_query( + 'UPDATE `stats` SET `hpNow` = 0 WHERE `id` = "' . $this->atacks[$id]['uid2'] . '" LIMIT 1' + ); } } // @@ -8189,32 +7785,24 @@ class Battle $u->info['enemy'] = $this->users[$this->uids[$this->atacks[$id]['uid2']]]['enemy']; } // // - mysql_query('DELETE FROM `battle_act` WHERE ( `uid1` = "' . $this->atacks[$id]['uid1'] . '" AND `uid2` = "' . $this->atacks[$id]['uid2'] . '" ) OR - ( `uid2` = "' . $this->atacks[$id]['uid1'] . '" AND `uid1` = "' . $this->atacks[$id]['uid2'] . '" )'); - - //$this->a_restart_stats($this->atacks[$id]['uid1'],1); - //$this->a_restart_stats($this->atacks[$id]['uid2'],1); - + mysql_query( + 'DELETE FROM `battle_act` WHERE ( `uid1` = "' . $this->atacks[$id]['uid1'] . '" AND `uid2` = "' . $this->atacks[$id]['uid2'] . '" ) OR + ( `uid2` = "' . $this->atacks[$id]['uid1'] . '" AND `uid1` = "' . $this->atacks[$id]['uid2'] . '" )' + ); unset($old_s1, $old_s2); unset($this->ga[$this->atacks[$id]['uid1']][$this->atacks[$id]['uid2']], $this->ga[$this->atacks[$id]['uid2']][$this->atacks[$id]['uid1']]); unset($this->ag[$this->atacks[$id]['uid1']][$this->atacks[$id]['uid2']], $this->ag[$this->atacks[$id]['uid2']][$this->atacks[$id]['uid1']]); unset($this->atacks[$id]); mysql_query('DELETE FROM `battle_act` WHERE `id` = "' . $id . '" LIMIT 1'); - // - // - /* - $this->stats[$this->uids[$this->atacks[$id]['uid1']]] = $old_s1; - $this->stats[$this->uids[$this->atacks[$id]['uid2']]] = $old_s2; - */ unset($old_s1, $old_s2); - // } } // public function save_stats($uid) { - mysql_query('UPDATE `stats` SET + mysql_query( + 'UPDATE `stats` SET `hpNow` = "' . $this->stats[$this->uids[$uid]]['hpNow'] . '", `mpNow` = "' . $this->stats[$this->uids[$uid]]['mpNow'] . '", @@ -8232,306 +7820,201 @@ class Battle `battle_exp` = "' . $this->users[$this->uids[$uid]]['battle_exp'] . '", `priems_z` = "' . $this->users[$this->uids[$uid]]['priems_z'] . '" - WHERE `id` = "' . $uid . '" LIMIT 1'); + WHERE `id` = "' . $uid . '" LIMIT 1' + ); } // - public function hpSee($now, $all, $type = 1) + public function hpSee($now, $all, $type = 1): string { $r = '[' . $now . '/' . $all . ']'; if ($all > 10000) { $type = 2; } - if ($type == 1) { - } elseif ($type == 2) { + if ($type == 2) { $p1 = floor($now / $all * 100); $r = '[' . $p1 . '/100%]'; } return $r; } - // - public function addFlog($t, $u1, $u2) - { - $vLog = ''; - if (isset($this->info[$this->uids[$u1]]['id'])) { - $vLog .= 'time1=' . time() . '||s1=' . $this->users[$this->uids[$u1]]['id']['sex'] . '||t1=' . $this->users[$this->uids[$u1]]['team'] . '||login1=' . $this->users[$this->uids[$u1]]['login'] . '||'; - } - if (isset($this->info[$this->uids[$u2]]['id'])) { - $vLog .= 'time2=' . time() . '||s2=' . $this->users[$this->uids[$u2]]['sex'] . '||t2=' . $this->users[$this->uids[$u2]]['team'] . '||login2=' . $this->users[$this->uids[$u2]]['login'] . ''; - } - $vLog = rtrim($vLog, '||'); - $mas1 = [ - 'time' => time(), - 'battle' => $this->info['id'], - 'id_hod' => $this->hodID, - 'text' => '', - 'vars' => $vLog, - 'zona1' => '', - 'zonb1' => '', - 'zona2' => '', - 'zonb2' => '', - 'type' => '1', - ]; - $mas1['text'] = $t; - $this->add_log($mas1); - } - // - /* public function logCache() - { - global $c,$u,$log_text; - sleep(2); - $thishodID = mysql_fetch_array(mysql_query('SELECT `id` FROM `battle_logs` WHERE `battle` = "'.$this->info['id'].'" ORDER BY `id` DESC LIMIT 1')); - if(isset($hodID['id'])) { - $hodID = $hodID['id']; - }else{ - $hodID = 0; - } - if( $hodID > $this->info['hod'] ) { - unlink("../../battle_logs/btl_".$this->info['id'].".js"); - $this->info['hod'] = $hodID; - mysql_query('UPDATE `battle` SET `hod` = "'.$hodID.'" WHERE `id` = "'.$this->info['id'].'" LIMIT 1'); - if( $u->info['design'] == 1 ) { - $js = ''; $pll = 0; - if($_POST['idlog']<1){ $_POST['idlog'] = 0; } - // - $sp = mysql_query('SELECT - `id`,`type`,`time`,`battle`,`id_hod`,`text`,`vars`,`zona1`,`zona2`,`zonb1`,`zonb2` - FROM `battle_logs` WHERE `battle` = "'.$this->info['id'].'" AND `id` > '.mysql_real_escape_string($_POST['idlog']).' AND `id_hod` > '.($this->hodID-7).' LIMIT 100'); - $jin = 0; $forYou2 = 0; - while($pl = mysql_fetch_array($sp)) - { - $jin++; - $rt = $pl['text']; - $pl['vars'] = str_replace('^^^^','rvnO',$pl['vars']); - $rt = str_replace('{tm1}',''.date('H:i',$pl['time']).'',$rt); - $rt = str_replace('{tm2}',''.date('H:i',$pl['time']).'',$rt); - $rt = str_replace('{tm3}',''.date('d.m.Y H:i',$pl['time']).'',$rt); - $rt = str_replace('{tm4}',''.date('d.m.Y H:i',$pl['time']).'',$rt); - $pl['text'] = $rt; - unset($rt); - if($pll < $pl['id']) { - $pll = $pl['id']; - } - $js = 'add_log('.$pl['id'].','.$forYou2.',"'.$pl['text'].'",'.$pl['id_hod'].',0,0,"'.str_replace('"','"',$pl['vars']).'");'.$js; - } - $js .= 'id_log='.$pll.';'; - }else{ - $js = ''; $pll = 0; - if($_POST['idlog']<1){ $_POST['idlog'] = 0; } - // - $sp = mysql_query('SELECT - `id`,`type`,`time`,`battle`,`id_hod`,`text`,`vars`,`zona1`,`zona2`,`zonb1`,`zonb2` - FROM `battle_logs` WHERE `battle` = "'.$this->info['id'].'" AND `id` > '.mysql_real_escape_string($_POST['idlog']).' AND `id_hod` > '.($this->hodID-7).' LIMIT 100'); - $jin = 0; $forYou2 = 0; - while($pl = mysql_fetch_array($sp)) - { - $jin++; - $rt = $pl['text']; - //$rt = str_replace('^^^^','=',$rt); - $pl['vars'] = str_replace('^^^^','rvnO',$pl['vars']); - $rt = str_replace('{tm1}',''.date('H:i',$pl['time']).'',$rt); - $rt = str_replace('{tm2}',''.date('H:i',$pl['time']).'',$rt); - $rt = str_replace('{tm3}',''.date('d.m.Y H:i',$pl['time']).'',$rt); - $rt = str_replace('{tm4}',''.date('d.m.Y H:i',$pl['time']).'',$rt); - $pl['text'] = $rt; - unset($rt); - if($pll < $pl['id']) { - $pll = $pl['id']; - } - $js = 'add_log('.$pl['id'].','.$forYou2.',"'.$pl['text'].'",'.$pl['id_hod'].',0,0,"'.str_replace('"','"',$pl['vars']).'");'.$js; - } - $js .= 'id_log='.$pll.';'; - } - // - $fp = fopen("battle_logs/btl_".$this->info['id'].".js", "w"); - fwrite($fp, 'var vlogid = '.$this->info['hod'].';var loadingLogNow = true;function logRefleshedCache(){ '.$js.' }'); - fclose($fp); - // - } - return true; - }*/ - - // - public function lookLog() + public function lookLog(): string { global $c, $u, $log_text; - $hodID = mysql_fetch_array(mysql_query('SELECT `id`,`id_hod` FROM `battle_logs` WHERE `battle` = "' . $this->info['id'] . '" ORDER BY `time` ASC LIMIT 1')); + $hodID = mysql_fetch_array( + mysql_query( + 'SELECT `id`,`id_hod` FROM `battle_logs` WHERE `battle` = "' . $this->info['id'] . '" ORDER BY `time` ASC LIMIT 1' + ) + ); if ($hodID['id_hod'] <= 1) { $u->info['alog'] = 0; } if (isset($hodID['id']) && $this->info['team_win'] != -1) { - $hodID = mysql_fetch_array(mysql_query('SELECT `id` FROM `battle_logs_save` WHERE `battle` = "' . $this->info['id'] . '" ORDER BY `time` ASC LIMIT 1')); - } - if (isset($hodID['id'])) { - $hodID = $hodID['id']; - } else { - $hodID = 0; + $hodID = mysql_fetch_array( + mysql_query( + 'SELECT `id` FROM `battle_logs_save` WHERE `battle` = "' . $this->info['id'] . '" ORDER BY `time` ASC LIMIT 1' + ) + ); } + $hodID = $hodID['id'] ?? 0; $updt = 0; - if ($u->info['design'] == 1) { - $js = ''; - $pll = 0; - if ($_POST['idlog'] < 1) { - $_POST['idlog'] = 0; - } - $talog = mysql_fetch_array(mysql_query('SELECT `alog` FROM `stats` WHERE `id` = "' . $u->info['id'] . '" LIMIT 1')); - $sp = mysql_query('SELECT - `id`,`type`,`time`,`battle`,`id_hod`,`text`,`vars`,`zona1`,`zona2`,`zonb1`,`zonb2` - FROM `battle_logs` - WHERE `battle` = "' . $this->info['id'] . '" AND `id_hod` >= ' . $talog['alog'] . ' ORDER BY `id` DESC'); - if (isset($sp) && $this->info['team_win'] != -1) { - $sp = mysql_query('SELECT - `id`,`type`,`time`,`battle`,`id_hod`,`text`,`vars`,`zona1`,`zona2`,`zonb1`,`zonb2` - FROM `battle_logs_save` - WHERE `battle` = "' . $this->info['id'] . '" AND `id_hod` >= ' . $talog['alog'] . ' ORDER BY `id` DESC'); - } - $jin = 0; - $forYou2 = 0; - while ($pl = mysql_fetch_array($sp)) { - if ($jin == 0) { - $u->info['alog'] = $pl['id_hod']; - } - $jin++; - if ((true == false) && ($pl['type'] == 1 || $pl['type'] == 6)) { - } else { - $rt = $pl['text']; - //$rt = str_replace('^^^^','=',$rt); - $pl['vars'] = str_replace('^^^^', 'rvnO', $pl['vars']); - $rt = str_replace('{tm1}', '' . date('H:i', $pl['time']) . '', - $rt); - $rt = str_replace('{tm2}', '' . date('H:i', $pl['time']) . '', - $rt); - $rt = str_replace('{tm3}', - '' . date('d.m.Y H:i', $pl['time']) . '', $rt); - $rt = str_replace('{tm4}', - '' . date('d.m.Y H:i', $pl['time']) . '', $rt); - $pl['text'] = $rt; - } - unset($rt); - if ($pll < $pl['id']) { - $pll = $pl['id']; - } - $js = 'add_log(' . $pl['id'] . ',' . $forYou2 . ',"' . $pl['text'] . '",' . $pl['id_hod'] . ',0,0,"' . str_replace('"', - '"', $pl['vars']) . '");' . $js; - } - mysql_query('UPDATE `stats` SET `alog`="' . $u->info['alog'] . '" WHERE `id` ="' . $u->info['id'] . '" LIMIT 1'); - $js .= 'id_log=' . $pll . ';'; - } else { - $js = ''; - $pll = 0; - if ($_POST['idlog'] < 1) { - $_POST['idlog'] = 0; - } - $talog = mysql_fetch_array(mysql_query('SELECT `alog` FROM `stats` WHERE `id` = "' . $u->info['id'] . '" LIMIT 1')); - $sp = mysql_query('SELECT - `id`,`type`,`time`,`battle`,`id_hod`,`text`,`vars`,`zona1`,`zona2`,`zonb1`,`zonb2` - FROM `battle_logs` - WHERE `battle` = "' . $this->info['id'] . '" AND `id_hod` >= ' . $talog['alog'] . ' ORDER BY `id` DESC'); - if (isset($sp) && $this->info['team_win'] != -1) { - $sp = mysql_query('SELECT - `id`,`type`,`time`,`battle`,`id_hod`,`text`,`vars`,`zona1`,`zona2`,`zonb1`,`zonb2` - FROM `battle_logs_save` - WHERE `battle` = "' . $this->info['id'] . '" AND `id_hod` >= ' . $talog['alog'] . ' ORDER BY `id` DESC'); - } - $jin = 0; - $forYou2 = 0; - while ($pl = mysql_fetch_array($sp)) { - if ($jin == 0) { - $u->info['alog'] = $pl['id_hod']; - } - $jin++; - $rt = $pl['text']; - //$rt = str_replace('^^^^','=',$rt); - $pl['vars'] = str_replace('^^^^', 'rvnO', $pl['vars']); - $rt = str_replace('{tm1}', '' . date('H:i', $pl['time']) . '', $rt); - $rt = str_replace('{tm2}', '' . date('H:i', $pl['time']) . '', $rt); - $rt = str_replace('{tm3}', '' . date('d.m.Y H:i', $pl['time']) . '', - $rt); - $rt = str_replace('{tm4}', '' . date('d.m.Y H:i', $pl['time']) . '', - $rt); - $pl['text'] = $rt; - unset($rt); - if ($pll < $pl['id']) { - $pll = $pl['id']; - } - $js = 'add_log(' . $pl['id'] . ',' . $forYou2 . ',"' . $pl['text'] . '",' . $pl['id_hod'] . ',0,0,"' . str_replace('"', - '"', $pl['vars']) . '");' . $js; - } - mysql_query('UPDATE `stats` SET `alog`="' . $u->info['alog'] . '" WHERE `id` ="' . $u->info['id'] . '" LIMIT 1'); - $js .= 'id_log=' . $pll . ';'; + $js = ''; + $pll = 0; + if ($_POST['idlog'] < 1) { + $_POST['idlog'] = 0; } + $talog = mysql_fetch_array( + mysql_query('SELECT `alog` FROM `stats` WHERE `id` = "' . $u->info['id'] . '" LIMIT 1') + ); + $sp = mysql_query( + 'SELECT + `id`,`type`,`time`,`battle`,`id_hod`,`text`,`vars`,`zona1`,`zona2`,`zonb1`,`zonb2` + FROM `battle_logs` + WHERE `battle` = "' . $this->info['id'] . '" AND `id_hod` >= ' . $talog['alog'] . ' ORDER BY `id` DESC' + ); + if (isset($sp) && $this->info['team_win'] != -1) { + $sp = mysql_query( + 'SELECT + `id`,`type`,`time`,`battle`,`id_hod`,`text`,`vars`,`zona1`,`zona2`,`zonb1`,`zonb2` + FROM `battle_logs_save` + WHERE `battle` = "' . $this->info['id'] . '" AND `id_hod` >= ' . $talog['alog'] . ' ORDER BY `id` DESC' + ); + } + $jin = 0; + $forYou2 = 0; + if (is_array($sp)) { + while ($pl = mysql_fetch_array($sp)) { + if ($jin == 0) { + $u->info['alog'] = $pl['id_hod']; + } + $jin++; + $rt = $pl['text']; + $pl['vars'] = str_replace('^^^^', 'rvnO', $pl['vars']); + $rt = str_replace( + '{tm1}', '' . date('H:i', $pl['time']) . '', + $rt + ); + $rt = str_replace( + '{tm2}', '' . date('H:i', $pl['time']) . '', + $rt + ); + $rt = str_replace( + '{tm3}', + '' . date('d.m.Y H:i', $pl['time']) . '', $rt + ); + $rt = str_replace( + '{tm4}', + '' . date('d.m.Y H:i', $pl['time']) . '', $rt + ); + $pl['text'] = $rt; + unset($rt); + if ($pll < $pl['id']) { + $pll = $pl['id']; + } + $js = 'add_log(' . $pl['id'] . ',' . $forYou2 . ',"' . $pl['text'] . '",' . $pl['id_hod'] . ',0,0,"' . str_replace( + '"', + '"', $pl['vars'] + ) . '");' . $js; + } + } + mysql_query( + 'UPDATE `stats` SET `alog`="' . $u->info['alog'] . '" WHERE `id` ="' . $u->info['id'] . '" LIMIT 1' + ); + $js .= 'id_log=' . $pll . ';'; return $js; } -// - public function lookmLog() + // + public function lookmLog(): string { global $c, $u, $log_text; $js = ''; $pll = 0; if ($this->info['type'] != 9) { - $hodID = mysql_fetch_array(mysql_query('SELECT `id`,`id_hod` FROM `battle_logs` WHERE `battle` = "' . $this->info['id'] . '" ORDER BY `time` ASC LIMIT 1')); + $hodID = mysql_fetch_array( + mysql_query( + 'SELECT `id`,`id_hod` FROM `battle_logs` WHERE `battle` = "' . $this->info['id'] . '" ORDER BY `time` ASC LIMIT 1' + ) + ); if ($hodID['id_hod'] <= 1) { $u->info['mlog'] = 0; } if (isset($hodID['id']) && $this->info['team_win'] != -1) { - $hodID = mysql_fetch_array(mysql_query('SELECT `id` FROM `battle_logs_save` WHERE `battle` = "' . $this->info['id'] . '" ORDER BY `time` ASC LIMIT 1')); + $hodID = mysql_fetch_array( + mysql_query( + 'SELECT `id` FROM `battle_logs_save` WHERE `battle` = "' . $this->info['id'] . '" ORDER BY `time` ASC LIMIT 1' + ) + ); } - if (isset($hodID['id'])) { - $hodID = $hodID['id']; - } else { - $hodID = 0; - } - $tmlog = mysql_fetch_array(mysql_query('SELECT `mlog` FROM `stats` WHERE `id` = "' . $u->info['id'] . '" LIMIT 1')); - $spm = mysql_query('SELECT + $hodID = $hodID['id'] ?? 0; + $tmlog = mysql_fetch_array( + mysql_query('SELECT `mlog` FROM `stats` WHERE `id` = "' . $u->info['id'] . '" LIMIT 1') + ); + $spm = mysql_query( + 'SELECT `id`,`type`,`time`,`battle`,`id_hod`,`text`,`vars`,`zona1`,`zona2`,`zonb1`,`zonb2` FROM `battle_logs` - WHERE `battle` = "' . $this->info['id'] . '" AND `id_hod` >= ' . $tmlog['mlog'] . ' AND `vars` LIKE "%' . $u->info['login'] . '%" ORDER BY `id` DESC'); + WHERE `battle` = "' . $this->info['id'] . '" AND `id_hod` >= ' . $tmlog['mlog'] . ' AND `vars` LIKE "%' . $u->info['login'] . '%" ORDER BY `id` DESC' + ); if (isset($spm) && $this->info['team_win'] != -1) { - $spm = mysql_query('SELECT + $spm = mysql_query( + 'SELECT `id`,`type`,`time`,`battle`,`id_hod`,`text`,`vars`,`zona1`,`zona2`,`zonb1`,`zonb2` FROM `battle_logs_save` - WHERE `battle` = "' . $this->info['id'] . '" AND `id_hod` >= ' . $tmlog['mlog'] . ' AND `vars` LIKE "%' . $u->info['login'] . '%" ORDER BY `id` DESC'); + WHERE `battle` = "' . $this->info['id'] . '" AND `id_hod` >= ' . $tmlog['mlog'] . ' AND `vars` LIKE "%' . $u->info['login'] . '%" ORDER BY `id` DESC' + ); } $jin = 0; $forYou2 = 0; - - while ($plm = mysql_fetch_array($spm)) { - if ($jin == 0) { - $u->info['mlog'] = $plm['id_hod']; + if (is_array($spm)) { + while ($plm = mysql_fetch_array($spm)) { + if ($jin == 0) { + $u->info['mlog'] = $plm['id_hod']; + } + $jin++; + $rt = $plm['text']; + $plm['vars'] = str_replace('^^^^', 'rvnO', $plm['vars']); + $rt = str_replace( + '{tm1}', '' . date('H:i', $plm['time']) . '', $rt + ); + $rt = str_replace( + '{tm2}', '' . date('H:i', $plm['time']) . '', $rt + ); + $rt = str_replace( + '{tm3}', '' . date('d.m.Y H:i', $plm['time']) . '', + $rt + ); + $rt = str_replace( + '{tm4}', '' . date('d.m.Y H:i', $plm['time']) . '', + $rt + ); + $plm['text'] = $rt; + unset($rt); + if ($pll < $plm['id']) { + $pll = $plm['id']; + } + $js = 'add_mlog(' . $plm['id'] . ',' . $forYou2 . ',"' . $plm['text'] . '",' . $plm['id_hod'] . ',0,0,"' . str_replace( + '"', + '"', $plm['vars'] + ) . '");' . $js; } - $jin++; - $rt = $plm['text']; - $plm['vars'] = str_replace('^^^^', 'rvnO', $plm['vars']); - $rt = str_replace('{tm1}', '' . date('H:i', $plm['time']) . '', $rt); - $rt = str_replace('{tm2}', '' . date('H:i', $plm['time']) . '', $rt); - $rt = str_replace('{tm3}', '' . date('d.m.Y H:i', $plm['time']) . '', - $rt); - $rt = str_replace('{tm4}', '' . date('d.m.Y H:i', $plm['time']) . '', - $rt); - $plm['text'] = $rt; - unset($rt); - if ($pll < $plm['id']) { - $pll = $plm['id']; - } - $js = 'add_mlog(' . $plm['id'] . ',' . $forYou2 . ',"' . $plm['text'] . '",' . $plm['id_hod'] . ',0,0,"' . str_replace('"', - '"', $plm['vars']) . '");' . $js; } $js .= 'id_mlog=' . $pll . ';'; - mysql_query('UPDATE `stats` SET `mlog`="' . $u->info['mlog'] . '" WHERE `id` ="' . $u->info['id'] . '" LIMIT 1'); + mysql_query( + 'UPDATE `stats` SET `mlog`="' . $u->info['mlog'] . '" WHERE `id` ="' . $u->info['id'] . '" LIMIT 1' + ); } return $js; } -//====================== + //====================== // public function add_log($mass) @@ -8539,7 +8022,9 @@ class Battle if (empty($mass['text'])) { return; } - mysql_query('INSERT INTO `battle_logs` (`time`,`battle`,`id_hod`,`text`,`vars`,`type`) VALUES (unix_timestamp(), "' . $mass['battle'] . '","' . $mass['id_hod'] . '","' . $mass['text'] . '","' . $mass['vars'] . '","' . $mass['type'] . '")'); + mysql_query( + 'INSERT INTO `battle_logs` (`time`,`battle`,`id_hod`,`text`,`vars`,`type`) VALUES (unix_timestamp(), "' . $mass['battle'] . '","' . $mass['id_hod'] . '","' . $mass['text'] . '","' . $mass['vars'] . '","' . $mass['type'] . '")' + ); if (rand(2, 10) == 10) { $this->get_comment(); } @@ -8673,8 +8158,7 @@ class Battle '< > < > < > < >', '< > ', ]; - //$act_com = array(); - if (rand(1, 6) == rand(1, 6)) { + if (rand(1, 12) === 1) { $txt = '{tm1} : ' . $boycom[rand(0, count($boycom) - 1)] . ''; $vLog = 'time1=' . time() . ''; @@ -8695,6 +8179,7 @@ class Battle } else { return false; } + return true; } // @@ -8746,54 +8231,6 @@ class Battle $t[11]['z'] = round(0 + $itm['tym7']); $t[11]['t'] = 11; - // - /* - $inr = array(); - $i = 1; - while( $i <= 11 ) { - if( $t[$i] > 0 ) { - $j = 0; - while( $j < $t[$i] ) { - //if(isset($itm['tya'.$i]) && $itm['tya'.$i] > 0 && $i < 5 && $itm['tya'.$i] > 0) { - //$inr[] = $i; - //}elseif(isset($itm['tym'.($i-4)]) && $itm['tym'.($i-4)] > 0 && $i > 4 && $itm['tym'.($i-4)] > 0) { - //$inr[] = $i; - //} - if( isset($itm['tya'.$i]) && $itm['tya'.$i] > 0 ) { - $inr[] = $i; - $rk .= '*'.$i.'='.$j.'%*|'; - }else{ - $rk .= ''.$i.'='.$j.'%|'; - } - $j++; - } - //if( $u->info['admin'] > 0 ) { - - //} - } - $i++; - } - //shuffle($inr); - $tp = $inr[rand(0,count($inr)-1)]; - if( !isset($itm['tya'.$tp]) || $itm['tya'.$tp] < 1 ) { - if(isset($item['id'])) { - $this->error($u->info['id'],'battle::weaponTx. : id : -'.$item['id'].'-b'.$this->info['id'].'.( : tya'.$tp.'['.$itm['tya'.$tp].']).( : '.$rk.').( : '.count($inr).')'); - } - } - - // - if( $item['type'] == 18 ) { - $tp = 1; - }elseif( $item['type'] == 19 ) { - $tp = 2; - }elseif( $item['type'] == 20 ) { - $tp = 3; - }elseif( $item['type'] == 21 ) { - $tp = 4; - }else{ - //$tp = 0; - }*/ - $tpt = $t[0]['z']; $tpmin = $t[0]; $tpmax = $t[0]; @@ -8827,18 +8264,12 @@ class Battle $tp = $tpmax['t']; } - return $tp; } - // - /*public function error($login,$t) { - mysql_query('INSERT INTO `chat_system` (`text`,`city`,`login`,`to`,`type`,`new`,`time`) VALUES ("'.mysql_real_escape_string($t).'","capitalcity","","'.$login.'","3","1","'.time().'")'); - }*/ - // - public function weaponAt($item, $st, $x) + public function weaponAt($item, $st, $x): int { $tp = 0; $tp20 = 0; @@ -8885,9 +8316,6 @@ class Battle $min += 3 + (ceil($wst * 1.4) / 2.25) + $st['minAtack']; $max += 5 + (ceil(0.4 + $min / 0.9) / 2.25) + $st['maxAtack']; $tp20 = 5; - } else { - // - } $wst = ($st['s1'] * 0.02 + $st['s2'] * 0.02 + $st['s3'] * 0.05); @@ -8895,7 +8323,6 @@ class Battle $max1 = 4 + ceil(0.4 + $min1 / 0.9) / 1.25; $min = round(($min + $min1)); - //$max = round(($max+$max1)); } $tp = rand(($min + $max) / 3.5, (($min + $max) / 3.5 + (($min + $max) / 3.5) / 100 * 7)); } @@ -8903,10 +8330,10 @@ class Battle } // - public function weaponAt22($item, $st) + public function weaponAt22($item, $st): array { - $tp = 0; - $tp20 = 0; + $min = 0; + $max = 0; if (isset($item['id'])) { $itm = $this->lookStats($item['data']); // @@ -8916,651 +8343,20 @@ class Battle return [$min, $max]; } - public function domino($itm) - { - $r = 0; - //0 - inOdet , 1 - class , 2 - class-point , 3 - anti_class , 4 - antic_lass-point , 5 - level , 6 level_u - //15 - $clss = [ - 1 => 100, // - 2 => 80, // - 3 => 150, // - 14 => 100, // - 5 => 200, // - 7 => 50, // - 17 => 50, // - 10 => 80, // - 11 => 80, // - 12 => 80, // - 9 => 100, // - 8 => 100, // - 4 => 50, // - 16 => 80, // - 6 => 50 // - ]; - $r += $clss[$itm[0]]; - if ($itm[10] > 0) { - //. - if ($itm[10] < 500) { - // - $r += $clss[$itm[0]] * 4; - } else { - // - $r += $clss[$itm[0]] * 4; - } - } - return $r; - } - public function adomino($itm) - { - $r = 0; - //0 - inOdet , 1 - class , 2 - class-point , 3 - anti_class , 4 - antic_lass-point , 5 - level , 6 level_u - //15 - $clss = [ - 1 => 80, // - 2 => 60, // - 3 => 130, // - 14 => 80, // - 5 => 180, // - 7 => 30, // - 17 => 30, // - 10 => 50, // - 11 => 50, // - 12 => 50, // - 9 => 80, // - 8 => 80, // - 4 => 30, // - 16 => 50, // - 6 => 30 // - ]; - $r += $clss[$itm[0]]; - return $r; - } - - public function domino_lvl($r, $lvl, $lvl_itm) - { - if ($lvl < $lvl_itm) { - $r = $r * ((50 - $lvl + $lvl_itm) / 100); - // , . \ , - $r = ceil($r); - } - return $r; - } - /* - public $bal = array( - // X - Y - // , , , , , - '' => array(0,50,90,00,90,50,50), // - '' => array(0,00,50,90,00,50,70), // - '' => array(0,90,00,50,90,30,50), // - '' => array(0,00,90,00,50,50,50), // - '' => array(0,50,30,90,00,50,70), // - '' => array(0,90,30,00,90,50,50) // - ); - */ - - /* - public function domino_all($v1,$v2,$d1,$d2) { - // 1 , 2 , 1 , 2 - // - $mx = 0; - $cs = array(NULL,'','','','','',''); - $r = array( - 0 => 0, - ''=>array(), - ''=>array(), - ''=>array(), - ''=>array(), - ''=>array(), - ''=>array() - ); - $i = 0; - while($i <= 7) { - if(isset($v1[$i]) || isset($v2[$i])) { - $r[$cs[$i]] = round(((1+($v1[$i]*1.3)-$v2[$i]+$d1[$i]+$d2[$i])/1300),2); - if($v1[$i] > $mx) { - $mx = $v1[$i]; - $r[0] = $cs[$i]; - $r[1] = $i; - } - } - $i++; - } - return $r; - }*/ - - public function yronLvl($lvl1, $lvl2) - { - $r = [ - 1 => [ - 0, - 200, - 200, - 200, - 200, - 200, - 200, - 200, - 200, - 200, - 200, - 200, - 200, - 200, - 200, - 200, - 200, - 200, - 200, - 200, - 200, - 200, - ], - 2 => [ - 0, - 600, - 400, - 200, - 200, - 200, - 200, - 200, - 200, - 200, - 200, - 200, - 200, - 200, - 200, - 200, - 200, - 200, - 200, - 200, - 200, - 200, - ], - 3 => [ - 0, - 1000, - 800, - 600, - 400, - 200, - 200, - 200, - 200, - 200, - 200, - 200, - 200, - 200, - 200, - 200, - 200, - 200, - 200, - 200, - 200, - 200, - ], - 4 => [ - 0, - 1400, - 1200, - 1000, - 800, - 600, - 400, - 200, - 200, - 200, - 200, - 200, - 200, - 200, - 200, - 200, - 200, - 200, - 200, - 200, - 200, - 200, - ], - 5 => [ - 0, - 1800, - 1600, - 1400, - 1200, - 1000, - 800, - 600, - 400, - 200, - 200, - 200, - 200, - 200, - 200, - 200, - 200, - 200, - 200, - 200, - 200, - 200, - ], - 6 => [ - 0, - 2200, - 2000, - 1800, - 1600, - 1400, - 1200, - 1000, - 800, - 600, - 400, - 200, - 200, - 200, - 200, - 200, - 200, - 200, - 200, - 200, - 200, - 200, - ], - 7 => [ - 0, - 2600, - 2400, - 2200, - 2000, - 1800, - 1600, - 1400, - 1200, - 1000, - 800, - 600, - 400, - 200, - 200, - 200, - 200, - 200, - 200, - 200, - 200, - 200, - ], - 8 => [ - 0, - 3000, - 2800, - 2600, - 2400, - 2200, - 2000, - 1800, - 1600, - 1400, - 1200, - 1000, - 800, - 600, - 400, - 200, - 200, - 200, - 200, - 200, - 200, - 200, - ], - 9 => [ - 0, - 3400, - 3200, - 3000, - 2800, - 2600, - 2400, - 2200, - 2000, - 1800, - 1600, - 1400, - 1200, - 1000, - 800, - 600, - 400, - 200, - 200, - 200, - 200, - 200, - ], - 10 => [ - 0, - 3800, - 3600, - 3400, - 3200, - 3000, - 2800, - 2600, - 2400, - 2200, - 2000, - 1800, - 1600, - 1400, - 1200, - 1000, - 800, - 600, - 400, - 200, - 200, - 200, - ], - 11 => [ - 0, - 4200, - 4000, - 3800, - 3600, - 3400, - 3200, - 3000, - 2800, - 2600, - 2400, - 2200, - 2000, - 1800, - 1600, - 1400, - 1200, - 1000, - 800, - 600, - 400, - 200, - ], - 12 => [ - 0, - 4600, - 4400, - 4200, - 4000, - 3800, - 3600, - 3400, - 3200, - 3000, - 2800, - 2600, - 2400, - 2200, - 2000, - 1800, - 1600, - 1400, - 1200, - 1000, - 800, - 600, - ], - 13 => [ - 0, - 5000, - 4800, - 4600, - 4400, - 4200, - 4000, - 3800, - 3600, - 3400, - 3200, - 3000, - 2800, - 2600, - 2400, - 2200, - 2000, - 1800, - 1600, - 1400, - 1200, - 1000, - ], - 14 => [ - 0, - 5400, - 5200, - 5000, - 4800, - 4600, - 4400, - 4200, - 4000, - 3800, - 3600, - 3400, - 3200, - 3000, - 2800, - 2600, - 2400, - 2200, - 2000, - 1800, - 1600, - 1400, - ], - 15 => [ - 0, - 5800, - 5600, - 5400, - 5200, - 5000, - 4800, - 4600, - 4400, - 4200, - 4000, - 3800, - 3600, - 3400, - 3200, - 3000, - 2800, - 2600, - 2400, - 2200, - 2000, - 1800, - ], - 16 => [ - 0, - 6200, - 6000, - 5800, - 5600, - 5400, - 5200, - 5000, - 4800, - 4600, - 4400, - 4200, - 4000, - 3800, - 3600, - 3400, - 3200, - 3000, - 2800, - 2600, - 2400, - 2200, - ], - 17 => [ - 0, - 6600, - 6400, - 6200, - 6000, - 5800, - 5600, - 5400, - 5200, - 5000, - 4800, - 4600, - 4400, - 4200, - 4000, - 3800, - 3600, - 3400, - 3200, - 3000, - 2800, - 2600, - ], - 18 => [ - 0, - 7000, - 6800, - 6600, - 6400, - 6200, - 6000, - 5800, - 5600, - 5400, - 5200, - 5000, - 4800, - 4600, - 4400, - 4200, - 4000, - 3800, - 3600, - 3400, - 3200, - 3000, - ], - 19 => [ - 0, - 7400, - 7200, - 7000, - 6800, - 6600, - 6400, - 6200, - 6000, - 5800, - 5600, - 5400, - 5200, - 5000, - 4800, - 4600, - 4400, - 4200, - 4000, - 3800, - 3600, - 3400, - ], - 20 => [ - 0, - 7800, - 7600, - 7400, - 7200, - 7000, - 6800, - 6600, - 6400, - 6200, - 6000, - 5800, - 5600, - 5400, - 5200, - 5000, - 4800, - 4600, - 4400, - 4200, - 4000, - 3800, - ], - 21 => [ - 0, - 8200, - 8000, - 7800, - 7600, - 7400, - 7200, - 7000, - 6800, - 6600, - 6400, - 6200, - 6000, - 5800, - 5600, - 5400, - 5200, - 5000, - 4800, - 4600, - 4400, - 4200, - ], - ]; - $r = floor($r[$lvl1][$lvl2] / 100); - $r = 0; - return $r; - } - // // - public function zago($v) + public function zago($v): float { if ($v > 1700) { $v = 1700; } - $r = round((1 - (pow(0.5, ($v / 399.51)))) * 100, 2); - return $r; + return round((1 - (pow(0.5, ($v / 399.51)))) * 100, 2); } // () public function zmgo($v) { - //if($v > 1000) { - // $v = 1000; - //} - $r = (1 - (pow(0.5, ($v / 250)))) * 100; - return $r; + return (1 - (pow(0.5, ($v / 250)))) * 100; } @@ -9591,7 +8387,7 @@ class Battle $ozashitam = null, $wp_type, $witm - ) { + ): array { global $u; // @@ -9633,12 +8429,6 @@ class Battle */ ]; - //$p['M'] = $p['M'] * 0.70; - //$p['K'] = $p['K'] * 0.70; // - - // 1.33 1.00 - //if ($weapom_damage == 0) { $p['T'] = 1; }elseif($weapom_damage == 1) { $p['T'] = 2.33;$p['iT'] = 2.33;} - $witmdata = $this->lookStats($witm['data']); // @@ -9672,261 +8462,49 @@ class Battle $p['S'] = $st1['s3'] * 1.00; $p['U'] = $st1['a4'] * 1.00; // // - } elseif ($r['type'] >= 5 && $r['type'] < 12) { - $p['S'] = $st1['s1'] * 0.5 + $st1['s2'] * 0.5; - $p['U'] = $st1['mg' . ($r['type'] - 4)] * 1.00; // - $p['Mage'] = true; } else { $p['S'] = 0; $p['U'] = 0; // ( } - // - // - /*if($r['type'] == 1) { //s2 - if ($st1['s2']<100) - { - $p['S'] = $p['S']*0.15; - }elseif ($st1['s2']>=150 && $st1['s2']<250){ - $p['S'] = $p['S']*0.25; - }elseif ($st1['s2']>=250 && $st1['s2']<300){ - $p['S'] = $p['S']*0.50; - }elseif ($st1['s2']>=300){ - $p['S'] = $p['S']*0.65; - } - - // - }elseif($r['type'] == 2) { //s1 - if ($st1['s1']<100) - { - $p['S'] = $p['S']*0.25; - }elseif ($st1['s1']>=100 && $st1['s1']<200){ - $p['S'] = $p['S']*0.35; - }elseif ($st1['s1']>=200 && $st1['s1']<250){ - $p['S'] = $p['S']*0.45; - }elseif ($st1['s1']>=250){ - $p['S'] = $p['S']*0.50; - } - - // - }elseif($r['type'] == 3) { //s1 - if ($st1['s1']<100) - { - $p['S'] = $p['S']*0.50; - }elseif ($st1['s1']>=125 && $st1['s1']<150){ - $p['S'] = $p['S']*0.65; - }elseif ($st1['s1']>=150 && $st1['s1']<175){ - $p['S'] = $p['S']*0.75; - }elseif ($st1['s1']>=175){ - $p['S'] = $p['S']*0.85; - } - - // - }elseif($r['type'] == 4) { //s3 - if ($st1['s3']<100) - { - $p['S'] = $p['S']*0.10; - }elseif ($st1['s3']>=150 && $st1['s3']<200){ - $p['S'] = $p['S']*0.15; - }elseif ($st1['s3']>=200 && $st1['s3']<250){ - $p['S'] = $p['S']*0.20; - }elseif ($st1['s3']>=250){ - $p['S'] = $p['S']*0.25; - } - - }*/ $r['bron']['rnd'] = rand($r['bron'][0], $r['bron'][1]); - // - /*$r['bron'] = array($min_bron, $max_bron); // - $r['bron']['rnd'] = rand($r['bron'][0],$r['bron'][1]); - //$r['bron']['rnd'] += $r['bron']['rnd']*0.01; // +1% - - $r['za'] = $zashita; // - $r['oza'] = $ozashita; // - - $r['zm'] = $zashitam; // - $r['ozm'] = $ozashitam; // */ - - - /* - // - r.B[0] = $('#v1').val() * 0.51; - r.B[1] = r.B[0] + 3.73; - r.B[0] = Math.ceil(r.B[0]); - r.B[1] = Math.floor(r.B[1]); - if( r.B[0] < 0 ) { r.B[0] = 0; } - if( r.B[1] < 0 ) { r.B[1] = 0; } - r.B[0] += 5; - r.B[1] += 6; - // - */ - // () - //$p['B'][0] = $st1['s1']*0.51; - //$p['B'][1] = $p['B'][0] + 3.73; $p['B'][0] = 2 + $level + $st1['s1'] - round($st1['s1'] / 5); $p['B'][1] = $p['B'][0] + 3; - /*$p['B'][0] += 5; - $p['B'][1] += 6;*/ - $p['B']['rnd'] = rand($p['B'][0], $p['B'][1]); $p['W']['rnd'] = rand($p['W'][0], $p['W'][1]); // - //$p['Mstart'] = 0; // if ($r['type'] == 12) { $r['min'] = ($p['B'][0] + $weapom_min) * $p['T'] * (1 + $p['M'] / 100); $r['max'] = ($p['B'][1] + $weapom_max) * $p['T'] * (1 + $p['M'] / 100); } else { $r['min'] = (($p['B'][0] + $p['S'] * 2 + $weapom_min * 2 + $p['U'] * 2) * $p['T']) * (1 + $p['M'] / 100); $r['max'] = (($p['B'][1] + $p['S'] * 2 + $weapom_max * 2 + $p['U'] * 2) * $p['T']) * (1 + $p['M'] / 100); - //$r['min'] = (($p['B'][0]+$p['S']+$weapom_min)*$p['T']*(1+($u1['level']/200)*$p['U']))*(1+$p['M']/100); - //$r['max'] = (($p['B'][1]+$p['S']+$weapom_max)*$p['T']*(1+($u1['level']/200)*$p['U']))*(1+$p['M']/100); - if ($witmdata['tr_lvl'] < $level) { - /* - $minp = 3*($level-$witmdata['tr_lvl']); - $r['min'] -= ceil($r['min'] / 100 * $minp); - $r['max'] -= ceil($r['max'] / 100 * $minp); - */ - } } - //$r['minm'] = $r['min']*0.13; - //$r['maxm'] = $r['max']*0.13; - - /*if( $wp_type == 22 ) { - // - $r['min'] = $r['min']/2; - $r['max'] = $r['max']/2; - }*/ - - // - // - //$r['Kmin'] = $r['min']; - //$r['Kmax'] = $r['max']; - - /*$r['min'] += $weapom_min; - $r['max'] += $weapom_max; - $r['Kmin'] += $weapom_min*2; - $r['Kmax'] += $weapom_max*2;*/ - - // - //$r['min_'] = floor($r['min']*0.13); - //$r['max_'] = floor($r['max']*0.13); - //$r['Kmin_'] = floor($r['Kmin']*0.13); - //$r['Kmax_'] = floor($r['Kmax']*0.13); - - // - //$r['ozash_rnd'] = $r['oza'][$r['type']][1]; /*rand($r['oza'][$r['type']][0],$r['oza'][$r['type']][1]);*/ - - //if($r['ozash_rnd'] > 80) { $r['ozash_rnd'] = 80; } - //if($r['ozash_rnd'] < 0) { $r['ozash_rnd'] = 0; } - - - //$r['ozash_rnd'] = 100-$r['ozash_rnd']; - - //$p['iT'] - - /*$r['min'] = floor($r['min']*$p['iT'] + $weapom_min); - $r['max'] = floor($r['max']*$p['iT'] + $weapom_max); - $r['Kmin'] = floor($r['Kmin']*$p['iT'] + $weapom_min*2); - $r['Kmax'] = floor($r['Kmax']*$p['iT'] + $weapom_max*2); - $r['min_'] = floor($r['min_']*$p['iT'] + $weapom_min); - $r['max_'] = floor($r['max_']*$p['iT'] + $weapom_max); - $r['Kmin_'] = floor($r['Kmin_']*$p['iT'] + $weapom_min*2); - $r['Kmax_'] = floor($r['Kmax_']*$p['iT'] + $weapom_max*2); - */ - - //$r['min'] -= ($r['min']/(200+$r['ozash_rnd'])*$r['ozash_rnd']); - //$r['max'] -= ($r['max']/(200+$r['ozash_rnd'])*$r['ozash_rnd']); - - //$r['Kmin'] -= ($r['Kmin']/(200+$r['ozash_rnd'])*$r['ozash_rnd']); - //$r['Kmax'] -= ($r['Kmax']/(200+$r['ozash_rnd'])*$r['ozash_rnd']); - $r['bRND'] = $p['B']['rnd']; - - //$r['min'] += $min_yron; - //$r['max'] += $max_yron; - - // - - /*if( $r['minm'] > $r['min'] ) { - $r['min'] = $r['minm']; - } - if( $r['maxm'] > $r['max'] ) { - $r['max'] = $r['maxm']; - }*/ - $r['Kmin'] = ceil((2 + (0 + $p['K'] / 100)) * $r['min']); $r['Kmax'] = ceil((2 + (0 + $p['K'] / 100)) * $r['max']); - //$r['Kmin'] = ceil( ( 1 + ( 1 + $p['K']/100 ) ) * $r['min']); - //$r['Kmax'] = ceil( ( 1 + ( 1 + $p['K']/100 ) ) * $r['max']); - - //$r['Kmin'] = ceil( ( $r['min'] * 2 ) * ( 1 + $p['K']/100 )); - //$r['Kmax'] = ceil( ( $r['max'] * 2 ) * ( 1 + $p['K']/100 )); - - //$r['Kmin'] = ceil( ( $r['min'] ) * ( 2 + $p['K']/100 )); - //$r['Kmax'] = ceil( ( $r['max'] ) * ( 2 + $p['K']/100 )); - // - //$r['Kminm'] = $r['Kmin']*0.05; - //$r['Kmaxm'] = $r['Kmax']*0.05; - // // if ($r['type'] < 5 || $r['type'] == 12) { $r['min_abron'] = round($r['min'] * 0.05); $r['max_abron'] = round($r['max'] * 0.05); - - /*if($proboi != 0) { - $r['bron']['rndold'] = $r['bron']['rnd']; - $r['yrnrz'] = $r['max']-$r['min']; - if( $r['yrnrz'] < 0 ) { - $r['yrnrz'] = -$r['yrnrz']; - } - }*/ if ($proboi != 0) { $r['bron']['rndold'] = $r['bron']['rnd']; - //$r['bron']['rnd'] = floor($r['bron']['rnd']/100*(100-$proboi)); - //if( $r['bron']['rnd'] < $r['bron'][0] ) { - $r['bron']['rnd'] = 0;//$r['bron'][0]; - //} - /*if( round($r['min']*0.45) < $r['bron']['rnd'] ) { - $r['bron']['rnd'] = round($r['min']*0.55); - } - // - $r['yrnrz'] = $r['max']-$r['min']; - if( $r['yrnrz'] < 0 ) { - $r['yrnrz'] = -$r['yrnrz']; - }*/ + $r['bron']['rnd'] = 0; } - - // - if ($r['bron']['rnd'] > $r['min']) { - // $r['bron']['rnd'] = $r['min']; - } - // - $r['Kmin'] -= $r['bron']['rnd'] * 2; // 2 $r['Kmax'] -= $r['bron']['rnd'] * 2; // 2 - $r['min'] -= $r['bron']['rnd']; // . $r['max'] -= $r['bron']['rnd']; // . - - if ($proboi != 0) { - // $r['yrnrz'] - // $r['bron']['rndold'] - } } // ( 80%) - if ($r['type'] < 5) { - $r['min'] = round($r['min'] / 100 * (100 - $this->zago($st2['za']))); - $r['max'] = round($r['max'] / 100 * (100 - $this->zago($st2['za']))); - $r['Kmin'] = round($r['Kmin'] / 100 * (100 - $this->zago($st2['za']))); - $r['Kmax'] = round($r['Kmax'] / 100 * (100 - $this->zago($st2['za']))); - } elseif ($r['type'] == 12) { + if ($r['type'] < 5 || $r['type'] == 12) { $r['min'] = round($r['min'] / 100 * (100 - $this->zago($st2['za']))); $r['max'] = round($r['max'] / 100 * (100 - $this->zago($st2['za']))); $r['Kmin'] = round($r['Kmin'] / 100 * (100 - $this->zago($st2['za']))); @@ -9938,20 +8516,6 @@ class Battle $r['Kmax'] = round($r['Kmax'] / 100 * (100 - $this->zmgo($st2['zm']))); } - /*if( $r['Kminm'] > $r['Kmin'] ) { - $r['Kmin'] = $r['Kminm']; - } - if( $r['Kmaxm'] > $r['Kmax'] ) { - $r['Kmax'] = $r['Kmaxm']; - } - - if( $r['minm'] > $r['min'] ) { - $r['min'] = $r['minm']; - } - if( $r['maxm'] > $r['max'] ) { - $r['max'] = $r['maxm']; - }*/ - $r['min'] = round($r['min']); $r['max'] = round($r['max']); $r['Kmin'] = round($r['Kmin']); @@ -9959,49 +8523,6 @@ class Battle $min_yrn = 0; //% - //if( $wp_type == 18 ) { - //$min_yrn = 17; - //} - - // - /*if($r['type'] == 1) { - $min_yrn += 50; - // - }elseif($r['type'] == 2) { - $min_yrn += 40; - // - }elseif($r['type'] == 3) { - $min_yrn += 35; - // - }elseif($r['type'] == 4) { - $min_yrn += 60; - // - }elseif($r['type'] >= 5){ - - }else { - - } - - // - if( $p['M'] > 0 ) { - //$min_yrn -= $p['M']/100*20; - } - // - if( $p['Mage'] == true && $r['type'] != 1 ) { - //$min_yrn += 30; - } - // - if( $r['type'] >= 5 ) { - $min_yrn += $zm_proc; - }else{ - $min_yrn += $za_proc; - } - if($r['type'] < 5){ - //$min_yrn += 50; - }*/ - - //$min_yrn = 33; - if ($u1['clone'] > 0) { $min_yrn = 75; } @@ -10015,12 +8536,20 @@ class Battle $r['Kmin_'] -= floor($r['Kmin_'] / 100 * ($min_yrn)); $r['Kmax_'] -= floor($r['Kmax_'] / 100 * ($min_yrn)); - $defd = mysql_fetch_array(mysql_query('SELECT SUM(`vals`) FROM `battle_actions` WHERE `btl` = "' . $this->info['id'] . '" AND `vars` = "use_defteam' . $u2['team'] . '" LIMIT 1')); + $defd = mysql_fetch_array( + mysql_query( + 'SELECT SUM(`vals`) FROM `battle_actions` WHERE `btl` = "' . $this->info['id'] . '" AND `vars` = "use_defteam' . $u2['team'] . '" LIMIT 1' + ) + ); if ($defd[0] > 100) { $defd[0] = 100; } $defd = 0 + $defd[0]; - $powd = mysql_fetch_array(mysql_query('SELECT SUM(`vals`) FROM `battle_actions` WHERE `btl` = "' . $this->info['id'] . '" AND `vars` = "use_powteam' . $u1['team'] . '" LIMIT 1')); + $powd = mysql_fetch_array( + mysql_query( + 'SELECT SUM(`vals`) FROM `battle_actions` WHERE `btl` = "' . $this->info['id'] . '" AND `vars` = "use_powteam' . $u1['team'] . '" LIMIT 1' + ) + ); if ($powd[0] > 100) { $powd[0] = 100; } @@ -10035,53 +8564,11 @@ class Battle $r['max_'] -= floor($defd); $r['Kmin_'] -= floor($defd * 2); $r['Kmax_'] -= floor($defd * 2); - - /* - if($r['type'] == 4) { - $r['Kmin'] -= floor($r['Kmin']/100*10); - $r['Kmax'] -= floor($r['Kmax']/100*10); - $r['Kmin_'] -= floor($r['Kmin_']/100*10); - $r['Kmax_'] -= floor($r['Kmax_']/100*10); - } - */ - $r['min'] += $st1['maxAtack']; $r['max'] += $st1['maxAtack']; $r['Kmin'] += $st1['maxAtack'] * 2; $r['Kmin'] += $st1['maxAtack'] * 2; - /*$r['min_'] += $st1['maxAtack']; - $r['max_'] += $st1['maxAtack']; - $r['Kmin_'] += $st1['maxAtack']*2; - $r['Kmin_'] += $st1['maxAtack']*2;*/ - - - /* - if($r['min'] < round($weapom_min/2)) { - $r['min'] = round($weapom_min/2); - } - if($r['max'] < round($weapom_max/2)) { - $r['max'] = round($weapom_max/2); - } - if($r['Kmin'] < round($weapom_min)) { - $r['Kmin'] = round($weapom_min); - } - if($r['Kmax'] < round($weapom_max)) { - $r['Kmax'] = round($weapom_max); - } - if($r['min_'] < round($weapom_min/2)) { - $r['min_'] = round($weapom_min/2); - } - if($r['max_'] < round($weapom_max/2)) { - $r['max_'] = round($weapom_max/2); - } - if($r['Kmin_'] < round($weapom_min)) { - $r['Kmin_'] = round($weapom_min); - } - if($r['Kmax_'] < round($weapom_max)) { - $r['Kmax_'] = round($weapom_max); - } - */ if ($r['min'] < 1) { $r['min'] = 1; } @@ -10107,13 +8594,6 @@ class Battle } public $pr_not_use = [], $pr_reset = [], $pr_yrn = false, $prnt = []; - // - // pl - // u1 - // t1 - // 99 = - // u2 - //$this->delPriem($pd[$k2][1][$k],${'p'.$k2},1,${'p'.$k2jn}); public $del_val = [], $re_pd = []; public function delPriem( @@ -10127,163 +8607,68 @@ class Battle $yrnt = null ) { global $u, $priem; - if (isset($pl['priem']['id']) && !isset($this->del_val['eff'][$pl['priem']['id']])) { - if ($pl['x'] > 1) { - $pl['name'] = $pl['name'] . ' x' . $pl['x'] . ''; - } - if ($pl['timeUse'] == 77) { - // - mysql_query('DELETE FROM `eff_users` WHERE `id` = "' . $pl['id'] . '" LIMIT 1'); - } - $vLog = 'time1=' . time() . '||s1=' . $u1['sex'] . '||t1=' . $u1['team'] . '||login1=' . $u1['login'] . ''; - if (isset($u2['id'])) { - $vLog .= '||s2=' . $u2['sex'] . '||t2=' . $u2['team'] . '||login2=' . $u2['login'] . ''; - } - $mas1 = [ - 'time' => time(), - 'battle' => $this->info['id'], - 'id_hod' => $this->hodID, - 'text' => '', - 'vars' => $vLog, - 'zona1' => '', - 'zonb1' => '', - 'zona2' => '', - 'zonb2' => '', - 'type' => '1', - ]; - if ($t == 4) { - $mas1['id_hod']++; - $t = 2; - } - if ($t == 1) { - $mas1['id_hod']++; - if ($pl['priem']['file'] != '0') { - if (file_exists('../../_incl_data/class/priems/' . $pl['priem']['file'] . '.php')) { - require('priems/' . $pl['priem']['file'] . '.php'); - } - } elseif ($pl['priem']['file3'] != '0') { - if (file_exists('../../_incl_data/class/priems/' . $pl['priem']['file3'] . '.php')) { - require('priems/' . $pl['priem']['file3'] . '.php'); - } - } else { - $mas1['text'] = '{tm1} {u1} {1x16x0} "' . $pl['name'] . '".'; - $this->del_val['eff'][$pl['priem']['id']] = true; - } - } elseif ($t == 2) { - $mas1['text'] = '{tm1} {u1} "' . $pl['name'] . '".'; - } elseif ($t == 99) { - $mas1['text'] = '{u1} "' . $pl['name'] . '" ' . $rznm . ' .'; - } else { - if ($t == 100) { - $mas1['id_hod']++; - } - $mas1['text'] = '{tm1} "' . $pl['name'] . '" {u1}.'; - } - if ($pl['priem']['id'] != 24) { - $this->add_log($mas1); - } - $this->stats[$this->uids[$pl['uid']]] = $u->getStats($pl['uid'], 0, 0, false, false, true); - } else { - // + if (!isset($pl['priem']['id']) || isset($this->del_val['eff'][$pl['priem']['id']])) { + return; } - } - - public function hodUserPriem($pl, $u1, $t = 1, $u2 = false, $rznm = ' ', $k2nm, $yrn, $yrnt) - { - global $u, $priem; - if (isset($pl['priem']['id']) && !isset($this->del_val['eff'][$pl['priem']['id']])) { - if ($yrnt == 1) { - // - $yrn = round($yrn); - } elseif ($yrnt == 6) { - // - $yrn = 0; - } elseif ($yrnt == 9) { - // - $yrn = 0; - } elseif ($yrnt == 3) { - // - - $yrn = round($yrn * 1.95) + ceil($yrn / 125 * $this->stats[$this->uids[$u1['id']]]['m3']); - } elseif ($yrnt == 4) { - // - - $yrn = round($yrn * 0.45) + ceil($yrn / 125 * $this->stats[$this->uids[$u1['id']]]['m3']); - } else { - // - $yrn = 0; - } - - if ($pl['x'] > 1) { - $pl['name'] = $pl['name'] . ' x' . $pl['x'] . ''; - } - $vLog = 'time1=' . time() . '||s1=' . $u1['sex'] . '||t1=' . $u1['team'] . '||login1=' . $u1['login'] . ''; - if (isset($u2['id'])) { - $vLog .= '||s2=' . $u2['sex'] . '||t2=' . $u2['team'] . '||login2=' . $u2['login'] . ''; - } - $mas1 = [ - 'time' => time(), - 'battle' => $this->info['id'], - 'id_hod' => $this->hodID, - 'text' => '', - 'vars' => $vLog, - 'zona1' => '', - 'zonb1' => '', - 'zona2' => '', - 'zonb2' => '', - 'type' => '1', - ]; - if ($t == 4) { - $mas1['id_hod']++; - $t = 2; - } - if ($t == 1) { - $mas1['id_hod']++; - if ($pl['priem']['file'] != '0') { - if (file_exists('../../_incl_data/class/priems/' . $pl['priem']['file'] . '.php')) { - require('priems/' . $pl['priem']['file'] . '.php'); - } - } else { - $mas1['text'] = '{tm1} {u1} {1x16x0} "' . $pl['name'] . '".'; - $this->del_val['eff'][$pl['priem']['id']] = true; + if ($pl['x'] > 1) { + $pl['name'] = $pl['name'] . ' x' . $pl['x'] . ''; + } + if ($pl['timeUse'] == 77) { + // + mysql_query('DELETE FROM `eff_users` WHERE `id` = "' . $pl['id'] . '" LIMIT 1'); + } + $vLog = 'time1=' . time() . '||s1=' . $u1['sex'] . '||t1=' . $u1['team'] . '||login1=' . $u1['login'] . ''; + if (isset($u2['id'])) { + $vLog .= '||s2=' . $u2['sex'] . '||t2=' . $u2['team'] . '||login2=' . $u2['login'] . ''; + } + $mas1 = [ + 'time' => time(), + 'battle' => $this->info['id'], + 'id_hod' => $this->hodID, + 'text' => '', + 'vars' => $vLog, + 'zona1' => '', + 'zonb1' => '', + 'zona2' => '', + 'zonb2' => '', + 'type' => '1', + ]; + if ($t == 4) { + $mas1['id_hod']++; + $t = 2; + } + if ($t == 1) { + $mas1['id_hod']++; + if ($pl['priem']['file'] != '0') { + if (file_exists('../../_incl_data/class/priems/' . $pl['priem']['file'] . '.php')) { + require('priems/' . $pl['priem']['file'] . '.php'); } + } elseif ($pl['priem']['file3'] != '0') { + if (file_exists('../../_incl_data/class/priems/' . $pl['priem']['file3'] . '.php')) { + require('priems/' . $pl['priem']['file3'] . '.php'); + } + } else { + $mas1['text'] = '{tm1} {u1} {1x16x0} "' . $pl['name'] . '".'; + $this->del_val['eff'][$pl['priem']['id']] = true; } + } elseif ($t == 2) { + $mas1['text'] = '{tm1} {u1} "' . $pl['name'] . '".'; + } elseif ($t == 99) { + $mas1['text'] = '{u1} "' . $pl['name'] . '" ' . $rznm . ' .'; + } else { + if ($t == 100) { + $mas1['id_hod']++; + } + $mas1['text'] = '{tm1} "' . $pl['name'] . '" {u1}.'; + } + if ($pl['priem']['id'] != 24) { $this->add_log($mas1); - $this->stats[$this->uids[$pl['uid']]] = $u->getStats($pl['uid'], 0, 0, false, false, true); - } else { - // } - } - - // - public function aPower($za, $za1, $yrn) - { - $z = 0; - /*$z = ($za+$za1)*0.35; - $z = round($yrn/$z*100);*/ - - $z = (1 - (pow(0.5, (($za + $za1) / 250)))) * 100; - return $z; - } - - // - public function bronGo($min, $max) - { - $v = 0; - //$v = ceil(($min+$max)/2,$max); - $v = ceil($min, $max); - return $v; - } - - // (test) - public function bronGoTest($min, $max) - { - $v = 0; - //$v = ceil(($min+$max)/2,$max); - $v = ceil(round($min, $max)); - return $v; + $this->stats[$this->uids[$pl['uid']]] = $u->getStats($pl['uid'], 0, 0, false, false, true); } // - public function lookStats($m) + public function lookStats($m): array { $ist = []; $di = explode('|', $m); @@ -10297,209 +8682,24 @@ class Battle return $ist; } - // - public function mfsgo1($a, $b) - { - $r = $this->form_mf($a, $b); - return $r; - } - - // - public function mfsgo2($a, $b) - { - $r = $this->form_mf($a, $b); - return $r; - } - // . () - public function form_mf($u, $au) + public function form_mf($u, $au): float { $v = $u * 5.1 - $au * 5.1; if ($v < 0) { $v = 0; } $r = (1 - (pow(99 / 100, (($v) / 100)))) * 100; - $r = round($r); - return $r; - } - - // () 5 . - public function msf_st2($mf, $lvl1, $lvl2) - { - $r = 0; - - if ($lvl1 > $lvl2) { - $lvl = $lvl1; - } else { - $lvl = $lvl2; - } - - /* - 1-: 0 50 - 0 25% - 2-: 51 151 - 25% 50% - 3-: 151 400 - 50% 75% - 4-: 400 - 75% + 0,01 * ( - 1000) - - 350 50 300 85 - 350 100 250 - 350 150 200 85 - 350 175 175 - 350 200 150 - 350 225 125 - 350 250 100 65 - 50 35 - - - - */ - // - if ($mf < 0) { - $mf = 0; - } - if ($lvl <= 7) { - // 0-7 - if ($mf <= 100) { //0-35 - $prc = $mf; - $r = 35 / 50 * $prc; - } elseif ($mf <= 200) { //35-65 - $prc = $mf - 101; - $r = $prc / 99 * 30; - $r += 35; - } elseif ($mf <= 400) { //65-85 - $prc = $mf - 201; - $r = $prc / 199 * 20; - $r += 65; - } else { //> 75 - $r = 85 + 0.01 * abs(($mf - 1000)); - } - } else { - // - if ($mf <= 100) { //0-45 - $prc = $mf; - $r = 45 / 100 * $prc; - } elseif ($mf <= 300) { //45-65 - $prc = $mf - 101; - $r = $prc / 199 * 20; - $r += 45; - } elseif ($mf <= 450) { //65-75 - $prc = $mf - 301; - $r = $prc / 149 * 10; - $r += 65; - } else { //> 75 - $r = 85; - //$r = 75 + 0.01 * abs(($mf-1000)); - } - } - - if ($r < 0) { - $r = 0; - } - - return $r; - } - - // () - public function msf_st($mf, $lvl1, $lvl2) - { - $r = 0; - - if ($lvl1 > $lvl2) { - $lvl = $lvl1; - } else { - $lvl = $lvl2; - } - - /* - 1-: 0 100 - 0 25% - 2-: 101 400 - 35% 70% - 3-: 401 1000 - 70% 85% - 4-: 1000 - 85% + 0,01 * ( - 1000) - */ - /* . 150 , 350 . - - - 75 750 675 85 - 100 750 650 70 - 150 750 600 - 200 750 550 55 - - 300 750 450 50 - 350 750 400 50 - - 700 , 750 . . - */ - - if ($mf < 0) { - $mf = 0; - } - // - if ($lvl <= 7) { - // 0-7 - if ($mf <= 200) { //0-60 - $prc = $mf; - $r = 60 / 200 * $prc; - } elseif ($mf <= 550) { //60-70 - $prc = $mf - 201; - $r = $prc / 349 * 10; - $r += 60; - } elseif ($mf <= 675) { //70-75 - $prc = $mf - 551; - $r = $prc / 124 * 5; - $r += 70; - } else { //> 85 - $r = 76; - //$r = 85 + 0.01 * abs(($mf-1000)); - } - } else { - // - /* . 150 , 350 . - - - 50 950 1000 85 - 100 950 850 - 150 950 800 - 250 950 700 80 - - 300 950 650 75 - 400 950 550 70 - - - 100 - 50, . . - */ - if ($mf <= 250) { //0-35 - $prc = $mf; - $r = 35 / 250 * $prc; - } elseif ($mf <= 600) { //35-50 - $prc = $mf - 251; - $r = $prc / 349 * 15; - $r += 35; - } elseif ($mf <= 800) { //50-70 - $prc = $mf - 601; - $r = $prc / 199 * 20; - $r += 50; - } else { //> 85 - $r = 75; - //$r = 75 + 0.01 * abs(($mf-1000)); - } - } - - if ($r < 0) { - $r = 0; - } - - - return floor($r * 1.25); + return round($r); } // - public function mfs($type, $mf, $lvl1, $lvl2) + public function mfs($type, $mf, $lvl1, $lvl2): int { $rval = 0; switch ($type) { case 1: - // - if ($mf['amf'] < 0) { $mf['amf'] = 0; } @@ -10508,8 +8708,6 @@ class Battle } if ($mf['mf'] > $mf['smf']) { $rval = 100 - floor(((($mf['smf']) / ($mf['mf'] + 1)) * 100)); - } else { - $rval = 0; } if ($rval < 1) { @@ -10526,11 +8724,8 @@ class Battle $rval = 100; } } - - break; case 2: - if ($mf['mf'] < 0) { $mf['mf'] = 0; } @@ -10543,11 +8738,8 @@ class Battle if ($mf['asmf'] < 0) { $mf['asmf'] = 0; } - if ($mf['mf'] > $mf['smf']) { $rval = 100 - floor(((($mf['smf']) / ($mf['mf'] + 1)) * 100)); //2.5 - } else { - $rval = 0; } if ($rval < 1) { $rval = 0; @@ -10555,8 +8747,7 @@ class Battle if ($rval > 75) { $rval = 75; } - if ($mf['asmf'] >= 0) // - { + if ($mf['asmf'] >= 0) { if ($mf['asmf'] > 100) { $mf['asmf'] = 100; } @@ -10572,35 +8763,21 @@ class Battle $rval = 100; } } - - break; case 3: - //$mf[1] -= 4; - //$mf[2] -= 4; if ($mf[1] < 1) { $mf[1] = 1; } if ($mf[2] < 1) { $mf[2] = 1; } - - //$rval = $mf[1] - $mf[2]; // $rval = $mf[1] - $mf[2] / 2; if ($rval > 75) { $rval = 75; } - //$rval = round($rval/3); if ($rval < 1) { $rval = 1; } - - //$rval = (1-( pow(0.75, ($rval/125) ) ))*100; - - //if( $rval > 60 ) { - // $rval = 60; - //} - break; case 4: $mf = round($mf * 0.6); @@ -10610,7 +8787,6 @@ class Battle if ($mf > 100) { $mf = 100; } - //$mf = (1-( pow(0.5, ($mf/200) ) ))*100; $rval = min($mf, 100); // break; case 5: @@ -10621,38 +8797,25 @@ class Battle break; case 6: // - //$mf['a'] - //$mf['b'] if ($mf['a'] > 0) { if ($mf['b'] > 0) { $rval = round($mf['a'] - ($mf['b'] / 2)); } else { $rval = $mf['a']; } - } else { - $rval = 0; } - - if ($rval < 1) { $rval = 0; } if ($rval > 75) { $rval = 75; } - - break; } - if ($this->get_chanse($rval) == true) { - $rval = 1; - } else { - $rval = 0; - } - return $rval; + return $this->get_chanse($rval) ? 1 : 0; } - public function dodge($a, $b) + public function dodge($a, $b): bool { $i = 0; $arr = []; // @@ -10663,72 +8826,36 @@ class Battle $arr[] = $rand; $i++; } - $n = mt_rand(1, 100); - return (!!array_search($n, $arr)); + return (bool)array_search($n, $arr); } - public function get_chanse($percent) + public function get_chanse($percent): bool { - /*$a = 101+$percent; - $b = 100-$percent; - $i = 1; - if(($a-$b)>0){ - while($i<=$a-$b){ - $conp[] = rand(1,100); - //$conp[] = mt_rand(1,100); - if( $i > 100 ) { - $i = ($a-$b+1); - } - $i++; - } - } - $t = count($conp); - $prob = round($percent); - if(@array_search($prob,$conp)!=false){ - $critical = true; - }else{ - $critical = false; - }*/ - /*if( rand(0,100) <= $percent ) { - $critical = true; - }else{ - $critical = false; - }*/ if ($percent >= 100) { $percent = 100; } elseif ($percent == 0) { $percent = 0; } - $critical = $this->dodge(1, $percent); - return $critical; - } - - // - public function get_chanse_new($persent) - { - $mm = 1; - if (mt_rand($mm, 100 * $mm) <= $persent * $mm) { - return true; - } else { - return false; - } + return $this->dodge(1, $percent); } // public function smena($uid, $auto = false, $lastdie = false) { global $u; - if (($auto == false && $u->info['smena'] > 0) || $auto == true) { + if ((!$auto && $u->info['smena'] > 0) || $auto) { if ($this->stats[$this->uids[$u->info['id']]]['hpNow'] >= 1) { if (isset($this->uids[$uid]) && $uid != $u->info['id'] && $this->users[$this->uids[$uid]]['team'] != $this->users[$this->uids[$u->info['id']]]['team']) { - if (!isset($this->ga[$u->info['id']][$uid]) || $lastdie == true) { + if (!isset($this->ga[$u->info['id']][$uid]) || $lastdie) { if (ceil($this->stats[$this->uids[$uid]]['hpNow']) >= 1) { // - if ($auto == false) { + if (!$auto) { $u->info['smena']--; } - $upd = mysql_query('UPDATE `stats` SET `enemy` = "' . $uid . '",`smena` = "' . $u->info['smena'] . '" WHERE `id` = "' . $u->info['id'] . '" LIMIT 1'); + $upd = mysql_query( + 'UPDATE `stats` SET `enemy` = "' . $uid . '",`smena` = "' . $u->info['smena'] . '" WHERE `id` = "' . $u->info['id'] . '" LIMIT 1' + ); $u->info['enemy'] = $uid; $this->users[$this->uids[$uid]]['smena'] = $u->info['smena']; $this->users[$this->uids[$u->info['id']]]['enemy'] = $uid; @@ -10779,12 +8906,10 @@ class Battle $msh = []; if ($j == 0 && $z == 0) { $enemydie = 0; - if (isset($this->stats[$this->uids[$u->info['enemy']]])) { $u->info['enemy'] = 0; $enemydie = 1; } - if ((!isset($this->uids[(-($u->info['enemy']))]) || $this->stats[$this->uids[(-($u->info['enemy']))]]['hpNow'] < 1) && ($u->info['enemy'] < 0 || $enemydie == 1)) { $i = 0; $j = 0; @@ -10812,90 +8937,47 @@ class Battle } else { if ($u->info['enemy'] < 0) { $smnr5 = $this->smena(-($u->info['enemy']), true); - /*if( $smnr5 != 1 ) { - if( !isset($this->uids[(-($u->info['enemy']))]) ) { - $u->info['enemy'] = $ms_all[rand(0,(count($ms_all)-1))]; - mysql_query('UPDATE `stats` SET `enemy` = "'.$u->info['enemy'].'" WHERE `id` = "'.$u->info['id'].'" LIMIT 1'); - } - }*/ unset($smnr5); } } } - //- new - /*public function autoSmena() - { - global $u; - $ms = array(); - $ms_all = array(); - $i = 0; $j = 0; - while($iusers)) - { - if(isset($this->users[$i]) && $this->users[$i]['id']!=$u->info['id'] && $this->users[$i]['team']!=$u->info['team'] && $this->stats[$i]['hpNow']>=1 && -($u->info['enemy']) != $this->users[$i]['id']) - { - if(!isset($this->ga[$u->info['id']][$this->users[$i]['id']])) - { - $ms[$j] = $this->users[$i]['id']; - $j++; - } - if( !isset($this->uids[(-($u->info['enemy']))]) ) { - $ms_all[] = $this->users[$i]['id']; - } - } - $i++; - } - - $ms = $ms[rand(0,$j-1)]; - if($j>0) - { - $this->smena($ms,true); - }else{ - if( $u->info['enemy'] < 0 ) { - $smnr5 = $this->smena(-($u->info['enemy']),true); - if( $smnr5 != 1 ) { - //$u->info['enemy'] = -($u->info['enemy']); - //mysql_query('UPDATE `stats` SET `enemy` = "'.$u->info['enemy'].'" WHERE `id` = "'.$u->info['id'].'" LIMIT 1'); - if( !isset($this->uids[(-($u->info['enemy']))]) ) { - $u->info['enemy'] = $ms_all[rand(0,(count($ms_all)-1))]; - mysql_query('UPDATE `stats` SET `enemy` = "'.$u->info['enemy'].'" WHERE `id` = "'.$u->info['id'].'" LIMIT 1'); - } - //echo 'Fatal error: '.$smnr5.' #'.$j.''; - } - unset($smnr5); - //mysql_query('UPDATE `stats` SET `enemy` = "'.$u->info['enemy'].'" WHERE `id` = "'.$u->info['id'].'" LIMIT 1'); - } - } - }*/ - // () public function botAtack($uid, $pl, $tp) { - /*if (isset($uid['id'])) {$uidt=$uid['id'];} else {$uidt=$uid;} - if (isset($pl['id'])) {$plt=$pl['id'];} else {$plt=$pl;} - $test_uid = mysql_fetch_array(mysql_query('SELECT * FROM `stats` WHERE `id` = "'.$uidt.'" AND `hpNow` >= 1 LIMIT 1')); - $test_pl = mysql_fetch_array(mysql_query('SELECT * FROM `stats` WHERE `id` = "'.$plt.'" AND `hpNow` >= 1 LIMIT 1')); - if (isset($test_uid['id']) && isset($test_pl['id']) && $test_uid['id']!=$test_pl['id']) - { - }*/ - $test_atack = mysql_fetch_array(mysql_query('SELECT `id` FROM `battle_act` WHERE `battle` = "' . $this->info['id'] . '" AND (( + $test_atack = mysql_fetch_array( + mysql_query( + 'SELECT `id` FROM `battle_act` WHERE `battle` = "' . $this->info['id'] . '" AND (( `uid1` = "' . $pl . '" AND `uid2` = "' . $uid . '" ) OR ( `uid2` = "' . $pl . '" AND `uid1` = "' . $uid . '" - )) LIMIT 1')); + )) LIMIT 1' + ) + ); if ($tp == 1 && !isset($test_atack['id'])) { - $test_uid = mysql_fetch_array(mysql_query('SELECT * FROM `stats` WHERE `id` = "' . $uid . '" AND `hpNow` >= 1 LIMIT 1')); - $test_pl = mysql_fetch_array(mysql_query('SELECT * FROM `stats` WHERE `id` = "' . $pl . '" AND `hpNow` >= 1 LIMIT 1')); + $test_uid = mysql_fetch_array( + mysql_query('SELECT * FROM `stats` WHERE `id` = "' . $uid . '" AND `hpNow` >= 1 LIMIT 1') + ); + $test_pl = mysql_fetch_array( + mysql_query('SELECT * FROM `stats` WHERE `id` = "' . $pl . '" AND `hpNow` >= 1 LIMIT 1') + ); if (isset($test_uid['id']) && isset($test_pl['id']) && $test_uid['id'] != $test_pl['id']) { $a = rand(1, 5) . '' . rand(1, 5) . '' . rand(1, 5) . '' . rand(1, 5) . '' . rand(1, 5); $b = rand(1, 5); - $d = mysql_query('INSERT INTO `battle_act` (`battle`,`time`,`uid1`,`uid2`,`a1`,`b1`) VALUES ("' . $this->info['id'] . '","' . time() . '","' . $pl . '","' . $uid . '","' . $a . '","' . $b . '")'); + $d = mysql_query( + 'INSERT INTO `battle_act` (`battle`,`time`,`uid1`,`uid2`,`a1`,`b1`) VALUES ("' . $this->info['id'] . '","' . time( + ) . '","' . $pl . '","' . $uid . '","' . $a . '","' . $b . '")' + ); } } elseif ($tp == 2) { // - $test_uid = mysql_fetch_array(mysql_query('SELECT * FROM `stats` WHERE `id` = "' . $uid . '" AND `hpNow` >= 1 LIMIT 1')); - $test_pl = mysql_fetch_array(mysql_query('SELECT * FROM `stats` WHERE `id` = "' . $pl['uid2'] . '" AND `hpNow` >= 1 LIMIT 1')); + $test_uid = mysql_fetch_array( + mysql_query('SELECT * FROM `stats` WHERE `id` = "' . $uid . '" AND `hpNow` >= 1 LIMIT 1') + ); + $test_pl = mysql_fetch_array( + mysql_query('SELECT * FROM `stats` WHERE `id` = "' . $pl['uid2'] . '" AND `hpNow` >= 1 LIMIT 1') + ); if (isset($test_uid['id']) && isset($test_pl['id']) && $test_uid['id'] != $test_pl['id']) { $bot = $this->users[$this->uids[$pl['uid2']]]; $na = ['id' => 0, 'a' => [1 => 0, 2 => 0, 3 => 0, 4 => 0, 5 => 0], 'b' => 0]; @@ -10922,7 +9004,6 @@ class Battle $this->startAtack($pl['id']); } } - //unset($test_uid,$test_pl,$test_atack); } // , , , @@ -10934,10 +9015,14 @@ class Battle $botA = []; $botR = []; while ($pl = mysql_fetch_array($m)) { - //mysql_query('DELETE FROM `battle_act` WHERE `battle` = "'.$this->info['id'].'" AND `uid1` = "'.$pl['uid2'].'" AND `uid2` = "'.$pl['uid1'].'"'); - $pluids = mysql_fetch_array(mysql_query('SELECT `hpNow` FROM `stats` WHERE (`id` = "' . $pl['uid1'] . '" AND `hpNow` <= 0) OR (`id` = "' . $pl['uid2'] . '" AND `hpNow` <= 0) LIMIT 1')); - - $pltest = mysql_fetch_array(mysql_query('SELECT * FROM `battle_act` WHERE `id` = "' . $pl['id'] . '" LIMIT 1')); + $pluids = mysql_fetch_array( + mysql_query( + 'SELECT `hpNow` FROM `stats` WHERE (`id` = "' . $pl['uid1'] . '" AND `hpNow` <= 0) OR (`id` = "' . $pl['uid2'] . '" AND `hpNow` <= 0) LIMIT 1' + ) + ); + $pltest = mysql_fetch_array( + mysql_query('SELECT * FROM `battle_act` WHERE `id` = "' . $pl['id'] . '" LIMIT 1') + ); if (isset($pltest['id'])) { if (isset($pluids['hpNow'])) { mysql_query('DELETE FROM `battle_act` WHERE `id` = "' . $pl['id'] . '" LIMIT 1'); @@ -10958,7 +9043,6 @@ class Battle } } else { // - //mysql_query('UPDATE `battle_act` SET `time`="'.time().'" WHERE `id` = "'.$pl['id'].'" LIMIT 1'); $pl['time'] = time(); if ($pl['a1'] == 0 && $pl['a2'] == 0) { // 1 @@ -10977,39 +9061,27 @@ class Battle $pl['tout2'] = 1; } // - if (!isset($pluids['hpNow'])) { - $this->atacks[$pl['id']] = $pl; - $this->startAtack($pl['id']); - mysql_query('DELETE FROM `battle_act` WHERE `id` = "' . $pl['id'] . '"'); - //mysql_query('DELETE FROM `battle_act` WHERE (`uid1` = "'.$pl['uid1'].'" AND `uid2` = "'.$pl['uid2'].'") OR (`uid1` = "'.$pl['uid2'].'" AND `uid2` = "'.$pl['uid1'].'")'); - } + $this->atacks[$pl['id']] = $pl; + $this->startAtack($pl['id']); + mysql_query('DELETE FROM `battle_act` WHERE `id` = "' . $pl['id'] . '"'); } } } // - if ($this->uAtc['id'] > 0) { - if ($this->na == 1) { - if ($pl['out1'] == 0 && $pl['out2'] == 0) { - // - if ($pl['uid1'] == $u->info['id'] || $pl['uid2'] == $u->info['id']) { - $this->addNewAtack(); - } - } else { + if ($this->uAtc['id'] > 0 && $this->na == 1) { + if ($pl['out1'] == 0 && $pl['out2'] == 0) { + // + if ($pl['uid1'] == $u->info['id'] || $pl['uid2'] == $u->info['id']) { $this->addNewAtack(); } + } else { + $this->addNewAtack(); } } - // - - // - //, - $i = 0; while ($i < count($this->bots)) { $bot = $this->bots[$i]; - if (isset($bot) && $this->stats[$this->uids[$bot]]['hpNow'] >= 1 && $this->stats[$this->uids[$bot]]['pass'] != 'saintlucia') // saintlucia - { - //mysql_query('UPDATE `stats` SET `timeGo` = "'.$tnbot.'" WHERE `id` = "'.$this->users[$this->uids[$bot]]['id'].'" LIMIT 1'); + if (isset($bot) && $this->stats[$this->uids[$bot]]['hpNow'] >= 1 && $this->stats[$this->uids[$bot]]['pass'] != 'saintlucia') { // saintlucia $j = 0; while ($j < count($this->users)) { if ($this->info['razdel'] == 0) { @@ -11017,65 +9089,96 @@ class Battle } else { $tnbot = time() + rand(1, 2); } - if ($this->users[$j]['timeGo'] >= time() || $this->users[$this->uids[$bot]]['timeGo'] >= time()) { - } elseif ($this->users[$j]['hpNow'] >= 1 && $this->users[$this->uids[$bot]]['hpNow'] >= 1 && $this->users[$this->uids[$bot]]['team'] != $this->users[$j]['team']) { - if (isset($this->users[$j]) && $this->stats[$j]['hpNow'] >= 1 && $this->stats[$this->uids[$bot]]['hpNow'] >= 1 && !isset($this->ga[$bot][$this->users[$j]['id']]) && !isset($this->ag[$bot][$this->users[$j]['id']]) && $this->users[$j]['id'] != $bot && $this->users[$j]['team'] != $this->users[$this->uids[$bot]]['team']) { - if ($this->users[$j]['timeGo'] < time() && $this->users[$this->uids[$bot]]['timeGo'] < time()) { - $this->botAtack($this->users[$j]['id'], $bot, 1); - mysql_query('UPDATE `stats` SET `timeGo` = "' . $tnbot . '" WHERE `id` = "' . $this->users[$this->uids[$bot]]['id'] . '" LIMIT 1'); - } - } elseif (isset($this->users[$i]) && $this->users[$i]['bot'] > 0 && $this->stats[$i]['hpNow'] >= 1 && $this->stats[$this->uids[$bot]]['hpNow'] >= 1 && $this->users[$i]['id'] != $bot && $this->users[$i]['team'] != $this->users[$this->uids[$bot]]['team']) { - if ($this->users[$j]['timeGo'] < time() && $this->users[$this->uids[$bot]]['timeGo'] < time()) { - if ($this->botAct($bot) == true) { - if (!isset($this->ga[$bot][$this->users[$i]['id']]) && $this->users[$this->uids[$bot]]['timeGo'] < time() && !isset($this->ag[$bot][$this->users[$i]['id']])) { + if ($this->users[$j]['timeGo'] < time() && $this->users[$this->uids[$bot]]['timeGo'] < time()) { + if ($this->users[$j]['hpNow'] >= 1 && $this->users[$this->uids[$bot]]['hpNow'] >= 1 && $this->users[$this->uids[$bot]]['team'] != $this->users[$j]['team']) { + if (isset($this->users[$j]) && $this->stats[$j]['hpNow'] >= 1 && $this->stats[$this->uids[$bot]]['hpNow'] >= 1 && !isset($this->ga[$bot][$this->users[$j]['id']]) && !isset($this->ag[$bot][$this->users[$j]['id']]) && $this->users[$j]['id'] != $bot && $this->users[$j]['team'] != $this->users[$this->uids[$bot]]['team']) { + if ($this->users[$j]['timeGo'] < time( + ) && $this->users[$this->uids[$bot]]['timeGo'] < time()) { + $this->botAtack($this->users[$j]['id'], $bot, 1); + mysql_query( + 'UPDATE `stats` SET `timeGo` = "' . $tnbot . '" WHERE `id` = "' . $this->users[$this->uids[$bot]]['id'] . '" LIMIT 1' + ); + } + } elseif (isset($this->users[$i]) && $this->users[$i]['bot'] > 0 && $this->stats[$i]['hpNow'] >= 1 && $this->stats[$this->uids[$bot]]['hpNow'] >= 1 && $this->users[$i]['id'] != $bot && $this->users[$i]['team'] != $this->users[$this->uids[$bot]]['team']) { + if ($this->users[$j]['timeGo'] < time( + ) && $this->users[$this->uids[$bot]]['timeGo'] < time() && $this->botAct($bot)) { + if (!isset($this->ga[$bot][$this->users[$i]['id']]) && $this->users[$this->uids[$bot]]['timeGo'] < time( + ) && !isset($this->ag[$bot][$this->users[$i]['id']])) { $this->botAtack($this->users[$i]['id'], $bot, 1); - mysql_query('UPDATE `stats` SET `timeGo` = "' . $tnbot . '" WHERE `id` = "' . $this->users[$this->uids[$bot]]['id'] . '" LIMIT 1'); - } elseif (isset($this->ag[$bot][$this->users[$i]['id']])) { - } elseif (isset($this->ga[$bot][$this->users[$i]['id']]) && $this->users[$this->uids[$bot]]['timeGo'] < time()) { + mysql_query( + 'UPDATE `stats` SET `timeGo` = "' . $tnbot . '" WHERE `id` = "' . $this->users[$this->uids[$bot]]['id'] . '" LIMIT 1' + ); + } elseif (!isset($this->ag[$bot][$this->users[$i]['id']]) && isset($this->ga[$bot][$this->users[$i]['id']]) && $this->users[$this->uids[$bot]]['timeGo'] < time( + )) { $this->botAtack($bot, $this->users[$i]['id'], 1); - mysql_query('UPDATE `stats` SET `timeGo` = "' . $tnbot . '" WHERE `id` = "' . $this->users[$this->uids[$bot]]['id'] . '" LIMIT 1'); + mysql_query( + 'UPDATE `stats` SET `timeGo` = "' . $tnbot . '" WHERE `id` = "' . $this->users[$this->uids[$bot]]['id'] . '" LIMIT 1' + ); + } + } + } else { + // + if ($this->users[$j]['timeGo'] < time( + ) && $this->users[$this->uids[$bot]]['timeGo'] < time( + ) && $this->users[$j]['hpNow'] >= 1 && $this->users[$this->uids[$bot]]['hpNow'] >= 1) { + $this->atacks[$this->ga[$bot][$this->users[$j]['id']]]['a1'] = rand( + 1, 5 + ) . '' . rand( + 1, + 5 + ) . rand(1, 5) . rand(1, 5) . rand(1, 5); + $this->atacks[$this->ga[$bot][$this->users[$j]['id']]]['b1'] = rand(1, 5); + $this->atacks[$this->ga[$bot][$this->users[$j]['id']]]['a2'] = rand( + 1, 5 + ) . '' . rand( + 1, + 5 + ) . rand(1, 5) . rand(1, 5) . rand(1, 5); + $this->atacks[$this->ga[$bot][$this->users[$j]['id']]]['b2'] = rand(1, 5); + $this->atacks[$this->ag[$bot][$this->users[$j]['id']]]['a1'] = rand( + 1, 5 + ) . '' . rand( + 1, + 5 + ) . rand(1, 5) . rand(1, 5) . rand(1, 5); + $this->atacks[$this->ag[$bot][$this->users[$j]['id']]]['b1'] = rand(1, 5); + $this->atacks[$this->ag[$bot][$this->users[$j]['id']]]['a2'] = rand( + 1, 5 + ) . '' . rand( + 1, + 5 + ) . rand(1, 5) . rand(1, 5) . rand(1, 5); + $this->atacks[$this->ag[$bot][$this->users[$j]['id']]]['b2'] = rand(1, 5); + if (isset($this->ga[$bot][$this->users[$j]['id']]) && $this->users[$j]['bot'] > 0) { + if ($this->users[$j]['timeGo'] < time( + ) && $this->users[$this->uids[$bot]]['timeGo'] < time()) { + $tnbot = time() + rand(3, 7); + if ($this->info['type'] == 329) { // + $tnbot = time() - 1; + } + $this->startAtack($this->ga[$bot][$this->users[$j]['id']]); + $this->users[$this->uids[$bot]]['timeGo'] = $tnbot; + mysql_query( + 'UPDATE `stats` SET `timeGo` = "' . $tnbot . '" WHERE `id` = "' . $this->users[$this->uids[$bot]]['id'] . '" LIMIT 1' + ); + } + } elseif (isset($this->ag[$bot][$this->users[$j]['id']]) && $this->users[$j]['bot'] > 0) { + if ($this->users[$this->uids[$bot]]['timeGo'] < time( + ) && $this->users[$j]['timeGo'] < time()) { + $this->startAtack($this->ag[$bot][$this->users[$j]['id']]); + $tnbot = time() + rand(3, 7); + if ($this->info['type'] == 329) { // + $tnbot = time() - 1; + } + $this->users[$this->uids[$bot]]['timeGo'] = $tnbot; + mysql_query( + 'UPDATE `stats` SET `timeGo` = "' . $tnbot . '" WHERE `id` = "' . $this->users[$this->uids[$bot]]['id'] . '" LIMIT 1' + ); + } } } } } else { - // - // - if ($this->users[$j]['timeGo'] < time() && $this->users[$this->uids[$bot]]['timeGo'] < time() && $this->users[$j]['hpNow'] >= 1 && $this->users[$this->uids[$bot]]['hpNow'] >= 1) { - $this->atacks[$this->ga[$bot][$this->users[$j]['id']]]['a1'] = rand(1, 5) . '' . rand(1, - 5) . '' . rand(1, 5) . '' . rand(1, 5) . '' . rand(1, 5); - $this->atacks[$this->ga[$bot][$this->users[$j]['id']]]['b1'] = rand(1, 5); - $this->atacks[$this->ga[$bot][$this->users[$j]['id']]]['a2'] = rand(1, 5) . '' . rand(1, - 5) . '' . rand(1, 5) . '' . rand(1, 5) . '' . rand(1, 5); - $this->atacks[$this->ga[$bot][$this->users[$j]['id']]]['b2'] = rand(1, 5); - $this->atacks[$this->ag[$bot][$this->users[$j]['id']]]['a1'] = rand(1, 5) . '' . rand(1, - 5) . '' . rand(1, 5) . '' . rand(1, 5) . '' . rand(1, 5); - $this->atacks[$this->ag[$bot][$this->users[$j]['id']]]['b1'] = rand(1, 5); - $this->atacks[$this->ag[$bot][$this->users[$j]['id']]]['a2'] = rand(1, 5) . '' . rand(1, - 5) . '' . rand(1, 5) . '' . rand(1, 5) . '' . rand(1, 5); - $this->atacks[$this->ag[$bot][$this->users[$j]['id']]]['b2'] = rand(1, 5); - if (isset($this->ga[$bot][$this->users[$j]['id']]) && $this->users[$j]['bot'] > 0) { - if ($this->users[$j]['timeGo'] < time() && $this->users[$this->uids[$bot]]['timeGo'] < time()) { - $tnbot = time() + rand(3, 7); - if ($this->info['type'] == 329) { // - $tnbot = time() - 1; - } - $this->startAtack($this->ga[$bot][$this->users[$j]['id']]); - $this->users[$this->uids[$bot]]['timeGo'] = $tnbot; - mysql_query('UPDATE `stats` SET `timeGo` = "' . $tnbot . '" WHERE `id` = "' . $this->users[$this->uids[$bot]]['id'] . '" LIMIT 1'); - } - } elseif (isset($this->ag[$bot][$this->users[$j]['id']]) && $this->users[$j]['bot'] > 0) { - if ($this->users[$this->uids[$bot]]['timeGo'] < time() && $this->users[$j]['timeGo'] < time()) { - $this->startAtack($this->ag[$bot][$this->users[$j]['id']]); - $tnbot = time() + rand(3, 7); - if ($this->info['type'] == 329) { // - $tnbot = time() - 1; - } - $this->users[$this->uids[$bot]]['timeGo'] = $tnbot; - mysql_query('UPDATE `stats` SET `timeGo` = "' . $tnbot . '" WHERE `id` = "' . $this->users[$this->uids[$bot]]['id'] . '" LIMIT 1'); - } - } - } - // } } $j++; @@ -11086,18 +9189,16 @@ class Battle } // - public function botAct($uid) + public function botAct($uid): bool { $r = false; if ($this->users[$this->uids[$uid]]['bot'] > 0) { if ($this->users[$this->uids[$uid]]['online'] < time() - 3) { $r = true; $this->users[$this->uids[$uid]]['online'] = time(); - mysql_query('UPDATE `users` SET `online` = "' . time() . '" WHERE `id` = "' . ((int)$uid) . '" LIMIT 1'); - } else { - if (rand(0, 2) == 1) { - $r = true; - } + User::setOnline((int)$uid); + } elseif (rand(0, 2) == 1) { + $r = true; } } return $r; @@ -11106,18 +9207,16 @@ class Battle // public function battleInfo($id) { - $b = mysql_fetch_array(mysql_query('SELECT * FROM `battle` WHERE `id` = "' . mysql_real_escape_string($id) . '" LIMIT 1')); + $b = mysql_fetch_array( + mysql_query('SELECT * FROM `battle` WHERE `id` = "' . mysql_real_escape_string($id) . '" LIMIT 1') + ); if (isset($b['id'])) { - $this->hodID = mysql_fetch_array(mysql_query('SELECT `id_hod` FROM `battle_logs` WHERE `battle` = "' . $b['id'] . '" ORDER BY `id` DESC LIMIT 1')); - if (isset($this->hodID['id_hod'])) { - $this->hodID = $this->hodID['id_hod']; - } else { - $this->hodID = 0; - } - /*if( $this->hodID > $b['hod'] ) { - $b['hod'] = $this->hodID; - mysql_query('UPDATE `battle` SET `hod` = "'.$this->hodID.'" WHERE `id` = "'.$b['id'].'" LIMIT 1'); - }*/ + $this->hodID = mysql_fetch_array( + mysql_query( + 'SELECT `id_hod` FROM `battle_logs` WHERE `battle` = "' . $b['id'] . '" ORDER BY `id` DESC LIMIT 1' + ) + ); + $this->hodID = $this->hodID['id_hod'] ?? 0; return $b; } else { return false; @@ -11129,7 +9228,7 @@ class Battle { global $js; if (isset($_POST['atack'], $_POST['block'])) { - $na = ['id' => 0, 'a' => [1 => 0, 2 => 0, 3 => 0, 4 => 0, 5 => 0], 'b' => 0]; + $na = ['a' => [1 => 0, 2 => 0, 3 => 0, 4 => 0, 5 => 0]]; $a = explode('_', $_POST['atack']); $i = 1; $na['id'] = time(); @@ -11167,14 +9266,23 @@ class Battle if ($this->info['id'] > 0) { // $nxtlg = []; - $t = mysql_query('SELECT `u`.`room`,`u`.`no_ip`,`u`.`twink`,`u`.`stopexp`,`u`.`id`,`u`.`notrhod`,`u`.`login`,`u`.`login2`,`u`.`sex`,`u`.`online`,`u`.`admin`,`u`.`align`,`u`.`align_lvl`,`u`.`align_exp`,`u`.`clan`,`u`.`level`,`u`.`battle`,`u`.`obraz`,`u`.`win`,`u`.`lose`,`u`.`nich`,`u`.`animal`,`st`.`stats`,`st`.`hpNow`,`st`.`mpNow`,`st`.`exp`,`st`.`dnow`,`st`.`team`,`st`.`battle_yron`,`st`.`battle_exp`,`st`.`enemy`,`st`.`battle_text`,`st`.`upLevel`,`st`.`timeGo`,`st`.`timeGoL`,`st`.`bot`,`st`.`lider`,`st`.`btl_cof`,`st`.`tactic1`,`st`.`tactic2`,`st`.`tactic3`,`st`.`tactic4`,`st`.`tactic5`,`st`.`tactic6`,`st`.`tactic7`,`st`.`x`,`st`.`y`,`st`.`battleEnd`,`st`.`priemslot`,`st`.`priems`,`st`.`priems_z`,`st`.`bet`,`st`.`clone`,`st`.`atack`,`st`.`bbexp`,`st`.`res_x`,`st`.`res_y`,`st`.`res_s`,`st`.`id`,`st`.`last_hp`,`st`.`last_pr`,`u`.`sex`,`u`.`money`,`u`.`bot_id`,`u`.`money3`,`u`.`money2` FROM `users` AS `u` LEFT JOIN `stats` AS `st` ON (`u`.`id` = `st`.`id`) WHERE `u`.`battle` = "' . $this->info['id'] . '"'); + $t = mysql_query( + 'SELECT `u`.`room`,`u`.`no_ip`,`u`.`twink`,`u`.`stopexp`,`u`.`id`,`u`.`notrhod`,`u`.`login`,`u`.`login2`,`u`.`sex`,`u`.`online`,`u`.`admin`,`u`.`align`,`u`.`align_lvl`,`u`.`align_exp`,`u`.`clan`,`u`.`level`,`u`.`battle`,`u`.`obraz`,`u`.`win`,`u`.`lose`,`u`.`nich`,`u`.`animal`,`st`.`stats`,`st`.`hpNow`,`st`.`mpNow`,`st`.`exp`,`st`.`dnow`,`st`.`team`,`st`.`battle_yron`,`st`.`battle_exp`,`st`.`enemy`,`st`.`battle_text`,`st`.`upLevel`,`st`.`timeGo`,`st`.`timeGoL`,`st`.`bot`,`st`.`lider`,`st`.`btl_cof`,`st`.`tactic1`,`st`.`tactic2`,`st`.`tactic3`,`st`.`tactic4`,`st`.`tactic5`,`st`.`tactic6`,`st`.`tactic7`,`st`.`x`,`st`.`y`,`st`.`battleEnd`,`st`.`priemslot`,`st`.`priems`,`st`.`priems_z`,`st`.`bet`,`st`.`clone`,`st`.`atack`,`st`.`bbexp`,`st`.`res_x`,`st`.`res_y`,`st`.`res_s`,`st`.`id`,`st`.`last_hp`,`st`.`last_pr`,`u`.`sex`,`u`.`money`,`u`.`bot_id`,`u`.`money3`,`u`.`money2` FROM `users` AS `u` LEFT JOIN `stats` AS `st` ON (`u`.`id` = `st`.`id`) WHERE `u`.`battle` = "' . $this->info['id'] . '"' + ); $i = 0; $bi = 0; $up = ''; if ($this->info['start2'] == 0) { - $tststrt = mysql_fetch_array(mysql_query('SELECT `id` FROM `battle` WHERE `id` = "' . $this->info['id'] . '" AND `start2` = "0" LIMIT 1')); + $tststrt = mysql_fetch_array( + mysql_query( + 'SELECT `id` FROM `battle` WHERE `id` = "' . $this->info['id'] . '" AND `start2` = "0" LIMIT 1' + ) + ); if (isset($tststrt['id'])) { - $upd = mysql_query('UPDATE `battle` SET `start2` = "' . time() . '" WHERE `id` = "' . $this->info['id'] . '" LIMIT 1'); + $upd = mysql_query( + 'UPDATE `battle` SET `start2` = "' . time( + ) . '" WHERE `id` = "' . $this->info['id'] . '" LIMIT 1' + ); } else { $this->info['start2'] = time(); } @@ -11188,7 +9296,9 @@ class Battle $this->uids[$pl['id']] = $i; if ($this->info['start2'] == 0) { - mysql_query('UPDATE `users` SET `notrhod` = "-1" WHERE `id` = "' . $this->users[$i]['id'] . '" LIMIT 1'); + mysql_query( + 'UPDATE `users` SET `notrhod` = "-1" WHERE `id` = "' . $this->users[$i]['id'] . '" LIMIT 1' + ); $this->users[$i]['notrhod'] = -1; } @@ -11213,27 +9323,38 @@ class Battle } elseif ($this->users[$i]['level'] == 9) { $this->users[$i]['tactic7'] = floor(30 / $this->stats[$i]['hpAll'] * $this->stats[$i]['hpNow']); } elseif ($this->users[$i]['level'] >= 10) { - $this->users[$i]['tactic7'] = floor((40 + $this->stats[$i]['s7']) / $this->stats[$i]['hpAll'] * $this->stats[$i]['hpNow']); + $this->users[$i]['tactic7'] = floor( + (40 + $this->stats[$i]['s7']) / $this->stats[$i]['hpAll'] * $this->stats[$i]['hpNow'] + ); } if ($this->stats[$i]['s7'] > 49) { - mysql_query('UPDATE `eff_users` SET `delete`="' . time() . '" WHERE `uid` = "' . $this->users[$i]['id'] . '" AND `overType` = 101 AND `delete` = 0'); - mysql_query(" + mysql_query( + 'UPDATE `eff_users` SET `delete`="' . time( + ) . '" WHERE `uid` = "' . $this->users[$i]['id'] . '" AND `overType` = 101 AND `delete` = 0' + ); + mysql_query( + " INSERT INTO `eff_users` ( `id_eff`, `uid`, `name`, `data`, `overType`, `timeUse`, `timeAce`, `user_use`, `delete`, `v1`, `v2`, `img2`, `x`, `hod`, `bj`, `sleeptime`, `no_Ace`, `file_finish`, `tr_life_user`, `deactiveTime`, `deactiveLast`, `mark`, `bs`) VALUES ( 22, '" . $this->stats[$i]['id'] . "', '', 'add_spasenie=1', 101, 77, 0, '" . $this->stats[$i]['id'] . "', 0, 'priem', 324, 'preservation.gif', 1, -1, '', 0, 0, '', 0, 0, 0, 1, 0); - "); + " + ); } - - # ) Ost. Costa - #$this->users[$i]['tactic7'] += $this->stats[$i]['s7']; - ##### // animal_bonus if ($this->users[$i]['animal'] > 0) { - $a = mysql_fetch_array(mysql_query('SELECT * FROM `users_animal` WHERE `uid` = "' . $this->users[$i]['id'] . '" AND `id` = "' . $this->users[$i]['animal'] . '" AND `pet_in_cage` = "0" AND `delete` = "0" LIMIT 1')); + $a = mysql_fetch_array( + mysql_query( + 'SELECT * FROM `users_animal` WHERE `uid` = "' . $this->users[$i]['id'] . '" AND `id` = "' . $this->users[$i]['animal'] . '" AND `pet_in_cage` = "0" AND `delete` = "0" LIMIT 1' + ) + ); if (isset($a['id'])) { if ($a['eda'] >= 1) { - $anl = mysql_fetch_array(mysql_query('SELECT `bonus` FROM `levels_animal` WHERE `type` = "' . $a['type'] . '" AND `level` = "' . $a['level'] . '" LIMIT 1')); + $anl = mysql_fetch_array( + mysql_query( + 'SELECT `bonus` FROM `levels_animal` WHERE `type` = "' . $a['type'] . '" AND `level` = "' . $a['level'] . '" LIMIT 1' + ) + ); $anl = $anl['bonus']; $tpa = [ @@ -11264,24 +9385,35 @@ class Battle 7 => '', ]; - mysql_query('UPDATE `eff_users` SET `delete`="' . time() . '" WHERE `uid` = "' . $this->users[$i]['id'] . '" AND `overType` = 100 AND `delete` = 0'); - - mysql_query('INSERT INTO `eff_users` (`hod`,`v2`,`img2`,`id_eff`,`uid`,`name`,`data`,`overType`,`timeUse`,`v1`,`user_use`) VALUES ("-1","201","summon_pet_' . $tpa[$a['type']] . '.gif",22,"' . $this->users[$i]['id'] . '","' . $tpa3[$a['type']] . ' [' . $a['level'] . ']","' . $anl . '","100","77","priem","' . $this->users[$i]['id'] . '")'); + mysql_query( + 'UPDATE `eff_users` SET `delete`="' . time( + ) . '" WHERE `uid` = "' . $this->users[$i]['id'] . '" AND `overType` = 100 AND `delete` = 0' + ); + mysql_query( + 'INSERT INTO `eff_users` (`hod`,`v2`,`img2`,`id_eff`,`uid`,`name`,`data`,`overType`,`timeUse`,`v1`,`user_use`) VALUES ("-1","201","summon_pet_' . $tpa[$a['type']] . '.gif",22,"' . $this->users[$i]['id'] . '","' . $tpa3[$a['type']] . ' [' . $a['level'] . ']","' . $anl . '","100","77","priem","' . $this->users[$i]['id'] . '")' + ); // if ($a['type'] == 7) { if ($a['level'] == 10) { - $this->users[$i]['tactic7'] = floor((50 + $this->stats[$i]['s7']) / $this->stats[$i]['hpAll'] * $this->stats[$i]['hpNow']); + $this->users[$i]['tactic7'] = floor( + (50 + $this->stats[$i]['s7']) / $this->stats[$i]['hpAll'] * $this->stats[$i]['hpNow'] + ); } elseif ($a['level'] == 11) { - $this->users[$i]['tactic7'] = floor((65 + $this->stats[$i]['s7']) / $this->stats[$i]['hpAll'] * $this->stats[$i]['hpNow']); + $this->users[$i]['tactic7'] = floor( + (65 + $this->stats[$i]['s7']) / $this->stats[$i]['hpAll'] * $this->stats[$i]['hpNow'] + ); } elseif ($a['level'] == 12) { - $this->users[$i]['tactic7'] = floor((90 + $this->stats[$i]['s7']) / $this->stats[$i]['hpAll'] * $this->stats[$i]['hpNow']); + $this->users[$i]['tactic7'] = floor( + (90 + $this->stats[$i]['s7']) / $this->stats[$i]['hpAll'] * $this->stats[$i]['hpNow'] + ); } } // $anl = $u->lookStats($anl); - $vLog = 'time1=' . time() . '||s1=' . $this->users[$i]['sex'] . '||t1=' . $this->users[$i]['team'] . '||login1=' . $this->users[$i]['login'] . ''; + $vLog = 'time1=' . time( + ) . '||s1=' . $this->users[$i]['sex'] . '||t1=' . $this->users[$i]['team'] . '||login1=' . $this->users[$i]['login'] . ''; $vLog .= '||s2=1||t2=' . $this->users[$i]['team'] . '||login2=' . $a['name'] . ' ( ' . $this->users[$i]['login'] . ')'; $mas1 = [ @@ -11325,22 +9457,30 @@ class Battle $mas1['text'] = '{tm1} {u2} , "' . $tpa3[$a['type']] . ' [' . $a['level'] . ']" {u1}. (' . $ba . ')'; $nxtlg[count($nxtlg)] = $mas1; - mysql_query('UPDATE `users_animal` SET `eda` = `eda` - 1 WHERE `id` = "' . $a['id'] . '" LIMIT 1'); - //$this->add_log($mas1); + mysql_query( + 'UPDATE `users_animal` SET `eda` = `eda` - 1 WHERE `id` = "' . $a['id'] . '" LIMIT 1' + ); $this->get_comment(); - } else { - //$u->send('',$this->users[$i]['room'],$this->users[$i]['city'],'',$this->users[$i]['login'],''.$a['name'].' ...',time(),6,0,0,0,1); } } } - mysql_query('UPDATE `stats` SET `last_hp` = "0",`tactic1`="0",`tactic2`="0",`tactic3`="0",`tactic4`="0",`tactic5`="0",`tactic6`="0",`tactic7` = "' . ($this->users[$i]['tactic7']) . '" WHERE `id` = "' . $this->users[$i]['id'] . '" LIMIT 1'); - - $rs[$this->users[$i]['team']] .= $u->microLogin($this->users[$i], 2) . ', '; + mysql_query( + 'UPDATE `stats` SET `last_hp` = "0",`tactic1`="0",`tactic2`="0",`tactic3`="0",`tactic4`="0",`tactic5`="0",`tactic6`="0",`tactic7` = "' . ($this->users[$i]['tactic7']) . '" WHERE `id` = "' . $this->users[$i]['id'] . '" LIMIT 1' + ); + $rs[$this->users[$i]['team']] = $rs[$this->users[$i]['team']] . $u->microLogin( + $this->users[$i], 2 + ) . ', '; } $up .= '`uid` = "' . $pl['id'] . '" OR'; //battle-user (, ) - $mybu = mysql_fetch_array(mysql_query('SELECT `id` FROM `battle_users` WHERE `battle` = "' . $this->info['id'] . '" AND `uid` = "' . mysql_real_escape_string($pl['id']) . '" LIMIT 1')); + $mybu = mysql_fetch_array( + mysql_query( + 'SELECT `id` FROM `battle_users` WHERE `battle` = "' . $this->info['id'] . '" AND `uid` = "' . mysql_real_escape_string( + $pl['id'] + ) . '" LIMIT 1' + ) + ); if (!isset($mybu['id'])) { // $this->addstatuser($pl['id']); @@ -11348,72 +9488,21 @@ class Battle $i++; } - /* - if($i == 0) { - $t = mysql_query('SELECT `u`.*,`st`.* FROM `users` AS `u` LEFT JOIN `stats` AS `st` ON (`u`.`id` = `st`.`id`) WHERE `u`.`battle` = "'.$this->info['id'].'" AND `st`.`hpNow` > 0'); - $i = 0; $bi = 0; $up = ''; - while($pl = mysql_fetch_array($t)) - { - // - if($pl['login2']=='') - { - $pl['login2'] = $pl['login']; - } - $this->users[$i] = $pl; - $this->uids[$pl['id']] = $i; - if($pl['bot']>0) - { - $this->bots[$bi] = $pl['id']; - $this->iBots[$pl['id']] = $bi; - $bi++; - } - // - $this->stats[$i] = $u->getStats($pl,0); - // - if($this->info['start1']==0) - { - if(!isset($ts[$this->users[$i]['team']])) - { - $tsi++; - $ts[$this->users[$i]['team']] = $tsi; - } - - if($this->users[$i]['level']<=7) - { - $this->users[$i]['tactic7'] = floor(10/$this->stats[$i]['hpAll']*$this->stats[$i]['hpNow']); - }elseif($this->users[$i]['level']==8) - { - $this->users[$i]['tactic7'] = floor(20/$this->stats[$i]['hpAll']*$this->stats[$i]['hpNow']); - }elseif($this->users[$i]['level']==9) - { - $this->users[$i]['tactic7'] = floor(30/$this->stats[$i]['hpAll']*$this->stats[$i]['hpNow']); - }elseif($this->users[$i]['level']>=10) - { - $this->users[$i]['tactic7'] = floor(40/$this->stats[$i]['hpAll']*$this->stats[$i]['hpNow']); - } - - $this->users[$i]['tactic7'] += $this->stats[$i]['s7']; - - mysql_query('UPDATE `stats` SET `tactic1`="0",`tactic2`="0",`tactic3`="0",`tactic4`="0",`tactic5`="0",`tactic6`="0",`tactic7`="0",`tactic7` = "'.($this->users[$i]['tactic7']).'" WHERE `id` = "'.$this->users[$i]['id'].'" LIMIT 1'); - - $rs[$tsi] .= $u->microLogin($this->users[$i],2).', '; - } - $up .= '`uid` = "'.$pl['id'].'" OR'; - $i++; - } - } - */ - $up = rtrim($up, ' OR'); - //mysql_query('UPDATE `eff_users` SET `timeAce` = "0" WHERE ('.$up.') AND `delete` = "0"'); - //echo '


'; // if ($this->info['start1'] == 0) { - $tststrt = mysql_fetch_array(mysql_query('SELECT `id` FROM `battle` WHERE `id` = "' . $this->info['id'] . '" AND `start1` = "0" LIMIT 1')); + $tststrt = mysql_fetch_array( + mysql_query( + 'SELECT `id` FROM `battle` WHERE `id` = "' . $this->info['id'] . '" AND `start1` = "0" LIMIT 1' + ) + ); if (isset($tststrt['id'])) { - $upd = mysql_query('UPDATE `battle` SET `start1` = "' . time() . '" WHERE `id` = "' . $this->info['id'] . '" LIMIT 1'); + $upd = mysql_query( + 'UPDATE `battle` SET `start1` = "' . time( + ) . '" WHERE `id` = "' . $this->info['id'] . '" LIMIT 1' + ); if ($upd) { $i = 0; $r = ''; @@ -11439,12 +9528,13 @@ class Battle 'zonb2' => '', 'type' => '1', ]; - $r = ' ' . date('d.m.Y H:i', - $this->info['time_start']) . ', ' . $r . ' .'; - $ins = mysql_query('INSERT INTO `battle_logs` (`time`,`battle`,`id_hod`,`text`,`vars`,`zona1`,`zonb1`,`zona2`,`zonb2`,`type`) VALUES ("' . $mass['time'] . '","' . $mass['battle'] . '","' . $mass['id_hod'] . '","' . $r . '","' . $mass['vars'] . '","' . $mass['zona1'] . '","' . $mass['zonb1'] . '","' . $mass['zona2'] . '","' . $mass['zonb2'] . '","' . $mass['type'] . '")'); - if (!$ins) { - //echo $r; - } + $r = ' ' . date( + 'd.m.Y H:i', + $this->info['time_start'] + ) . ', ' . $r . ' .'; + $ins = mysql_query( + 'INSERT INTO `battle_logs` (`time`,`battle`,`id_hod`,`text`,`vars`,`zona1`,`zonb1`,`zona2`,`zonb2`,`type`) VALUES ("' . $mass['time'] . '","' . $mass['battle'] . '","' . $mass['id_hod'] . '","' . $r . '","' . $mass['vars'] . '","' . $mass['zona1'] . '","' . $mass['zonb1'] . '","' . $mass['zona2'] . '","' . $mass['zonb2'] . '","' . $mass['type'] . '")' + ); $this->info['start1'] = time(); } } @@ -11488,12 +9578,16 @@ class Battle if ($zb > 3) { $zb = 3; } - if ($eu != '' && $eu != 0) { - if ($this->stats[$this->uids[$eu]]['weapon1'] == 1 || $this->stats[$this->uids[$eu]]['weapon2'] == 1) { - if ($this->stats[$this->uids[$u->info['id']]]['weapon1'] != 1 && $this->stats[$this->uids[$u->info['id']]]['weapon2'] != 1) { - $zb -= 1; - } - } + if ( + $eu != 0 && + ( + $this->stats[$this->uids[$eu]]['weapon1'] == 1 || + $this->stats[$this->uids[$eu]]['weapon2'] == 1 + ) && + $this->stats[$this->uids[$u->info['id']]]['weapon1'] != 1 && + $this->stats[$this->uids[$u->info['id']]]['weapon2'] != 1 + ) { + $zb -= 1; } if ($zb < 1) { $zb = 1; @@ -11504,8 +9598,7 @@ class Battle // public function testZonb($uid, $uid2) { - global $u; - $zba = [1 => 0, 2 => 0]; + $zba = []; $zba[1] = $this->stats[$this->uids[$uid]]['zonb']; $zba[2] = $this->stats[$this->uids[$uid2]]['zonb']; @@ -11532,17 +9625,27 @@ class Battle } // 1 - if ($this->stats[$this->uids[$uid2]]['weapon1'] == 1 || $this->stats[$this->uids[$uid2]]['weapon2'] == 1) { - if ($this->stats[$this->uids[$uid]]['weapon1'] != 1 && $this->stats[$this->uids[$uid]]['weapon2'] != 1) { - $zba[1] -= 1; - } + if ( + ( + $this->stats[$this->uids[$uid2]]['weapon1'] == 1 || + $this->stats[$this->uids[$uid2]]['weapon2'] == 1 + ) && + $this->stats[$this->uids[$uid]]['weapon1'] != 1 && + $this->stats[$this->uids[$uid]]['weapon2'] != 1 + ) { + $zba[1] -= 1; } // 2 - if ($this->stats[$this->uids[$uid]]['weapon1'] == 1 || $this->stats[$this->uids[$uid]]['weapon2'] == 1) { - if ($this->stats[$this->uids[$uid2]]['weapon1'] != 1 && $this->stats[$this->uids[$uid2]]['weapon2'] != 1) { - $zba[2] -= 1; - } + if ( + ( + $this->stats[$this->uids[$uid]]['weapon1'] == 1 || + $this->stats[$this->uids[$uid]]['weapon2'] == 1 + ) && + $this->stats[$this->uids[$uid2]]['weapon1'] != 1 && + $this->stats[$this->uids[$uid2]]['weapon2'] != 1 + ) { + $zba[2] -= 1; } if ($zba[1] < 1) { @@ -11554,16 +9657,22 @@ class Battle $this->stats[$this->uids[$uid]]['zonb'] = $zba[1]; $this->stats[$this->uids[$uid2]]['zonb'] = $zba[2]; - if ($this->stats[$this->uids[$uid]]['min_zonb'] > 0 && $this->stats[$this->uids[$uid]]['zonb'] < $this->stats[$this->uids[$uid]]['min_zonb']) { + if ( + $this->stats[$this->uids[$uid]]['min_zonb'] > 0 && + $this->stats[$this->uids[$uid]]['zonb'] < $this->stats[$this->uids[$uid]]['min_zonb'] + ) { $this->stats[$this->uids[$uid]]['zonb'] = $this->stats[$this->uids[$uid]]['min_zonb']; } - if ($this->stats[$this->uids[$uid2]]['min_zonb'] > 0 && $this->stats[$this->uids[$uid2]]['zonb'] < $this->stats[$this->uids[$uid2]]['min_zonb']) { + if ( + $this->stats[$this->uids[$uid2]]['min_zonb'] > 0 && + $this->stats[$this->uids[$uid2]]['zonb'] < $this->stats[$this->uids[$uid2]]['min_zonb'] + ) { $this->stats[$this->uids[$uid2]]['zonb'] = $this->stats[$this->uids[$uid2]]['min_zonb']; } } // - public function genTeams($you) + public function genTeams($you): string { global $u; $ret = ''; @@ -11572,10 +9681,8 @@ class Battle $i = 0; $j = 1; $tms = []; - //if( $this->users[$this->uids[$you]]['team'] > 0 && $this->stats[$this->uids[$you]]['hpNow'] > 0 ) { $teams[$this->users[$this->uids[$you]]['team']] = ''; $tms[0] = $this->users[$this->uids[$you]]['team']; - //} while ($i < count($this->uids)) { if ($this->stats[$i]['hpNow'] > 0) { if (!isset($teams[$this->users[$i]['team']])) { @@ -11589,16 +9696,24 @@ class Battle $this->stats[$i]['hpNow'] = $this->stats[$i]['hpAll']; } $a1ms = ''; - if (isset($this->ga[$this->users[$i]['id']][$you]) && $this->ga[$this->users[$i]['id']][$you] != false) { + if (isset($this->ga[$this->users[$i]['id']][$you]) && $this->ga[$this->users[$i]['id']][$you]) { $a1mc = ''; - $ac = mysql_fetch_array(mysql_query('SELECT * FROM `battle_act` WHERE `id` = "' . $this->ga[$this->users[$i]['id']][$you] . '" LIMIT 1')); + $ac = mysql_fetch_array( + mysql_query( + 'SELECT * FROM `battle_act` WHERE `id` = "' . $this->ga[$this->users[$i]['id']][$you] . '" LIMIT 1' + ) + ); if (isset($ac) && $ac['time'] + $this->info['timeout'] - 15 < time()) { $a1mc = 'color:red;'; } $a1ms = 'style=\"text-decoration: underline; ' . $a1mc . '\"'; - } elseif (isset($this->ag[$this->users[$i]['id']][$you]) && $this->ag[$this->users[$i]['id']][$you] != false) { + } elseif (isset($this->ag[$this->users[$i]['id']][$you]) && $this->ag[$this->users[$i]['id']][$you]) { $a1mc = ''; - $ac = mysql_fetch_array(mysql_query('SELECT * FROM `battle_act` WHERE `id` = "' . $this->ag[$this->users[$i]['id']][$you] . '" LIMIT 1')); + $ac = mysql_fetch_array( + mysql_query( + 'SELECT * FROM `battle_act` WHERE `id` = "' . $this->ag[$this->users[$i]['id']][$you] . '" LIMIT 1' + ) + ); if (isset($ac) && $ac['time'] + $this->info['timeout'] - 15 < time()) { $a1mc = 'color:green;'; } @@ -11615,7 +9730,9 @@ class Battle if ($this->users[$i]['lider'] == $this->info['id']) { $ldr = 'users[$i]['team'] . '.gif \>'; } - $teams[$this->users[$i]['team']] .= ', ' . $ldr . 'users[$i]['team'] . '\" onClick=\"top.chat.addto(\'' . $this->users[$i]['login2'] . '\',\'to\'); return false;\" oncontextmenu=\"top.infoMenu(\'' . $this->users[$i]['login2'] . '\',event,\'main\'); return false;\">' . $this->users[$i]['login2'] . ' [' . floor($this->stats[$i]['hpNow']) . '/' . $this->stats[$i]['hpAll'] . ']'; + $teams[$this->users[$i]['team']] .= ', ' . $ldr . 'users[$i]['team'] . '\" onClick=\"top.chat.addto(\'' . $this->users[$i]['login2'] . '\',\'to\'); return false;\" oncontextmenu=\"top.infoMenu(\'' . $this->users[$i]['login2'] . '\',event,\'main\'); return false;\">' . $this->users[$i]['login2'] . ' [' . floor( + $this->stats[$i]['hpNow'] + ) . '/' . $this->stats[$i]['hpAll'] . ']'; } $i++; } @@ -11625,11 +9742,7 @@ class Battle while ($i < count($tms)) { $teams[$tms[$i]] = ltrim($teams[$tms[$i]], ', '); if ($teams[$tms[$i]] != '') { - //if($u->info['team'] == $tms[$i]) { - // $teams[$tms[$i]] = ' '.$teams[$tms[$i]]; - //}else{ $teams[$tms[$i]] = ' ' . $teams[$tms[$i]]; - //} $ret .= $teams[$tms[$i]]; if (count($tms) > $i + 1) { $ret .= '     '; @@ -11652,7 +9765,6 @@ class Battle $data = 'add_s' . $stat . '=-' . $lvl; $img = 'eff_travma1.gif'; $v1 = 1; - //echo ''.$name.''; } elseif ($t == 2) { $name = ' '; $stat = rand(1, 3); // @@ -11675,12 +9787,15 @@ class Battle $v1 = 4; $img = 'eff_travma4.gif'; } - $timeEnd = $timeEnd * 3600; - // - //$timeEnd = $timeEnd/3600; - // - $ins = mysql_query('INSERT INTO `eff_users` (`overType`,`timeUse`,`hod`,`name`,`data`,`uid`, `id_eff`, `img2`, `timeAce`, `v1`) VALUES ("0","' . time() . '","-1","' . $name . '","' . $data . '","' . $uid . '", "4", "' . $img . '","' . $timeEnd . '", "' . $v1 . '")'); - $ins = mysql_query('INSERT INTO `eff_users` (`overType`,`timeUse`,`hod`,`name`,`data`,`uid`, `id_eff`, `img2`, `timeAce`, `v1`) VALUES ("0","' . time() . '","-1",": ","add_notravma=1","' . $uid . '", "263", "cure1.gif","21600", "")'); + $timeEnd *= 3600; + $ins = mysql_query( + 'INSERT INTO `eff_users` (`overType`,`timeUse`,`hod`,`name`,`data`,`uid`, `id_eff`, `img2`, `timeAce`, `v1`) VALUES ("0","' . time( + ) . '","-1","' . $name . '","' . $data . '","' . $uid . '", "4", "' . $img . '","' . $timeEnd . '", "' . $v1 . '")' + ); + $ins = mysql_query( + 'INSERT INTO `eff_users` (`overType`,`timeUse`,`hod`,`name`,`data`,`uid`, `id_eff`, `img2`, `timeAce`, `v1`) VALUES ("0","' . time( + ) . '","-1",": ","add_notravma=1","' . $uid . '", "263", "cure1.gif","21600", "")' + ); } public function testUserInfoBattle($uid) @@ -11691,16 +9806,20 @@ class Battle if (!isset($this->uids[$uid])) { $this->uids[$uid] = count($this->users); } - $this->users[$this->uids[$uid]] = mysql_fetch_array(mysql_query('SELECT + $this->users[$this->uids[$uid]] = mysql_fetch_array( + mysql_query( + 'SELECT `u`.`id`,`u`.`login`,`u`.`login2`,`u`.`online`,`u`.`admin`,`u`.`city`,`u`.`cityreg`,`u`.`align`,`u`.`align_lvl`,`u`.`align_exp`,`u`.`clan`, `u`.`level`,`u`.`money`,`u`.`money3`,`u`.`money2`,`u`.`money4`,`u`.`battle`,`u`.`sex`,`u`.`obraz`,`u`.`win`,`u`.`win_t`, `u`.`lose`,`u`.`lose_t`,`u`.`nich`,`u`.`timeMain`,`u`.`invis`,`u`.`bot_id`,`u`.`animal`,`u`.`type_pers`, - `u`.`notrhod`,`u`.`bot_room`,`u`.`inUser`,`u`.`inTurnir`,`u`.`inTurnirnew`,`u`.`activ`,`u`.`stopexp`,`u`.`real`, + `u`.`notrhod`,`u`.`bot_room`,`u`.`inUser`,`u`.`inTurnir`,`u`.`inTurnirnew`,`u`.`stopexp`,`u`.`real`, `st`.* - FROM `users` AS `u` LEFT JOIN `stats` AS `st` ON (`u`.`id` = `st`.`id`) WHERE `u`.`id` = "' . $uid . '" LIMIT 1')); + FROM `users` AS `u` LEFT JOIN `stats` AS `st` ON (`u`.`id` = `st`.`id`) WHERE `u`.`id` = "' . $uid . '" LIMIT 1' + ) + ); $this->stats[$this->uids[$uid]] = $u->getStats($this->users[$this->uids[$uid]], 0, 0, false, false, true); } } @@ -11710,29 +9829,33 @@ class Battle { if ($this->stats[$this->uids[$u1]]['hpNow'] < 1) { mysql_query('DELETE FROM `battle_act` WHERE `uid1` = "' . $u1 . '" OR `uid2` = "' . $u1 . '"'); - if ($this->stats[$this->uids[$u1]]['spasenie'] > 0 && $this->users[$this->uids[$u1]]['tactic7'] >= 25) // - { + if ($this->stats[$this->uids[$u1]]['spasenie'] > 0 && $this->users[$this->uids[$u1]]['tactic7'] >= 25) { // - // if ($this->stats[$this->uids[$u1]]['s7'] > 49 && $this->stats[$this->uids[$u1]]['s7'] < 75) { // - mysql_query("INSERT INTO `eff_users` + mysql_query( + "INSERT INTO `eff_users` (`id_eff`, `uid`, `name`, `data`, `overType`, `timeUse`, `timeAce`, `user_use`, `delete`, `v1`, `v2`, `img2`, `x`, `hod`, `bj`, `sleeptime`, `no_Ace`, `file_finish`, `tr_life_user`, `deactiveTime`, `deactiveLast`, `mark`, `bs`) VALUES - (22, '" . $u1 . "', ' ', 'add_zmproc=75|add_zaproc=75', 0, 77, 0, '" . $u1 . "', 0, 'priem', 141, 'spirit_block25.gif', 1, 1, '0', 0, 0, '', 0, 0, 0, 0, 0);"); + (22, '" . $u1 . "', ' ', 'add_zmproc=75|add_zaproc=75', 0, 77, 0, '" . $u1 . "', 0, 'priem', 141, 'spirit_block25.gif', 1, 1, '0', 0, 0, '', 0, 0, 0, 0, 0);" + ); $this->stats[$this->uids[$u1]]['hpNow'] = floor($this->stats[$this->uids[$u1]]['hpAll'] * 0.5); $this->stats[$this->uids[$u1]]['mpNow'] = floor($this->stats[$this->uids[$u1]]['mpAll'] * 0.5); } elseif ($this->stats[$this->uids[$u1]]['s7'] > 74 && $this->stats[$this->uids[$u1]]['s7'] < 100) { // - mysql_query("INSERT INTO `eff_users` + mysql_query( + "INSERT INTO `eff_users` (`id_eff`, `uid`, `name`, `data`, `overType`, `timeUse`, `timeAce`, `user_use`, `delete`, `v1`, `v2`, `img2`, `x`, `hod`, `bj`, `sleeptime`, `no_Ace`, `file_finish`, `tr_life_user`, `deactiveTime`, `deactiveLast`, `mark`, `bs`) VALUES - (22, '" . $u1 . "', ' ', 'add_zmproc=100|add_zaproc=100', 0, 77, 0, '" . $u1 . "', 0, 'priem', 358, 'block_absolute.gif', 1, 1, '0', 0, 0, '', 0, 0, 0, 0, 0);"); + (22, '" . $u1 . "', ' ', 'add_zmproc=100|add_zaproc=100', 0, 77, 0, '" . $u1 . "', 0, 'priem', 358, 'block_absolute.gif', 1, 1, '0', 0, 0, '', 0, 0, 0, 0, 0);" + ); $this->stats[$this->uids[$u1]]['hpNow'] = floor($this->stats[$this->uids[$u1]]['hpAll'] * 0.75); $this->stats[$this->uids[$u1]]['mpNow'] = floor($this->stats[$this->uids[$u1]]['mpAll'] * 0.75); } elseif ($this->stats[$this->uids[$u1]]['s7'] > 99) { // x2 - mysql_query("INSERT INTO `eff_users` + mysql_query( + "INSERT INTO `eff_users` (`id_eff`, `uid`, `name`, `data`, `overType`, `timeUse`, `timeAce`, `user_use`, `delete`, `v1`, `v2`, `img2`, `x`, `hod`, `bj`, `sleeptime`, `no_Ace`, `file_finish`, `tr_life_user`, `deactiveTime`, `deactiveLast`, `mark`, `bs`) VALUES - (22, '" . $u1 . "', ' ', 'add_zmproc=100|add_zaproc=100', 0, 77, 0, '" . $u1 . "', 0, 'priem', 358, 'wis_white_shield.gif', 1, 2, '0', 0, 0, '', 0, 0, 0, 0, 0);"); + (22, '" . $u1 . "', ' ', 'add_zmproc=100|add_zaproc=100', 0, 77, 0, '" . $u1 . "', 0, 'priem', 358, 'wis_white_shield.gif', 1, 2, '0', 0, 0, '', 0, 0, 0, 0, 0);" + ); $this->stats[$this->uids[$u1]]['hpNow'] = floor($this->stats[$this->uids[$u1]]['hpAll']); $this->stats[$this->uids[$u1]]['mpNow'] = floor($this->stats[$this->uids[$u1]]['mpAll']); } @@ -11750,36 +9873,40 @@ class Battle $this->stats[$this->uids[$u1]]['mpNow'] = floor($this->stats[$this->uids[$u1]]['mpAll']); } - mysql_query('DELETE FROM `eff_users` WHERE `uid` = "' . $u1 . '" AND `id_eff` = 22 AND `v1` = "priem" AND `v2` = 324'); - mysql_query('UPDATE `stats` SET `hpNow` = "' . $this->stats[$this->uids[$u1]]['hpNow'] . '",`mpNow` = "' . $this->stats[$this->uids[$u1]]['mpNow'] . '", `tactic7` = `tactic7` - 25 WHERE `id` = "' . $u1 . '" LIMIT 1'); + mysql_query( + 'DELETE FROM `eff_users` WHERE `uid` = "' . $u1 . '" AND `id_eff` = 22 AND `v1` = "priem" AND `v2` = 324' + ); + mysql_query( + 'UPDATE `stats` SET `hpNow` = "' . $this->stats[$this->uids[$u1]]['hpNow'] . '",`mpNow` = "' . $this->stats[$this->uids[$u1]]['mpNow'] . '", `tactic7` = `tactic7` - 25 WHERE `id` = "' . $u1 . '" LIMIT 1' + ); $mas['text'] = '{tm1} ' . $this->stats[$this->uids[$u1]]['login'] . ' ...' . $this->stats[$this->uids[$u1]]['login'] . ' . '; - $this->priemAddLog($id, 1, 2, $u->info['id'], $u1, + $this->priemAddLog( + $id, 1, 2, $u->info['id'], $u1, ' ', $mas['text'], ($this->hodID + 0) ); - // - - } else { if (isset($this->stats[$this->uids[$u1]]['login'])) { mysql_query('UPDATE `stats` SET `hpNow` = "0",`mpNow` = "0" WHERE `id` = "' . $u1 . '" LIMIT 1'); $this->stats[$this->uids[$u1]]['hpNow'] = 0; $this->users[$this->uids[$u1]]['hpNow'] = 0; $mas['text'] = '{tm1} ' . $this->stats[$this->uids[$u1]]['login'] . ' .'; - $this->priemAddLog($id, 1, 2, $u->info['id'], $u1, + $this->priemAddLog( + $id, 1, 2, $u->info['id'], $u1, ' ', $mas['text'], ($this->hodID + 1) // // ); - mysql_query('DELETE FROM `battle_act` WHERE `uid1` = "' . $this->stats[$this->uids[$u1]]['id'] . '" OR `uid2` = "' . $this->stats[$this->uids[$u1]]['id'] . '" OR `uid2` = "-' . $this->stats[$this->uids[$u1]]['id'] . '"'); - mysql_query('DELETE FROM `eff_users` WHERE `uid` = "' . $this->stats[$this->uids[$u1]]['id'] . '" AND `v1` = "priem" AND `delete` =0'); - // v1 priem + mysql_query( + 'DELETE FROM `battle_act` WHERE `uid1` = "' . $this->stats[$this->uids[$u1]]['id'] . '" OR `uid2` = "' . $this->stats[$this->uids[$u1]]['id'] . '" OR `uid2` = "-' . $this->stats[$this->uids[$u1]]['id'] . '"' + ); + mysql_query( + 'DELETE FROM `eff_users` WHERE `uid` = "' . $this->stats[$this->uids[$u1]]['id'] . '" AND `v1` = "priem" AND `delete` =0' + ); } } } } - // - } diff --git a/_incl_data/class/BotLogic.php b/_incl_data/class/BotLogic.php index 3cbf8fd2..a9e07029 100644 --- a/_incl_data/class/BotLogic.php +++ b/_incl_data/class/BotLogic.php @@ -865,9 +865,9 @@ class BotLogic $se = 1; } - $r = ['name' => '_', 'city_real' => '', 'deviz' => '', 'chatColor' => 'Black']; + $r = ['name' => '_', 'chatColor' => 'Black']; - $ins = mysql_query("INSERT INTO `users` (`fnq`,`host_reg`,`room`,`login`,`pass`,`ipreg`,`ip`,`city`,`cityreg`,`name`,`sex`,`city_real`,`deviz`,`chatColor`,`timereg`) VALUES ( + $ins = mysql_query("INSERT INTO `users` (`fnq`,`host_reg`,`room`,`login`,`pass`,`ipreg`,`ip`,`city`,`cityreg`,`name`,`sex`,`chatColor`,`timereg`) VALUES ( '0', 'real_bot_user', '0', @@ -879,8 +879,6 @@ class BotLogic 'capitalcity', '" . $r['name'] . "', '" . mysql_real_escape_string($sex) . "', - '" . $r['city_real'] . "', - '" . $r['deviz'] . "', '" . $r['chatColor'] . "', '" . time() . "')"); if ($ins) { diff --git a/_incl_data/class/CalculateFromString.php b/_incl_data/class/CalculateFromString.php deleted file mode 100644 index 7768ce24..00000000 --- a/_incl_data/class/CalculateFromString.php +++ /dev/null @@ -1,63 +0,0 @@ - self::PARENTHESIS_DEPTH){ - break; - } - } - - // Calculate the result - if(preg_match(self::PATTERN, $input, $match)){ - return $this->compute($match[0]); - } - // To handle the special case of expressions surrounded by global parenthesis like "(1+1)" - if(is_numeric($input)){ - return $input; - } - - return 0; - } - - return $input; - } - - private function compute($input){ - $compute = create_function('', 'return '.$input.';'); - - return 0 + $compute(); - } - - private function callback($input){ - if(is_numeric($input[1])){ - return $input[1]; - } - elseif(preg_match(self::PATTERN, $input[1], $match)){ - return $this->compute($match[0]); - } - - return 0; - } -} - -$Cal = new CalculateFromString(); -$xyz='(100 * 25000) + (250 * 25000) + ((500/100) * 25000)'; -$result = $Cal->calculate($xyz); -echo $result; - diff --git a/_incl_data/class/Chat.php b/_incl_data/class/Chat.php index da8774ea..2965686e 100644 --- a/_incl_data/class/Chat.php +++ b/_incl_data/class/Chat.php @@ -1,5 +1,15 @@ [0 => '', 1 => ' [*%l*]'], 'fingal' => [0 => ' ', 1 => ' [*%l*]'], 'eek' => [0 => '', 1 => ' [*%l*]'], 'smoke' => [0 => '', 1 => ' [*%l*] '], 'hi' => [0 => ' ', 1 => ' [*%l*]'], 'bye' => [0 => ' ', 1 => ' [*%l*]'], 'king' => [0 => ' :-)', 1 => ' [*%l*] !'], 'king2' => [0 => ' :-)', 1 => ' [*%l*] !'], 'boks2' => [0 => ' ', 1 => ' [*%l*] '], 'boks' => [0 => ' , !', 1 => ' [*%l*] '], 'gent' => [0 => ' ', 1 => ' [*%l*] '], 'lady' => [0 => ' ', 1 => ', [*%l*] '], 'tongue' => [0 => ' ', 1 => ' [*%l*]'], 'smil' => [0 => ' ', 1 => ', [*%l*] !'], 'ponder' => [0 => '- ', 1 => ' [*%l*]'], 'bow' => [0 => ' , ', 1 => ' [*%l*]'], 'angel' => [0 => ' ', 1 => ' [*%l*] '], 'angel2' => [0 => ' ', 1 => ' [*%l*] '], 'hello' => [0 => ' ', 1 => ' [*%l*]'], 'dont' => [0 => ' ', 1 => ' [*%l*] '], 'idea' => [0 => ' !', 1 => ' [*%l*] '], 'mol' => [0 => ' ', 1 => ' [*%l*]'], 'super' => [0 => ', , - , - !', 1 => ' [*%l*]'], 'beer' => [0 => ' ...', 1 => ' [*%l*] !'], 'drink' => [0 => ', ', 1 => ' [*%l*] '], 'baby' => [0 => ' ', 1 => ' , [*%l*] '], 'tongue2' => [0 => ' ', 1 => ' [*%l*] , '], 'sword' => [0 => ' ', 1 => ' [*%l*] !'], 'agree' => [0 => ' ', 1 => ' [*%l*]'], 'loveya' => [0 => ' ', 1 => ' [*%l*]'], 'kiss' => [0 => ' ', 1 => ' [*%l*]'], 'kiss2' => [0 => ' -...', 1 => ' [*%l*]'], 'kiss3' => [0 => '- ...', 1 => ' [*%l*]'], 'kiss4' => [0 => '- ...', 1 => ' [*%l*] ...'], 'rose' => [0 => ' - , ...', 1 => ' [*%l*] ...'], 'love' => [0 => ' ...', 1 => ', [loginfrom] + [*%l*]= !'], 'love2' => [0 => ' ...', 1 => ' [*%l*]'], 'confused' => [0 => ' ...', 1 => ' [*%l*]'], 'yes' => [0 => ' ', 1 => ' [*%l*] '], 'no' => [0 => ' ', 1 => ' [*%l*] '], 'shuffle' => [0 => ' ', 1 => ' [*%l*]'], 'nono' => [0 => ' !', 1 => ' [*%l*]'], 'maniac' => [0 => ' - - ...', 1 => ', [*%l*] ...'], 'privet' => [0 => ' ', 1 => ' [*%l*]'], 'ok' => [0 => ', ', 1 => ', [*%l*] '], 'ninja' => [0 => ' !', 1 => ' [*%l*] '], 'pif' => [0 => ' ', 1 => ', [*%l*]'], 'smash' => [0 => ' ', 1 => ' - [*%l*]'], 'alien' => [0 => ', !', 1 => ' , [*%l*] !'], 'pirate' => [0 => ', !...', 1 => ', [*%l*], !'], 'gun' => [0 => ' - ... :gun:', 1 => ', [*%l*] ! :gun:'], 'trup' => [0 => ' ', 1 => ', [*%l*], , !'], 'mdr' => [0 => ', ... :mdr:', 1 => ' [*%l*] :mdr:'], 'sneeze' => [0 => ' ', 1 => ' [*%l*], !'], 'mad' => [0 => ' !!!', 1 => ' [*%l*]!!!'], 'friday' => [0 => ' ...', 1 => ' [*%l*] '], 'cry' => [0 => ' ', 1 => ' [*%l*]'], 'grust' => [0 => '...', 1 => ' [*%l*]'], 'rupor' => [0 => ' ', 1 => ' [*%l*]'], 'fie' => [0 => ': , !!!', 1 => ' [*%l*] !'], 'nnn' => [0 => ' , , ...', 1 => ' , [*%l*]'], 'row' => [0 => ' ...', 1 => ' [*%l*]'], 'red' => [0 => ' ...', 1 => ' [*%l*]'], 'lick' => [0 => ', ', 1 => ' [*%l*]'], 'help' => [0 => ' !', 1 => ' [*%l*]'], 'wink' => [0 => ' ', 1 => ' [*%l*]'], 'jeer' => [0 => ' ...', 1 => ' [*%l*]'], 'tease' => [0 => '', 1 => ' [*%l*]'], 'nunu' => [0 => ' ...', 1 => ' [*%l*]'], 'inv' => [0 => ' ...', 1 => ' [*%l*] ...'], 'duel' => [0 => ' -...', 1 => ' [*%l*] !'], 'susel' => [0 => ': " , .." ...', 1 => ' [*%l*] !'], 'nun' => [0 => ' ', 1 => ' [*%l*] '], 'kruger' => [0 => ' :kruger:', 1 => ' [*%l*] '], 'flowers' => [0 => ' -21 - ', 1 => ' [*%l*] '], 'horse' => [0 => ' ', 1 => ' [*%l*] ! :horse:'], 'hug' => [0 => ' !', 1 => ' [*%l*]'], 'str' => [0 => ' !', 1 => ' [*%l*]'], 'alch' => [0 => ' :alch:', 1 => ' [*%l*] :alch:'], 'pal' => [0 => ' , , - ! :-)', 1 => ' [*%l*] !'], 'mag' => [0 => ' . . .', 1 => ' [*%l*]'], 'sniper' => [0 => ' ', 1 => ' [*%l*] '], 'fuck' => [0 => ' ', 1 => ' [*%l*] '], 'rotate' => [0 => ' ', 1 => ' [*%l*]']]; @@ -64,6 +74,24 @@ class Chat return $text; } + public function sendsys($text, $to = '', $color = '#933') + { + if (!$text) { + return; + } + + Db::sql('insert into chat (new, text, time, type, color, `to`) values (1,?,unix_timestamp(),6,?,?)', [ + trim($text), $color, $to + ]); + } + + public function debug($text) + { + Db::sql('insert into chat (new, text, time, type, color, `to`, login) values (1,?,unix_timestamp(),3,?,?,?)', [ + trim($text), 'crimson', 'Merlin', 'debugger' + ]); + } + public function send($color, $room, $city, $from, $to, $text, $time, $type, $toChat, $spam, $sound, $new = 0) { mysql_query("INSERT INTO `chat` (`new`,`sound`,`color`,`city`,`room`,`login`,`to`,`text`,`time`,`type`,`toChat`,`spam`) VALUES ('" . $new . "','" . $sound . "','" . $color . "','" . $city . "','" . $room . "','" . $from . "','" . $to . "','" . $text . "','" . $time . "','" . $type . "','" . $toChat . "','" . $spam . "')"); diff --git a/_incl_data/class/Core/Config.php b/_incl_data/class/Core/Config.php new file mode 100644 index 00000000..5398d91b --- /dev/null +++ b/_incl_data/class/Core/Config.php @@ -0,0 +1,102 @@ +top.location.href="' . $c['https'] . '";'; + $c['support'] = 'support@' . $c['host']; + + + // + $c['curency_name'] = 'RUB'; + $c['curency_value'] = 30; + + // + $c['bot_level'] = 0; // () + $c['propsk_die'] = 0; // , 0 - . , >= 1 - + + // + $c['exp'] = 0; // + $c['shop_type1'] = 100; // + $c['shop_type2'] = 90; // + $c['shop_all'] = 0; // ! , 0 - . + $c['shop_all_type1'] = 100; // ! , 0 - . + $c['shop_all_type2'] = 100; // ! , 0 - . + // + $c['nosanich'] = true; // - true , - false + $c['zuby'] = false; // + $c['limitedexp'] = false; // + $c['infinity5level'] = false; // 5 + $c['expstop'] = 2999999; //9; // 11 149999999 + $c['expstopu'] = 2999999; // + $c['noobgade'] = false; // () + $c['bonusonline'] = true; // + $c['level_ransfer'] = 8; // + $c['znahar'] = true; // + $c['nolevel'] = false; // + $c['noitembuy'] = false; // + $c['effz'] = 0; // + $c['money_haot'] = true; // + $c['crtoecr'] = 500; // ( 0, ) + $c['ecrtocr'] = 200; // + $c['bonuslevel'] = true; // + $c['bonussocial'] = false; // + + $c['w'] = date('w'); + $c['m'] = date('m'); + + $c['counters'] = ''; + $c['counters_noFrm'] = ''; + $c['securetime'] = 0; // ( ) + + $c['copyright'] = 'Copyright ' . date('Y') . ' '; + $c['db_user'] = 'newcom1_abk'; + $c['db_name'] = 'newcom1_abk'; + $c['db_password'] = '4nWYsIM[c?}P'; + return $c[$key] ?? $c; + } + + public static function init(): Config + { + if (!isset(self::$instance)) { + self::$instance = new static(); + } + return self::$instance; + } +} diff --git a/_incl_data/class/Core/Database.php b/_incl_data/class/Core/Database.php new file mode 100644 index 00000000..83336163 --- /dev/null +++ b/_incl_data/class/Core/Database.php @@ -0,0 +1,51 @@ + PDO::ERRMODE_EXCEPTION, + PDO::ATTR_DEFAULT_FETCH_MODE => PDO::FETCH_ASSOC, + PDO::MYSQL_ATTR_INIT_COMMAND => "SET NAMES cp1251", + PDO::ATTR_STRINGIFY_FETCHES => false, + PDO::ATTR_EMULATE_PREPARES => false, + ] + ); + } +} diff --git a/_incl_data/class/Core/Db.php b/_incl_data/class/Core/Db.php new file mode 100644 index 00000000..f6f0e13a --- /dev/null +++ b/_incl_data/class/Core/Db.php @@ -0,0 +1,144 @@ +getMessage()); + } + } + + private static function init(): void + { + self::$instance ??= new self(); + } + + /** + * @param string $stmt + * @return PDOStatement + */ + private static function query(string $stmt): PDOStatement + { + self::init(); + return self::$db->query($stmt); + } + + /** + * @param string $stmt + * @return PDOStatement + */ + public static function prepare(string $stmt): PDOStatement + { + self::init(); + return self::$db->prepare($stmt); + } + + /** + * @param string $query + * @return int + */ + static public function exec(string $query): int + { + self::init(); + return self::$db->exec($query); + } + + /** + * @return string + */ + static public function lastInsertId(): string + { + self::init(); + return self::$db->lastInsertId(); + } + + /** + * @param string $query + * @param array $args + * @return PDOStatement + */ + public static function run(string $query, array $args = []): PDOStatement + { + try { + if (!$args) { + return self::query($query); + } + $stmt = self::prepare($query); + $stmt->execute($args); + return $stmt; + } catch (PDOException $e) { + throw new PDOException($e->getMessage()); + } + } + + /** + * @param string $query + * @param array $args + * @return mixed + */ + public static function getRow(string $query, array $args = []) + { + return self::run($query, $args)->fetch(); + } + + /** + * @param string $query + * @param array $args + * @return array + */ + public static function getRows(string $query, array $args = []): array + { + return self::run($query, $args)->fetchAll(); + } + + /** + * @param string $query + * @param array $args + * @return mixed + */ + public static function getValue(string $query, array $args = []) + { + $result = self::getRow($query, $args); + if (!empty($result)) { + $result = array_shift($result); + } + return $result; + } + + /** + * @param string $query + * @param array $args + * @return array + */ + public static function getColumn(string $query, array $args = []): array + { + return self::run($query, $args)->fetchAll(PDO::FETCH_COLUMN); + } + + /** + * @param string $query + * @param array $args + */ + public static function sql(string $query, array $args = []) + { + self::run($query, $args); + } +} \ No newline at end of file diff --git a/_incl_data/class/Core/Mail.php b/_incl_data/class/Core/Mail.php new file mode 100644 index 00000000..3683a255 --- /dev/null +++ b/_incl_data/class/Core/Mail.php @@ -0,0 +1,40 @@ +IsSMTP(); // Set mailer to use SMTP + $mail->Host = 'smtp.mail.yahoo.com'; // Specify main and backup server + $mail->SMTPAuth = true; // Enable SMTP authentication + $mail->Username = 'newcombats@yahoo.com'; // SMTP username + $mail->Password = 'uqcdbnsoagxcyysh'; + $mail->SMTPSecure = 'tls'; // Enable encryption, 'ssl' also accepted + $mail->Port = 587; + $mail->CharSet = 'UTF-8'; + + $mail->From = 'newcombats@yahoo.com'; + $mail->FromName = mb_convert_encoding(' ', 'UTF-8', 'CP1251'); + $mail->AddAddress($to); // Add a recipient + + $mail->IsHTML(true); // Set email format to HTML + + $mail->Subject = $subject; + $mail->Body = '
' . $message . '
'; + $mail->AltBody = $message; + + if (!$mail->Send()) { + return 'Message could not be sent. Mailer Error: ' . $mail->ErrorInfo; + } + return 1; + } +} \ No newline at end of file diff --git a/_incl_data/class/FightRequest.php b/_incl_data/class/FightRequest.php index 1f4a243b..cd1a213f 100644 --- a/_incl_data/class/FightRequest.php +++ b/_incl_data/class/FightRequest.php @@ -1,13 +1,19 @@ '', 5 => '']; - private $z2n = [4 => '', 5 => '']; - private $u; - private $zv_see; - public $test_s = ''; - public $error = ''; + private array $z1n = [4 => '', 5 => '']; + private array $z2n = [4 => '', 5 => '']; + private bool $backTest = false; // . + private static bool $bcktst; + + private User $u; + private ?int $zv_see = null; + public string $test_s = ''; + public string $error = ''; /** * . @@ -18,23 +24,18 @@ class FightRequest unset($_POST['kingfight'], $_POST['nobot'], $_POST['mut_clever']); $this->u->info['no_zv_key'] = true; - if (!isset($_GET['del_z_time']) || $_GET['del_z_time'] == null) { - return; - } - $zay = mysql_fetch_array(mysql_query('SELECT * FROM `zayvki` WHERE `id` = "' . $this->u->info['zv'] . '" AND `creator` = "' . $this->u->info['id'] . '" AND `start` = 0 AND `cancel` = 0 AND `btl_id` = 0 ORDER BY `id` DESC LIMIT 1')); - if (!isset($zay['id']) || $zay['priz'] != 0) { - return; - } - $colls = mysql_fetch_array(mysql_query('SELECT COUNT(*) FROM `stats` WHERE `zv` = "' . $zay['id'] . '"')); - $cs = $colls[0]; - if ($this->u->info['zv'] != $zay['id'] || $zay['creator'] != $this->u->info['id']) { - $this->test_s = ' , .'; - } elseif ($cs != 1) { - $this->test_s = '- .'; - } else { - mysql_query('UPDATE `stats` SET `zv` = 0 WHERE `id` = "' . $this->u->info['id'] . '" LIMIT 1'); - mysql_query('DELETE FROM `zayvki` WHERE `id` = "' . $zay['id'] . '" LIMIT 1'); - $this->test_s = ' ...'; + if (!empty($_GET['del_z_time'])) { + $zay = Db::getValue( + 'select count(*) from zayvki where id = ? and creator = ? and start = 0 and cancel = 0 and btl_id = 0 and priz = 0', + [$this->u->info['zv'], $this->u->info['id']] + ); + if ($zay) { + $colls = Db::getValue('select count(*) from stats where zv = ?', [$this->u->info['zv']]); + if ($colls === 1) { + Db::sql('update stats set zv = 0 where id = ?', [$this->u->info['id']]); + Db::sql('delete from zayvki where id = ?', [$this->u->info['zv']]); + } + } } $this->test(); // @@ -42,74 +43,93 @@ class FightRequest private function add_effn($uid, $id) { - $g = [0 => 0, 1 => '']; - $eff = mysql_fetch_array(mysql_query('SELECT * FROM `eff_main` WHERE `id2` = "' . $id . '" LIMIT 1')); - if (isset($eff['id2'])) { - $n = $eff['mname']; - $d = $eff['mdata']; - $ins = mysql_query('INSERT INTO `eff_users` (`overType`,`id_eff`,`uid`,`name`,`timeUse`,`data`) VALUES ("' . $eff['oneType'] . '","' . $eff['id2'] . '","' . $uid . '","' . $n . '","' . time() . '","' . $d . '")'); - if ($ins) { - $g[0] = 1; - $g[1] = '...'; - } + $eff = Db::getRow('select mname, mdata, oneType, id2 from eff_main where id2 = ?', [$id]); + if (!$eff['id2']) { + return; } - return $g; + Db::sql( + 'insert into eff_users (overType, id_eff, uid, name, timeUse, data) values (?,?,?,?,unix_timestamp(),?)', + [$eff['oneType'], $eff['id2'], $uid, $eff['mname'], $eff['mdata']] + ); + +// Db::sql(' +// insert into eff_users (overType, id_eff, uid, name, timeUse, data) +// select oneType, id2, ?, mname, unix_timestamp(), mdata from eff_main +// where id2 = ?', +// [$uid, $id]); + } private function testTravm() { - $tr_pl = mysql_fetch_array(mysql_query('SELECT `id`,`v1` FROM `eff_users` WHERE `id_eff` = 4 AND `uid` = "' . $this->u->info['id'] . '" AND `delete` = "0" ORDER BY `v1` DESC LIMIT 1')); - return isset($tr_pl['id']) ? $tr_pl['v1'] - 1 : 0; + $tr = Db::getValue( + 'select v1 from eff_users where id_eff = 4 and `delete` = 0 and uid = ? order by v1 desc limit 1', + [$this->u->info['id']] + ); + return $tr ? $tr - 1 : 0; } private function testTurnir() { + $chat = new Chat(); // - $sp = mysql_query('SELECT * FROM `turnirs` WHERE `status` != "-1"'); - while ($pl = mysql_fetch_array($sp)) { - + $trn = Db::getRows('select * from turnirs where status != -1'); + $stmt = Db::prepare('update turnirs set chat = ? where id = ?'); + foreach ($trn as $pl) { // if ($pl['status'] == 0 && $pl['time'] > time()) { if (floor(($pl['time'] - time()) / 60) <= 2 && $pl['chat'] > 0) { - mysql_query('UPDATE `turnirs` SET `chat` = "0" WHERE `id` = "' . $pl['id'] . '" LIMIT 1'); + $stmt->execute([0, $pl['id']]); } elseif (floor(($pl['time'] - time()) / 60) <= 5 && $pl['chat'] > 1) { // 5 . - $r = ': 5 . '; - mysql_query("INSERT INTO `chat` (`new`,`city`,`room`,`login`,`to`,`text`,`time`,`type`,`toChat`) VALUES ('1','capitalcity','','','','" . $r . "','" . time() . "','6','0')"); - mysql_query('UPDATE `turnirs` SET `chat` = "1" WHERE `id` = "' . $pl['id'] . '" LIMIT 1'); + $chat->sendsys(': 5 .'); + $stmt->execute([1, $pl['id']]); } elseif (floor(($pl['time'] - time()) / 60) <= 10 && $pl['chat'] > 2) { // 10 . - $r = ': 10 . '; - mysql_query("INSERT INTO `chat` (`new`,`city`,`room`,`login`,`to`,`text`,`time`,`type`,`toChat`) VALUES ('1','capitalcity','','','','" . $r . "','" . time() . "','6','0')"); - mysql_query('UPDATE `turnirs` SET `chat` = "2" WHERE `id` = "' . $pl['id'] . '" LIMIT 1'); + $chat->sendsys(': 10 .'); + $stmt->execute([2, $pl['id']]); } elseif (floor(($pl['time'] - time()) / 60) <= 15 && $pl['chat'] > 3) { // 15 . - $r = ': 15 . '; - mysql_query("INSERT INTO `chat` (`new`,`city`,`room`,`login`,`to`,`text`,`time`,`type`,`toChat`) VALUES ('1','capitalcity','','','','" . $r . "','" . time() . "','6','0')"); - mysql_query('UPDATE `turnirs` SET `chat` = "3" WHERE `id` = "' . $pl['id'] . '" LIMIT 1'); + $chat->sendsys(': 15 .'); + $stmt->execute([3, $pl['id']]); } } - if ($pl['status'] == 0 && $pl['time'] < time()) { - if ($pl['users_in'] > 1) { - // - mysql_query('UPDATE `turnirs` SET `time` = "' . (time() + $pl['time3']) . '",`status` = "1" WHERE `id` = "' . $pl['id'] . '" LIMIT 1'); - $usp = mysql_query('SELECT * FROM `users` WHERE `inTurnirnew` = "' . $pl['id'] . '" LIMIT ' . $pl['users_in']); - while ($ur = mysql_fetch_array($usp)) { - mysql_query('INSERT INTO `users` (`login`,`room`,`name`,`sex`,`level`,`inTurnirnew`,`bithday`,`activ`) VALUES ("' . $ur['login'] . '","318","' . $ur['name'] . '","' . $ur['sex'] . '","' . $t['level'] . '","' . $pl['id'] . '","01.01.2001","0")'); - $uri = mysql_insert_id(); - mysql_query('INSERT INTO `users_turnirs` (`uid`,`bot`,`turnir`) VALUES ("' . $ur['id'] . '","' . $uri . '","' . $pl['id'] . '")'); - $zid = 0; - $x1 = 0; - $y1 = 0; - mysql_query('INSERT INTO `stats` (`upLevel`,`dnow`,`id`,`stats`,`exp`,`ability`,`skills`,`x`,`y`) VALUES ("98","' . $zid . '","' . $uri . '","s1=3|s2=3|s3=3|s4=3|s5=0|s6=0|rinv=40|m9=5|m6=10","0","0","0",' . $x1 . ',' . $y1 . ')'); - mysql_query('UPDATE `users` SET `inUser` = "' . $uri . '" WHERE `id` = "' . $ur['id'] . '" LIMIT 1'); - // - } - } else { - // - mysql_query('UPDATE `turnirs` SET `time` = "' . (time() + $pl['time2']) . '",`users_in` = "0" WHERE `id` = "' . $pl['id'] . '" LIMIT 1'); - mysql_query('UPDATE `users` SET `inTurnirnew` = "0" WHERE `inTurnirnew` = "' . $pl['id'] . '"'); + if ($pl['status'] != 0 || $pl['time'] >= time()) { + continue; + } + if ($pl['users_in'] > 1) { + // + Db::sql('update turnirs set time = unix_timestamp() + ?, status = 1 where id = ?', [$pl['time3'], $pl['id']]); + + $usp = mysql_query( + 'SELECT * FROM `users` WHERE `inTurnirnew` = "' . $pl['id'] . '" LIMIT ' . $pl['users_in'] + ); + while ($ur = mysql_fetch_array($usp)) { + mysql_query( + 'INSERT INTO `users` (`login`,`room`,`name`,`sex`,`level`,`inTurnirnew`,`bithday`) VALUES ("' . $ur['login'] . '","318","' . $ur['name'] . '","' . $ur['sex'] . '","' . $t['level'] . '","' . $pl['id'] . '","01.01.2001")' + ); + $uri = mysql_insert_id(); + mysql_query( + 'INSERT INTO `users_turnirs` (`uid`,`bot`,`turnir`) VALUES ("' . $ur['id'] . '","' . $uri . '","' . $pl['id'] . '")' + ); + $zid = 0; + $x1 = 0; + $y1 = 0; + mysql_query( + 'INSERT INTO `stats` (`upLevel`,`dnow`,`id`,`stats`,`exp`,`ability`,`skills`,`x`,`y`) VALUES ("98","' . $zid . '","' . $uri . '","s1=3|s2=3|s3=3|s4=3|s5=0|s6=0|rinv=40|m9=5|m6=10","0","0","0",' . $x1 . ',' . $y1 . ')' + ); + mysql_query( + 'UPDATE `users` SET `inUser` = "' . $uri . '" WHERE `id` = "' . $ur['id'] . '" LIMIT 1' + ); + // } + } else { + // + mysql_query( + 'UPDATE `turnirs` SET `time` = "' . (time( + ) + $pl['time2']) . '",`users_in` = "0" WHERE `id` = "' . $pl['id'] . '" LIMIT 1' + ); + mysql_query('UPDATE `users` SET `inTurnirnew` = "0" WHERE `inTurnirnew` = "' . $pl['id'] . '"'); } } } @@ -117,9 +137,13 @@ class FightRequest private function testGroupAndChaotic() { // - $sp = mysql_query('SELECT * FROM `zayvki` AS `z` WHERE `z`.`btl_id` = "0" AND `z`.`cancel` = "0" AND `z`.`start` = "0" AND (`z`.`razdel` = 4 OR `z`.`razdel` = 5) ORDER BY `z`.`id` DESC LIMIT 22'); + $sp = mysql_query( + 'SELECT * FROM `zayvki` AS `z` WHERE `z`.`btl_id` = "0" AND `z`.`cancel` = "0" AND `z`.`start` = "0" AND (`z`.`razdel` = 4 OR `z`.`razdel` = 5) ORDER BY `z`.`id` DESC LIMIT 22' + ); while ($pl = mysql_fetch_array($sp)) { - $uz = mysql_query('SELECT `u`.`sex`,`u`.`id`,`u`.`login`,`u`.`align`,`u`.`clan`,`u`.`admin`,`u`.`city`,`u`.`room`,`u`.`online`,`u`.`level`,`u`.`battle`,`u`.`money`,`st`.* FROM `stats` AS `st` LEFT JOIN `users` AS `u` ON (`st`.`id` = `u`.`id`) WHERE `st`.`zv`="' . $pl['id'] . '"'); + $uz = mysql_query( + 'SELECT `u`.`sex`,`u`.`id`,`u`.`login`,`u`.`align`,`u`.`clan`,`u`.`admin`,`u`.`city`,`u`.`room`,`u`.`online`,`u`.`level`,`u`.`battle`,`u`.`money`,`st`.* FROM `stats` AS `st` LEFT JOIN `users` AS `u` ON (`st`.`id` = `u`.`id`) WHERE `st`.`zv`="' . $pl['id'] . '"' + ); $tm1 = []; $tm2 = []; $i = []; @@ -143,32 +167,34 @@ class FightRequest } if ($pl['razdel'] == 5) { - $col_p = mysql_fetch_array(mysql_query('SELECT COUNT(*) FROM `stats` WHERE `zv` = "' . $pl['id'] . '"')); + $col_p = mysql_fetch_array( + mysql_query('SELECT COUNT(*) FROM `stats` WHERE `zv` = "' . $pl['id'] . '"') + ); $cols = $col_p[0]; if ($cols >= $pl['maxplayers']) { $pl['time_start'] = time() - $pl['time'] - 1; } } - if ($pl['time_start'] < time() - $pl['time'] || ($pl['razdel'] == 4 && $i[1] >= $pl['tm1max'] && $i[2] >= $pl['tm2max'])) { + if ($pl['time_start'] < time( + ) - $pl['time'] || ($pl['razdel'] == 4 && $i[1] >= $pl['tm1max'] && $i[2] >= $pl['tm2max'])) { $toChat = rtrim($toChat, ','); $toWhere = ltrim($toWhere, 'OR '); if ($pl['razdel'] == 4) { // - if (!isset($i[1]) || !isset($i[2]) || (!isset($i[3]) && $pl['teams'] == 3)) { - // - $this->cancelGroup($pl, $toChat); - } else { - // - $this->startBattle($pl['id'], $toChat . '|-|' . $toWhere); - } + $this->testGroup($i, $pl, $toChat, $toWhere); } elseif ($pl['razdel'] == 5) { + //fixme ! + $this->testCronChaotic($pl, $toChat, $toWhere); + return; // // - $i = mysql_fetch_array(mysql_query('SELECT COUNT(*) FROM `stats` WHERE `zv` = "' . $pl['id'] . '" LIMIT 1')); + $i = mysql_fetch_array( + mysql_query('SELECT COUNT(*) FROM `stats` WHERE `zv` = "' . $pl['id'] . '" LIMIT 1') + ); if ($i[0] < 4 && ($i[0] < 2 || $pl['fastfight'] == 0)) { // - $this->cancelGroup($pl, $toChat); + $this->cancelGroup($pl, $toChat, ' !'); } else { // $this->startBattle($pl['id'], $toChat . '|-|' . $toWhere); @@ -184,25 +210,15 @@ class FightRequest private function test() { if ($this->u->info['zv'] > 0) { - $test_zv = mysql_fetch_array(mysql_query('SELECT * FROM `zayvki` WHERE `id` = "' . $this->u->info['zv'] . '" LIMIT 1')); - if (!isset($test_zv['id'])) { + $z = Db::getRow('select * from zayvki where id = ?', [$this->u->info['zv']]); + if ($z['id'] && ($z['cancel'] || $z['btl_id'] || $z['time'] < time() - 3600) || !$z['id']) { $this->u->info['zv'] = 0; - } else { - if ($test_zv['cancel'] > 0 || $test_zv['btl_id'] > 0) { - $this->u->info['zv'] = 0; - } - if ($test_zv['time'] < time() - 3600) { - $this->u->info['zv'] = 0; - } - } - if ($this->u->info['zv'] == 0) { - mysql_query('UPDATE `stats` SET `zv` = 0 WHERE `id` = "' . $this->u->info['id'] . '" LIMIT 1'); + Db::sql('update stats set zv = 0 where id = ?', [$this->u->info['id']]); } } $this->testTurnir(); $this->testGroupAndChaotic(); - } private function testCronTurnir() @@ -216,178 +232,208 @@ class FightRequest } if ($pl['users_in'] > 1) { // - mysql_query('UPDATE `turnirs` SET `time` = "' . (time() + $pl['time3']) . '",`status` = "1" WHERE `id` = "' . $pl['id'] . '" LIMIT 1'); - $usp = mysql_query('SELECT * FROM `users` WHERE `inTurnirnew` = "' . $pl['id'] . '" LIMIT ' . $pl['users_in']); + mysql_query( + 'UPDATE `turnirs` SET `time` = "' . (time( + ) + $pl['time3']) . '",`status` = "1" WHERE `id` = "' . $pl['id'] . '" LIMIT 1' + ); + $usp = mysql_query( + 'SELECT * FROM `users` WHERE `inTurnirnew` = "' . $pl['id'] . '" LIMIT ' . $pl['users_in'] + ); while ($ur = mysql_fetch_array($usp)) { - mysql_query('INSERT INTO `users` (`login`,`room`,`name`,`sex`,`level`,`inTurnirnew`,`bithday`,`activ`) VALUES ("' . $ur['login'] . '","318","' . $ur['name'] . '","' . $ur['sex'] . '","' . $t['level'] . '","' . $pl['id'] . '","01.01.2001","0")'); + mysql_query( + 'INSERT INTO `users` (`login`,`room`,`name`,`sex`,`level`,`inTurnirnew`,`bithday`) VALUES ("' . $ur['login'] . '","318","' . $ur['name'] . '","' . $ur['sex'] . '","' . $t['level'] . '","' . $pl['id'] . '","01.01.2001")' + ); $uri = mysql_insert_id(); - mysql_query('INSERT INTO `users_turnirs` (`uid`,`bot`,`turnir`) VALUES ("' . $ur['id'] . '","' . $uri . '","' . $pl['id'] . '")'); + mysql_query( + 'INSERT INTO `users_turnirs` (`uid`,`bot`,`turnir`) VALUES ("' . $ur['id'] . '","' . $uri . '","' . $pl['id'] . '")' + ); $zid = 0; $x1 = 0; $y1 = 0; - mysql_query('INSERT INTO `stats` (`upLevel`,`dnow`,`id`,`stats`,`exp`,`ability`,`skills`,`x`,`y`) VALUES ("98","' . $zid . '","' . $uri . '","s1=3|s2=3|s3=3|s4=3|s5=0|s6=0|rinv=40|m9=5|m6=10","0","0","0",' . $x1 . ',' . $y1 . ')'); - mysql_query('UPDATE `users` SET `inUser` = "' . $uri . '" WHERE `id` = "' . $ur['id'] . '" LIMIT 1'); + mysql_query( + 'INSERT INTO `stats` (`upLevel`,`dnow`,`id`,`stats`,`exp`,`ability`,`skills`,`x`,`y`) VALUES ("98","' . $zid . '","' . $uri . '","s1=3|s2=3|s3=3|s4=3|s5=0|s6=0|rinv=40|m9=5|m6=10","0","0","0",' . $x1 . ',' . $y1 . ')' + ); + mysql_query( + 'UPDATE `users` SET `inUser` = "' . $uri . '" WHERE `id` = "' . $ur['id'] . '" LIMIT 1' + ); // } } else { // - mysql_query('UPDATE `turnirs` SET `time` = "' . (time() + $pl['time2']) . '",`users_in` = "0" WHERE `id` = "' . $pl['id'] . '" LIMIT 1'); + mysql_query( + 'UPDATE `turnirs` SET `time` = "' . (time( + ) + $pl['time2']) . '",`users_in` = "0" WHERE `id` = "' . $pl['id'] . '" LIMIT 1' + ); mysql_query('UPDATE `users` SET `inTurnirnew` = "0" WHERE `inTurnirnew` = "' . $pl['id'] . '"'); } } } + private function testGroup($groups, $zayavka, $toChat, $toWhere) + { + if ($zayavka['razdel'] != 4) { + return; + } + if ( + empty($groups[1]) || + empty($groups[2]) || + ( + empty($groups[3]) && + $zayavka['teams'] == 3 + ) + ) { + // + $this->cancelGroup($zayavka, $toChat); + } else { + // + $this->startBattle($zayavka['id'], $toChat . '|-|' . $toWhere); + } + } + + private function testCronChaotic($zayavka, $toChat, $toWhere) + { + $chat = new Chat(); + $levelToExp = [ + 0 => 0, + 1 => 110, + 2 => 420, + 3 => 1300, + 4 => 2500, + 5 => 5000, + 6 => 12500, + 7 => 30000, + 8 => 300000, + 9 => 3000000, + 10 => 10000000, + 11 => 52000000, + 12 => 63000000, + 13 => 182000000, + 14 => 212000000, + 15 => 352000000, + 16 => 504000000, + 17 => 1187000000, + 18 => 2455000000, + 19 => 4387000000, + 20 => 6355000000, + 21 => 15500000000, + 22 => 755500000000, + ]; + $botUsers = []; + define('FAST_FIGHT_REQUIRED_FIGHTERS_COUNT', 2); + define('FIGHT_REQUIRED_FIGHTERS_COUNT', 6); + + $requiredFightersToStartBattle = FIGHT_REQUIRED_FIGHTERS_COUNT; + if ($zayavka['fastfight'] > 0) { + $requiredFightersToStartBattle = FAST_FIGHT_REQUIRED_FIGHTERS_COUNT; + } + + $pendingFightersCount = Db::getValue('select count(*) from stats where zv = ?', [$zayavka['id']]); + + if ($pendingFightersCount < $requiredFightersToStartBattle) { + // + // + if (!$zayavka['nobot']) { // . + $getRealPlayersQuery = 'select * from stats left join users on stats.id = users.id where exp >= ? and exp < ? and bot = 0 order by btl_cof desc limit 50'; + $getBotsQuery = 'select * from stats left join users on stats.id = users.id where bot = 2 and exp >= ? and exp < ?'; + $botUsers = Db::getRows($getBotsQuery, [$levelToExp[$zayavka['min_lvl_1']], $levelToExp[$zayavka['max_lvl_1'] + 1]]); + } + + if (empty($botUsers)) { + $text = ' : . (' . $zayavka['id'] . ': 0 ' . $levelToExp[$zayavka['min_lvl_1']] . '-' . $levelToExp[$zayavka['max_lvl_1'] + 1] . ')'; + $chat->sendsys($text, 'Merlin'); + $this->cancelGroup($zayavka, $toChat, ' .'); + } else { + $pendingBotsCount = 0; + for ($i = 0; $i < $requiredFightersToStartBattle - $pendingFightersCount; $i++) { + shuffle($botUsers); + $botInfo = array_shift($botUsers); + $botData = [ + 'id' => $botInfo['id'], + 'login' => $botInfo['login'], + 'level' => $botInfo['level'], + 'city' => $botInfo['city'], + 'cityreg' => $botInfo['city'], + 'name' => $botInfo['login'], + 'sex' => $botInfo['sex'], + 'hobby' => '', + 'time_reg' => time(), + 'obraz' => $botInfo['obraz'], + 'stats' => $botInfo['stats'], + 'upLevel' => $botInfo['upLevel'], + 'priems' => $botInfo['priems'], + 'loclon' => true, + ]; + $bot = $this->u->addNewbot(1, null, $botData, null, true); + if ($bot) { + Db::sql( + 'update stats set btl_cof = ?, zv = ?, hpNow = 1000000, mpNow = 1000000 where id = ?', + [$botInfo['btl_cof'], $zayavka['id'], $bot] + ); + Db::sql('update users set room = 303, battle = 0 where id = ?', [$bot]); + $pendingBotsCount++; + } + } + unset($botUsers, $botInfo, $botData, $bot); + + if ($pendingBotsCount + $pendingFightersCount >= $requiredFightersToStartBattle) { + $this->backTest = true; + self::$bcktst = true; + } + } + } else { + // + $this->startBattle($zayavka['id'], $toChat . '|-|' . $toWhere); + } + } + + /** + * @return void + * @throws Exception + */ private function testCronGroupAndChaotic() { - // - $sp = mysql_query('SELECT * FROM `zayvki` AS `z` WHERE `z`.`btl_id` = "0" AND `z`.`cancel` = "0" AND `z`.`start` = "0" AND (`z`.`razdel` = 4 OR `z`.`razdel` = 5) ORDER BY `z`.`id` DESC LIMIT 1000'); - while ($pl = mysql_fetch_array($sp)) { - $uz = mysql_query('SELECT `u`.`sex`,`u`.`id`,`u`.`login`,`u`.`align`,`u`.`clan`,`u`.`admin`,`u`.`city`,`u`.`room`,`u`.`online`,`u`.`level`,`u`.`battle`,`u`.`money`,`st`.* FROM `stats` AS `st` LEFT JOIN `users` AS `u` ON (`st`.`id` = `u`.`id`) WHERE `st`.`zv`="' . $pl['id'] . '"'); + define('GROUP_BATLE', 4); + define('CHAOTIC_BATTLE', 5); + $zv1k = Db::getRows( + 'select * from zayvki where btl_id = 0 and cancel = 0 and start = 0 and razdel in (4, 5) order by id desc limit 1000' + ); + foreach ($zv1k as $zv) { $tm1 = []; $tm2 = []; $i = []; - $toChat = ''; - $toWhere = ''; - while ($t = mysql_fetch_array($uz)) { - if (!isset(${'tm' . $t['team']})) { - ${'tm' . $t['team']} = []; - } - if (!isset($i[$t['team']])) { - $i[$t['team']] = 0; - } - ${'tm' . $t['team']}[$i[$t['team']]] = $t; - $toChat .= '' . $t['login'] . ','; - $toWhere .= 'OR `id` = "' . $t['id'] . '" '; - $i[$t['team']]++; + $toChat = $toWhere = ''; + $users = Db::getRows('select * from stats left join users on stats.id = users.id where zv = ?', [$zv['id']]); + foreach ($users as $user) { + !empty(${'tm' . $user['team']}) ?: ${'tm' . $user['team']} = []; + !empty($i[$user['team']]) ?: $i[$user['team']] = 0; + ${'tm' . $user['team']}[$i[$user['team']]] = $user; + $toChat .= $user['login'] . ','; + $toWhere .= 'OR id = ' . $user['id'] . ' '; + $i[$user['team']]++; } - if ($pl['time_start'] > time() - $pl['time'] && ($pl['razdel'] != 4 || $i[1] < $pl['tm1max'] || $i[2] < $pl['tm2max'])) { + if ($zv['time_start'] > time( + ) - $zv['time'] && ($zv['razdel'] != 4 || $i[1] < $zv['tm1max'] || $i[2] < $zv['tm2max'])) { continue; } $toChat = rtrim($toChat, ','); $toWhere = ltrim($toWhere, 'OR '); - if ($pl['razdel'] == 4) { - // - if (!isset($i[1]) || !isset($i[2])) { - // - $this->cancelGroup($pl, $toChat); - } else { - // - $this->startBattle($pl['id'], $toChat . '|-|' . $toWhere); - } - } elseif ($pl['razdel'] == 5) { - // - $i = mysql_fetch_array(mysql_query('SELECT COUNT(*) FROM `stats` WHERE `zv` = "' . $pl['id'] . '" LIMIT 1')); - if ($i[0] < 4 && ($pl['fastfight'] == 0 || $i[0] < 2)) { - $rcf = mysql_fetch_array(mysql_query('SELECT `id`,`btl_cof` FROM `stats` WHERE `zv` = "' . $pl['id'] . '" ORDER BY `btl_cof` DESC LIMIT 1')); - $rcf = $rcf['btl_cof']; - // - // - $lvl_btl_exp = [ - 0 => 0, - 1 => 110, - 2 => 420, - 3 => 1300, - 4 => 2500, - 5 => 5000, - 6 => 12500, - 7 => 30000, - 8 => 300000, - 9 => 3000000, - 10 => 10000000, - 11 => 52000000, - 12 => 63000000, - 13 => 182000000, - 14 => 212000000, - 15 => 352000000, - 16 => 504000000, - 17 => 1187000000, - 18 => 2455000000, - 19 => 4387000000, - 20 => 6355000000, - 21 => 15500000000, - 22 => 755500000000 - ]; - $bot_users = []; - - if ($pl['min_lvl_1'] <= 8 && $pl['max_lvl_1'] <= 8 && $pl['nobot'] == 0) { - $bsp = mysql_query('SELECT - `u`.`id`, - `u`.`login`, - `u`.`level`, - `s`.`stats`, - `u`.`cityreg`, - `u`.`sex`, - `u`.`obraz`, - `s`.`upLevel`, - `s`.`priems`, - `s`.`btl_cof` - FROM `stats` AS `s` LEFT JOIN `users` AS `u` ON `u`.`id` = `s`.`id` WHERE `s`.`exp` >= ' . $lvl_btl_exp[$pl['min_lvl_1']] . ' AND `s`.`exp` < ' . $lvl_btl_exp[$pl['max_lvl_1'] + 1] . ' AND `s`.`bot` = "0" ORDER BY `s`.`btl_cof` DESC LIMIT 50'); - while ($bpl = mysql_fetch_array($bsp)) { - $bot_users[] = $bpl; - } - } - - $mincs = 4; - if ($pl['fastfight'] > 0) { - $mincs = 2; - } - - if (empty($bot_users)) { - if ($pl['fastfight'] == 0 || $i[0] < 2) { - $text = ' : . (' . $pl['id'] . ': ' . count($bot_users) . ' ' . $lvl_btl_exp[$pl['min_lvl_1']] . '-' . $lvl_btl_exp[$pl['max_lvl_1'] + 1] . ')'; - mysql_query("INSERT INTO `chat` (`new`,`city`,`room`,`login`,`to`,`text`,`time`,`type`,`toChat`) VALUES ('1','" . $zv['city'] . "','','','LEL','" . $text . "','" . time() . "','6','0')"); - $this->cancelGroup($pl, $toChat); - } - } else { - $j = 0; - $k = 0; - while ($j < $mincs - $i[0]) { - $botlg = $bot_users[rand(0, count($bot_users) - 1)]; - $j++; - $clone = [ - 'id' => $botlg['id'], - 'login' => ' ( ' . $j . ')', - 'level' => $botlg['level'], - 'city' => $pl['city'], - 'cityreg' => $pl['city'], - 'name' => '', - 'sex' => $botlg['sex'], - 'deviz' => '', - 'hobby' => '', - 'time_reg' => time(), - 'obraz' => $botlg['obraz'], - 'stats' => $botlg['stats'], - 'upLevel' => $botlg['upLevel'], - 'priems' => $botlg['priems'], - 'loclon' => true - ]; - $bot = $this->u->addNewbot(1, null, $clone, null, true); - if ($bot > 0) { - mysql_query('UPDATE `stats` SET `btl_cof` = "' . $botlg['btl_cof'] . '",`zv` = "' . $pl['id'] . '",`hpNow` = 100000,`mpNow` = 100000 WHERE `id` = ' . $bot . ' LIMIT 1'); - mysql_query('UPDATE `users` SET `room` = 303,`battle` = 0 WHERE `id` = ' . $bot . ' LIMIT 1'); - $k++; - } - } - unset($bot_users, $bpl, $bsp, $bot); - if ($k + $i[0] >= 4 || ($pl['fastfight'] == 0 || $k + $i[0] >= 2)) { - $back_test = true; - } - } - } else { - // - $this->startBattle($pl['id'], $toChat . '|-|' . $toWhere); - } + trigger_error('test'); + if ($zv['razdel'] == GROUP_BATLE) { + $this->testGroup($i, $zv, $toChat, $toWhere); + } else { + $this->testCronChaotic($zv, $toChat, $toWhere); } } - return isset($back_test)? $back_test : false; } + public function testCronZv() { $this->testCronTurnir(); - $back_test = $this->testCronGroupAndChaotic(); + $this->testCronGroupAndChaotic(); - if ($back_test) { + if ($this->backTest || self::$bcktst) { + self::$bcktst = false; $this->testCronZv(); } @@ -396,27 +442,35 @@ class FightRequest public function userInfo() { $r = ''; + $dp = ''; + $ph = $this->u->stats['hpNow'] / $this->u->stats['hpAll'] * 100; if ($this->u->stats['mpAll'] > 0) { $pm = $this->u->stats['mpNow'] / $this->u->stats['mpAll'] * 100; - } - $ph = $this->u->stats['hpNow'] / $this->u->stats['hpAll'] * 100; - $dp = ''; - if ($this->u->stats['mpAll'] <= 0) { + } else { $dp = 'margin-top:13px;'; } + $r .= '
  ' . $this->u->microLogin($this->u->info['id'], 1) . '   -
' . floor($this->u->stats['hpNow']) . '/' . $this->u->stats['hpAll'] . '
+
' . floor( + $this->u->stats['hpNow'] + ) . '/' . $this->u->stats['hpAll'] . '
-
+
'; if ($this->u->stats['mpAll'] > 0) { - $r .= '
' . floor($this->u->stats['mpNow']) . '/' . $this->u->stats['mpAll'] . '
+ $r .= '
' . floor( + $this->u->stats['mpNow'] + ) . '/' . $this->u->stats['mpAll'] . '
-
+
'; } $r .= '
'; @@ -424,7 +478,7 @@ class FightRequest return $r; } - public function cancelGroup($zv, $uids) + public function cancelGroup($zv, $uids, $debug = null) { if ($zv['priz'] > 0) { $sp = mysql_query('SELECT `id` FROM `stats` WHERE `zv` = "' . $zv['id'] . '"'); @@ -442,7 +496,9 @@ class FightRequest // 1 if ($zv['type'] == 33) // { - $pld = mysql_fetch_array(mysql_query('SELECT `id` FROM `users` WHERE `inUser` = "' . $pl['id'] . '"')); + $pld = mysql_fetch_array( + mysql_query('SELECT `id` FROM `users` WHERE `inUser` = "' . $pl['id'] . '"') + ); if (isset($pld['id'])) { mysql_query('UPDATE `users` SET `inUser` = "0" WHERE `id` = "' . $pld['id'] . '" LIMIT 1'); $this->u->addItem(4754, $pld['id'], ''); @@ -458,415 +514,431 @@ class FightRequest } $text = ' : . (1)'; } else { - $text = ' : .'; + $text = ' : !'; } - mysql_query("INSERT INTO `chat` (`new`,`city`,`room`,`login`,`to`,`text`,`time`,`type`,`toChat`) VALUES ('1','" . $zv['city'] . "','','','" . $uids . "','" . $text . "','" . time() . "','6','0')"); + $chat = new Chat(); + $chat->sendsys($text . $debug, $uids); } public function add() { - if (isset($_GET['r']) && $this->u->info['inTurnirnew'] == 0) { - $r = round(intval($_GET['r'])); - if (in_array($r, [1, 4, 5, 8, 10])) { - $az = 1; - if ($r == 1 && $this->u->info['level'] > 0) { - $az = 0; - $this->error = ' ;)'; + if (!isset($_GET['r']) || $this->u->info['inTurnirnew'] != 0) { + return; + } + $r = round(intval($_GET['r'])); + if (!in_array($r, [1, 4, 5, 8, 10])) { + return; + } + $az = 1; + if ($r == 1 && $this->u->info['level'] > 0) { + $az = 0; + $this->error = ' ;)'; + } + if (($r == 4 || $r == 5) && $this->u->info['level'] < 2) { + $az = 0; + $this->error = ' ' . $this->z1n[$r] . ' .'; + } + + if ($this->testTravm() == 1 && $_POST['k'] != 1) { + $this->error = ' . .'; + $az = 0; + } elseif ($this->testTravm() == 2) { + $this->error = ' . .'; + $az = 0; + } elseif ($this->u->info['hpNow'] < $this->u->stats['hpAll'] / 100 * 30) { + $this->error = ' '; + $az = 0; + } + if ($this->u->info['zv'] > 0) { + $az = 0; + $this->error = ' .'; + } + if ($az != 1) { + return; + } + + $nz = []; + $nz['travmaChance'] = 0; + $nz['time_start'] = 0; + $nz['min_lvl_1'] = 0; + $nz['min_lvl_2'] = 0; + $nz['max_lvl_1'] = 21; + $nz['max_lvl_2'] = 21; + $nz['tm1max'] = 0; + $nz['tm2max'] = 0; + $nz['invise'] = 0; + $nz['money'] = 0; + $nz['comment'] = ''; + $nz['tm1'] = 0; + $nz['tm2'] = 0; + $nz['otmorozok'] = 0; + $nz['fastfight'] = 0; + $nz['noinc'] = 0; + + + $nz['city'] = $this->u->info['city']; + $nz['creator'] = $this->u->info['id']; + $nz['type'] = 0; + if ($_POST['k'] == 1) { + $nz['type'] = 1; + } + if ($_POST['k'] == 2) { + $nz['type'] = 6; + $nz['travmaChance'] = 100; + } + $_POST['timeout'] = round(intval(mysql_real_escape_string($_POST['timeout']))); + if ($_POST['timeout'] == 1 || $_POST['timeout'] == 2 || $_POST['timeout'] == 3 || $_POST['timeout'] == 4 || $_POST['timeout'] == 5) { + $nz['timeout'] = $_POST['timeout'] * 60; + } else { + $nz['timeout'] = 3 * 60; + } + + $nz['razdel'] = $r; + + $gad = 1; + + if ($r == 5 && $this->u->info['level'] > 1) { + // + if ($_POST['startime2']) { + $nz['time_start'] = (int)$_POST['startime2']; + $nz['comment'] = substr($_POST['cmt'], 0, 40); + $nz['comment'] = str_replace('"', '"', $nz['comment']); + $nz['comment'] = htmlspecialchars($nz['comment'], null, 'cp1251'); + if (!in_array($nz['time_start'], [60, 180, 300])) { + $nz['time_start'] = 600; } - if (($r == 4 || $r == 5) && $this->u->info['level'] < 2) { - $az = 0; - $this->error = ' ' . $this->z1n[$r] . ' .'; + + if (isset($_POST['mut_hidden'])) { + $nz['invise'] = 1; + } + if (isset($_POST['noinc'])) { + $nz['noinc'] = 1; + } + if (isset($_POST['fastfight'])) { + $nz['fastfight'] = 1; + } + if (isset($_POST['otmorozok'])) { + $nz['otmorozok'] = 1; + } + if (isset($_POST['nobot'])) { + $nz['nobot'] = 1; + } + if (isset($_POST['kingfight'])) { + $nz['kingfight'] = 1; + } + if (isset($_POST['arand'])) { + $nz['arand'] = 1; + } + if (isset($_POST['travma'])) { + $nz['travmaChance'] = 100; + } + if (isset($_POST['noatack'])) { + $nz['noatack'] = 1; + } + if (isset($_POST['noeff'])) { + $nz['noeff'] = 1; + } + if (isset($_POST['smert'])) { + $nz['smert'] = 1; + } + if (isset($_POST['noart'])) { + $nz['noart'] = 1; + } + if ($nz['kingfight'] == 1 && $nz['fastfight'] == 1) { + $nz['kingfight'] = 0; + } + + $nz['timeout'] = (int)$_POST['timeout']; + if ($nz['timeout'] != 1 && $nz['timeout'] != 2 && $nz['timeout'] != 3 && $nz['timeout'] != 4 && $nz['timeout'] != 5) { + $nz['timeout'] = 3; + } + + // + $lvl = (int)$_POST['levellogin1']; + if ($lvl == 0) { + $nz['min_lvl_1'] = 2; + $nz['max_lvl_1'] = 21; + } elseif ($lvl == 3) { + $nz['min_lvl_1'] = $this->u->info['level']; + $nz['max_lvl_1'] = $this->u->info['level']; + $nz['min_lvl_2'] = $nz['min_lvl_1']; + $nz['max_lvl_2'] = $nz['min_lvl_2']; + } elseif ($lvl == 6) { + $nz['min_lvl_1'] = $this->u->info['level'] - 1; + $nz['max_lvl_2'] = $this->u->info['level'] + 1; + } else { + $nz['min_lvl_1'] = 2; + $nz['max_lvl_1'] = 2; + } + + if ((int)$_POST['k'] == 1) { + // + $nz['type'] = 1; + } + if ((int)$_POST['k'] == 2) { + // + $nz['type'] = 6; + $nz['travmaChance'] = 1; + } + $nz['timeout'] = $nz['timeout'] * 60; + $nz['tm1'] = $this->u->stats['reting']; + + if (!$this->u->info['no_zv_key'] && ($_POST['code21'] == 0 || $_POST['code21'] != $_SESSION['code2'] || $_SESSION['code2'] == 0 || !isset($_SESSION['code2']))) { + $this->error = ' '; + $gad = 0; + } + } else { + $gad = 0; + $this->error = '- ...
'; + } + } elseif ($r == 4 && $this->u->info['level'] > 1) { + // + // + if ($_POST['startime']) { + $nz['time_start'] = (int)$_POST['startime']; + $nz['comment'] = substr($_POST['cmt'], 0, 40); + $nz['comment'] = str_replace('"', '"', $nz['comment']); + if ($nz['time_start'] != 300 && $nz['time_start'] != 600 && $nz['time_start'] != 900 && $nz['time_start'] != 1200 && $nz['time_start'] != 1800) { + $nz['time_start'] = 600; + } + + $nz['timeout'] = (int)$_POST['timeout']; + if ($nz['timeout'] != 1 && $nz['timeout'] != 2 && $nz['timeout'] != 3 && $nz['timeout'] != 4 && $nz['timeout'] != 5) { + $nz['timeout'] = 3; + } + + $nz['timeout'] = $nz['timeout'] * 60; + + $nz['tm1max'] = (int)$_POST['nlogin1']; + if ($nz['tm1max'] < 1 || $nz['tm1max'] > 99) { + $this->error .= ' -
'; + $gad = 0; + } + + $nz['tm2max'] = (int)$_POST['nlogin2']; + if ($nz['tm2max'] < 1 || $nz['tm2max'] > 99) { + $this->error .= ' -
'; + $gad = 0; } if ($this->testTravm() == 1 && $_POST['k'] != 1) { $this->error = ' . .'; - $az = 0; + $gad = 0; } elseif ($this->testTravm() == 2) { $this->error = ' . .'; - $az = 0; - } elseif ($this->u->info['hpNow'] < $this->u->stats['hpAll'] / 100 * 30 && ($r >= 1 || $r <= 3)) { - $this->error = ' '; - $az = 0; + $gad = 0; + } elseif ($nz['tm1max'] + $nz['tm2max'] < 3) { + $this->error .= ' 1 1
'; + $gad = 0; } - if ($this->u->info['zv'] > 0) { - $az = 0; - $this->error = ' .'; - } - if ($az == 1) { - $nz = []; - $nz['city'] = $this->u->info['city']; - $nz['creator'] = $this->u->info['id']; - $nz['type'] = 0; - if ($_POST['k'] == 1) { - $nz['type'] = 1; - } - if ($_POST['k'] == 2) { - $nz['type'] = 6; - $nz['travmaChance'] = 100; - } - $_POST['timeout'] = round(intval(mysql_real_escape_string($_POST['timeout']))); - if ($_POST['timeout'] == 1 || $_POST['timeout'] == 2 || $_POST['timeout'] == 3 || $_POST['timeout'] == 4 || $_POST['timeout'] == 5) { - $nz['timeout'] = $_POST['timeout'] * 60; - } else { - $nz['timeout'] = 3 * 60; - } - $nz['razdel'] = $r; - $nz['time_start'] = 0; - $nz['min_lvl_1'] = 0; - $nz['min_lvl_2'] = 0; + // + $lvl = (int)$_POST['levellogin1']; + if ($lvl == 0) { + $nz['min_lvl_1'] = 2; $nz['max_lvl_1'] = 21; - $nz['max_lvl_2'] = 21; - $nz['tm1max'] = 0; - $nz['tm2max'] = 0; - $nz['invise'] = 0; - $nz['money'] = 0; - $nz['comment'] = ''; - $nz['tm1'] = 0; - $nz['tm2'] = 0; - $nz['otmorozok'] = 0; - $gad = 1; - - if ($r == 5 && $this->u->info['level'] > 1) { - // - if ($_POST['startime2']) { - $nz['time_start'] = (int)$_POST['startime2']; - $nz['comment'] = substr($_POST['cmt'], 0, 40); - $nz['comment'] = str_replace('"', '"', $nz['comment']); - $nz['comment'] = htmlspecialchars($nz['comment'], null, 'cp1251'); - if ($nz['time_start'] != 180 && $nz['time_start'] != 300 && $nz['time_start'] != 600 && $nz['time_start'] != 900 && $nz['time_start'] != 1200 && $nz['time_start'] != 1800) { - $nz['time_start'] = 600; - } - - if (isset($_POST['mut_hidden'])) { - $nz['invise'] = 1; - } - if (isset($_POST['noinc'])) { - $nz['noinc'] = 1; - } - if (isset($_POST['fastfight'])) { - $nz['fastfight'] = 1; - } - if (isset($_POST['otmorozok'])) { - $nz['otmorozok'] = 1; - } - if (isset($_POST['nobot'])) { - $nz['nobot'] = 1; - } - if (isset($_POST['kingfight'])) { - $nz['kingfight'] = 1; - } - if (isset($_POST['arand'])) { - $nz['arand'] = 1; - } - if (isset($_POST['travma'])) { - $nz['travmaChance'] = 100; - } - if (isset($_POST['noatack'])) { - $nz['noatack'] = 1; - } - if (isset($_POST['noeff'])) { - $nz['noeff'] = 1; - } - if (isset($_POST['smert'])) { - $nz['smert'] = 1; - } - if (isset($_POST['noart'])) { - $nz['noart'] = 1; - } - if ($nz['kingfight'] == 1 && $nz['fastfight'] == 1) { - $nz['kingfight'] = 0; - } - - $nz['timeout'] = (int)$_POST['timeout']; - if ($nz['timeout'] != 1 && $nz['timeout'] != 2 && $nz['timeout'] != 3 && $nz['timeout'] != 4 && $nz['timeout'] != 5) { - $nz['timeout'] = 3; - } - - // - $lvl = (int)$_POST['levellogin1']; - if ($lvl == 0) { - $nz['min_lvl_1'] = 2; - $nz['max_lvl_1'] = 21; - } elseif ($lvl == 3) { - $nz['min_lvl_1'] = $this->u->info['level']; - $nz['max_lvl_1'] = $this->u->info['level']; - $nz['min_lvl_2'] = $nz['min_lvl_1']; - $nz['max_lvl_2'] = $nz['min_lvl_2']; - } elseif ($lvl == 6) { - $nz['min_lvl_1'] = $this->u->info['level'] - 1; - $nz['max_lvl_2'] = $this->u->info['level'] + 1; - } else { - $nz['min_lvl_1'] = 2; - $nz['max_lvl_1'] = 2; - } - - if ((int)$_POST['k'] == 1) { - // - $nz['type'] = 1; - } - if ((int)$_POST['k'] == 2) { - // - $nz['type'] = 6; - $nz['travmaChance'] = 1; - } - $nz['timeout'] = $nz['timeout'] * 60; - $nz['tm1'] = $this->u->stats['reting']; - - if (!$this->u->info['no_zv_key'] && ($_POST['code21'] == 0 || $_POST['code21'] != $_SESSION['code2'] || $_SESSION['code2'] == 0 || !isset($_SESSION['code2']))) { - $this->error = ' '; - $gad = 0; - } - } else { - $gad = 0; - $this->error = '- ...
'; - } - } elseif ($r == 4 && $this->u->info['level'] > 1) { - // - // - if ($_POST['startime']) { - $nz['time_start'] = (int)$_POST['startime']; - $nz['comment'] = substr($_POST['cmt'], 0, 40); - $nz['comment'] = str_replace('"', '"', $nz['comment']); - if ($nz['time_start'] != 300 && $nz['time_start'] != 600 && $nz['time_start'] != 900 && $nz['time_start'] != 1200 && $nz['time_start'] != 1800) { - $nz['time_start'] = 600; - } - - $nz['timeout'] = (int)$_POST['timeout']; - if ($nz['timeout'] != 1 && $nz['timeout'] != 2 && $nz['timeout'] != 3 && $nz['timeout'] != 4 && $nz['timeout'] != 5) { - $nz['timeout'] = 3; - } - - $nz['timeout'] = $nz['timeout'] * 60; - - $nz['tm1max'] = (int)$_POST['nlogin1']; - if ($nz['tm1max'] < 1 || $nz['tm1max'] > 99) { - $this->error .= ' -
'; - $gad = 0; - } - - $nz['tm2max'] = (int)$_POST['nlogin2']; - if ($nz['tm2max'] < 1 || $nz['tm2max'] > 99) { - $this->error .= ' -
'; - $gad = 0; - } - - if ($this->testTravm() == 1 && $_POST['k'] != 1) { - $this->error = ' . .'; - $gad = 0; - } elseif ($this->testTravm() == 2) { - $this->error = ' . .'; - $gad = 0; - } elseif ($nz['tm1max'] + $nz['tm2max'] < 3) { - $this->error .= ' 1 1
'; - $gad = 0; - } - - // - $lvl = (int)$_POST['levellogin1']; - if ($lvl == 0) { - $nz['min_lvl_1'] = 2; - $nz['max_lvl_1'] = 21; - } elseif ($lvl == 1) { - $nz['min_lvl_1'] = 2; - $nz['max_lvl_1'] = $this->u->info['level']; - } elseif ($lvl == 2) { - $nz['min_lvl_1'] = 2; - $nz['max_lvl_1'] = $this->u->info['level'] - 1; - } elseif ($lvl == 3) { - $nz['min_lvl_1'] = $this->u->info['level']; - $nz['max_lvl_1'] = $this->u->info['level']; - } elseif ($lvl == 4) { - $nz['min_lvl_1'] = $this->u->info['level']; - $nz['max_lvl_1'] = $this->u->info['level'] + 1; - } elseif ($lvl == 5) { - $nz['min_lvl_1'] = $this->u->info['level'] - 1; - $nz['max_lvl_1'] = $this->u->info['level']; - } elseif ($lvl == 6) { - $nz['min_lvl_1'] = $this->u->info['level'] - 1; - $nz['max_lvl_1'] = $this->u->info['level'] + 1; - $nz['min_lvl_1'] = 99; - } else { - $this->error = '- ...
'; - $gad = 0; - } - - // - $lvl = (int)$_POST['levellogin2']; - if ($lvl == 0) { - $nz['min_lvl_2'] = 2; - $nz['max_lvl_2'] = 21; - } elseif ($lvl == 1) { - $nz['min_lvl_2'] = 2; - $nz['max_lvl_2'] = $this->u->info['level']; - } elseif ($lvl == 2) { - $nz['min_lvl_2'] = 2; - $nz['max_lvl_2'] = $this->u->info['level'] - 1; - } elseif ($lvl == 3) { - $nz['min_lvl_2'] = $this->u->info['level']; - $nz['max_lvl_2'] = $this->u->info['level']; - } elseif ($lvl == 4) { - $nz['min_lvl_2'] = $this->u->info['level']; - $nz['max_lvl_2'] = $this->u->info['level'] + 1; - } elseif ($lvl == 5) { - $nz['min_lvl_2'] = $this->u->info['level'] - 1; - $nz['max_lvl_2'] = $this->u->info['level']; - } elseif ($lvl == 6) { - $nz['min_lvl_2'] = $this->u->info['level'] - 1; - $nz['max_lvl_2'] = $this->u->info['level'] + 1; - $nz['min_lvl_2'] = 99; - } else { - $this->error = '- ...
'; - $gad = 0; - } - - if ($nz['min_lvl_1'] < 2) { - $nz['min_lvl_1'] = 2; - } - if ($nz['max_lvl_1'] > 21) { - $nz['max_lvl_1'] = 21; - } - if ($nz['min_lvl_2'] < 2) { - $nz['min_lvl_2'] = 2; - } - if ($nz['max_lvl_2'] > 21) { - $nz['max_lvl_2'] = 21; - } - - if ((int)$_POST['k'] == 1) { - // - $nz['type'] = 1; - } - if ((int)$_POST['k'] == 2) { - // - $nz['type'] = 6; - $nz['travmaChance'] = 100; - } - - } else { - $gad = 0; - $this->error = '- ...
'; - } - } - - $bt2 = (int)$_POST['bots2']; - if ($bt2 != 0 && $r == 4 && $this->u->info['level'] > 1) { - $bt2 = 1; - $nz['min_lvl_2'] = $this->u->info['level']; - $nz['max_lvl_2'] = $this->u->info['level']; - $nz['min_lvl_1'] = $this->u->info['level']; - $nz['max_lvl_1'] = $this->u->info['level']; - } else { - $bt2 = 0; - } - - if ($gad == 1) { - if (!isset($nz['withUser'])) { - $nz['withUser'] = ''; - } - $nz['time_create_zv'] = time(); - if ($nz['razdel'] == 4 || $nz['razdel'] == 5) { - // - $nz['time_create_zv'] = strtotime(date('d.m.Y H:i', $nz['time_create_zv']) . ':00', $nz['time_create_zv']); - } elseif ($nz['razdel'] == 3) { - $nz['noinc'] = 1; - } - $nz['teams'] = 2; - $nz['align1'] = 0; - $nz['align2'] = 0; - $nz['align3'] = 0; - if (isset($_POST['3align'])) { - $nz['teams'] = 3; - $nz['min_lvl_1'] = 2; - $nz['min_lvl_2'] = 2; - $nz['max_lvl_1'] = 21; - $nz['max_lvl_2'] = 21; - // - if (floor($this->u->info['align']) == 3) { - $nz['align1'] = 3; - $nz['align2'] = 1; - $nz['align3'] = 7; - } elseif (floor($this->u->info['align']) == 7) { - $nz['align1'] = 7; - $nz['align2'] = 1; - $nz['align3'] = 3; - } else { - $nz['align1'] = 1; - $nz['align2'] = 3; - $nz['align3'] = 7; - } - // - } - // - if ($nz['razdel'] == 2 && isset($_POST['commentfiz'])) { - $nz['comment'] = htmlspecialchars($_POST['commentfiz'], null, 'cp1251'); - } - // - if ($nz['razdel'] == 5) { - $nz['maxplayers'] = [ - 6 => 6, - 8 => 8, - 10 => 10, - 12 => 12, - 14 => 14, - 16 => 16, - 18 => 18, - 20 => 20, - 40 => 40 - ]; - if (isset($nz['players'][$_POST['players']])) { - $nz['maxplayers']; - } else { - $nz['maxplayers'] = $nz['maxplayers'][$_POST['players']]; - } - } - // - $ins = mysql_query('INSERT INTO `zayvki` (`maxplayers`,`otmorozok`,`align1`,`align2`,`align3`,`teams`,`smert`,`noart`,`noeff`,`noatack`,`arand`,`kingfight`,`nobot`,`fastfight`,`noinc`,`bot1`,`bot2`,`time`,`city`,`creator`,`type`,`time_start`,`timeout`,`min_lvl_1`,`min_lvl_2`,`max_lvl_1`,`max_lvl_2`,`tm1max`,`tm2max`,`travmaChance`,`invise`,`razdel`,`comment`,`money`,`withUser`,`tm1`,`tm2`) VALUES ( - "' . $nz['maxplayers'] . '", - "' . $nz['otmorozok'] . '", - "' . $nz['align1'] . '", - "' . $nz['align2'] . '", - "' . $nz['align3'] . '", - "' . $nz['teams'] . '", - "' . $nz['smert'] . '", - "' . $nz['noart'] . '", - "' . $nz['noeff'] . '", - "' . $nz['noatack'] . '", - "' . $nz['arand'] . '", - "' . $nz['kingfight'] . '", - "' . $nz['nobot'] . '", - "' . $nz['fastfight'] . '", - "' . $nz['noinc'] . '", - "0", - "' . ((int)$bt2) . '", - "' . $nz['time_create_zv'] . '", - "' . $nz['city'] . '", - "' . $nz['creator'] . '", - "' . $nz['type'] . '", - "' . $nz['time_start'] . '", - "' . mysql_real_escape_string($nz['timeout']) . '", - "' . mysql_real_escape_string($nz['min_lvl_1']) . '", - "' . mysql_real_escape_string($nz['min_lvl_2']) . '", - "' . mysql_real_escape_string($nz['max_lvl_1']) . '", - "' . mysql_real_escape_string($nz['max_lvl_2']) . '", - "' . mysql_real_escape_string($nz['tm1max']) . '", - "' . mysql_real_escape_string($nz['tm2max']) . '", - "' . $nz['travmaChance'] . '", - "' . $nz['invise'] . '", - "' . $nz['razdel'] . '", - "' . mysql_real_escape_string($nz['comment']) . '", - "' . mysql_real_escape_string($nz['money']) . '", - "' . $nz['withUser'] . '","' . $nz['tm1'] . '","' . $nz['tm2'] . '")'); - $zid = mysql_insert_id(); - if ($ins) { - mysql_query('UPDATE `stats` SET `zv`="' . $zid . '",`team`="1" WHERE `id`="' . $this->u->info['id'] . '" LIMIT 1'); - $this->u->info['zv'] = $zid; - $this->error = ' '; - } else { - $this->error = ' ...' . $ins; - } - } + } elseif ($lvl == 1) { + $nz['min_lvl_1'] = 2; + $nz['max_lvl_1'] = $this->u->info['level']; + } elseif ($lvl == 2) { + $nz['min_lvl_1'] = 2; + $nz['max_lvl_1'] = $this->u->info['level'] - 1; + } elseif ($lvl == 3) { + $nz['min_lvl_1'] = $this->u->info['level']; + $nz['max_lvl_1'] = $this->u->info['level']; + } elseif ($lvl == 4) { + $nz['min_lvl_1'] = $this->u->info['level']; + $nz['max_lvl_1'] = $this->u->info['level'] + 1; + } elseif ($lvl == 5) { + $nz['min_lvl_1'] = $this->u->info['level'] - 1; + $nz['max_lvl_1'] = $this->u->info['level']; + } elseif ($lvl == 6) { + $nz['min_lvl_1'] = $this->u->info['level'] - 1; + $nz['max_lvl_1'] = $this->u->info['level'] + 1; + $nz['min_lvl_1'] = 99; + } else { + $this->error = '- ...
'; + $gad = 0; } + + // + $lvl = (int)$_POST['levellogin2']; + if ($lvl == 0) { + $nz['min_lvl_2'] = 2; + $nz['max_lvl_2'] = 21; + } elseif ($lvl == 1) { + $nz['min_lvl_2'] = 2; + $nz['max_lvl_2'] = $this->u->info['level']; + } elseif ($lvl == 2) { + $nz['min_lvl_2'] = 2; + $nz['max_lvl_2'] = $this->u->info['level'] - 1; + } elseif ($lvl == 3) { + $nz['min_lvl_2'] = $this->u->info['level']; + $nz['max_lvl_2'] = $this->u->info['level']; + } elseif ($lvl == 4) { + $nz['min_lvl_2'] = $this->u->info['level']; + $nz['max_lvl_2'] = $this->u->info['level'] + 1; + } elseif ($lvl == 5) { + $nz['min_lvl_2'] = $this->u->info['level'] - 1; + $nz['max_lvl_2'] = $this->u->info['level']; + } elseif ($lvl == 6) { + $nz['min_lvl_2'] = $this->u->info['level'] - 1; + $nz['max_lvl_2'] = $this->u->info['level'] + 1; + $nz['min_lvl_2'] = 99; + } else { + $this->error = '- ...
'; + $gad = 0; + } + + if ($nz['min_lvl_1'] < 2) { + $nz['min_lvl_1'] = 2; + } + if ($nz['max_lvl_1'] > 21) { + $nz['max_lvl_1'] = 21; + } + if ($nz['min_lvl_2'] < 2) { + $nz['min_lvl_2'] = 2; + } + if ($nz['max_lvl_2'] > 21) { + $nz['max_lvl_2'] = 21; + } + + if ((int)$_POST['k'] == 1) { + // + $nz['type'] = 1; + } + if ((int)$_POST['k'] == 2) { + // + $nz['type'] = 6; + $nz['travmaChance'] = 100; + } + + } else { + $gad = 0; + $this->error = '- ...
'; + } + } + + $bt2 = (int)$_POST['bots2']; + if ($bt2 != 0 && $r == 4 && $this->u->info['level'] > 1) { + $bt2 = 1; + $nz['min_lvl_2'] = $this->u->info['level']; + $nz['max_lvl_2'] = $this->u->info['level']; + $nz['min_lvl_1'] = $this->u->info['level']; + $nz['max_lvl_1'] = $this->u->info['level']; + } else { + $bt2 = 0; + } + + if ($gad == 1) { + if (!isset($nz['withUser'])) { + $nz['withUser'] = ''; + } + $nz['time_create_zv'] = time(); + if ($nz['razdel'] == 4 || $nz['razdel'] == 5) { + // + $nz['time_create_zv'] = strtotime( + date('d.m.Y H:i', $nz['time_create_zv']) . ':00', $nz['time_create_zv'] + ); + } elseif ($nz['razdel'] == 3) { + $nz['noinc'] = 1; + } + $nz['teams'] = 2; + $nz['align1'] = 0; + $nz['align2'] = 0; + $nz['align3'] = 0; + if (isset($_POST['3align'])) { + $nz['teams'] = 3; + $nz['min_lvl_1'] = 2; + $nz['min_lvl_2'] = 2; + $nz['max_lvl_1'] = 21; + $nz['max_lvl_2'] = 21; + // + if (floor($this->u->info['align']) == 3) { + $nz['align1'] = 3; + $nz['align2'] = 1; + $nz['align3'] = 7; + } elseif (floor($this->u->info['align']) == 7) { + $nz['align1'] = 7; + $nz['align2'] = 1; + $nz['align3'] = 3; + } else { + $nz['align1'] = 1; + $nz['align2'] = 3; + $nz['align3'] = 7; + } + // + } + // + if ($nz['razdel'] == 2 && isset($_POST['commentfiz'])) { + $nz['comment'] = htmlspecialchars($_POST['commentfiz'], null, 'cp1251'); + } + // + if ($nz['razdel'] == 5) { + $nz['maxplayers'] = [ + 6 => 6, + 8 => 8, + 10 => 10, + 12 => 12, + 14 => 14, + 16 => 16, + 18 => 18, + 20 => 20, + 40 => 40, + ]; + if (isset($nz['players'][$_POST['players']])) { + $nz['maxplayers']; + } else { + $nz['maxplayers'] = $nz['maxplayers'][$_POST['players']]; + } + } + $dbvalues = [ + $nz['maxplayers'], + $nz['otmorozok'], + $nz['align1'], + $nz['align2'], + $nz['align3'], + $nz['teams'], + $nz['smert'], + $nz['noart'], + $nz['noeff'], + $nz['noatack'], + $nz['arand'], + $nz['kingfight'], + $nz['nobot'], + $nz['fastfight'], + $nz['noinc'], + $bt2, + $nz['time_create_zv'], + $nz['city'], + $nz['creator'], + $nz['type'], + $nz['time_start'], + $nz['timeout'], + $nz['min_lvl_1'], + $nz['min_lvl_2'], + $nz['max_lvl_1'], + $nz['max_lvl_2'], + $nz['tm1max'], + $nz['tm2max'], + $nz['travmaChance'], + $nz['invise'], + $nz['razdel'], + $nz['comment'], + $nz['money'], + $nz['withUser'], + $nz['tm1'], + $nz['tm2'], + ]; + $dbquery = 'insert into zayvki (`maxplayers`,`otmorozok`,`align1`,`align2`,`align3`,`teams`,`smert`,`noart`,`noeff`,`noatack`,`arand`,`kingfight`,`nobot`,`fastfight`,`noinc`,`bot2`,`time`,`city`,`creator`,`type`,`time_start`,`timeout`,`min_lvl_1`,`min_lvl_2`,`max_lvl_1`,`max_lvl_2`,`tm1max`,`tm2max`,`travmaChance`,`invise`,`razdel`,`comment`,`money`,`withUser`,`tm1`,`tm2`) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)'; + $ins = Db::run($dbquery, $dbvalues); + $zid = Db::lastInsertId(); + if ($ins) { + Db::sql('update stats set zv = ?, team = 1 where id = ?', [$zid, $this->u->info['id']]); + $this->u->info['zv'] = $zid; + $this->error = ' '; + } else { + $this->error = ': !'; } } } @@ -895,7 +967,8 @@ class FightRequest // $expB = 0; $btl = ['smert' => 0, 'noart' => 0, 'noeff' => 0, 'otmorozok' => 0, 'noatack' => 0, 'priz' => 0, 'arand' => 0, 'kingfight' => 0, 'nobot' => 0, 'fastfight' => 0, 'players' => '', 'timeout' => 60, 'type' => 0, 'invis' => 0, 'noinc' => 0, 'travmChance' => 0, 'typeBattle' => 0, 'addExp' => $expB, 'money' => 0, 'money3' => 0]; - $ins = mysql_query('INSERT INTO `battle` (`otmorozok`,`smert`,`noart`,`noeff`,`noatack`,`arand`,`kingfight`,`nobot`,`fastfight`,`clone`,`city`,`time_start`,`players`,`timeout`,`type`,`invis`,`noinc`,`travmChance`,`typeBattle`,`addExp`,`money`,`priz`) VALUES ( + $ins = mysql_query( + 'INSERT INTO `battle` (`otmorozok`,`smert`,`noart`,`noeff`,`noatack`,`arand`,`kingfight`,`nobot`,`fastfight`,`clone`,`city`,`time_start`,`players`,`timeout`,`type`,`invis`,`noinc`,`travmChance`,`typeBattle`,`addExp`,`money`,`priz`) VALUES ( "' . $btl['otmorozok'] . '", "' . $btl['smert'] . '", "' . $btl['noart'] . '", @@ -917,18 +990,28 @@ class FightRequest "' . $btl['typeBattle'] . '", "' . $btl['addExp'] . '", "' . $btl['money'] . '", - "' . $btl['priz'] . '")'); + "' . $btl['priz'] . '")' + ); if ($ins) { $btl_id = mysql_insert_id(); // $this->u->info['enNow'] -= $trEn; - $upd2 = mysql_query('UPDATE `users` SET `battle`="' . $btl_id . '" WHERE `id` = "' . $this->u->info['id'] . '" OR `id` = "' . $bot . '" LIMIT 2'); - mysql_query('UPDATE `stats` SET `team`="1",`enNow` = "' . $this->u->info['enNow'] . '" WHERE `id` = "' . $this->u->info['id'] . '" LIMIT 1'); - mysql_query('UPDATE `stats` SET `hpNow` = "' . $this->u->stats['hpAll'] . '",`team`="2" WHERE `id` = "' . $bot . '" LIMIT 1'); + $upd2 = mysql_query( + 'UPDATE `users` SET `battle`="' . $btl_id . '" WHERE `id` = "' . $this->u->info['id'] . '" OR `id` = "' . $bot . '" LIMIT 2' + ); + mysql_query( + 'UPDATE `stats` SET `team`="1",`enNow` = "' . $this->u->info['enNow'] . '" WHERE `id` = "' . $this->u->info['id'] . '" LIMIT 1' + ); + mysql_query( + 'UPDATE `stats` SET `hpNow` = "' . $this->u->stats['hpAll'] . '",`team`="2" WHERE `id` = "' . $bot . '" LIMIT 1' + ); // , $this->u->info['battle'] = $btl_id; // - mysql_query("INSERT INTO `chat` (`city`,`room`,`to`,`time`,`type`,`toChat`,`sound`) VALUES ('" . $this->u->info['city'] . "','" . $this->u->info['room'] . "','" . $this->u->info['login'] . "','" . time() . "','11','0','117')"); + mysql_query( + "INSERT INTO `chat` (`city`,`room`,`to`,`time`,`type`,`toChat`,`sound`) VALUES ('" . $this->u->info['city'] . "','" . $this->u->info['room'] . "','" . $this->u->info['login'] . "','" . time( + ) . "','11','0','117')" + ); die(''); } else { $this->error = 'Cannot start battle (no prototype "ABD0Clone")'; @@ -958,7 +1041,8 @@ class FightRequest // $expB = 0; $btl = ['priz' => 0, 'smert' => 0, 'noart' => 0, 'noeff' => 0, 'noatack' => 0, 'arand' => 0, 'kingfight' => 0, 'nobot' => 0, 'fastfight' => 0, 'players' => '', 'timeout' => 60, 'type' => 0, 'invis' => 0, 'noinc' => 0, 'travmChance' => 0, 'typeBattle' => 0, 'addExp' => $expB, 'money' => 0, 'money3' => 0]; - $ins = mysql_query('INSERT INTO `battle` (`otmorozok`,`priz`,`smert`,`noart`,`noeff`,`noatack`,`arand`,`kingfight`,`nobot`,`fastfight`,`clone`,`city`,`time_start`,`players`,`timeout`,`type`,`invis`,`noinc`,`travmChance`,`typeBattle`,`addExp`,`money`) VALUES ( + $ins = mysql_query( + 'INSERT INTO `battle` (`otmorozok`,`priz`,`smert`,`noart`,`noeff`,`noatack`,`arand`,`kingfight`,`nobot`,`fastfight`,`clone`,`city`,`time_start`,`players`,`timeout`,`type`,`invis`,`noinc`,`travmChance`,`typeBattle`,`addExp`,`money`) VALUES ( "' . $btl['otmorozok'] . '", "' . $btl['priz'] . '", "' . $btl['smert'] . '", @@ -980,24 +1064,34 @@ class FightRequest "' . $btl['travmChance'] . '", "' . $btl['typeBattle'] . '", "' . $btl['addExp'] . '", - "' . $btl['money'] . '")'); + "' . $btl['money'] . '")' + ); if ($ins) { $btl_id = mysql_insert_id(); // $this->u->info['enNow'] -= $trEn; - $upd2 = mysql_query('UPDATE `users` SET `battle`="' . $btl_id . '" WHERE `id` = "' . $this->u->info['id'] . '" OR `id` = "' . $bot . '" LIMIT 2'); - mysql_query('UPDATE `stats` SET `team`="1",`enNow` = "' . $this->u->info['enNow'] . '" WHERE `id` = "' . $this->u->info['id'] . '" LIMIT 1'); + $upd2 = mysql_query( + 'UPDATE `users` SET `battle`="' . $btl_id . '" WHERE `id` = "' . $this->u->info['id'] . '" OR `id` = "' . $bot . '" LIMIT 2' + ); + mysql_query( + 'UPDATE `stats` SET `team`="1",`enNow` = "' . $this->u->info['enNow'] . '" WHERE `id` = "' . $this->u->info['id'] . '" LIMIT 1' + ); mysql_query('UPDATE `stats` SET `team`="2" WHERE `id` = "' . $bot . '" LIMIT 1'); // , if ($btl['type'] == 1) { - mysql_query('UPDATE `items_users` SET `inOdet`="0" WHERE `uid` = "' . $this->u->info['id'] . '" AND `inOdet`!=0'); + mysql_query( + 'UPDATE `items_users` SET `inOdet`="0" WHERE `uid` = "' . $this->u->info['id'] . '" AND `inOdet`!=0' + ); mysql_query('UPDATE `items_users` SET `inOdet`="0" WHERE `uid` = "' . $bot . '" AND `inOdet`!=0'); } // , $this->u->info['battle'] = $btl_id; // - mysql_query("INSERT INTO `chat` (`city`,`room`,`to`,`time`,`type`,`toChat`,`sound`) VALUES ('" . $this->u->info['city'] . "','" . $this->u->info['room'] . "','" . $this->u->info['login'] . "','" . time() . "','11','0','117')"); + mysql_query( + "INSERT INTO `chat` (`city`,`room`,`to`,`time`,`type`,`toChat`,`sound`) VALUES ('" . $this->u->info['city'] . "','" . $this->u->info['room'] . "','" . $this->u->info['login'] . "','" . time( + ) . "','11','0','117')" + ); die(''); } else { $this->error = 'Cannot start battle (no prototype "ABD0Clone")'; @@ -1005,100 +1099,20 @@ class FightRequest } } - // - public function startIzlom($id2, $lvl) - { - $lvl = (int)$lvl; - - if ($lvl == 8) { - /* - - - - - */ - $bots = ['', ' ', ' ', ' ', ' ', ' ', ' ']; - } - - $id2 = rand(0, (count($bots) - 1)); - $id = mysql_fetch_array(mysql_query('SELECT * FROM `test_bot` WHERE `login` = "' . $bots[$id2] . '" AND `level` <= "' . $this->u->info['level'] . '" AND `pishera` != "" AND `active` = "1" ORDER BY `level` DESC LIMIT 1')); - $logins_bot = []; - $bot = $this->u->addNewbot($id['id'], null, null, $logins_bot, null); - - if (isset($id['id']) && $bot) { - $logins_bot = $bot['logins_bot']; - // - $expB = -$bot['expB']; - $btl = ['priz' => '', 'players' => '', 'otmorozok' => 0, 'timeout' => 60, 'type' => 9, 'invis' => 0, 'noinc' => 0, 'travmChance' => 0, 'typeBattle' => 0, 'addExp' => $expB, 'money' => 0, 'izlom' => (int)$id2, 'izlomLvl' => (int)$lvl]; - $ins = mysql_query('INSERT INTO `battle` (`otmorozok`,`priz`,`smert`,`noart`,`noeff`,`noatack`,`arand`,`kingfight`,`nobot`,`fastfight`,`city`,`time_start`,`players`,`timeout`,`type`,`invis`,`noinc`,`travmChance`,`typeBattle`,`addExp`,`money`,`izlom`,`izlomLvl`) VALUES ( - "' . $btl['otmorozok'] . '", - "' . $btl['priz'] . '", - "' . $btl['smert'] . '", - "' . $btl['noart'] . '", - "' . $btl['noeff'] . '", - "' . $btl['noatack'] . '", - "' . $btl['arand'] . '", - "' . $btl['kingfight'] . '", - "' . $btl['nobot'] . '", - "' . $btl['fastfight'] . '", - "' . $this->u->info['city'] . '", - "' . time() . '", - "' . $btl['players'] . '", - "' . $btl['timeout'] . '", - "' . $btl['type'] . '", - "' . $btl['invis'] . '", - "' . $btl['noinc'] . '", - "' . $btl['travmChance'] . '", - "' . $btl['typeBattle'] . '", - "' . $btl['addExp'] . '", - "' . $btl['money'] . '","' . $btl['izlom'] . '","' . $btl['izlomLvl'] . '")'); - if ($ins) { - $btl_id = mysql_insert_id(); - // - $upd2 = mysql_query('UPDATE `users` SET `battle`="' . $btl_id . '" WHERE `id` = "' . $this->u->info['id'] . '" OR `id` = "' . $bot['id'] . '" LIMIT 2'); - mysql_query('UPDATE `stats` SET `team`="1" WHERE `id` = "' . $this->u->info['id'] . '" LIMIT 1'); - mysql_query('UPDATE `stats` SET `team`="2" WHERE `id` = "' . $bot['id'] . '" LIMIT 1'); - - // , - $this->u->info['battle'] = $btl_id; - - // 2 - $id2 = rand(0, (count($bots) - 1)); - $id = mysql_fetch_array(mysql_query('SELECT * FROM `test_bot` WHERE `login` = "' . $bots[$id2] . '" AND `level` <= "' . $this->u->info['level'] . '" AND `pishera` != "" AND `active` = "1" ORDER BY `level` DESC LIMIT 1')); - $bot = $this->u->addNewbot($id['id'], null, null, $logins_bot, null); - if (isset($id['id']) && $bot) { - $logins_bot = $bot['logins_bot']; - mysql_query('UPDATE `users` SET `battle`="' . $btl_id . '" WHERE `id` = "' . $bot['id'] . '" LIMIT 1'); - mysql_query('UPDATE `stats` SET `team`="2" WHERE `id` = "' . $bot['id'] . '" LIMIT 1'); - } - $id2 = rand(0, (count($bots) - 1)); - $id = mysql_fetch_array(mysql_query('SELECT * FROM `test_bot` WHERE `login` = "' . $bots[$id2] . '" AND `level` <= "' . $this->u->info['level'] . '" AND `pishera` != "" AND `active` = "1" ORDER BY `level` DESC LIMIT 1')); - $bot = $this->u->addNewbot($id['id'], null, null, $logins_bot, null); - if (isset($id['id']) && $bot) { - $logins_bot = $bot['logins_bot']; - mysql_query('UPDATE `users` SET `battle`="' . $btl_id . '" WHERE `id` = "' . $bot['id'] . '" LIMIT 1'); - mysql_query('UPDATE `stats` SET `team`="2" WHERE `id` = "' . $bot['id'] . '" LIMIT 1'); - } - - // - mysql_query("INSERT INTO `chat` (`city`,`room`,`to`,`time`,`type`,`toChat`,`sound`) VALUES ('" . $this->u->info['city'] . "','" . $this->u->info['room'] . "','" . $this->u->info['login'] . "','" . time() . "','11','0','117')"); - die(''); - } else { - $this->error = 'Cannot start battle (no prototype "ABD0' . $id['id'] . '")'; - } - } else { - echo '
Cannot start battle (no prototype "ND0IZ' . $lvl . '")
'; - } - } - public function startBattle($id, $vars = null) { - $z = mysql_fetch_array(mysql_query('SELECT * FROM `zayvki` WHERE `id`="' . $id . '" AND `start` = "0" AND `cancel` = "0" AND (`time` > "' . (time() - 60 * 60 * 2) . '" OR `razdel` > 3) LIMIT 1')); + $z = mysql_fetch_array( + mysql_query( + 'SELECT * FROM `zayvki` WHERE `id`="' . $id . '" AND `start` = "0" AND `cancel` = "0" AND (`time` > "' . (time( + ) - 60 * 60 * 2) . '" OR `razdel` > 3) LIMIT 1' + ) + ); if ($z['type'] == 33) { sleep(5); } mysql_query('START TRANSACTION'); - mysql_query("LOCK TABLES + mysql_query( + "LOCK TABLES `aaa_monsters` WRITE, `actions` WRITE, `bank` WRITE, @@ -1171,8 +1185,14 @@ class FightRequest `users_animal` WRITE, `user_ico` WRITE, `users_twink` WRITE, - `zayvki` WRITE;"); - $z = mysql_fetch_array(mysql_query('SELECT * FROM `zayvki` WHERE `id`="' . $id . '" AND `start` = "0" AND `cancel` = "0" AND (`time` > "' . (time() - 60 * 60 * 2) . '" OR `razdel` > 3) LIMIT 1')); + `zayvki` WRITE;" + ); + $z = mysql_fetch_array( + mysql_query( + 'SELECT * FROM `zayvki` WHERE `id`="' . $id . '" AND `start` = "0" AND `cancel` = "0" AND (`time` > "' . (time( + ) - 60 * 60 * 2) . '" OR `razdel` > 3) LIMIT 1' + ) + ); if (isset($z['id'])) { $vars = explode('|-|', $vars); if ($z['razdel'] >= 4 && $z['razdel'] <= 5) { @@ -1180,7 +1200,9 @@ class FightRequest $btl_id = 0; //$txtz = ''; if ($z['razdel'] == 5) { - $sp = mysql_query('SELECT `s`.`id`,`s`.`team`,`s`.`upLevel`,`s`.`btl_cof`,`s`.`exp` FROM `stats` AS `s` LEFT JOIN `users` AS `u` ON `u`.`id` = `s`.`id` WHERE `s`.`zv` = "' . $z['id'] . '" ORDER BY `s`.`btl_cof` DESC LIMIT 200'); + $sp = mysql_query( + 'SELECT `s`.`id`,`s`.`team`,`s`.`upLevel`,`s`.`btl_cof`,`s`.`exp` FROM `stats` AS `s` LEFT JOIN `users` AS `u` ON `u`.`id` = `s`.`id` WHERE `s`.`zv` = "' . $z['id'] . '" ORDER BY `s`.`btl_cof` DESC LIMIT 200' + ); $tsr = rand(0, 100); if ($tsr >= 70 && $z['type'] != 33) { $ii = -1; @@ -1202,7 +1224,9 @@ class FightRequest $teamAbtlconf = $teamAbtlconf + $pld[$ii]['btl_cof']; $teamA++; $idi = $ii; - mysql_query('UPDATE `stats` SET `team` = "' . $teamnew . '" WHERE `id` = "' . $pld[$idi]['id'] . '" LIMIT 1'); + mysql_query( + 'UPDATE `stats` SET `team` = "' . $teamnew . '" WHERE `id` = "' . $pld[$idi]['id'] . '" LIMIT 1' + ); } $ii++; } elseif (($teamB - $teamA) <= 0) { @@ -1211,7 +1235,9 @@ class FightRequest $teamBbtlconf = $teamBbtlconf + $pld[$ii]['btl_cof']; $teamB++; $idi = $ii; - mysql_query('UPDATE `stats` SET `team` = "' . $teamnew . '" WHERE `id` = "' . $pld[$idi]['id'] . '" LIMIT 1'); + mysql_query( + 'UPDATE `stats` SET `team` = "' . $teamnew . '" WHERE `id` = "' . $pld[$idi]['id'] . '" LIMIT 1' + ); } $ii++; } else { @@ -1220,7 +1246,9 @@ class FightRequest $teamAbtlconf = $teamAbtlconf + $pld[$jj]['btl_cof']; $teamA++; $idi = $jj; - mysql_query('UPDATE `stats` SET `team` = "' . $teamnew . '" WHERE `id` = "' . $pld[$idi]['id'] . '" LIMIT 1'); + mysql_query( + 'UPDATE `stats` SET `team` = "' . $teamnew . '" WHERE `id` = "' . $pld[$idi]['id'] . '" LIMIT 1' + ); } $jj--; } @@ -1238,7 +1266,9 @@ class FightRequest $teamnew = 1; } } - mysql_query('UPDATE `stats` SET `team` = "' . $teamnew . '" WHERE `id` = "' . $pl['id'] . '" LIMIT 1'); + mysql_query( + 'UPDATE `stats` SET `team` = "' . $teamnew . '" WHERE `id` = "' . $pl['id'] . '" LIMIT 1' + ); if ($teamnew == 1) { $balansteamA += 1; } else { @@ -1253,7 +1283,8 @@ class FightRequest 'priz' => $z['priz'], 'smert' => $z['smert'], 'noart' => $z['noart'], 'noeff' => $z['noeff'], 'noatack' => $z['noatack'], 'arand' => $z['arand'], 'kingfight' => $z['kingfight'], 'players' => '', 'timeout' => $z['timeout'], 'type' => $z['type'], 'travmChance' => $z['travmChance'], 'invis' => $z['invise'], 'noinc' => 0, 'typeBattle' => 0, 'addExp' => $z['exp'], 'money' => 0, 'money3' => 0]; // - $ins = mysql_query('INSERT INTO `battle` (`otmorozok`,`priz`,`smert`,`noart`,`noeff`,`noatack`,`arand`,`kingfight`,`nobot`,`fastfight`,`razdel`,`city`,`time_start`,`players`,`timeout`,`type`,`invis`,`noinc`,`travmChance`,`typeBattle`,`addExp`,`money`) VALUES ( + $ins = mysql_query( + 'INSERT INTO `battle` (`otmorozok`,`priz`,`smert`,`noart`,`noeff`,`noatack`,`arand`,`kingfight`,`nobot`,`fastfight`,`razdel`,`city`,`time_start`,`players`,`timeout`,`type`,`invis`,`noinc`,`travmChance`,`typeBattle`,`addExp`,`money`) VALUES ( "' . $z['otmorozok'] . '", "' . $z['priz'] . '", "' . $z['smert'] . '", @@ -1275,7 +1306,8 @@ class FightRequest "' . mysql_real_escape_string($z['travmChance']) . '", "' . mysql_real_escape_string($btl['typeBattle']) . '", "' . mysql_real_escape_string($btl['addExp']) . '", - "' . mysql_real_escape_string($btl['money']) . '")'); + "' . mysql_real_escape_string($btl['money']) . '")' + ); $btl_id = mysql_insert_id(); if ($btl_id > 0) { @@ -1283,12 +1315,16 @@ class FightRequest if ($z['type'] == 1) { $sp = mysql_query('SELECT `id` FROM `stats` WHERE `zv` = "' . $z['id'] . '"'); while ($pl = mysql_fetch_array($sp)) { - mysql_query('UPDATE `items_users` SET `inOdet`="0" WHERE `uid` = "' . $pl['id'] . '" AND `inOdet`!=0'); + mysql_query( + 'UPDATE `items_users` SET `inOdet`="0" WHERE `uid` = "' . $pl['id'] . '" AND `inOdet`!=0' + ); } } elseif ($z['type'] == 51) { // $sp = mysql_query('SELECT `id` FROM `stats` WHERE `zv` = "' . $z['id'] . '"'); while ($pl = mysql_fetch_array($sp)) { - mysql_query('UPDATE `items_users` SET `inOdet`="0" WHERE `uid` = "' . $pl['id'] . '" AND `2price` > 0'); + mysql_query( + 'UPDATE `items_users` SET `inOdet`="0" WHERE `uid` = "' . $pl['id'] . '" AND `2price` > 0' + ); } } @@ -1297,18 +1333,28 @@ class FightRequest $upd2 = mysql_query('UPDATE `users` SET `battle`="' . $btl_id . '" WHERE ' . $vars[1] . ''); // , - $upd = mysql_query('UPDATE `zayvki` SET `start` = "' . time() . '",`btl_id` = "' . $btl_id . '" WHERE `id` = "' . $z['id'] . '" LIMIT 1'); + $upd = mysql_query( + 'UPDATE `zayvki` SET `start` = "' . time( + ) . '",`btl_id` = "' . $btl_id . '" WHERE `id` = "' . $z['id'] . '" LIMIT 1' + ); $this->u->info['battle'] = $btl_id; // - mysql_query("INSERT INTO `chat` (`city`,`room`,`to`,`time`,`type`,`toChat`,`sound`) VALUES ('" . $this->u->info['city'] . "','-1','" . $vars[0] . "','" . time() . "','11','0','117')"); + mysql_query( + "INSERT INTO `chat` (`city`,`room`,`to`,`time`,`type`,`toChat`,`sound`) VALUES ('" . $this->u->info['city'] . "','-1','" . $vars[0] . "','" . time( + ) . "','11','0','117')" + ); } } elseif ($z['razdel'] >= 1 && $z['razdel'] <= 3) { // PvP if ($this->u->info['team'] == 1 && $this->u->info['zv'] == $z['id']) { - $zu = mysql_fetch_array(mysql_query('SELECT * FROM `stats` WHERE `zv`="' . $z['id'] . '" AND `team` = "2" LIMIT 1')); + $zu = mysql_fetch_array( + mysql_query('SELECT * FROM `stats` WHERE `zv`="' . $z['id'] . '" AND `team` = "2" LIMIT 1') + ); if (isset($zu['id'])) { - $uz = mysql_fetch_array(mysql_query('SELECT `login`,`money` FROM `users` WHERE `id`="' . $zu['id'] . '" LIMIT 1')); + $uz = mysql_fetch_array( + mysql_query('SELECT `login`,`money` FROM `users` WHERE `id`="' . $zu['id'] . '" LIMIT 1') + ); if ($zu['clone'] > 0) { // $bot = $this->u->addNewbot(1, null, $zu['clone'], null, true); @@ -1318,10 +1364,20 @@ class FightRequest mysql_query('DELETE FROM `items_users` WHERE `uid` = "' . $zu['id'] . '" LIMIT 100'); mysql_query('DELETE FROM `eff_users` WHERE `uid` = "' . $zu['id'] . '" LIMIT 100'); - mysql_query('UPDATE `stats` SET `zv` = "' . $z['id'] . '",`team` = 2 WHERE `id` = "' . $bot . '" LIMIT 1'); + mysql_query( + 'UPDATE `stats` SET `zv` = "' . $z['id'] . '",`team` = 2 WHERE `id` = "' . $bot . '" LIMIT 1' + ); - $zu = mysql_fetch_array(mysql_query('SELECT * FROM `stats` WHERE `zv`="' . $z['id'] . '" AND `team` = "2" LIMIT 1')); - $uz = mysql_fetch_array(mysql_query('SELECT `login`,`money` FROM `users` WHERE `id`="' . $zu['id'] . '" LIMIT 1')); + $zu = mysql_fetch_array( + mysql_query( + 'SELECT * FROM `stats` WHERE `zv`="' . $z['id'] . '" AND `team` = "2" LIMIT 1' + ) + ); + $uz = mysql_fetch_array( + mysql_query( + 'SELECT `login`,`money` FROM `users` WHERE `id`="' . $zu['id'] . '" LIMIT 1' + ) + ); } } @@ -1330,8 +1386,11 @@ class FightRequest if ($uz['money'] < $z['money'] || $this->u->info['money'] < $z['money']) { $z['money'] = 0; } - $btl = ['otmorozok' => $z['otmorozok'], 'players' => '', 'timeout' => $z['timeout'], 'type' => $z['type'], 'travmChance' => $z['travmChance'], 'invis' => 0, 'noinc' => 0, 'typeBattle' => 0, 'addExp' => 0, 'money' => round($z['money'], 2), 'money3' => 0]; - $ins = mysql_query('INSERT INTO `battle` (`otmorozok`,`smert`,`noart`,`noeff`,`noatack`,`arand`,`kingfight`,`nobot`,`fastfight`,`city`,`time_start`,`players`,`timeout`,`type`,`invis`,`noinc`,`travmChance`,`typeBattle`,`addExp`,`money`) VALUES ( + $btl = ['otmorozok' => $z['otmorozok'], 'players' => '', 'timeout' => $z['timeout'], 'type' => $z['type'], 'travmChance' => $z['travmChance'], 'invis' => 0, 'noinc' => 0, 'typeBattle' => 0, 'addExp' => 0, 'money' => round( + $z['money'], 2 + ), 'money3' => 0]; + $ins = mysql_query( + 'INSERT INTO `battle` (`otmorozok`,`smert`,`noart`,`noeff`,`noatack`,`arand`,`kingfight`,`nobot`,`fastfight`,`city`,`time_start`,`players`,`timeout`,`type`,`invis`,`noinc`,`travmChance`,`typeBattle`,`addExp`,`money`) VALUES ( "' . mysql_real_escape_string($btl['otmorozok']) . '", "' . mysql_real_escape_string($btl['smert']) . '", "' . mysql_real_escape_string($btl['noart']) . '", @@ -1351,26 +1410,39 @@ class FightRequest "' . mysql_real_escape_string($btl['travmChance']) . '", "' . mysql_real_escape_string($btl['typeBattle']) . '", "' . mysql_real_escape_string($btl['addExp']) . '", - "' . mysql_real_escape_string($btl['money']) . '")'); + "' . mysql_real_escape_string($btl['money']) . '")' + ); $btl_id = mysql_insert_id(); if ($ins) { // $upd1 = mysql_query('UPDATE `stats` SET `zv`="0" WHERE `zv` = "' . $z['id'] . '" LIMIT 2'); - $upd2 = mysql_query('UPDATE `users` SET `battle`="' . $btl_id . '" WHERE `id` = "' . $this->u->info['id'] . '" OR `id` = "' . $zu['id'] . '" LIMIT 2'); + $upd2 = mysql_query( + 'UPDATE `users` SET `battle`="' . $btl_id . '" WHERE `id` = "' . $this->u->info['id'] . '" OR `id` = "' . $zu['id'] . '" LIMIT 2' + ); // , if ($z['type'] == 1) { - mysql_query('UPDATE `items_users` SET `inOdet`="0" WHERE `uid` = "' . $this->u->info['id'] . '" AND `inOdet`!=0'); - mysql_query('UPDATE `items_users` SET `inOdet`="0" WHERE `uid` = "' . $zu['id'] . '" AND `inOdet`!=0'); + mysql_query( + 'UPDATE `items_users` SET `inOdet`="0" WHERE `uid` = "' . $this->u->info['id'] . '" AND `inOdet`!=0' + ); + mysql_query( + 'UPDATE `items_users` SET `inOdet`="0" WHERE `uid` = "' . $zu['id'] . '" AND `inOdet`!=0' + ); } // , - $upd = mysql_query('UPDATE `zayvki` SET `start` = "' . time() . '",`btl_id` = "' . $btl_id . '" WHERE `id` = "' . $z['id'] . '" LIMIT 1'); + $upd = mysql_query( + 'UPDATE `zayvki` SET `start` = "' . time( + ) . '",`btl_id` = "' . $btl_id . '" WHERE `id` = "' . $z['id'] . '" LIMIT 1' + ); $this->u->info['battle'] = $btl_id; // - mysql_query("INSERT INTO `chat` (`city`,`room`,`to`,`time`,`type`,`toChat`,`sound`) VALUES ('" . $this->u->info['city'] . "','" . $this->u->info['room'] . "','" . $uz['login'] . "','" . time() . "','11','0','117')"); + mysql_query( + "INSERT INTO `chat` (`city`,`room`,`to`,`time`,`type`,`toChat`,`sound`) VALUES ('" . $this->u->info['city'] . "','" . $this->u->info['room'] . "','" . $uz['login'] . "','" . time( + ) . "','11','0','117')" + ); die(''); } else { $this->error = ' .'; @@ -1391,11 +1463,17 @@ class FightRequest { global $zi; if (isset($_GET['cancelzv'], $zi['id']) && $zi['razdel'] >= 1 && $zi['razdel'] <= 3) { - $enemy = mysql_fetch_array(mysql_query('SELECT `u`.*,`st`.* FROM `stats` AS `st` LEFT JOIN `users` AS `u` ON (`st`.`id` = `u`.`id`) WHERE `st`.`zv`="' . $zi['id'] . '" AND `st`.`team` = "2" LIMIT 1')); + $enemy = mysql_fetch_array( + mysql_query( + 'SELECT `u`.*,`st`.* FROM `stats` AS `st` LEFT JOIN `users` AS `u` ON (`st`.`id` = `u`.`id`) WHERE `st`.`zv`="' . $zi['id'] . '" AND `st`.`team` = "2" LIMIT 1' + ) + ); if (isset($enemy['id'])) { if ($this->u->info['team'] == 1) { // + - $upd = mysql_query('UPDATE `stats` SET `zv` = "0",`team`="0" WHERE `id` = "' . $enemy['id'] . '" LIMIT 1'); + $upd = mysql_query( + 'UPDATE `stats` SET `zv` = "0",`team`="0" WHERE `id` = "' . $enemy['id'] . '" LIMIT 1' + ); if ($upd) { mysql_query('UPDATE `users` SET `otk` = (`otk` + 1) WHERE `id` = "' . $zi['id'] . '" LIMIT 1'); $this->error = ' ' . $enemy['login'] . ' '; @@ -1405,13 +1483,22 @@ class FightRequest $sa = ''; } $text = ' [login:' . $this->u->info['login'] . '] ' . $sa . ' .'; - mysql_query("INSERT INTO `chat` (`new`,`city`,`room`,`login`,`to`,`text`,`time`,`type`,`toChat`) VALUES ('1','" . $enemy['city'] . "','','','" . $enemy['login'] . "','" . $text . "','" . time() . "','6','0')"); + mysql_query( + "INSERT INTO `chat` (`new`,`city`,`room`,`login`,`to`,`text`,`time`,`type`,`toChat`) VALUES ('1','" . $enemy['city'] . "','','','" . $enemy['login'] . "','" . $text . "','" . time( + ) . "','6','0')" + ); } } elseif ($this->u->info['id'] == $enemy['id'] && $zi['start'] == 0) { // + - $upd = mysql_query('UPDATE `stats` SET `zv` = "0",`team`="0" WHERE `id` = "' . $enemy['id'] . '" LIMIT 1'); + $upd = mysql_query( + 'UPDATE `stats` SET `zv` = "0",`team`="0" WHERE `id` = "' . $enemy['id'] . '" LIMIT 1' + ); if ($upd) { - $uz = mysql_fetch_array(mysql_query('SELECT `u`.`sex`,`u`.`login`,`u`.`city`,`u`.`room`,`u`.`id`,`st`.`zv`,`st`.`team` FROM `stats` AS `st` LEFT JOIN `users` AS `u` ON (`st`.`id` = `u`.`id`) WHERE `st`.`zv`="' . $zi['id'] . '" AND `st`.`team` = "1" LIMIT 1')); + $uz = mysql_fetch_array( + mysql_query( + 'SELECT `u`.`sex`,`u`.`login`,`u`.`city`,`u`.`room`,`u`.`id`,`st`.`zv`,`st`.`team` FROM `stats` AS `st` LEFT JOIN `users` AS `u` ON (`st`.`id` = `u`.`id`) WHERE `st`.`zv`="' . $zi['id'] . '" AND `st`.`team` = "1" LIMIT 1' + ) + ); if (isset($uz['id'])) { $this->error = ' .'; // @@ -1420,7 +1507,10 @@ class FightRequest $sa = ''; } $text = ' [login:' . $this->u->info['login'] . '] ' . $sa . ' .'; - mysql_query("INSERT INTO `chat` (`new`,`city`,`room`,`login`,`to`,`text`,`time`,`type`,`toChat`) VALUES ('1','" . $uz['city'] . "','','','" . $uz['login'] . "','" . $text . "','" . time() . "','6','0')"); + mysql_query( + "INSERT INTO `chat` (`new`,`city`,`room`,`login`,`to`,`text`,`time`,`type`,`toChat`) VALUES ('1','" . $uz['city'] . "','','','" . $uz['login'] . "','" . $text . "','" . time( + ) . "','6','0')" + ); } $this->u->info['zv'] = 0; $this->u->info['team'] = 0; @@ -1436,9 +1526,13 @@ class FightRequest } else { if ($this->u->info['team'] == 1) { // - $upd = mysql_query('UPDATE `zayvki` SET `cancel` = "' . time() . '" WHERE `id` = "' . $zi['id'] . '" LIMIT 1'); + $upd = mysql_query( + 'UPDATE `zayvki` SET `cancel` = "' . time() . '" WHERE `id` = "' . $zi['id'] . '" LIMIT 1' + ); if ($upd) { - mysql_query('UPDATE `stats` SET `zv` = "0" WHERE `id` = "' . $this->u->info['id'] . '" LIMIT 1'); + mysql_query( + 'UPDATE `stats` SET `zv` = "0" WHERE `id` = "' . $this->u->info['id'] . '" LIMIT 1' + ); $this->error = ' '; $zi = false; $this->u->info['zv'] = 0; @@ -1467,71 +1561,83 @@ class FightRequest } elseif ($r > 3 && $r < 6 && $this->u->info['level'] < 2) { echo '


' . $this->z1n[$r] . ' .
'; $this->zv_see = 0; - } elseif ($r == 1 && $this->u->info['level'] > 0) { - echo '


;)
'; - $this->zv_see = 0; } elseif ($r == 8 && $this->u->info['level'] < 1) { echo '


.
'; $this->zv_see = 0; } elseif ($r == 10) { if (\Insallah\Tournament::IS_ENABLED) { - /** by Insallah*/ - # F5 - if (!isset($_SESSION['bypass'])) { - $_SESSION['bypass'] = mt_rand(); - } - if ($_SERVER['REQUEST_METHOD'] === 'POST' && $_POST['key'] == $_SESSION['bypass']) { - unset($_SESSION['bypass']); - if (array_key_exists('tournament_start', $_POST)) { - (new \Insallah\Tournament())->join($this->u->info['id']); + /** by Insallah*/ + # F5 + if (!isset($_SESSION['bypass'])) { + $_SESSION['bypass'] = mt_rand(); } - } - ## - # . - $db = new \Insallah\Db(); - $tournamentsList = $db::getRows('select * from tournaments'); - $tournaments = '
    '; - foreach ($tournamentsList as $tournament) { - $time = $tournament['start_time'] === -1 ? ' !' : date('G:i', $tournament['start_time']); - $tournament_members_id = \Insallah\TournamentModel::getFreeFighters($tournament['tid']); - $members = []; - foreach ($tournament_members_id as $member) { - $members[] = \Insallah\TournamentModel::uidToLogin($member); + if ($_SERVER['REQUEST_METHOD'] === 'POST' && $_POST['key'] == $_SESSION['bypass']) { + unset($_SESSION['bypass']); + if (array_key_exists('tournament_start', $_POST)) { + (new \Insallah\Tournament())->join($this->u->info['id']); + } } - $tournaments .= sprintf("
  • %d .
    : %s
    : %s
  • ", - $tournament['tid'], $time, implode(', ', $members)); - } - $tournaments .= '
'; - ?> -
- ! -
    -
  • , - !
  • - u->info['id'])): ?> -
  • , u->info['level']) ?> .
  • - - u->info['exp'] < \Insallah\Tournament::MIN_EXP): ?> -
  • .
  • - -
  • , .
  • -
  • 1, 2 3 25, 15, 5 , 12 , 6 3 !
  • -
-
- -
- .
- -
- - u->info['id']) || !\Insallah\TournamentModel::isStarted($this->u->info['level'])): ?> -
- - -
- - . - - '; + foreach ($tournamentsList as $tournament) { + $time = $tournament['start_time'] === -1 ? ' !' : date( + 'G:i', $tournament['start_time'] + ); + $tournament_members_id = \Insallah\TournamentModel::getFreeFighters($tournament['tid']); + $members = []; + foreach ($tournament_members_id as $member) { + $members[] = \Insallah\TournamentModel::uidToLogin($member); + } + $tournaments .= sprintf( + "
  • %d .
    : %s
    : %s
  • ", + $tournament['tid'], $time, implode(', ', $members) + ); + } + $tournaments .= ''; + ?> +
    + ! +
      +
    • , - + ! +
    • + u->info['id'])): ?> +
    • , + u->info['level'] + ) ?> . +
    • + + u->info['exp'] < \Insallah\Tournament::MIN_EXP): ?> +
    • .
    • + +
    • , + . +
    • +
    • 1, 2 3 25, 15, 5 + , 12 , 6 3 ! +
    • +
    +
    + +
    + .
    + +
    + + u->info['id'] + ) || !\Insallah\TournamentModel::isStarted($this->u->info['level'])): ?> +
    + + +
    + + . + +
    @@ -1548,7 +1654,11 @@ class FightRequest '; if ($this->u->info['team'] == 1) { - $uz = mysql_fetch_array(mysql_query('SELECT `u`.`sex`,`u`.`id`,`u`.`login`,`u`.`align`,`u`.`clan`,`u`.`admin`,`u`.`city`,`u`.`room`,`u`.`online`,`u`.`level`,`u`.`battle`,`u`.`money`,`st`.* FROM `stats` AS `st` LEFT JOIN `users` AS `u` ON (`st`.`id` = `u`.`id`) WHERE `st`.`zv`="' . $zi['id'] . '" AND `st`.`team`="2" LIMIT 1')); + $uz = mysql_fetch_array( + mysql_query( + 'SELECT `u`.`sex`,`u`.`id`,`u`.`login`,`u`.`align`,`u`.`clan`,`u`.`admin`,`u`.`city`,`u`.`room`,`u`.`online`,`u`.`level`,`u`.`battle`,`u`.`money`,`st`.* FROM `stats` AS `st` LEFT JOIN `users` AS `u` ON (`st`.`id` = `u`.`id`) WHERE `st`.`zv`="' . $zi['id'] . '" AND `st`.`team`="2" LIMIT 1' + ) + ); if (!isset($uz['id'])) { // echo '
    '; @@ -1558,12 +1668,20 @@ class FightRequest if ($uz['sex'] == 2) { $sa = ''; } - echo ' ' . $sa . ' ' . $ca . ' ' . $this->u->microLogin($uz['id'], 1) . ' ? '; + echo ' ' . $sa . ' ' . $ca . ' ' . $this->u->microLogin( + $uz['id'], 1 + ) . ' ? '; } } else { - $uz = mysql_fetch_array(mysql_query('SELECT `u`.`id`,`u`.`login`,`u`.`align`,`u`.`clan`,`u`.`admin`,`u`.`city`,`u`.`room`,`u`.`online`,`u`.`level`,`u`.`battle`,`u`.`money`,`st`.* FROM `stats` AS `st` LEFT JOIN `users` AS `u` ON (`st`.`id` = `u`.`id`) WHERE `st`.`zv`="' . $zi['id'] . '" AND `st`.`team`="1" LIMIT 1')); + $uz = mysql_fetch_array( + mysql_query( + 'SELECT `u`.`id`,`u`.`login`,`u`.`align`,`u`.`clan`,`u`.`admin`,`u`.`city`,`u`.`room`,`u`.`online`,`u`.`level`,`u`.`battle`,`u`.`money`,`st`.* FROM `stats` AS `st` LEFT JOIN `users` AS `u` ON (`st`.`id` = `u`.`id`) WHERE `st`.`zv`="' . $zi['id'] . '" AND `st`.`team`="1" LIMIT 1' + ) + ); if (isset($uz['id'])) { - echo ' ' . $this->u->microLogin($uz['id'], 1) . ' '; + echo ' ' . $this->u->microLogin( + $uz['id'], 1 + ) . ' '; } } echo '
    '; @@ -1579,15 +1697,25 @@ class FightRequest $ttur = [ 0 => ' !', 1 => ' !', - 2 => ' !' + 2 => ' !', ]; if (isset($_POST['trn1']) && $this->u->room['zvsee'] == 0) { if ($this->u->info['inTurnirnew'] == 0) { - $totr = mysql_fetch_array(mysql_query('SELECT * FROM `turnirs` WHERE `id` = "' . mysql_real_escape_string($_POST['trn1']) . '" AND `status` = "0" LIMIT 1')); + $totr = mysql_fetch_array( + mysql_query( + 'SELECT * FROM `turnirs` WHERE `id` = "' . mysql_real_escape_string( + $_POST['trn1'] + ) . '" AND `status` = "0" LIMIT 1' + ) + ); if (isset($totr['id'])) { - mysql_query('UPDATE `users` SET `inTurnirnew` = "' . $totr['id'] . '" WHERE `id` = "' . $this->u->info['id'] . '" LIMIT 1'); - mysql_query('UPDATE `turnirs` SET `users_in` = `users_in` + 1 WHERE `id` = "' . $totr['id'] . '" LIMIT 1'); + mysql_query( + 'UPDATE `users` SET `inTurnirnew` = "' . $totr['id'] . '" WHERE `id` = "' . $this->u->info['id'] . '" LIMIT 1' + ); + mysql_query( + 'UPDATE `turnirs` SET `users_in` = `users_in` + 1 WHERE `id` = "' . $totr['id'] . '" LIMIT 1' + ); $this->u->info['inTurnirnew'] = $totr['id']; $this->error = ' .'; } else { @@ -1598,9 +1726,17 @@ class FightRequest } } elseif (isset($_GET['cancel13']) && $this->u->room['zvsee'] == 0) { if ($this->u->info['inTurnirnew'] > 0) { - $totr = mysql_fetch_array(mysql_query('SELECT * FROM `turnirs` WHERE `id` = "' . mysql_real_escape_string($this->u->info['inTurnirnew']) . '" AND `status` = "0" LIMIT 1')); + $totr = mysql_fetch_array( + mysql_query( + 'SELECT * FROM `turnirs` WHERE `id` = "' . mysql_real_escape_string( + $this->u->info['inTurnirnew'] + ) . '" AND `status` = "0" LIMIT 1' + ) + ); if (isset($totr['id'])) { - mysql_query('UPDATE `users` SET `inTurnirnew` = "0" WHERE `id` = "' . $this->u->info['id'] . '" LIMIT 1'); + mysql_query( + 'UPDATE `users` SET `inTurnirnew` = "0" WHERE `id` = "' . $this->u->info['id'] . '" LIMIT 1' + ); mysql_query('UPDATE `turnirs` SET `users_in` = `users_in` - 1 LIMIT 1'); $this->u->info['inTurnirnew'] = 0; $this->error = ' .'; @@ -1616,16 +1752,26 @@ class FightRequest $trse = ''; if ($this->u->info['inTurnirnew'] > 0) { - $pl = mysql_fetch_array(mysql_query('SELECT * FROM `turnirs` WHERE `id` = "' . $this->u->info['inTurnirnew'] . '" LIMIT 1')); + $pl = mysql_fetch_array( + mysql_query( + 'SELECT * FROM `turnirs` WHERE `id` = "' . $this->u->info['inTurnirnew'] . '" LIMIT 1' + ) + ); if (!isset($pl['id'])) { - mysql_query('UPDATE `users` SET `inTurnirnew` = "0" WHERE `id` = "' . $pl['id'] . '" LIMIT 1'); + mysql_query( + 'UPDATE `users` SET `inTurnirnew` = "0" WHERE `id` = "' . $pl['id'] . '" LIMIT 1' + ); echo '- ... .'; } else { $dv = ' [' . $pl['users_in'] . ']:
    '; - $spu = mysql_query('SELECT `u`.`id`,`u`.`align`,`u`.`login`,`u`.`clan`,`u`.`level`,`u`.`city`,`u`.`online`,`u`.`sex`,`u`.`cityreg`,`u`.`palpro`,`u`.`invis` FROM `users` AS `u` WHERE `u`.`inTurnirnew` = "' . $pl['id'] . '" LIMIT ' . $pl['users_in']); + $spu = mysql_query( + 'SELECT `u`.`id`,`u`.`align`,`u`.`login`,`u`.`clan`,`u`.`level`,`u`.`city`,`u`.`online`,`u`.`sex`,`u`.`cityreg`,`u`.`palpro`,`u`.`invis` FROM `users` AS `u` WHERE `u`.`inTurnirnew` = "' . $pl['id'] . '" LIMIT ' . $pl['users_in'] + ); $i = 1; while ($plu = mysql_fetch_array($spu)) { - $dv .= '
    ' . $i . '. ' . $this->u->microLogin($plu, 2) . '
    '; + $dv .= '
    ' . $i . '. ' . $this->u->microLogin( + $plu, 2 + ) . '
    '; $i++; } echo ' @@ -1642,7 +1788,9 @@ class FightRequest ' . $this->error . '
    - ' . $this->u->timeOut($pl['time'] - time()) . ' + ' . $this->u->timeOut( + $pl['time'] - time() + ) . '
    ' . $dv . ' @@ -1738,7 +1886,13 @@ class FightRequest } if ($this->u->info['admin'] > 0) { if (isset($_GET['adminbotatack'])) { - $bot_atack = mysql_fetch_array(mysql_query('SELECT * FROM `test_bot` WHERE `id` = "' . mysql_real_escape_string($_GET['adminbotatack']) . '" LIMIT 1')); + $bot_atack = mysql_fetch_array( + mysql_query( + 'SELECT * FROM `test_bot` WHERE `id` = "' . mysql_real_escape_string( + $_GET['adminbotatack'] + ) . '" LIMIT 1' + ) + ); if (isset($bot_atack['id'])) { $logins_bot = []; $k = $this->u->addNewbot($bot_atack['id'], null, null, $logins_bot); @@ -1753,10 +1907,11 @@ class FightRequest 'travmChance' => 0, 'typeBattle' => 0, 'addExp' => $expB, - 'money' => 0 + 'money' => 0, ]; - $ins = mysql_query('INSERT INTO `battle` (`dungeon`,`dn_id`,`x`,`y`,`city`,`time_start`,`players`,`timeout`,`type`,`invis`,`noinc`,`travmChance`,`typeBattle`,`addExp`,`money`) VALUES ( + $ins = mysql_query( + 'INSERT INTO `battle` (`dungeon`,`dn_id`,`x`,`y`,`city`,`time_start`,`players`,`timeout`,`type`,`invis`,`noinc`,`travmChance`,`typeBattle`,`addExp`,`money`) VALUES ( "0", "0", "0", @@ -1771,11 +1926,18 @@ class FightRequest "' . $btl['travmChance'] . '", "' . $btl['typeBattle'] . '", "' . $btl['addExp'] . '", - "' . $btl['money'] . '")'); + "' . $btl['money'] . '")' + ); $btl_id = mysql_insert_id(); - mysql_query('UPDATE `users` SET `battle` = "' . $btl_id . '" WHERE `id` = "' . $k['id'] . '" OR `id` = "' . $this->u->info['id'] . '" LIMIT 2'); - mysql_query('UPDATE `stats` SET `team` = "2" WHERE `id` = "' . $k['id'] . '" LIMIT 1'); - mysql_query('UPDATE `stats` SET `team` = "1" WHERE `id` = "' . $this->u->info['id'] . '" LIMIT 1'); + mysql_query( + 'UPDATE `users` SET `battle` = "' . $btl_id . '" WHERE `id` = "' . $k['id'] . '" OR `id` = "' . $this->u->info['id'] . '" LIMIT 2' + ); + mysql_query( + 'UPDATE `stats` SET `team` = "2" WHERE `id` = "' . $k['id'] . '" LIMIT 1' + ); + mysql_query( + 'UPDATE `stats` SET `team` = "1" WHERE `id` = "' . $this->u->info['id'] . '" LIMIT 1' + ); die(''); } } @@ -1902,8 +2064,9 @@ function MM_jumpMenu(targ,selObj,restore){ //v3.0 '; + echo ' : '; } $tstw = $this->u->info['level'] < 9 ? ' 8 ' : ''; echo ' ' . $tstw . ' @@ -1947,17 +2111,25 @@ function MM_jumpMenu(targ,selObj,restore){ //v3.0 if ($_GET['from'] > 1 && $_GET['from'] < 50) { $p = $_GET['from'] - 1; } - $xx = mysql_num_rows(mysql_query('SELECT `id` FROM `battle` WHERE `type` != 329 AND `team_win` = "-1" AND `time_over` = "0" AND `start1` > 0')); + $xx = mysql_num_rows( + mysql_query( + 'SELECT `id` FROM `battle` WHERE `type` != 329 AND `team_win` = "-1" AND `time_over` = "0" AND `start1` > 0' + ) + ); $px = $p * 15; if ($p > ceil($xx / 15)) { $p = ceil($xx / 15); } - $sp = mysql_query('SELECT * FROM `battle` WHERE `type` != 329 AND `team_win` = "-1" AND `time_over` = "0" AND `start1` > 0 ORDER BY `time_start` DESC LIMIT ' . ((int)$px) . ',15'); + $sp = mysql_query( + 'SELECT * FROM `battle` WHERE `type` != 329 AND `team_win` = "-1" AND `time_over` = "0" AND `start1` > 0 ORDER BY `time_start` DESC LIMIT ' . ((int)$px) . ',15' + ); while ($pl = mysql_fetch_array($sp)) { $tm = ''; $tmu = []; $tms = []; - $spi = mysql_query('SELECT `u`.`login`,`st`.`id`,`st`.`team`,`u`.`id` FROM `users` AS `u` LEFT JOIN `stats` AS `st` ON (`u`.`id` = `st`.`id`) WHERE `u`.`battle` = "' . $pl['id'] . '"'); + $spi = mysql_query( + 'SELECT `u`.`login`,`st`.`id`,`st`.`team`,`u`.`id` FROM `users` AS `u` LEFT JOIN `stats` AS `st` ON (`u`.`id` = `st`.`id`) WHERE `u`.`battle` = "' . $pl['id'] . '"' + ); while ($pli = mysql_fetch_array($spi)) { if (!isset($tmu[$pli['team']])) { $tms[count($tms)] = $pli['team']; @@ -1982,7 +2154,9 @@ function MM_jumpMenu(targ,selObj,restore){ //v3.0 $i++; } if ($tm != '') { - $html .= ($p + $x) . '. ' . date('d.m.y H:i', $pl['time_start']) . ' ' . $tm . '
    '; + $html .= ($p + $x) . '. ' . date( + 'd.m.y H:i', $pl['time_start'] + ) . ' ' . $tm . '
    '; } $x++; } @@ -2034,25 +2208,41 @@ function MM_jumpMenu(targ,selObj,restore){ //v3.0  
    - : + :
    '; - $usr = mysql_fetch_array(mysql_query('SELECT `id`,`login`,`level`,`city` FROM `users` WHERE `login` = "' . mysql_real_escape_string($slogin) . '" LIMIT 1')); + $usr = mysql_fetch_array( + mysql_query( + 'SELECT `id`,`login`,`level`,`city` FROM `users` WHERE `login` = "' . mysql_real_escape_string( + $slogin + ) . '" LIMIT 1' + ) + ); if (isset($usr['id'])) { $tms = $dt; $tmf = $dt + 86400; - $sp = mysql_query('SELECT * FROM `battle_last` WHERE `time` >= ' . $tms . ' AND `time` < ' . $tmf . ' AND `uid` = "' . $usr['id'] . '" ORDER BY `id` DESC'); + $sp = mysql_query( + 'SELECT * FROM `battle_last` WHERE `time` >= ' . $tms . ' AND `time` < ' . $tmf . ' AND `uid` = "' . $usr['id'] . '" ORDER BY `id` DESC' + ); $j = 1; $jk = 0; $btl_lst = []; while ($pl = mysql_fetch_array($sp)) { - $b = mysql_fetch_array(mysql_query('SELECT * FROM `battle_end` WHERE `battle_id` = "' . $pl['battle_id'] . '" LIMIT 1')); + $b = mysql_fetch_array( + mysql_query( + 'SELECT * FROM `battle_end` WHERE `battle_id` = "' . $pl['battle_id'] . '" LIMIT 1' + ) + ); $tm = ''; if (isset($b['id'])) { $tms = []; $ts = []; - $spi = mysql_query('SELECT * FROM `battle_last` WHERE `battle_id` = "' . $pl['battle_id'] . '"'); + $spi = mysql_query( + 'SELECT * FROM `battle_last` WHERE `battle_id` = "' . $pl['battle_id'] . '"' + ); while ($pli = mysql_fetch_array($spi)) { if (!isset($tms[$pli['team']])) { $ts[count($ts)] = $pli['team']; @@ -2074,7 +2264,11 @@ function MM_jumpMenu(targ,selObj,restore){ //v3.0 $h++; } $tm2 = rtrim($tm2, ', '); - $btlg = mysql_fetch_array(mysql_query('SELECT `id`,`team_win` FROM `battle` WHERE `id` = "' . $pl['battle_id'] . '" LIMIT 1')); + $btlg = mysql_fetch_array( + mysql_query( + 'SELECT `id`,`team_win` FROM `battle` WHERE `id` = "' . $pl['battle_id'] . '" LIMIT 1' + ) + ); if (isset($btlg['id']) && $g == $btlg['team_win']) { $tm2 .= ' '; } @@ -2091,7 +2285,9 @@ function MM_jumpMenu(targ,selObj,restore){ //v3.0 $tm = ' '; } $jk++; - $btl .= $jk . '. ' . date('d.m.y H:i', $pl['time']) . ' ' . $tm . '
    '; + $btl .= $jk . '. ' . date( + 'd.m.y H:i', $pl['time'] + ) . ' ' . $tm . '
    '; } $j++; } @@ -2125,16 +2321,6 @@ function MM_jumpMenu(targ,selObj,restore){ //v3.0 return $v; } - public function rzInfo($id) - { - $r = ''; - $w = mysql_num_rows(mysql_query('SELECT * FROM `zayvki` WHERE `time` > ' . (time() - 7200) . ' AND `cancel` = "0" AND `start` = "0" AND `razdel` = "' . $id . '" AND (`min_lvl_1` <= ' . $this->u->info['level'] . ' OR `min_lvl_2` <= ' . $this->u->info['level'] . ') AND (`max_lvl_1` >= ' . $this->u->info['level'] . ' OR `max_lvl_2` >= ' . $this->u->info['level'] . ')')); - if ($w > 0) { - $r = ' (' . $w . ')'; - } - return $r; - } - public function testzvu($id, $tm, $bt = 0) { $query = "select id from stats where zv = $id and team = $tm"; @@ -2146,13 +2332,18 @@ function MM_jumpMenu(targ,selObj,restore){ //v3.0 public function seeZv() { - global $c, $code, $zi; + global $code, $zi; if (isset($_GET['r']) && $this->zv_see == 1) { $r = round(intval($_GET['r'])); if ($r >= 1 && $r <= 5) { // $i = 0; - $cl = mysql_query('SELECT * FROM `zayvki` WHERE `razdel` = "' . mysql_real_escape_string($r) . '" AND `start` = "0" AND `cancel` = "0" AND `time` > "' . (time() - 60 * 60 * 2) . '" /*AND `city` = "' . $this->u->info['city'] . '"*/ ORDER BY `id` DESC'); + $cl = mysql_query( + 'SELECT * FROM `zayvki` WHERE `razdel` = "' . mysql_real_escape_string( + $r + ) . '" AND `start` = "0" AND `cancel` = "0" AND `time` > "' . (time( + ) - 60 * 60 * 2) . '" /*AND `city` = "' . $this->u->info['city'] . '"*/ ORDER BY `id` DESC' + ); $zvb = ''; while ($pl = mysql_fetch_array($cl)) { @@ -2167,11 +2358,17 @@ function MM_jumpMenu(targ,selObj,restore){ //v3.0 $tmStart = floor(($pl['time'] + $pl['time_start'] - time()) / 6) / 10; if ((($pl['time'] + $pl['time_start']) / 10) != (int)(($pl['time'] + $pl['time_start']) / 10)) { $pl['time'] = ceil($pl['time'] / 60) * 60; - mysql_query('UPDATE `zayvki` SET `time` = "' . $pl['time'] . '" WHERE `id` = "' . $pl['id'] . '" LIMIT 1'); + mysql_query( + 'UPDATE `zayvki` SET `time` = "' . $pl['time'] . '" WHERE `id` = "' . $pl['id'] . '" LIMIT 1' + ); } $tmStart = $this->rzv($tmStart); - $users = mysql_query('SELECT `u`.`id`,`u`.`login`,`u`.`level`,`u`.`align`,`u`.`clan`,`u`.`admin`,`st`.`team` FROM `users` AS `u` LEFT JOIN `stats` AS `st` ON `u`.`id` = `st`.`id` WHERE `st`.`zv` = "' . $pl['id'] . '"'); - $col_p = mysql_fetch_array(mysql_query('SELECT COUNT(*) FROM `stats` WHERE `zv` = "' . $pl['id'] . '"')); + $users = mysql_query( + 'SELECT `u`.`id`,`u`.`login`,`u`.`level`,`u`.`align`,`u`.`clan`,`u`.`admin`,`st`.`team` FROM `users` AS `u` LEFT JOIN `stats` AS `st` ON `u`.`id` = `st`.`id` WHERE `st`.`zv` = "' . $pl['id'] . '"' + ); + $col_p = mysql_fetch_array( + mysql_query('SELECT COUNT(*) FROM `stats` WHERE `zv` = "' . $pl['id'] . '"') + ); $cols = $col_p[0]; while ($s = mysql_fetch_array($users)) { $tm .= $this->u->microLogin($s['id'], 1) . ', '; @@ -2190,7 +2387,9 @@ function MM_jumpMenu(targ,selObj,restore){ //v3.0 $usrszv = ''; //if( $this->u->info['admin'] > 0 ) { - $spzm = mysql_query('SELECT `id`,`team` FROM `stats` WHERE `zv` = "' . $pl['id'] . '" AND `id` != "' . $pl['creator'] . '"'); + $spzm = mysql_query( + 'SELECT `id`,`team` FROM `stats` WHERE `zv` = "' . $pl['id'] . '" AND `id` != "' . $pl['creator'] . '"' + ); while ($plzm = mysql_fetch_array($spzm)) { if ($this->u->info['admin'] > 0 || ($this->u->info['align'] > 1 && $this->u->info['align'] < 2) || ($this->u->info['align'] > 3 && $this->u->info['align'] < 4)) { $usrszv .= ',' . $this->u->microLogin($plzm['id'], 1) . ''; @@ -2198,7 +2397,9 @@ function MM_jumpMenu(targ,selObj,restore){ //v3.0 $unvs++; } //} - $tm = '' . $this->u->microLogin($pl['creator'], 1) . '' . $usrszv . ' - ' . $tm; + $tm = '' . $this->u->microLogin( + $pl['creator'], 1 + ) . '' . $usrszv . ' - ' . $tm; $unvs = ' : ' . (1 + $unvs) . ' . '; $n1tv = ' '; @@ -2234,8 +2435,12 @@ function MM_jumpMenu(targ,selObj,restore){ //v3.0 $dl = ''; if (($moder['boi'] == 1 || $this->u->info['admin'] > 0) && $pl['dcom'] == 0) { $dl .= ' ( )'; - if (isset($_GET['delcom']) && $_GET['delcom'] == $pl['id'] && $this->u->newAct($_GET['key']) == true) { - mysql_query('UPDATE `zayvki` SET `dcom` = "' . $this->u->info['id'] . '" WHERE `id` = "' . $pl['id'] . '" LIMIT 1'); + if (isset($_GET['delcom']) && $_GET['delcom'] == $pl['id'] && $this->u->newAct( + $_GET['key'] + ) == true) { + mysql_query( + 'UPDATE `zayvki` SET `dcom` = "' . $this->u->info['id'] . '" WHERE `id` = "' . $pl['id'] . '" LIMIT 1' + ); $pl['dcom'] = $this->u->info['id']; } } @@ -2272,7 +2477,9 @@ function MM_jumpMenu(targ,selObj,restore){ //v3.0 $lvldt .= '' . $pl['min_lvl_1'] . ' . '; } $lvldt .= (0 + $cols) . '/' . $pl['maxplayers'] . ''; - $zvb .= $rad . '' . date('H:i', $pl['time']) . ' (' . $lvldt . ') : ' . $n1tv . ' ( ' . ($pl['timeout'] / 60) . ' .) ' . $zv_comm . ' (' . $unvs . ' ' . $tmStart . ' .) ' . $mon . ' : ' . $tm . ' ' . $del_q . '
    '; + $zvb .= $rad . '' . date( + 'H:i', $pl['time'] + ) . ' (' . $lvldt . ') : ' . $n1tv . ' ( ' . ($pl['timeout'] / 60) . ' .) ' . $zv_comm . ' (' . $unvs . ' ' . $tmStart . ' .) ' . $mon . ' : ' . $tm . ' ' . $del_q . '
    '; } elseif ($pl['razdel'] == 4) { if ($pl['min_lvl_1'] < 2) { $pl['min_lvl_1'] = 2; @@ -2297,14 +2504,18 @@ function MM_jumpMenu(targ,selObj,restore){ //v3.0 $xx2 = $this->testzvu($pl['id'], 2, 0); if ($pl['bot2'] > 0 && $xx2 < $pl['tm2max']) { // - $spb = mysql_query('SELECT `u`.*,`st`.* FROM `users` AS `u` LEFT JOIN `stats` AS `st` ON `u`.`id` = `st`.`id` WHERE `st`.`bot` = 3 AND `u`.`level` = "' . $pl['min_lvl_2'] . '" AND `u`.`battle` = 0 AND `st`.`zv` = 0 LIMIT 100'); + $spb = mysql_query( + 'SELECT `u`.*,`st`.* FROM `users` AS `u` LEFT JOIN `stats` AS `st` ON `u`.`id` = `st`.`id` WHERE `st`.`bot` = 3 AND `u`.`level` = "' . $pl['min_lvl_2'] . '" AND `u`.`battle` = 0 AND `st`.`zv` = 0 LIMIT 100' + ); $logins_bot = []; while ($plb = mysql_fetch_array($spb)) { if ($xx2 < $pl['tm2max'] && rand(0, 10000) < 5000 && rand(0, 10000) > 5000) { $bt = $this->u->addNewbot(0, '', $plb['id']); $logins_bot = $bt['logins_bot']; if ($bt > 0) { - mysql_query('UPDATE `stats` SET `zv` = "' . $pl['id'] . '",`team` = "2" WHERE `id` = "' . $bt . '" LIMIT 1'); + mysql_query( + 'UPDATE `stats` SET `zv` = "' . $pl['id'] . '",`team` = "2" WHERE `id` = "' . $bt . '" LIMIT 1' + ); $xx2++; } } @@ -2314,7 +2525,9 @@ function MM_jumpMenu(targ,selObj,restore){ //v3.0 unset($xx2); // - $users = mysql_query('SELECT `u`.`id`,`u`.`login`,`u`.`level`,`u`.`align`,`u`.`clan`,`u`.`admin`,`st`.`team` FROM `users` AS `u` LEFT JOIN `stats` AS `st` ON `u`.`id` = `st`.`id` WHERE `st`.`zv` = "' . $pl['id'] . '"'); + $users = mysql_query( + 'SELECT `u`.`id`,`u`.`login`,`u`.`level`,`u`.`align`,`u`.`clan`,`u`.`admin`,`st`.`team` FROM `users` AS `u` LEFT JOIN `stats` AS `st` ON `u`.`id` = `st`.`id` WHERE `st`.`zv` = "' . $pl['id'] . '"' + ); $tmc = []; while ($s = mysql_fetch_array($users)) { ${'tm' . $s['team']} .= $this->u->microLogin($s['id'], 1) . ', '; @@ -2380,8 +2593,12 @@ function MM_jumpMenu(targ,selObj,restore){ //v3.0 $dl = ''; if (($moder['boi'] == 1 || $this->u->info['admin'] > 0) && $pl['dcom'] == 0) { $dl .= ' ( )'; - if (isset($_GET['delcom']) && $_GET['delcom'] == $pl['id'] && $this->u->newAct($_GET['key']) == true) { - mysql_query('UPDATE `zayvki` SET `dcom` = "' . $this->u->info['id'] . '" WHERE `id` = "' . $pl['id'] . '" LIMIT 1'); + if (isset($_GET['delcom']) && $_GET['delcom'] == $pl['id'] && $this->u->newAct( + $_GET['key'] + ) == true) { + mysql_query( + 'UPDATE `zayvki` SET `dcom` = "' . $this->u->info['id'] . '" WHERE `id` = "' . $pl['id'] . '" LIMIT 1' + ); $pl['dcom'] = $this->u->info['id']; } } @@ -2427,11 +2644,19 @@ function MM_jumpMenu(targ,selObj,restore){ //v3.0 $zvb .= ' ' . $zv_comm . ' '; $zvb .= ' ( ' . $tmStart . ') ' . $mon . '
    '; } elseif ($pl['razdel'] >= 1 && $pl['razdel'] <= 3) { - $uz = mysql_fetch_array(mysql_query('SELECT `u`.`banned`,`u`.`id`,`u`.`login`,`u`.`align`,`u`.`clan`,`u`.`admin`,`u`.`city`,`u`.`room`,`u`.`online`,`u`.`level`,`u`.`battle`,`u`.`money`,`st`.* FROM `stats` AS `st` LEFT JOIN `users` AS `u` ON (`st`.`id` = `u`.`id`) WHERE `st`.`zv`="' . $pl['id'] . '" AND `st`.`team`="1" LIMIT 1')); + $uz = mysql_fetch_array( + mysql_query( + 'SELECT `u`.`banned`,`u`.`id`,`u`.`login`,`u`.`align`,`u`.`clan`,`u`.`admin`,`u`.`city`,`u`.`room`,`u`.`online`,`u`.`level`,`u`.`battle`,`u`.`money`,`st`.* FROM `stats` AS `st` LEFT JOIN `users` AS `u` ON (`st`.`id` = `u`.`id`) WHERE `st`.`zv`="' . $pl['id'] . '" AND `st`.`team`="1" LIMIT 1' + ) + ); if (isset($uz['id'])) { - $uze = mysql_fetch_array(mysql_query('SELECT `u`.*,`st`.* FROM `stats` AS `st` LEFT JOIN `users` AS `u` ON (`st`.`id` = `u`.`id`) WHERE `st`.`zv`="' . $pl['id'] . '" AND `st`.`team` = "2" LIMIT 1')); + $uze = mysql_fetch_array( + mysql_query( + 'SELECT `u`.*,`st`.* FROM `stats` AS `st` LEFT JOIN `users` AS `u` ON (`st`.`id` = `u`.`id`) WHERE `st`.`zv`="' . $pl['id'] . '" AND `st`.`team` = "2" LIMIT 1' + ) + ); $d1 = ''; - if ($uz['id'] == $this->u->info['id'] || $uze['id'] == $this->u->info['id'] || $this->u->info['level'] <= $c['bot_level']) { + if ($uz['id'] == $this->u->info['id'] || $uze['id'] == $this->u->info['id'] || $this->u->info['level'] <= Config::get('bot_level')) { $d1 = 'disabled="disabled"'; } if (!isset($uze['id']) || $this->u->info['zv'] == $pl['id']) { @@ -2455,7 +2680,13 @@ function MM_jumpMenu(targ,selObj,restore){ //v3.0 if ($pl['comment'] != '') { $mbcom = ' ' . $pl['comment'] . ''; } - $zvb .= '' . date('H:i', $pl['time']) . ' ' . $this->u->microLogin($uz['id'], 1) . ' ' . $enm . ' : ( ' . round($pl['timeout'] / 60) . ' .' . $dp1 . ' ' . $mon . ')' . $mbcom . '
    '; + $zvb .= '' . date( + 'H:i', $pl['time'] + ) . ' ' . $this->u->microLogin( + $uz['id'], 1 + ) . ' ' . $enm . ' : ( ' . round( + $pl['timeout'] / 60 + ) . ' .' . $dp1 . ' ' . $mon . ')' . $mbcom . '
    '; if ($uz['banned'] > 0) { $zvb .= ''; } @@ -2475,7 +2706,8 @@ function MM_jumpMenu(targ,selObj,restore){ //v3.0 if (!$this->u->info['no_zv_key']) { echo '

    : -
    ' . $zvb . ' : +
    ' . $zvb . ' :
    '; } else { @@ -2484,7 +2716,7 @@ function MM_jumpMenu(targ,selObj,restore){ //v3.0
    '; } } else { - if ($zvb != '' && $this->u->info['level'] > $c['bot_level']) { + if ($zvb != '' && $this->u->info['level'] > Config::get('bot_level')) { echo '


    ' . $zvb . '
    '; } else { echo '
    ' . $zvb . '
    '; @@ -2506,13 +2738,28 @@ function MM_jumpMenu(targ,selObj,restore){ //v3.0 $this->error = ' . .'; } else { if ($this->u->info['battle'] == 0 && $this->u->info['inTurnirnew'] == 0) { - $z = mysql_fetch_array(mysql_query('SELECT * FROM `zayvki` WHERE `id`="' . mysql_real_escape_string(intval($id)) . '" /*AND `city` = "' . $this->u->info['city'] . '"*/ AND `start` = "0" AND `cancel` = "0" AND `time` > "' . (time() - 60 * 60 * 2) . '" LIMIT 1')); + $z = mysql_fetch_array( + mysql_query( + 'SELECT * FROM `zayvki` WHERE `id`="' . mysql_real_escape_string( + intval($id) + ) . '" /*AND `city` = "' . $this->u->info['city'] . '"*/ AND `start` = "0" AND `cancel` = "0" AND `time` > "' . (time( + ) - 60 * 60 * 2) . '" LIMIT 1' + ) + ); if (isset($z['id'])) { if ($z['razdel'] >= 1 && $z['razdel'] <= 3) { //, , - $uz1 = mysql_fetch_array(mysql_query('SELECT `u`.`id`,`u`.`login`,`u`.`align`,`u`.`clan`,`u`.`admin`,`u`.`city`,`u`.`room`,`u`.`online`,`u`.`level`,`u`.`battle`,`u`.`money`,`st`.* FROM `stats` AS `st` LEFT JOIN `users` AS `u` ON (`st`.`id` = `u`.`id`) WHERE `st`.`zv`="' . $z['id'] . '" AND `st`.`team`="1" LIMIT 1')); + $uz1 = mysql_fetch_array( + mysql_query( + 'SELECT `u`.`id`,`u`.`login`,`u`.`align`,`u`.`clan`,`u`.`admin`,`u`.`city`,`u`.`room`,`u`.`online`,`u`.`level`,`u`.`battle`,`u`.`money`,`st`.* FROM `stats` AS `st` LEFT JOIN `users` AS `u` ON (`st`.`id` = `u`.`id`) WHERE `st`.`zv`="' . $z['id'] . '" AND `st`.`team`="1" LIMIT 1' + ) + ); if (isset($uz1['id'])) { - $uz2 = mysql_fetch_array(mysql_query('SELECT `u`.`id`,`u`.`login`,`u`.`align`,`u`.`clan`,`u`.`admin`,`u`.`city`,`u`.`room`,`u`.`online`,`u`.`level`,`u`.`battle`,`u`.`money`,`st`.* FROM `stats` AS `st` LEFT JOIN `users` AS `u` ON (`st`.`id` = `u`.`id`) WHERE `st`.`zv`="' . $z['id'] . '" AND `st`.`team`="2" LIMIT 1')); + $uz2 = mysql_fetch_array( + mysql_query( + 'SELECT `u`.`id`,`u`.`login`,`u`.`align`,`u`.`clan`,`u`.`admin`,`u`.`city`,`u`.`room`,`u`.`online`,`u`.`level`,`u`.`battle`,`u`.`money`,`st`.* FROM `stats` AS `st` LEFT JOIN `users` AS `u` ON (`st`.`id` = `u`.`id`) WHERE `st`.`zv`="' . $z['id'] . '" AND `st`.`team`="2" LIMIT 1' + ) + ); if ($this->testTravm() == 1 && $z['type'] != 1) { $this->error = ' . .'; $az = 0; @@ -2524,18 +2771,26 @@ function MM_jumpMenu(targ,selObj,restore){ //v3.0 $az = 0; } elseif ($uz1['clan'] == $this->u->info['clan'] && $this->u->info['clan'] != 0 && $this->u->info['admin'] == 0 && true == false) { $this->error = ' '; - } elseif ($z['withUser'] != '' && $filter->mystr($this->u->info['login']) != $filter->mystr($z['withUser']) && $z['razdel'] == 3) { + } elseif ($z['withUser'] != '' && $filter->mystr($this->u->info['login']) != $filter->mystr( + $z['withUser'] + ) && $z['razdel'] == 3) { $this->error = ' '; } elseif ($z['money'] > 0 && $z['money'] > $this->u->info['money']) { $this->error = ' , '; } elseif ($this->u->stats['hpNow'] < ceil($this->u->stats['hpMax'] / 100 * 30)) { $this->error = ' , '; } elseif (!isset($uz2['id'])) { - $upd = mysql_query('UPDATE `stats` SET `zv` = "' . $z['id'] . '",`team` = "2" WHERE `id` = "' . $this->u->info['id'] . '" LIMIT 1'); + $upd = mysql_query( + 'UPDATE `stats` SET `zv` = "' . $z['id'] . '",`team` = "2" WHERE `id` = "' . $this->u->info['id'] . '" LIMIT 1' + ); if ($upd) { $ca = ''; if ($uz1['clan'] != 0) { - $pc = mysql_fetch_array(mysql_query('SELECT * FROM `clan` WHERE `id`="' . $uz1['clan'] . '" LIMIT 1')); + $pc = mysql_fetch_array( + mysql_query( + 'SELECT * FROM `clan` WHERE `id`="' . $uz1['clan'] . '" LIMIT 1' + ) + ); if (isset($pc['id'])) { $pc['img'] = $pc['name_mini'] . '.gif'; $ca = ''; @@ -2550,7 +2805,10 @@ function MM_jumpMenu(targ,selObj,restore){ //v3.0 $sa = ''; } $text = ' [login:' . $this->u->info['login'] . '] ' . $sa . ' .[reflesh_main_zv_priem:' . $this->u->info['id'] . ']'; - mysql_query("INSERT INTO `chat` (`new`,`city`,`room`,`login`,`to`,`text`,`time`,`type`,`toChat`) VALUES ('1','" . $uz1['city'] . "','','','" . $uz1['login'] . "','" . $text . "','" . time() . "','6','0')"); + mysql_query( + "INSERT INTO `chat` (`new`,`city`,`room`,`login`,`to`,`text`,`time`,`type`,`toChat`) VALUES ('1','" . $uz1['city'] . "','','','" . $uz1['login'] . "','" . $text . "','" . time( + ) . "','6','0')" + ); $zi = $z; $this->u->info['zv'] = $z['id']; $this->u->info['team'] = 2; @@ -2580,7 +2838,9 @@ function MM_jumpMenu(targ,selObj,restore){ //v3.0 if ($tm == 1) { $t2 = 2; } - $cl111 = mysql_query('SELECT `u`.`clan`,`st`.`team`,`st`.`id`,`st`.`zv` FROM `stats` AS `st` LEFT JOIN `users` AS `u` ON (`st`.`id` = `u`.`id`) WHERE `st`.`zv` = "' . $z['id'] . '" LIMIT 200'); + $cl111 = mysql_query( + 'SELECT `u`.`clan`,`st`.`team`,`st`.`id`,`st`.`zv` FROM `stats` AS `st` LEFT JOIN `users` AS `u` ON (`st`.`id` = `u`.`id`) WHERE `st`.`zv` = "' . $z['id'] . '" LIMIT 200' + ); $cln = 0; while ($pc111 = mysql_fetch_array($cl111)) { if ($pc111['clan'] == $this->u->info['clan'] && $this->u->info['clan'] != 0 && $pc111['team'] == $t2) { @@ -2604,7 +2864,11 @@ function MM_jumpMenu(targ,selObj,restore){ //v3.0 } elseif ($this->u->stats['hpNow'] < ceil($this->u->stats['hpMax'] / 100 * 30)) { $this->error = ' , '; } else { - $upd = mysql_query('UPDATE `stats` SET `zv` = "' . $z['id'] . '",`team` = "' . mysql_real_escape_string((int)$t1) . '" WHERE `id` = "' . $this->u->info['id'] . '" LIMIT 1'); + $upd = mysql_query( + 'UPDATE `stats` SET `zv` = "' . $z['id'] . '",`team` = "' . mysql_real_escape_string( + (int)$t1 + ) . '" WHERE `id` = "' . $this->u->info['id'] . '" LIMIT 1' + ); if (!$upd) { $this->error = ' ...'; } else { @@ -2620,7 +2884,9 @@ function MM_jumpMenu(targ,selObj,restore){ //v3.0 } } elseif ($z['razdel'] == 5 && $this->u->info['level'] > 1) { // - $col_p = mysql_fetch_array(mysql_query('SELECT COUNT(*) FROM `stats` WHERE `zv` = "' . $z['id'] . '"')); + $col_p = mysql_fetch_array( + mysql_query('SELECT COUNT(*) FROM `stats` WHERE `zv` = "' . $z['id'] . '"') + ); $cols = $col_p[0]; if ($cols >= $z['maxplayers']) { $this->error = ' !'; @@ -2642,555 +2908,306 @@ function MM_jumpMenu(targ,selObj,restore){ //v3.0 if ($z['type'] == 33) { //============================================================================================= - mysql_query('INSERT INTO `users` (`name`,`align`,`real`,`login`,`host_reg`,`pass`,`ip`,`ipreg`,`city`,`cityreg`,`room`,`timereg`, - `activ`,`mail`,`bithday`,`sex`,`fnq`,`battle`,`design`,`molch2`,`level` - ) VALUES ( - "' . $this->u->info['name'] . '", - "' . $this->u->info['align'] . '", - "1", - "' . $this->u->info['login'] . '", - "0", - "' . $this->u->info['pass'] . '", - "' . mysql_real_escape_string(IP) . '", - "' . mysql_real_escape_string(IP) . '", - "capitalcity", - "capitalcity", - "422", - "' . time() . '", - "0", - "haot@new-combats.com", - "01.01.1980", - "' . $this->u->info['sex'] . '", - "0", - "0", - "1", - "' . mysql_real_escape_string(time() + 86400) . '", - "8" - )'); + Db::sql( + 'insert into users (name, align, `real`, login, host_reg, pass, ip, ipreg, city, cityreg, room, timereg, mail, bithday, sex, fnq, battle, molch2, level) +values (?,?,1,?,0,?,?,?,?,?,422,unix_timestamp(),?,?,?,0,0,unix_timestamp() + 86400,8)', + [ + $this->u->info['name'], + $this->u->info['align'], + $this->u->info['login'], + $this->u->info['pass'], + IP, + IP, + 'capitalcity', + 'capitalcity', + 'haot@new-combats.com', + '01.01.1980', + $this->u->info['sex'], + ] + ); - $uidb = mysql_insert_id(); - mysql_query('UPDATE `users` SET `inUser` = "' . $uidb . '" WHERE `id` = "' . $this->u->info['id'] . '" LIMIT 1'); + + $uidb = Db::lastInsertId(); + Db::sql('update users set inUser = ? where id = ?', [$uidb, $this->u->info['id']]); // $sellclass = rand(1, 6); + $stmt1 = Db::prepare('update items_users set inOdet = ? where id = ?'); + $stmt2 = Db::prepare( + 'update items_users set `1price` = (select price_1 from items_shop where sid = 1 and items_shop.item_id = ?) where id = ?' + ); + $stmt3 = Db::prepare( + 'insert into stats (id, stats, ability, skills, exp, priems) values (?,?,-75,-9,100000,?)' + ); + if ($sellclass == 1) { // 1 - $us = $this->add_effn($uidb, 8); // - $us = $this->add_effn($uidb, 20); // + $this->add_effn($uidb, 8); // + $this->add_effn($uidb, 20); // + $items = [ + 1 => 525, + 2 => 539, + 3 => 523, + 14 => 523, + 4 => 290, + 5 => 541, + 7 => 633, + 8 => 647, + 9 => 680, + 10 => 685, + 11 => 685, + 12 => 685, + 13 => 1151, + 16 => 707, + 17 => 712, + ]; - mysql_query("INSERT INTO `stats` (`id`,`stats`,`ability`,`skills`,exp) VALUES ('" . $uidb . "','s1=21|s2=31|s3=16|s4=30|rinv=40|m9=5|m6=10|s7=0|a1=10|a2=0|a3=0|a4=0|a5=0|mg1=0|mg2=0|mg3=0|mg4=0|mg5=0|mg6=0|mg7=0|s5=0|s6=0',-75,-9,100000)"); - $re = $this->u->addItem(525, $uidb); - mysql_query('UPDATE `items_users` SET `inodet` = 1 WHERE `id` = "' . $re . '" LIMIT 1'); - $price = mysql_fetch_array(mysql_query('SELECT `price_1` FROM `items_shop` WHERE `item_id` = "525" AND `sid`=1 LIMIT 1')); - mysql_query('UPDATE `items_users` SET `1price` = "' . $price['price_1'] . '" WHERE `id` = "' . $re . '" LIMIT 1'); + foreach ($items as $slot => $itemId) { + $re = $this->u->addItem($itemId, $uidb); + $stmt1->execute([$slot, $re]); + $stmt2->execute([$itemId, $re]); + } - $re = $this->u->addItem(539, $uidb); - mysql_query('UPDATE `items_users` SET `inodet` = 2 WHERE `id` = "' . $re . '" LIMIT 1'); - $price = mysql_fetch_array(mysql_query('SELECT `price_1` FROM `items_shop` WHERE `item_id` = "539" AND `sid`=1 LIMIT 1')); - mysql_query('UPDATE `items_users` SET `1price` = "' . $price['price_1'] . '" WHERE `id` = "' . $re . '" LIMIT 1'); + $stmt3->execute( + [ + $uidb, + 's1=21|s2=31|s3=16|s4=30|rinv=40|m9=5|m6=10|s7=0|a1=10|a2=0|a3=0|a4=0|a5=0|mg1=0|mg2=0|mg3=0|mg4=0|mg5=0|mg6=0|mg7=0|s5=0|s6=0', + '193|8|217|221|6|213|14|220|141|232|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0', + ] + ); - $re = $this->u->addItem(523, $uidb); - mysql_query('UPDATE `items_users` SET `inodet` = 3 WHERE `id` = "' . $re . '" LIMIT 1'); - $price = mysql_fetch_array(mysql_query('SELECT `price_1` FROM `items_shop` WHERE `item_id` = "523" AND `sid`=1 LIMIT 1')); - mysql_query('UPDATE `items_users` SET `1price` = "' . $price['price_1'] . '" WHERE `id` = "' . $re . '" LIMIT 1'); - - $re = $this->u->addItem(523, $uidb); - mysql_query('UPDATE `items_users` SET `inodet` = 14 WHERE `id` = "' . $re . '" LIMIT 1'); - $price = mysql_fetch_array(mysql_query('SELECT `price_1` FROM `items_shop` WHERE `item_id` = "523" AND `sid`=1 LIMIT 1')); - mysql_query('UPDATE `items_users` SET `1price` = "' . $price['price_1'] . '" WHERE `id` = "' . $re . '" LIMIT 1'); - - $re = $this->u->addItem(290, $uidb); - mysql_query('UPDATE `items_users` SET `inodet` = 4 WHERE `id` = "' . $re . '" LIMIT 1'); - $price = mysql_fetch_array(mysql_query('SELECT `price_1` FROM `items_shop` WHERE `item_id` = "290" AND `sid`=1 LIMIT 1')); - mysql_query('UPDATE `items_users` SET `1price` = "' . $price['price_1'] . '" WHERE `id` = "' . $re . '" LIMIT 1'); - - $re = $this->u->addItem(541, $uidb); - mysql_query('UPDATE `items_users` SET `inodet` = 5 WHERE `id` = "' . $re . '" LIMIT 1'); - $price = mysql_fetch_array(mysql_query('SELECT `price_1` FROM `items_shop` WHERE `item_id` = "541" AND `sid`=1 LIMIT 1')); - mysql_query('UPDATE `items_users` SET `1price` = "' . $price['price_1'] . '" WHERE `id` = "' . $re . '" LIMIT 1'); - - $re = $this->u->addItem(633, $uidb); - mysql_query('UPDATE `items_users` SET `inodet` = 7 WHERE `id` = "' . $re . '" LIMIT 1'); - $price = mysql_fetch_array(mysql_query('SELECT `price_1` FROM `items_shop` WHERE `item_id` = "633" AND `sid`=1 LIMIT 1')); - mysql_query('UPDATE `items_users` SET `1price` = "' . $price['price_1'] . '" WHERE `id` = "' . $re . '" LIMIT 1'); - - $re = $this->u->addItem(647, $uidb); - mysql_query('UPDATE `items_users` SET `inodet` = 8 WHERE `id` = "' . $re . '" LIMIT 1'); - $price = mysql_fetch_array(mysql_query('SELECT `price_1` FROM `items_shop` WHERE `item_id` = "647" AND `sid`=1 LIMIT 1')); - mysql_query('UPDATE `items_users` SET `1price` = "' . $price['price_1'] . '" WHERE `id` = "' . $re . '" LIMIT 1'); - - $re = $this->u->addItem(680, $uidb); - mysql_query('UPDATE `items_users` SET `inodet` = 9 WHERE `id` = "' . $re . '" LIMIT 1'); - $price = mysql_fetch_array(mysql_query('SELECT `price_1` FROM `items_shop` WHERE `item_id` = "680" AND `sid`=1 LIMIT 1')); - mysql_query('UPDATE `items_users` SET `1price` = "' . $price['price_1'] . '" WHERE `id` = "' . $re . '" LIMIT 1'); - - $re = $this->u->addItem(685, $uidb); - mysql_query('UPDATE `items_users` SET `inodet` = 10 WHERE `id` = "' . $re . '" LIMIT 1'); - $price = mysql_fetch_array(mysql_query('SELECT `price_1` FROM `items_shop` WHERE `item_id` = "685" AND `sid`=1 LIMIT 1')); - mysql_query('UPDATE `items_users` SET `1price` = "' . $price['price_1'] . '" WHERE `id` = "' . $re . '" LIMIT 1'); - $re = $this->u->addItem(685, $uidb); - mysql_query('UPDATE `items_users` SET `inodet` = 11 WHERE `id` = "' . $re . '" LIMIT 1'); - $price = mysql_fetch_array(mysql_query('SELECT `price_1` FROM `items_shop` WHERE `item_id` = "685" AND `sid`=1 LIMIT 1')); - mysql_query('UPDATE `items_users` SET `1price` = "' . $price['price_1'] . '" WHERE `id` = "' . $re . '" LIMIT 1'); - $re = $this->u->addItem(685, $uidb); - mysql_query('UPDATE `items_users` SET `inodet` = 12 WHERE `id` = "' . $re . '" LIMIT 1'); - $price = mysql_fetch_array(mysql_query('SELECT `price_1` FROM `items_shop` WHERE `item_id` = "685" AND `sid`=1 LIMIT 1')); - mysql_query('UPDATE `items_users` SET `1price` = "' . $price['price_1'] . '" WHERE `id` = "' . $re . '" LIMIT 1'); - - $re = $this->u->addItem(1151, $uidb); - mysql_query('UPDATE `items_users` SET `inodet` = 13 WHERE `id` = "' . $re . '" LIMIT 1'); - $price = mysql_fetch_array(mysql_query('SELECT `price_1` FROM `items_shop` WHERE `item_id` = "1151" AND `sid`=1 LIMIT 1')); - mysql_query('UPDATE `items_users` SET `1price` = "' . $price['price_1'] . '" WHERE `id` = "' . $re . '" LIMIT 1'); - - $re = $this->u->addItem(707, $uidb); - mysql_query('UPDATE `items_users` SET `inodet` = 16 WHERE `id` = "' . $re . '" LIMIT 1'); - $price = mysql_fetch_array(mysql_query('SELECT `price_1` FROM `items_shop` WHERE `item_id` = "707" AND `sid`=1 LIMIT 1')); - mysql_query('UPDATE `items_users` SET `1price` = "' . $price['price_1'] . '" WHERE `id` = "' . $re . '" LIMIT 1'); - - $re = $this->u->addItem(712, $uidb); - mysql_query('UPDATE `items_users` SET `inodet` = 17 WHERE `id` = "' . $re . '" LIMIT 1'); - $price = mysql_fetch_array(mysql_query('SELECT `price_1` FROM `items_shop` WHERE `item_id` = "712" AND `sid`=1 LIMIT 1')); - mysql_query('UPDATE `items_users` SET `1price` = "' . $price['price_1'] . '" WHERE `id` = "' . $re . '" LIMIT 1'); - mysql_query('UPDATE `stats` SET `priems`="193|8|217|221|6|213|14|220|141|232|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0" WHERE `id`="' . $uidb . '" LIMIT 1'); // + } elseif ($sellclass == 2) { // 2 - $us = $this->add_effn($uidb, 7); // - $us = $this->add_effn($uidb, 20); // + $this->add_effn($uidb, 7); // + $this->add_effn($uidb, 20); // + $items = [ + 1 => 527, + 2 => 537, + 3 => 567, + 14 => 723, + 4 => 291, + 5 => 544, + 7 => 626, + 8 => 651, + 9 => 683, + 10 => 686, + 11 => 686, + 12 => 686, + 13 => 706, + 16 => 708, + 17 => 717, + ]; - mysql_query("INSERT INTO `stats` (`id`,`stats`,`ability`,`skills`,exp) VALUES ('" . $uidb . "','s1=24|s2=20|s3=24|s4=30|rinv=40|m9=5|m6=10|s7=0|a1=0|a2=0|a3=0|a4=9|a5=0|mg1=0|mg2=0|mg3=0|mg4=0|mg5=0|mg6=0|mg7=0|s5=0|s6=0|a6=0|s8=0|s9=0|s10=0|s11=0|s12=0|s13=0|s14=0|s15=0',-75,-9,100000)"); - $re = $this->u->addItem(527, $uidb); - mysql_query('UPDATE `items_users` SET `inodet` = 1 WHERE `id` = "' . $re . '" LIMIT 1'); - $price = mysql_fetch_array(mysql_query('SELECT `price_1` FROM `items_shop` WHERE `item_id` = "527" AND `sid`=1 LIMIT 1')); - mysql_query('UPDATE `items_users` SET `1price` = "' . $price['price_1'] . '" WHERE `id` = "' . $re . '" LIMIT 1'); + foreach ($items as $slot => $itemId) { + $re = $this->u->addItem($itemId, $uidb); + $stmt1->execute([$slot, $re]); + $stmt2->execute([$itemId, $re]); + } - $re = $this->u->addItem(537, $uidb); - mysql_query('UPDATE `items_users` SET `inodet` = 2 WHERE `id` = "' . $re . '" LIMIT 1'); - $price = mysql_fetch_array(mysql_query('SELECT `price_1` FROM `items_shop` WHERE `item_id` = "537" AND `sid`=1 LIMIT 1')); - mysql_query('UPDATE `items_users` SET `1price` = "' . $price['price_1'] . '" WHERE `id` = "' . $re . '" LIMIT 1'); + $stmt3->execute( + [ + $uidb, + 's1=24|s2=20|s3=24|s4=30|rinv=40|m9=5|m6=10|s7=0|a1=0|a2=0|a3=0|a4=9|a5=0|mg1=0|mg2=0|mg3=0|mg4=0|mg5=0|mg6=0|mg7=0|s5=0|s6=0|a6=0|s8=0|s9=0|s10=0|s11=0|s12=0|s13=0|s14=0|s15=0', + '193|204|221|138|9|188|240|215|147|232|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0', + ] + ); - $re = $this->u->addItem(567, $uidb); - mysql_query('UPDATE `items_users` SET `inodet` = 3 WHERE `id` = "' . $re . '" LIMIT 1'); - $price = mysql_fetch_array(mysql_query('SELECT `price_1` FROM `items_shop` WHERE `item_id` = "567" AND `sid`=1 LIMIT 1')); - mysql_query('UPDATE `items_users` SET `1price` = "' . $price['price_1'] . '" WHERE `id` = "' . $re . '" LIMIT 1'); - $re = $this->u->addItem(723, $uidb); - mysql_query('UPDATE `items_users` SET `inodet` = 14 WHERE `id` = "' . $re . '" LIMIT 1'); - $price = mysql_fetch_array(mysql_query('SELECT `price_1` FROM `items_shop` WHERE `item_id` = "723" AND `sid`=1 LIMIT 1')); - mysql_query('UPDATE `items_users` SET `1price` = "' . $price['price_1'] . '" WHERE `id` = "' . $re . '" LIMIT 1'); - - $re = $this->u->addItem(291, $uidb); - mysql_query('UPDATE `items_users` SET `inodet` = 4 WHERE `id` = "' . $re . '" LIMIT 1'); - $price = mysql_fetch_array(mysql_query('SELECT `price_1` FROM `items_shop` WHERE `item_id` = "291" AND `sid`=1 LIMIT 1')); - mysql_query('UPDATE `items_users` SET `1price` = "' . $price['price_1'] . '" WHERE `id` = "' . $re . '" LIMIT 1'); - - $re = $this->u->addItem(544, $uidb); - mysql_query('UPDATE `items_users` SET `inodet` = 5 WHERE `id` = "' . $re . '" LIMIT 1'); - $price = mysql_fetch_array(mysql_query('SELECT `price_1` FROM `items_shop` WHERE `item_id` = "544" AND `sid`=1 LIMIT 1')); - mysql_query('UPDATE `items_users` SET `1price` = "' . $price['price_1'] . '" WHERE `id` = "' . $re . '" LIMIT 1'); - - $re = $this->u->addItem(626, $uidb); - mysql_query('UPDATE `items_users` SET `inodet` = 7 WHERE `id` = "' . $re . '" LIMIT 1'); - $price = mysql_fetch_array(mysql_query('SELECT `price_1` FROM `items_shop` WHERE `item_id` = "626" AND `sid`=1 LIMIT 1')); - mysql_query('UPDATE `items_users` SET `1price` = "' . $price['price_1'] . '" WHERE `id` = "' . $re . '" LIMIT 1'); - - $re = $this->u->addItem(651, $uidb); - mysql_query('UPDATE `items_users` SET `inodet` = 8 WHERE `id` = "' . $re . '" LIMIT 1'); - $price = mysql_fetch_array(mysql_query('SELECT `price_1` FROM `items_shop` WHERE `item_id` = "651" AND `sid`=1 LIMIT 1')); - mysql_query('UPDATE `items_users` SET `1price` = "' . $price['price_1'] . '" WHERE `id` = "' . $re . '" LIMIT 1'); - - $re = $this->u->addItem(683, $uidb); - mysql_query('UPDATE `items_users` SET `inodet` = 9 WHERE `id` = "' . $re . '" LIMIT 1'); - $price = mysql_fetch_array(mysql_query('SELECT `price_1` FROM `items_shop` WHERE `item_id` = "683" AND `sid`=1 LIMIT 1')); - mysql_query('UPDATE `items_users` SET `1price` = "' . $price['price_1'] . '" WHERE `id` = "' . $re . '" LIMIT 1'); - - $re = $this->u->addItem(686, $uidb); - mysql_query('UPDATE `items_users` SET `inodet` = 10 WHERE `id` = "' . $re . '" LIMIT 1'); - $price = mysql_fetch_array(mysql_query('SELECT `price_1` FROM `items_shop` WHERE `item_id` = "686" AND `sid`=1 LIMIT 1')); - mysql_query('UPDATE `items_users` SET `1price` = "' . $price['price_1'] . '" WHERE `id` = "' . $re . '" LIMIT 1'); - $re = $this->u->addItem(686, $uidb); - mysql_query('UPDATE `items_users` SET `inodet` = 11 WHERE `id` = "' . $re . '" LIMIT 1'); - $price = mysql_fetch_array(mysql_query('SELECT `price_1` FROM `items_shop` WHERE `item_id` = "686" AND `sid`=1 LIMIT 1')); - mysql_query('UPDATE `items_users` SET `1price` = "' . $price['price_1'] . '" WHERE `id` = "' . $re . '" LIMIT 1'); - $re = $this->u->addItem(686, $uidb); - mysql_query('UPDATE `items_users` SET `inodet` = 12 WHERE `id` = "' . $re . '" LIMIT 1'); - $price = mysql_fetch_array(mysql_query('SELECT `price_1` FROM `items_shop` WHERE `item_id` = "686" AND `sid`=1 LIMIT 1')); - mysql_query('UPDATE `items_users` SET `1price` = "' . $price['price_1'] . '" WHERE `id` = "' . $re . '" LIMIT 1'); - - $re = $this->u->addItem(706, $uidb); - mysql_query('UPDATE `items_users` SET `inodet` = 13 WHERE `id` = "' . $re . '" LIMIT 1'); - $price = mysql_fetch_array(mysql_query('SELECT `price_1` FROM `items_shop` WHERE `item_id` = "706" AND `sid`=1 LIMIT 1')); - mysql_query('UPDATE `items_users` SET `1price` = "' . $price['price_1'] . '" WHERE `id` = "' . $re . '" LIMIT 1'); - - $re = $this->u->addItem(708, $uidb); - mysql_query('UPDATE `items_users` SET `inodet` = 16 WHERE `id` = "' . $re . '" LIMIT 1'); - $price = mysql_fetch_array(mysql_query('SELECT `price_1` FROM `items_shop` WHERE `item_id` = "708" AND `sid`=1 LIMIT 1')); - mysql_query('UPDATE `items_users` SET `1price` = "' . $price['price_1'] . '" WHERE `id` = "' . $re . '" LIMIT 1'); - - $re = $this->u->addItem(717, $uidb); - mysql_query('UPDATE `items_users` SET `inodet` = 17 WHERE `id` = "' . $re . '" LIMIT 1'); - $price = mysql_fetch_array(mysql_query('SELECT `price_1` FROM `items_shop` WHERE `item_id` = "717" AND `sid`=1 LIMIT 1')); - mysql_query('UPDATE `items_users` SET `1price` = "' . $price['price_1'] . '" WHERE `id` = "' . $re . '" LIMIT 1'); - mysql_query('UPDATE `stats` SET `priems`="193|204|221|138|9|188|240|215|147|232|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0" WHERE `id`="' . $uidb . '" LIMIT 1'); - //193|204|221|138|9|188|240|215|147|232|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0 } elseif ($sellclass == 3) { // 3 - $us = $this->add_effn($uidb, 1); // - $us = $this->add_effn($uidb, 20); // + $this->add_effn($uidb, 1); // + $this->add_effn($uidb, 20); // - mysql_query("INSERT INTO `stats` (`id`,`stats`,`ability`,`skills`,exp) VALUES ('" . $uidb . "','s1=42|s2=3|s3=3|s4=50|rinv=40|m9=5|m6=10|s7=0|a1=0|a2=0|a3=9|a4=0|a5=0|mg1=0|mg2=0|mg3=0|mg4=0|mg5=0|mg6=0|mg7=0|s5=0|s6=0|a6=0|s8=0|s9=0|s10=0|s11=0|s12=0|s13=0|s14=0|s15=0',-75,-9,100000)"); - $re = $this->u->addItem(533, $uidb); - mysql_query('UPDATE `items_users` SET `inodet` = 1 WHERE `id` = "' . $re . '" LIMIT 1'); - $price = mysql_fetch_array(mysql_query('SELECT `price_1` FROM `items_shop` WHERE `item_id` = "533" AND `sid`=1 LIMIT 1')); - mysql_query('UPDATE `items_users` SET `1price` = "' . $price['price_1'] . '" WHERE `id` = "' . $re . '" LIMIT 1'); + $items = [ + 1 => 533, + 2 => 536, + 3 => 558, + 14 => 722, + 4 => 291, + 5 => 545, + 7 => 628, + 8 => 654, + 9 => 684, + 10 => 689, + 11 => 689, + 12 => 689, + 13 => 700, + 16 => 710, + 17 => 718, + ]; - $re = $this->u->addItem(536, $uidb); - mysql_query('UPDATE `items_users` SET `inodet` = 2 WHERE `id` = "' . $re . '" LIMIT 1'); - $price = mysql_fetch_array(mysql_query('SELECT `price_1` FROM `items_shop` WHERE `item_id` = "536" AND `sid`=1 LIMIT 1')); - mysql_query('UPDATE `items_users` SET `1price` = "' . $price['price_1'] . '" WHERE `id` = "' . $re . '" LIMIT 1'); + foreach ($items as $slot => $itemId) { + $re = $this->u->addItem($itemId, $uidb); + $stmt1->execute([$slot, $re]); + $stmt2->execute([$itemId, $re]); + } - $re = $this->u->addItem(558, $uidb); - mysql_query('UPDATE `items_users` SET `inodet` = 3 WHERE `id` = "' . $re . '" LIMIT 1'); - $price = mysql_fetch_array(mysql_query('SELECT `price_1` FROM `items_shop` WHERE `item_id` = "558" AND `sid`=1 LIMIT 1')); - mysql_query('UPDATE `items_users` SET `1price` = "' . $price['price_1'] . '" WHERE `id` = "' . $re . '" LIMIT 1'); - $re = $this->u->addItem(722, $uidb); - mysql_query('UPDATE `items_users` SET `inodet` = 14 WHERE `id` = "' . $re . '" LIMIT 1'); - $price = mysql_fetch_array(mysql_query('SELECT `price_1` FROM `items_shop` WHERE `item_id` = "722" AND `sid`=1 LIMIT 1')); - mysql_query('UPDATE `items_users` SET `1price` = "' . $price['price_1'] . '" WHERE `id` = "' . $re . '" LIMIT 1'); - - $re = $this->u->addItem(291, $uidb); - mysql_query('UPDATE `items_users` SET `inodet` = 4 WHERE `id` = "' . $re . '" LIMIT 1'); - $price = mysql_fetch_array(mysql_query('SELECT `price_1` FROM `items_shop` WHERE `item_id` = "291" AND `sid`=1 LIMIT 1')); - mysql_query('UPDATE `items_users` SET `1price` = "' . $price['price_1'] . '" WHERE `id` = "' . $re . '" LIMIT 1'); - - $re = $this->u->addItem(545, $uidb); - mysql_query('UPDATE `items_users` SET `inodet` = 5 WHERE `id` = "' . $re . '" LIMIT 1'); - $price = mysql_fetch_array(mysql_query('SELECT `price_1` FROM `items_shop` WHERE `item_id` = "545" AND `sid`=1 LIMIT 1')); - mysql_query('UPDATE `items_users` SET `1price` = "' . $price['price_1'] . '" WHERE `id` = "' . $re . '" LIMIT 1'); - - $re = $this->u->addItem(628, $uidb); - mysql_query('UPDATE `items_users` SET `inodet` = 7 WHERE `id` = "' . $re . '" LIMIT 1'); - $price = mysql_fetch_array(mysql_query('SELECT `price_1` FROM `items_shop` WHERE `item_id` = "628" AND `sid`=1 LIMIT 1')); - mysql_query('UPDATE `items_users` SET `1price` = "' . $price['price_1'] . '" WHERE `id` = "' . $re . '" LIMIT 1'); - - $re = $this->u->addItem(654, $uidb); - mysql_query('UPDATE `items_users` SET `inodet` = 8 WHERE `id` = "' . $re . '" LIMIT 1'); - $price = mysql_fetch_array(mysql_query('SELECT `price_1` FROM `items_shop` WHERE `item_id` = "654" AND `sid`=1 LIMIT 1')); - mysql_query('UPDATE `items_users` SET `1price` = "' . $price['price_1'] . '" WHERE `id` = "' . $re . '" LIMIT 1'); - - $re = $this->u->addItem(684, $uidb); - mysql_query('UPDATE `items_users` SET `inodet` = 9 WHERE `id` = "' . $re . '" LIMIT 1'); - $price = mysql_fetch_array(mysql_query('SELECT `price_1` FROM `items_shop` WHERE `item_id` = "684" AND `sid`=1 LIMIT 1')); - mysql_query('UPDATE `items_users` SET `1price` = "' . $price['price_1'] . '" WHERE `id` = "' . $re . '" LIMIT 1'); - - $re = $this->u->addItem(689, $uidb); - mysql_query('UPDATE `items_users` SET `inodet` = 10 WHERE `id` = "' . $re . '" LIMIT 1'); - $price = mysql_fetch_array(mysql_query('SELECT `price_1` FROM `items_shop` WHERE `item_id` = "689" AND `sid`=1 LIMIT 1')); - mysql_query('UPDATE `items_users` SET `1price` = "' . $price['price_1'] . '" WHERE `id` = "' . $re . '" LIMIT 1'); - $re = $this->u->addItem(689, $uidb); - mysql_query('UPDATE `items_users` SET `inodet` = 11 WHERE `id` = "' . $re . '" LIMIT 1'); - $price = mysql_fetch_array(mysql_query('SELECT `price_1` FROM `items_shop` WHERE `item_id` = "689" AND `sid`=1 LIMIT 1')); - mysql_query('UPDATE `items_users` SET `1price` = "' . $price['price_1'] . '" WHERE `id` = "' . $re . '" LIMIT 1'); - $re = $this->u->addItem(689, $uidb); - mysql_query('UPDATE `items_users` SET `inodet` = 12 WHERE `id` = "' . $re . '" LIMIT 1'); - $price = mysql_fetch_array(mysql_query('SELECT `price_1` FROM `items_shop` WHERE `item_id` = "689" AND `sid`=1 LIMIT 1')); - mysql_query('UPDATE `items_users` SET `1price` = "' . $price['price_1'] . '" WHERE `id` = "' . $re . '" LIMIT 1'); - - $re = $this->u->addItem(700, $uidb); - mysql_query('UPDATE `items_users` SET `inodet` = 13 WHERE `id` = "' . $re . '" LIMIT 1'); - $price = mysql_fetch_array(mysql_query('SELECT `price_1` FROM `items_shop` WHERE `item_id` = "700" AND `sid`=1 LIMIT 1')); - mysql_query('UPDATE `items_users` SET `1price` = "' . $price['price_1'] . '" WHERE `id` = "' . $re . '" LIMIT 1'); - - $re = $this->u->addItem(710, $uidb); - mysql_query('UPDATE `items_users` SET `inodet` = 16 WHERE `id` = "' . $re . '" LIMIT 1'); - $price = mysql_fetch_array(mysql_query('SELECT `price_1` FROM `items_shop` WHERE `item_id` = "710" AND `sid`=1 LIMIT 1')); - mysql_query('UPDATE `items_users` SET `1price` = "' . $price['price_1'] . '" WHERE `id` = "' . $re . '" LIMIT 1'); - - $re = $this->u->addItem(718, $uidb); - mysql_query('UPDATE `items_users` SET `inodet` = 17 WHERE `id` = "' . $re . '" LIMIT 1'); - $price = mysql_fetch_array(mysql_query('SELECT `price_1` FROM `items_shop` WHERE `item_id` = "718" AND `sid`=1 LIMIT 1')); - mysql_query('UPDATE `items_users` SET `1price` = "' . $price['price_1'] . '" WHERE `id` = "' . $re . '" LIMIT 1'); - mysql_query('UPDATE `stats` SET `priems`="11|204|233|226|45|14|139|221|6|232|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0" WHERE `id`="' . $uidb . '" LIMIT 1'); + $stmt3->execute( + [ + $uidb, + 's1=42|s2=3|s3=3|s4=50|rinv=40|m9=5|m6=10|s7=0|a1=0|a2=0|a3=9|a4=0|a5=0|mg1=0|mg2=0|mg3=0|mg4=0|mg5=0|mg6=0|mg7=0|s5=0|s6=0|a6=0|s8=0|s9=0|s10=0|s11=0|s12=0|s13=0|s14=0|s15=0', + '11|204|233|226|45|14|139|221|6|232|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0', + ] + ); } elseif ($sellclass == 4) { // 4 - $us = $this->add_effn($uidb, 1); // - $us = $this->add_effn($uidb, 20); // + $this->add_effn($uidb, 1); // + $this->add_effn($uidb, 20); // + $items = [ + 1 => 528, + 2 => 538, + 3 => 552, + 14 => 552, + 4 => 291, + 5 => 543, + 7 => 627, + 8 => 653, + 9 => 681, + 10 => 687, + 11 => 687, + 12 => 687, + 13 => 320, + 16 => 709, + 17 => 716, + ]; - mysql_query("INSERT INTO `stats` (`id`,`stats`,`ability`,`skills`,exp) VALUES ('" . $uidb . "','s1=43|s2=15|s3=15|s4=25|rinv=40|m9=5|m6=10|s7=0|a1=0|a2=10|a3=0|a4=0|a5=0|mg1=0|mg2=0|mg3=0|mg4=0|mg5=0|mg6=0|mg7=0|s5=0|s6=0',-75,-9,100000)"); - $re = $this->u->addItem(528, $uidb); - mysql_query('UPDATE `items_users` SET `inodet` = 1 WHERE `id` = "' . $re . '" LIMIT 1'); - $price = mysql_fetch_array(mysql_query('SELECT `price_1` FROM `items_shop` WHERE `item_id` = "528" AND `sid`=1 LIMIT 1')); - mysql_query('UPDATE `items_users` SET `1price` = "' . $price['price_1'] . '" WHERE `id` = "' . $re . '" LIMIT 1'); + foreach ($items as $slot => $itemId) { + $re = $this->u->addItem($itemId, $uidb); + $stmt1->execute([$slot, $re]); + $stmt2->execute([$itemId, $re]); + } - $re = $this->u->addItem(538, $uidb); - mysql_query('UPDATE `items_users` SET `inodet` = 2 WHERE `id` = "' . $re . '" LIMIT 1'); - $price = mysql_fetch_array(mysql_query('SELECT `price_1` FROM `items_shop` WHERE `item_id` = "538" AND `sid`=1 LIMIT 1')); - mysql_query('UPDATE `items_users` SET `1price` = "' . $price['price_1'] . '" WHERE `id` = "' . $re . '" LIMIT 1'); + $stmt3->execute( + [ + $uidb, + 's1=43|s2=15|s3=15|s4=25|rinv=40|m9=5|m6=10|s7=0|a1=0|a2=10|a3=0|a4=0|a5=0|mg1=0|mg2=0|mg3=0|mg4=0|mg5=0|mg6=0|mg7=0|s5=0|s6=0', + '193|139|49|14|6|217|221|204|147|45|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0', + ] + ); - $re = $this->u->addItem(552, $uidb); - mysql_query('UPDATE `items_users` SET `inodet` = 3 WHERE `id` = "' . $re . '" LIMIT 1'); - $price = mysql_fetch_array(mysql_query('SELECT `price_1` FROM `items_shop` WHERE `item_id` = "552" AND `sid`=1 LIMIT 1')); - mysql_query('UPDATE `items_users` SET `1price` = "' . $price['price_1'] . '" WHERE `id` = "' . $re . '" LIMIT 1'); - $re = $this->u->addItem(552, $uidb); - mysql_query('UPDATE `items_users` SET `inodet` = 14 WHERE `id` = "' . $re . '" LIMIT 1'); - $price = mysql_fetch_array(mysql_query('SELECT `price_1` FROM `items_shop` WHERE `item_id` = "552" AND `sid`=1 LIMIT 1')); - mysql_query('UPDATE `items_users` SET `1price` = "' . $price['price_1'] . '" WHERE `id` = "' . $re . '" LIMIT 1'); - - $re = $this->u->addItem(291, $uidb); - mysql_query('UPDATE `items_users` SET `inodet` = 4 WHERE `id` = "' . $re . '" LIMIT 1'); - $price = mysql_fetch_array(mysql_query('SELECT `price_1` FROM `items_shop` WHERE `item_id` = "291" AND `sid`=1 LIMIT 1')); - mysql_query('UPDATE `items_users` SET `1price` = "' . $price['price_1'] . '" WHERE `id` = "' . $re . '" LIMIT 1'); - - $re = $this->u->addItem(543, $uidb); - mysql_query('UPDATE `items_users` SET `inodet` = 5 WHERE `id` = "' . $re . '" LIMIT 1'); - $price = mysql_fetch_array(mysql_query('SELECT `price_1` FROM `items_shop` WHERE `item_id` = "543" AND `sid`=1 LIMIT 1')); - mysql_query('UPDATE `items_users` SET `1price` = "' . $price['price_1'] . '" WHERE `id` = "' . $re . '" LIMIT 1'); - - $re = $this->u->addItem(627, $uidb); - mysql_query('UPDATE `items_users` SET `inodet` = 7 WHERE `id` = "' . $re . '" LIMIT 1'); - $price = mysql_fetch_array(mysql_query('SELECT `price_1` FROM `items_shop` WHERE `item_id` = "627" AND `sid`=1 LIMIT 1')); - mysql_query('UPDATE `items_users` SET `1price` = "' . $price['price_1'] . '" WHERE `id` = "' . $re . '" LIMIT 1'); - - $re = $this->u->addItem(653, $uidb); - mysql_query('UPDATE `items_users` SET `inodet` = 8 WHERE `id` = "' . $re . '" LIMIT 1'); - $price = mysql_fetch_array(mysql_query('SELECT `price_1` FROM `items_shop` WHERE `item_id` = "653" AND `sid`=1 LIMIT 1')); - mysql_query('UPDATE `items_users` SET `1price` = "' . $price['price_1'] . '" WHERE `id` = "' . $re . '" LIMIT 1'); - - $re = $this->u->addItem(681, $uidb); - mysql_query('UPDATE `items_users` SET `inodet` = 9 WHERE `id` = "' . $re . '" LIMIT 1'); - $price = mysql_fetch_array(mysql_query('SELECT `price_1` FROM `items_shop` WHERE `item_id` = "681" AND `sid`=1 LIMIT 1')); - mysql_query('UPDATE `items_users` SET `1price` = "' . $price['price_1'] . '" WHERE `id` = "' . $re . '" LIMIT 1'); - - $re = $this->u->addItem(687, $uidb); - mysql_query('UPDATE `items_users` SET `inodet` = 10 WHERE `id` = "' . $re . '" LIMIT 1'); - $price = mysql_fetch_array(mysql_query('SELECT `price_1` FROM `items_shop` WHERE `item_id` = "687" AND `sid`=1 LIMIT 1')); - mysql_query('UPDATE `items_users` SET `1price` = "' . $price['price_1'] . '" WHERE `id` = "' . $re . '" LIMIT 1'); - $re = $this->u->addItem(687, $uidb); - mysql_query('UPDATE `items_users` SET `inodet` = 11 WHERE `id` = "' . $re . '" LIMIT 1'); - $price = mysql_fetch_array(mysql_query('SELECT `price_1` FROM `items_shop` WHERE `item_id` = "687" AND `sid`=1 LIMIT 1')); - mysql_query('UPDATE `items_users` SET `1price` = "' . $price['price_1'] . '" WHERE `id` = "' . $re . '" LIMIT 1'); - $re = $this->u->addItem(687, $uidb); - mysql_query('UPDATE `items_users` SET `inodet` = 12 WHERE `id` = "' . $re . '" LIMIT 1'); - $price = mysql_fetch_array(mysql_query('SELECT `price_1` FROM `items_shop` WHERE `item_id` = "687" AND `sid`=1 LIMIT 1')); - mysql_query('UPDATE `items_users` SET `1price` = "' . $price['price_1'] . '" WHERE `id` = "' . $re . '" LIMIT 1'); - - $re = $this->u->addItem(320, $uidb); - mysql_query('UPDATE `items_users` SET `inodet` = 13 WHERE `id` = "' . $re . '" LIMIT 1'); - $price = mysql_fetch_array(mysql_query('SELECT `price_1` FROM `items_shop` WHERE `item_id` = "320" AND `sid`=1 LIMIT 1')); - mysql_query('UPDATE `items_users` SET `1price` = "' . $price['price_1'] . '" WHERE `id` = "' . $re . '" LIMIT 1'); - - $re = $this->u->addItem(709, $uidb); - mysql_query('UPDATE `items_users` SET `inodet` = 16 WHERE `id` = "' . $re . '" LIMIT 1'); - $price = mysql_fetch_array(mysql_query('SELECT `price_1` FROM `items_shop` WHERE `item_id` = "709" AND `sid`=1 LIMIT 1')); - mysql_query('UPDATE `items_users` SET `1price` = "' . $price['price_1'] . '" WHERE `id` = "' . $re . '" LIMIT 1'); - - $re = $this->u->addItem(716, $uidb); - mysql_query('UPDATE `items_users` SET `inodet` = 17 WHERE `id` = "' . $re . '" LIMIT 1'); - $price = mysql_fetch_array(mysql_query('SELECT `price_1` FROM `items_shop` WHERE `item_id` = "716" AND `sid`=1 LIMIT 1')); - mysql_query('UPDATE `items_users` SET `1price` = "' . $price['price_1'] . '" WHERE `id` = "' . $re . '" LIMIT 1'); - - mysql_query('UPDATE `stats` SET `priems`="193|139|49|14|6|217|221|204|147|45|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0" WHERE `id`="' . $uidb . '" LIMIT 1'); - //193|139|49|14|6|217|221|204|147|45|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0 } elseif ($sellclass == 5) { // 5 // - $us = $this->add_effn($uidb, 9); // - $us = $this->add_effn($uidb, 32); // - $us = $this->add_effn($uidb, 54); // - $us = $this->add_effn($uidb, 439); // + $this->add_effn($uidb, 9); // + $this->add_effn($uidb, 32); // + $this->add_effn($uidb, 54); // + $this->add_effn($uidb, 439); // - mysql_query("INSERT INTO `stats` (`id`,`stats`,`ability`,`skills`,exp) VALUES ('" . $uidb . "','s1=14|s2=3|s3=3|s4=25|rinv=40|m9=5|m6=10|s7=0|a1=0|a2=0|a3=0|a4=0|a5=3|mg1=0|mg2=0|mg3=0|mg4=6|mg5=0|mg6=0|mg7=0|s5=13|s6=40|a6=0|s8=0|s9=0|s10=0|s11=0|s12=0|s13=0|s14=0|s15=0',-75,-9,100000)"); - $re = $this->u->addItem(531, $uidb); - mysql_query('UPDATE `items_users` SET `inodet` = 1 WHERE `id` = "' . $re . '" LIMIT 1'); - $price = mysql_fetch_array(mysql_query('SELECT `price_1` FROM `items_shop` WHERE `item_id` = "531" AND `sid`=1 LIMIT 1')); - mysql_query('UPDATE `items_users` SET `1price` = "' . $price['price_1'] . '" WHERE `id` = "' . $re . '" LIMIT 1'); + $items = [ + 1 => 531, + 2 => 534, + 3 => 1026, + 4 => 291, + 5 => 548, + 7 => 629, + 8 => 657, + 9 => 674, + 10 => 692, + 11 => 692, + 12 => 692, + 13 => 699, + 16 => 711, + 17 => 714, + ]; - $re = $this->u->addItem(534, $uidb); - mysql_query('UPDATE `items_users` SET `inodet` = 2 WHERE `id` = "' . $re . '" LIMIT 1'); - $price = mysql_fetch_array(mysql_query('SELECT `price_1` FROM `items_shop` WHERE `item_id` = "534" AND `sid`=1 LIMIT 1')); - mysql_query('UPDATE `items_users` SET `1price` = "' . $price['price_1'] . '" WHERE `id` = "' . $re . '" LIMIT 1'); + foreach ($items as $slot => $itemId) { + $re = $this->u->addItem($itemId, $uidb); + $stmt1->execute([$slot, $re]); + $stmt2->execute([$itemId, $re]); + } - $re = $this->u->addItem(1026, $uidb); - mysql_query('UPDATE `items_users` SET `inodet` = 3 WHERE `id` = "' . $re . '" LIMIT 1'); - $price = mysql_fetch_array(mysql_query('SELECT `price_1` FROM `items_shop` WHERE `item_id` = "1026" AND `sid`=1 LIMIT 1')); - mysql_query('UPDATE `items_users` SET `1price` = "' . $price['price_1'] . '" WHERE `id` = "' . $re . '" LIMIT 1'); + $stmt3->execute( + [ + $uidb, + 's1=14|s2=3|s3=3|s4=25|rinv=40|m9=5|m6=10|s7=0|a1=0|a2=0|a3=0|a4=0|a5=3|mg1=0|mg2=0|mg3=0|mg4=6|mg5=0|mg6=0|mg7=0|s5=13|s6=40|a6=0|s8=0|s9=0|s10=0|s11=0|s12=0|s13=0|s14=0|s15=0', + '208|117|170|44|113|128|122|249|246|147|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0', + ] + ); - $re = $this->u->addItem(291, $uidb); - mysql_query('UPDATE `items_users` SET `inodet` = 4 WHERE `id` = "' . $re . '" LIMIT 1'); - $price = mysql_fetch_array(mysql_query('SELECT `price_1` FROM `items_shop` WHERE `item_id` = "291" AND `sid`=1 LIMIT 1')); - mysql_query('UPDATE `items_users` SET `1price` = "' . $price['price_1'] . '" WHERE `id` = "' . $re . '" LIMIT 1'); - $re = $this->u->addItem(548, $uidb); - mysql_query('UPDATE `items_users` SET `inodet` = 5 WHERE `id` = "' . $re . '" LIMIT 1'); - $price = mysql_fetch_array(mysql_query('SELECT `price_1` FROM `items_shop` WHERE `item_id` = "548" AND `sid`=1 LIMIT 1')); - mysql_query('UPDATE `items_users` SET `1price` = "' . $price['price_1'] . '" WHERE `id` = "' . $re . '" LIMIT 1'); - - $re = $this->u->addItem(629, $uidb); - mysql_query('UPDATE `items_users` SET `inodet` = 7 WHERE `id` = "' . $re . '" LIMIT 1'); - $price = mysql_fetch_array(mysql_query('SELECT `price_1` FROM `items_shop` WHERE `item_id` = "629" AND `sid`=1 LIMIT 1')); - mysql_query('UPDATE `items_users` SET `1price` = "' . $price['price_1'] . '" WHERE `id` = "' . $re . '" LIMIT 1'); - - $re = $this->u->addItem(699, $uidb); - mysql_query('UPDATE `items_users` SET `inodet` = 13 WHERE `id` = "' . $re . '" LIMIT 1'); - $price = mysql_fetch_array(mysql_query('SELECT `price_1` FROM `items_shop` WHERE `item_id` = "699" AND `sid`=1 LIMIT 1')); - mysql_query('UPDATE `items_users` SET `1price` = "' . $price['price_1'] . '" WHERE `id` = "' . $re . '" LIMIT 1'); - - $re = $this->u->addItem(711, $uidb); - mysql_query('UPDATE `items_users` SET `inodet` = 16 WHERE `id` = "' . $re . '" LIMIT 1'); - $price = mysql_fetch_array(mysql_query('SELECT `price_1` FROM `items_shop` WHERE `item_id` = "711" AND `sid`=1 LIMIT 1')); - mysql_query('UPDATE `items_users` SET `1price` = "' . $price['price_1'] . '" WHERE `id` = "' . $re . '" LIMIT 1'); - - $re = $this->u->addItem(714, $uidb); - mysql_query('UPDATE `items_users` SET `inodet` = 17 WHERE `id` = "' . $re . '" LIMIT 1'); - $price = mysql_fetch_array(mysql_query('SELECT `price_1` FROM `items_shop` WHERE `item_id` = "714" AND `sid`=1 LIMIT 1')); - mysql_query('UPDATE `items_users` SET `1price` = "' . $price['price_1'] . '" WHERE `id` = "' . $re . '" LIMIT 1'); - - ///------- - $re = $this->u->addItem(657, $uidb); - mysql_query('UPDATE `items_users` SET `inodet` = 8 WHERE `id` = "' . $re . '" LIMIT 1'); - $price = mysql_fetch_array(mysql_query('SELECT `price_1` FROM `items_shop` WHERE `item_id` = "657" AND `sid`=1 LIMIT 1')); - mysql_query('UPDATE `items_users` SET `1price` = "' . $price['price_1'] . '" WHERE `id` = "' . $re . '" LIMIT 1'); - - $re = $this->u->addItem(674, $uidb); - mysql_query('UPDATE `items_users` SET `inodet` = 9 WHERE `id` = "' . $re . '" LIMIT 1'); - $price = mysql_fetch_array(mysql_query('SELECT `price_1` FROM `items_shop` WHERE `item_id` = "674" AND `sid`=1 LIMIT 1')); - mysql_query('UPDATE `items_users` SET `1price` = "' . $price['price_1'] . '" WHERE `id` = "' . $re . '" LIMIT 1'); - - $re = $this->u->addItem(692, $uidb); - mysql_query('UPDATE `items_users` SET `inodet` = 10 WHERE `id` = "' . $re . '" LIMIT 1'); - $price = mysql_fetch_array(mysql_query('SELECT `price_1` FROM `items_shop` WHERE `item_id` = "692" AND `sid`=1 LIMIT 1')); - mysql_query('UPDATE `items_users` SET `1price` = "' . $price['price_1'] . '" WHERE `id` = "' . $re . '" LIMIT 1'); - $re = $this->u->addItem(692, $uidb); - mysql_query('UPDATE `items_users` SET `inodet` = 11 WHERE `id` = "' . $re . '" LIMIT 1'); - $price = mysql_fetch_array(mysql_query('SELECT `price_1` FROM `items_shop` WHERE `item_id` = "692" AND `sid`=1 LIMIT 1')); - mysql_query('UPDATE `items_users` SET `1price` = "' . $price['price_1'] . '" WHERE `id` = "' . $re . '" LIMIT 1'); - $re = $this->u->addItem(692, $uidb); - mysql_query('UPDATE `items_users` SET `inodet` = 12 WHERE `id` = "' . $re . '" LIMIT 1'); - $price = mysql_fetch_array(mysql_query('SELECT `price_1` FROM `items_shop` WHERE `item_id` = "692" AND `sid`=1 LIMIT 1')); - mysql_query('UPDATE `items_users` SET `1price` = "' . $price['price_1'] . '" WHERE `id` = "' . $re . '" LIMIT 1'); - ///---- - mysql_query('UPDATE `stats` SET `priems`="208|117|170|44|113|128|122|249|246|147|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0" WHERE `id`="' . $uidb . '" LIMIT 1'); - //208|117|170|44|113|253|122|249|246|147|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0 } elseif ($sellclass == 6) { // 6 // - $us = $this->add_effn($uidb, 9); // - $us = $this->add_effn($uidb, 32); // - $us = $this->add_effn($uidb, 53); // - $us = $this->add_effn($uidb, 439); // + $this->add_effn($uidb, 9); // + $this->add_effn($uidb, 32); // + $this->add_effn($uidb, 53); // + $this->add_effn($uidb, 439); // + $items = [ + 1 => 531, + 2 => 534, + 3 => 1026, + 4 => 291, + 5 => 548, + 7 => 629, + 8 => 658, + 9 => 675, + 10 => 693, + 11 => 693, + 12 => 693, + 13 => 699, + 16 => 711, + 17 => 714, + ]; + foreach ($items as $slot => $itemId) { + $re = $this->u->addItem($itemId, $uidb); + $stmt1->execute([$slot, $re]); + $stmt2->execute([$itemId, $re]); + } - mysql_query("INSERT INTO `stats` (`id`,`stats`,`ability`,`skills`,exp) VALUES ('" . $uidb . "','s1=14|s2=3|s3=3|s4=25|rinv=40|m9=5|m6=10|s7=0|a1=0|a2=0|a3=0|a4=0|a5=3|mg1=0|mg2=6|mg3=0|mg4=0|mg5=0|mg6=0|mg7=0|s5=13|s6=40|a6=0|s8=0|s9=0|s10=0|s11=0|s12=0|s13=0|s14=0|s15=0',-75,-9,100000)"); - $re = $this->u->addItem(531, $uidb); - mysql_query('UPDATE `items_users` SET `inodet` = 1 WHERE `id` = "' . $re . '" LIMIT 1'); - $price = mysql_fetch_array(mysql_query('SELECT `price_1` FROM `items_shop` WHERE `item_id` = "531" AND `sid`=1 LIMIT 1')); - mysql_query('UPDATE `items_users` SET `1price` = "' . $price['price_1'] . '" WHERE `id` = "' . $re . '" LIMIT 1'); - - $re = $this->u->addItem(534, $uidb); - mysql_query('UPDATE `items_users` SET `inodet` = 2 WHERE `id` = "' . $re . '" LIMIT 1'); - $price = mysql_fetch_array(mysql_query('SELECT `price_1` FROM `items_shop` WHERE `item_id` = "534" AND `sid`=1 LIMIT 1')); - mysql_query('UPDATE `items_users` SET `1price` = "' . $price['price_1'] . '" WHERE `id` = "' . $re . '" LIMIT 1'); - - $re = $this->u->addItem(1026, $uidb); - mysql_query('UPDATE `items_users` SET `inodet` = 3 WHERE `id` = "' . $re . '" LIMIT 1'); - $price = mysql_fetch_array(mysql_query('SELECT `price_1` FROM `items_shop` WHERE `item_id` = "1026" AND `sid`=1 LIMIT 1')); - mysql_query('UPDATE `items_users` SET `1price` = "' . $price['price_1'] . '" WHERE `id` = "' . $re . '" LIMIT 1'); - - $re = $this->u->addItem(291, $uidb); - mysql_query('UPDATE `items_users` SET `inodet` = 4 WHERE `id` = "' . $re . '" LIMIT 1'); - $price = mysql_fetch_array(mysql_query('SELECT `price_1` FROM `items_shop` WHERE `item_id` = "291" AND `sid`=1 LIMIT 1')); - mysql_query('UPDATE `items_users` SET `1price` = "' . $price['price_1'] . '" WHERE `id` = "' . $re . '" LIMIT 1'); - - $re = $this->u->addItem(548, $uidb); - mysql_query('UPDATE `items_users` SET `inodet` = 5 WHERE `id` = "' . $re . '" LIMIT 1'); - $price = mysql_fetch_array(mysql_query('SELECT `price_1` FROM `items_shop` WHERE `item_id` = "548" AND `sid`=1 LIMIT 1')); - mysql_query('UPDATE `items_users` SET `1price` = "' . $price['price_1'] . '" WHERE `id` = "' . $re . '" LIMIT 1'); - - $re = $this->u->addItem(629, $uidb); - mysql_query('UPDATE `items_users` SET `inodet` = 7 WHERE `id` = "' . $re . '" LIMIT 1'); - $price = mysql_fetch_array(mysql_query('SELECT `price_1` FROM `items_shop` WHERE `item_id` = "629" AND `sid`=1 LIMIT 1')); - mysql_query('UPDATE `items_users` SET `1price` = "' . $price['price_1'] . '" WHERE `id` = "' . $re . '" LIMIT 1'); - - $re = $this->u->addItem(699, $uidb); - mysql_query('UPDATE `items_users` SET `inodet` = 13 WHERE `id` = "' . $re . '" LIMIT 1'); - $price = mysql_fetch_array(mysql_query('SELECT `price_1` FROM `items_shop` WHERE `item_id` = "699" AND `sid`=1 LIMIT 1')); - mysql_query('UPDATE `items_users` SET `1price` = "' . $price['price_1'] . '" WHERE `id` = "' . $re . '" LIMIT 1'); - - $re = $this->u->addItem(711, $uidb); - mysql_query('UPDATE `items_users` SET `inodet` = 16 WHERE `id` = "' . $re . '" LIMIT 1'); - $price = mysql_fetch_array(mysql_query('SELECT `price_1` FROM `items_shop` WHERE `item_id` = "711" AND `sid`=1 LIMIT 1')); - mysql_query('UPDATE `items_users` SET `1price` = "' . $price['price_1'] . '" WHERE `id` = "' . $re . '" LIMIT 1'); - - $re = $this->u->addItem(714, $uidb); - mysql_query('UPDATE `items_users` SET `inodet` = 17 WHERE `id` = "' . $re . '" LIMIT 1'); - $price = mysql_fetch_array(mysql_query('SELECT `price_1` FROM `items_shop` WHERE `item_id` = "714" AND `sid`=1 LIMIT 1')); - mysql_query('UPDATE `items_users` SET `1price` = "' . $price['price_1'] . '" WHERE `id` = "' . $re . '" LIMIT 1'); - ///------- - $re = $this->u->addItem(658, $uidb); - mysql_query('UPDATE `items_users` SET `inodet` = 8 WHERE `id` = "' . $re . '" LIMIT 1'); - $price = mysql_fetch_array(mysql_query('SELECT `price_1` FROM `items_shop` WHERE `item_id` = "658" AND `sid`=1 LIMIT 1')); - mysql_query('UPDATE `items_users` SET `1price` = "' . $price['price_1'] . '" WHERE `id` = "' . $re . '" LIMIT 1'); - - $re = $this->u->addItem(675, $uidb); - mysql_query('UPDATE `items_users` SET `inodet` = 9 WHERE `id` = "' . $re . '" LIMIT 1'); - $price = mysql_fetch_array(mysql_query('SELECT `price_1` FROM `items_shop` WHERE `item_id` = "675" AND `sid`=1 LIMIT 1')); - mysql_query('UPDATE `items_users` SET `1price` = "' . $price['price_1'] . '" WHERE `id` = "' . $re . '" LIMIT 1'); - - $re = $this->u->addItem(693, $uidb); - mysql_query('UPDATE `items_users` SET `inodet` = 10 WHERE `id` = "' . $re . '" LIMIT 1'); - $price = mysql_fetch_array(mysql_query('SELECT `price_1` FROM `items_shop` WHERE `item_id` = "693" AND `sid`=1 LIMIT 1')); - mysql_query('UPDATE `items_users` SET `1price` = "' . $price['price_1'] . '" WHERE `id` = "' . $re . '" LIMIT 1'); - $re = $this->u->addItem(693, $uidb); - mysql_query('UPDATE `items_users` SET `inodet` = 11 WHERE `id` = "' . $re . '" LIMIT 1'); - $price = mysql_fetch_array(mysql_query('SELECT `price_1` FROM `items_shop` WHERE `item_id` = "693" AND `sid`=1 LIMIT 1')); - mysql_query('UPDATE `items_users` SET `1price` = "' . $price['price_1'] . '" WHERE `id` = "' . $re . '" LIMIT 1'); - $re = $this->u->addItem(693, $uidb); - mysql_query('UPDATE `items_users` SET `inodet` = 12 WHERE `id` = "' . $re . '" LIMIT 1'); - $price = mysql_fetch_array(mysql_query('SELECT `price_1` FROM `items_shop` WHERE `item_id` = "693" AND `sid`=1 LIMIT 1')); - mysql_query('UPDATE `items_users` SET `1price` = "' . $price['price_1'] . '" WHERE `id` = "' . $re . '" LIMIT 1'); - ///---- - mysql_query('UPDATE `stats` SET `priems`="208|93|98|260|39|263|257|104|30|147|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0" WHERE `id`="' . $uidb . '" LIMIT 1'); - //208|93|98|260|39|287|257|104|261|147|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0 + $stmt3->execute( + [ + $uidb, + 's1=14|s2=3|s3=3|s4=25|rinv=40|m9=5|m6=10|s7=0|a1=0|a2=0|a3=0|a4=0|a5=3|mg1=0|mg2=6|mg3=0|mg4=0|mg5=0|mg6=0|mg7=0|s5=13|s6=40|a6=0|s8=0|s9=0|s10=0|s11=0|s12=0|s13=0|s14=0|s15=0', + '208|93|98|260|39|263|257|104|30|147|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0', + ] + ); } // // - $us = $this->add_effn($uidb, 37);// - $us = $this->add_effn($uidb, 38);// - $us = $this->add_effn($uidb, 283);// - - - $us = $this->add_effn($uidb, 25);// - $us = $this->add_effn($uidb, 296);// +6 + $this->add_effn($uidb, 37);// + $this->add_effn($uidb, 38);// + $this->add_effn($uidb, 283);// - - + $this->add_effn($uidb, 25);// + $this->add_effn($uidb, 296);// +6 + + Db::sql('update users set money = -3000, money2 = 0 where id = ?', [$uidb]); - mysql_query('UPDATE `users` SET `money` = -3000 , `money2` = 0 WHERE `id` = "' . $uidb . '" LIMIT 1'); // - $hpclon = mysql_fetch_array(mysql_query('SELECT `hpAll`,`mpAll` FROM `stats` WHERE `id` = "' . $uidb . '" LIMIT 1')); - mysql_query('UPDATE `stats` SET `hpNow` = "' . $hpclon['hpAll'] . '" `mpNow` = "' . $hpclon['mpAll'] . '" WHERE `id` = "' . $uidb . '" LIMIT 1'); + Db::sql('update stats set hpNow = hpAll, mpNow = mpAll where id = ?', [$uidb]); $this->u->info['id'] = $uidb; //============================================================================================= $this->error = ' 8 '; // echo ''; } - if ($z['invise'] == 1) { - $nxtID = mysql_fetch_array(mysql_query('SELECT COUNT(*) FROM `stats` WHERE `zv` = "' . $z['id'] . '"')); - $nxtID = $nxtID[0]; - } $this->u->info['login2'] = ''; - $blnc = $this->u->stats['reting']; - $z['tm' . $t1] += $blnc; - $upd = mysql_query('UPDATE `stats` SET `zv` = "' . $z['id'] . '",`team` = "' . $t1 . '" WHERE `id` = "' . $this->u->info['id'] . '" LIMIT 1'); - if (!$upd) { - $this->error = ' ...'; - } else { - mysql_query('UPDATE `users` SET `login2` = "' . $this->u->info['login2'] . '" WHERE `id` = "' . $this->u->info['id'] . '" LIMIT 1'); - mysql_query('UPDATE `zayvki` SET `tm1` = "' . $z['tm1'] . '", `tm2` = "' . $z['tm2'] . '" WHERE `id` = "' . $z['id'] . '" LIMIT 1'); - $this->error = ' ...'; + $upd = Db::run( + 'update stats set zv = ?, team = ? where id = ?', + [$z['id'], $t1, $this->u->info['id']] + ); + + if ($upd) { + Db::sql( + 'update users set login2 = ? where id = ?', + [$this->u->info['login2'], $this->u->info['id']] + ); + Db::sql( + 'update zayvki set tm1 = ?, tm2 = ? where id = ?', + [$z['tm1'], $z['tm2'], $z['id']] + ); $zi = $z; $this->u->info['zv'] = $z['id']; - $this->u->info['team'] = mysql_real_escape_string((int)$t1); + $this->u->info['team'] = $t1; + $this->error = ' ...'; + } else { + $this->error = ' ...'; } } } diff --git a/_incl_data/class/Insallah/Achievements.php b/_incl_data/class/Insallah/Achievements.php index ac26441f..f2132bfe 100644 --- a/_incl_data/class/Insallah/Achievements.php +++ b/_incl_data/class/Insallah/Achievements.php @@ -2,11 +2,14 @@ namespace Insallah; +use Core\Db; +use User; + class Achievements { - private $user; + private User $user; private $info; - private $data = [ + private array $data = [ 'zb' => [ 'questname' => '.', 'quest' => ' .', @@ -93,41 +96,51 @@ class Achievements ], ]; - public function __construct(\User $user) + public function __construct(User $user) { $this->user = $user; $this->info = Db::getRow('select * from users_achiv where id = ?', [$user->info['id']]); } - private function prizeName($int, $string) + //fixme: (NULL, NULL). + private function prizeName(?int $int, ?string $string): string { return in_array($string, ['.', '.']) ? $int . ' ' . $string : $string . ' ' . $int; } - private function drawSunduk($nagr, $whatInside, $tier) + private function drawSunduk($nagr, $whatInside, $tier): string { - return vsprintf('', + return vsprintf( + '', [ "location.href='\main.php?titul&nagr=$nagr'", "top.hi(this, ' $tier
    :
    $whatInside
    ', event, 2, 0, 1, 1, 'max-width:307px')", "top.hic();", "top.hic();", "https://img.new-combats.com/i/titul/nagr$tier.gif" - ]); + ] + ); } - public function getList() + public function getList(): string { $string = ''; $this->calculateCurrent(1); foreach ($this->data as $key => $value) { + //, ! // = ( ) // = () // 0. // , , . // - . FFUUUUUUUUUUUUUU!!! Ins. + + if (!is_numeric($value['check'][$this->info['klas' . $key]])) { + // - . 5.4 , 7.4 - . + $value['check'][$this->info['klas' . $key]] = 0; + } + $percentToSuccess = Math::get100Percentage( $value['check'][$this->info['klas' . $key] + 1] - $value['check'][$this->info['klas' . $key]], $this->info[$key] - $value['check'][$this->info['klas' . $key]] @@ -136,7 +149,8 @@ class Achievements $string .= '

    ' . $questname . '

    '; $string .= '' . $value['quest'] . '
    '; $string .= ' : ' . $this->info['klas' . $key] . ' '; - $string .= ' ' . mb_strtolower($value['check'][0]) . ': ' . $this->info[$key] . ' =' . $percentToSuccess . '%'; + $string .= ' ' . mb_strtolower($value['check'][0]) . ': ' . $this->info[$key] . ' = ' . $percentToSuccess . '%'; + //$string .= '' . $percentToSuccess . ''; $string .= Table::get([ ['', 1, 2, 3, 4, 5], @@ -182,6 +196,10 @@ class Achievements continue; } + if (is_null($this->info[$k])) { + $this->info[$k] = 0; + } + $this->info["klas$k"] = 0; $this->info["name$k"] = $this->data[$k]['questname']; $this->info["klasP$k"] = Math::get100Percentage($this->data[$k]['check'][1], $this->info[$k]); @@ -203,10 +221,10 @@ class Achievements } } - public function getInfo($user_id = null) + public function getInfo(?int $uid = null) { - if (!is_null($user_id)) { - $this->info = Db::getRow('select * from users_achiv where id = ?', [$user_id]); + if (!is_null($uid)) { + $this->info = \Core\Db::getRow('select * from users_achiv where id = ?', [$uid]); } $this->calculateCurrent(); return $this->info; @@ -220,7 +238,7 @@ class Achievements private function addOne($name) { - Db::sql("update users_achiv set $name = $name + 1 where id = ?", [$this->user->info['id']]); + \Core\Db::sql("update users_achiv set $name = $name + 1 where id = ?", [$this->user->info['id']]); } public function updateTier($name) @@ -240,12 +258,12 @@ class Achievements /** * @return array[] */ - public function getData() + public function getData(): array { return $this->data; } - public function hasNoTier4Access($nagr) + public function hasNoTier4Access($nagr): bool { return $this->user->info['level'] < 9 && in_array($nagr, [14, 15, 24, 25, 34, 35, 44, 45, 54, 55, 64, 65, 74, 75, 84, 85, 94, 95, 104, 105]); } @@ -257,7 +275,7 @@ class Achievements } } - public function getTypes() + public function getTypes(): array { return array_keys($this->data); } diff --git a/_incl_data/class/Insallah/Config.php b/_incl_data/class/Insallah/Config.php index 02d1d4f9..e0d493ab 100644 --- a/_incl_data/class/Insallah/Config.php +++ b/_incl_data/class/Insallah/Config.php @@ -1,16 +1,16 @@ startAllBattles(); -} \ No newline at end of file +//if (Tournament::IS_ENABLED) { +// (new Tournament())->startAllBattles(); +//} \ No newline at end of file diff --git a/_incl_data/class/Insallah/Core/Db.php b/_incl_data/class/Insallah/Core/Db.php deleted file mode 100644 index f4b24e48..00000000 --- a/_incl_data/class/Insallah/Core/Db.php +++ /dev/null @@ -1,170 +0,0 @@ - Config::DB_HOST - */ - const DB_HOST = '127.0.0.1'; // localhost - const DB_USER = 'newcom1_abk'; - const DB_PASSWORD = '4nWYsIM[c?}P'; - const DB_NAME = 'newcom1_abk'; - const CHARSET = 'cp1251'; - const DB_PREFIX = ''; - - /** - * @var PDO - */ - static private $db; - - /** - * @var null - */ - protected static $instance = null; - - /** - * DB constructor. - * @throws Exception - */ - public function __construct() - { - if (self::$instance === null) { - try { - self::$db = new PDO( - 'mysql:host=' . self::DB_HOST . ';dbname=' . self::DB_PREFIX . self::DB_NAME, - self::DB_USER, - self::DB_PASSWORD, - [ - PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION, - PDO::ATTR_DEFAULT_FETCH_MODE => PDO::FETCH_ASSOC, - PDO::MYSQL_ATTR_INIT_COMMAND => "SET NAMES " . self::CHARSET, - ] - ); - } catch (PDOException $e) { - throw new Exception ($e->getMessage()); - } - } - return self::$instance; - } - - /** - * @param $stmt - * @return PDOStatement - */ - public static function query($stmt) - { - return self::$db->query($stmt); - } - - /** - * @param $stmt - * @return PDOStatement - */ - public static function prepare($stmt) - { - return self::$db->prepare($stmt); - } - - /** - * @param $query - * @return int - */ - static public function exec($query) - { - return self::$db->exec($query); - } - - /** - * @return string - */ - static public function lastInsertId() - { - return self::$db->lastInsertId(); - } - - /** - * @param $query - * @param array $args - * @return PDOStatement - * @throws Exception - */ - public static function run($query, $args = []) - { - try { - if (!$args) { - return self::query($query); - } - $stmt = self::prepare($query); - $stmt->execute($args); - return $stmt; - } catch (PDOException $e) { - throw new Exception($e->getMessage()); - } - } - - /** - * @param $query - * @param array $args - * @return mixed - * @throws Exception - */ - public static function getRow($query, $args = []) - { - return self::run($query, $args)->fetch(); - } - - /** - * @param $query - * @param array $args - * @return array - * @throws Exception - */ - public static function getRows($query, $args = []) - { - return self::run($query, $args)->fetchAll(); - } - - /** - * @param $query - * @param array $args - * @return mixed - * @throws Exception - */ - public static function getValue($query, $args = []) - { - $result = self::getRow($query, $args); - if (!empty($result)) { - $result = array_shift($result); - } - return $result; - } - - /** - * @param $query - * @param array $args - * @return array - * @throws Exception - */ - public static function getColumn($query, $args = []) - { - return self::run($query, $args)->fetchAll(PDO::FETCH_COLUMN); - } - - /** - * @throws Exception - */ - public static function sql($query, $args = []) - { - self::run($query, $args); - } -} \ No newline at end of file diff --git a/_incl_data/class/Insallah/Core/Dbold.php b/_incl_data/class/Insallah/Core/Dbold.php new file mode 100644 index 00000000..73afd522 --- /dev/null +++ b/_incl_data/class/Insallah/Core/Dbold.php @@ -0,0 +1,165 @@ + Config::DB_HOST + */ + const DB_HOST = '127.0.0.1'; // localhost + const DB_USER = 'newcom1_abk'; + const DB_PASSWORD = '4nWYsIM[c?}P'; + const DB_NAME = 'newcom1_abk'; + const CHARSET = 'cp1251'; + const DB_PREFIX = ''; + + /** + * @var PDO + */ + static private $db; + + /** + * @var null + */ + protected static $instance = null; + + /** + * DB constructor. + * @throws Exception + */ + public function __construct() + { + if (self::$instance === null) { + try { + self::$db = new PDO( + 'mysql:host=' . self::DB_HOST . ';dbname=' . self::DB_PREFIX . self::DB_NAME, + self::DB_USER, + self::DB_PASSWORD, + [ + PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION, + PDO::ATTR_DEFAULT_FETCH_MODE => PDO::FETCH_ASSOC, + PDO::MYSQL_ATTR_INIT_COMMAND => "SET NAMES " . self::CHARSET, + ] + ); +// self::$db = Database::pdoinit(); + } catch (PDOException $e) { + throw new Exception($e->getMessage()); + } + } + return self::$instance; + } + + /** + * @param $stmt + * @return PDOStatement + */ + public static function query($stmt) + { + return self::$db->query($stmt); + } + + /** + * @param $stmt + * @return PDOStatement + */ + public static function prepare($stmt) + { + return self::$db->prepare($stmt); + } + + /** + * @param $query + * @return int + */ + static public function exec($query) + { + return self::$db->exec($query); + } + + /** + * @return string + */ + static public function lastInsertId() + { + return self::$db->lastInsertId(); + } + + /** + * @param $query + * @param array $args + * @return PDOStatement + * @throws Exception + */ + public static function run($query, $args = []) + { + try { + if (!$args) { + return self::query($query); + } + $stmt = self::prepare($query); + $stmt->execute($args); + return $stmt; + } catch (PDOException $e) { + throw new Exception($e->getMessage()); + } + } + + /** + * @param $query + * @param array $args + * @return mixed + */ + public static function getRow($query, $args = []) + { + return self::run($query, $args)->fetch(); + } + + /** + * @param $query + * @param array $args + * @return array + */ + public static function getRows($query, $args = []) + { + return self::run($query, $args)->fetchAll(); + } + + /** + * @param $query + * @param array $args + * @return mixed + */ + public static function getValue($query, $args = []) + { + $result = self::getRow($query, $args); + if (!empty($result)) { + $result = array_shift($result); + } + return $result; + } + + /** + * @param $query + * @param array $args + * @return array + */ + public static function getColumn($query, $args = []) + { + return self::run($query, $args)->fetchAll(PDO::FETCH_COLUMN); + } + + public static function sql($query, $args = []) + { + self::run($query, $args); + } +} \ No newline at end of file diff --git a/_incl_data/class/Insallah/Core/Math.php b/_incl_data/class/Insallah/Core/Math.php index d8430f07..32430fa9 100644 --- a/_incl_data/class/Insallah/Core/Math.php +++ b/_incl_data/class/Insallah/Core/Math.php @@ -5,19 +5,30 @@ namespace Insallah; /** All raw mathematics in one place. */ class Math { - public static function getPercentage($total, $number) + /** + * @param float|int $total + * @param int|null $number + * @return float + */ + public static function getPercentage($total, ?int $number): float { + if (is_null($number)) { + return 0; + } return $total > 0 ? round(($number * 100) / $total, 2) : 0; } - public static function get100Percentage($total, $number) + public static function get100Percentage($total, ?int $number) { + if (is_null($number)) { + return 0; + } return min(self::getPercentage($total, $number), 100); } /** Number-20% and Number+20% */ - public static function get20PercentRange($number) + public static function get20PercentRange($number): array { return [ 'min' => $number * ((100 - 20) / 100), diff --git a/_incl_data/class/Insallah/Math.php b/_incl_data/class/Insallah/Math.php new file mode 100644 index 00000000..8b329b08 --- /dev/null +++ b/_incl_data/class/Insallah/Math.php @@ -0,0 +1,37 @@ + 0 ? round(($number * 100) / $total, 2) : 0; + } + + + public static function get100Percentage($total, int $number) + { + return min(self::getPercentage($total, $number), 100); + } + + /** Number-20% and Number+20% */ + public static function get20PercentRange($number): array + { + return [ + 'min' => $number * ((100 - 20) / 100), + 'max' => $number * ((100 + 20) / 100), + ]; + } + + public static function addPercent($num, $percent) + { + return $num + (($percent / 100) * $num); + } +} \ No newline at end of file diff --git a/_incl_data/class/Insallah/Runes/Runes.php b/_incl_data/class/Insallah/Runes/Runes.php index e8cafdcc..e40b76c1 100644 --- a/_incl_data/class/Insallah/Runes/Runes.php +++ b/_incl_data/class/Insallah/Runes/Runes.php @@ -4,8 +4,7 @@ namespace Insallah; class Runes { - /** Создаём руну в зависимости от уровня. - * + /** . * @param $level * * @return array @@ -15,7 +14,7 @@ class Runes if (!in_array($level, [8, 9, 10])) { return []; } - $power = [8 => 3, 9 => 5, 10 => 7]; + $power = [8 => 3, 9 => 3, 10 => 5]; $stats = [8 => 1, 9 => 3, 10 => 3]; $rand9 = array_rand(array_flip(['hpAll', 'm2', 'm5'])); $runes = [ @@ -27,24 +26,24 @@ class Runes ['s5', 'm11', 'mpAll', 'pzm'] ]; $vars = [ - 's1' => ['Сила', mt_rand(1, $stats[$level])], - 's2' => ['Ловкость', mt_rand(1, $stats[$level])], - 's3' => ['Интуиция', mt_rand(1, $stats[$level])], - 's5' => ['Интеллект', mt_rand(1, $stats[$level])], - 'pa1' => ['Мощности Колющего урона', mt_rand(1, $power[$level])], - 'pa2' => ['Мощности Рубящего урона', mt_rand(1, $power[$level])], - 'pa3' => ['Мощности Дробящего урона', mt_rand(1, $power[$level])], - 'pa4' => ['Мощности Режущего урона', mt_rand(1, $power[$level])], - 'm2' => ['мф. Против Критического Удара', mt_rand(5, 15)], - 'm3' => ['МК', mt_rand(1, 3)], - 'antm3' => ['ПМК', mt_rand(1, 3)], - 'm5' => ['мф. Против Увертывания', mt_rand(5, 10)], - 'm11' => ['Мощности Магии стихии', mt_rand(1, $power[$level])], + 's1' => ['', mt_rand(1, $stats[$level])], + 's2' => ['', mt_rand(1, $stats[$level])], + 's3' => ['', mt_rand(1, $stats[$level])], + 's5' => ['', mt_rand(1, $stats[$level])], + 'pa1' => [' ', mt_rand(1, $power[$level])], + 'pa2' => [' ', mt_rand(1, $power[$level])], + 'pa3' => [' ', mt_rand(1, $power[$level])], + 'pa4' => [' ', mt_rand(1, $power[$level])], + 'm2' => ['. ', mt_rand(5, 15)], + 'm3' => ['', mt_rand(1, 3)], + 'antm3' => ['', mt_rand(1, 3)], + 'm5' => ['. ', mt_rand(5, 10)], + 'm11' => [' ', mt_rand(1, $power[$level])], 'hpAll' => ['HP', mt_rand(5, 15)], 'mpAll' => ['MP', mt_rand(10, 20)], - 'pzm' => ['Подавление защиты от магии', 1], - 'za' => ['Защита от Урона', mt_rand(5, 10)], - 'zma' => ['Защита от Магии', mt_rand(5, 10)] + 'pzm' => [' ', 1], + 'za' => [' ', mt_rand(5, 10)], + 'zma' => [' ', mt_rand(5, 10)] ]; $rune = $runes[array_rand($runes)]; // arr (s, pa\m, rand9\mpAll, other) @@ -52,40 +51,40 @@ class Runes $runeVals = [$vars[$rune[0]][1], $vars[$rune[1]][1], $vars[$rune[2]][1], $vars[$rune[3]][1]]; $resultRune = array_combine($rune, $runeVals); $resultText = array_combine($runeTxt, $runeVals); - if ($level < 10) { // Отрезаем параметр 4. + if ($level < 10) { // 4. array_pop($resultRune); array_pop($resultText); } - if ($level < 9) { // Отрезаем параметр 3. + if ($level < 9) { // 3. array_pop($resultRune); array_pop($resultText); } - //Строчка data в базу + // data $returnData = '|' . http_build_query($resultRune, '', '|'); $returnData = str_replace('|', '|add_', $returnData); - //Строчка человекопонятных параметров в статус. - $returnText = urldecode(http_build_query($resultText, '', ', ')); - $returnText = 'Характеристики Руны: ' . str_replace('=', ': +', $returnText) . '.'; + // . + $returnText = urldecode(http_build_query($resultText, '', ', ')); + $returnText = ' : ' . str_replace('=', ': +', $returnText) . '.'; return [$returnData, $returnText]; } - /** Выкусывает руну из предмета. + /** . * * @param array $itemDataArray - * data предмета + * data * - * @return array массив, item - предмет, rune - руна из предмета, rune_id - id руны. - * Оба в подготовленном строчном формате для data + * @return array , item - , rune - , rune_id - id . + * data */ public static function removeRuneData($itemDataArray) { - # Ищем есть ли в предмете руна определённого типа. + # . $runeid = array_search('rune_id', array_flip($itemDataArray)); if (!in_array($runeid, [6001, 6002, 6003])) { return []; } $bonusArgs = 0; - # В зависимости от типа руны считаем количество элементов-бонусов. + # -. if ($runeid === 6001) { $bonusArgs = 2; } diff --git a/_incl_data/class/Insallah/Table.php b/_incl_data/class/Insallah/Table.php new file mode 100644 index 00000000..b704f81a --- /dev/null +++ b/_incl_data/class/Insallah/Table.php @@ -0,0 +1,22 @@ +' . implode('', $row) . ''; + } + + return (!empty($class) ? "" : '
    ') . $c . '
    ' . PHP_EOL; + } +} \ No newline at end of file diff --git a/_incl_data/class/Insallah/Tournament/Tournament.php b/_incl_data/class/Insallah/Tournament/Tournament.php index c9a6147a..402167fb 100644 --- a/_incl_data/class/Insallah/Tournament/Tournament.php +++ b/_incl_data/class/Insallah/Tournament/Tournament.php @@ -5,17 +5,17 @@ namespace Insallah; class Tournament { const IS_ENABLED = true; - const SEND_CHAT_MESSAGE = 3; - const START_TOURNAMENT = 5; - const PRIZE1 = 25; - const PRIZE2 = 10; - const PRIZE3 = 5; + private const SEND_CHAT_MESSAGE = 3; + private const START_TOURNAMENT = 5; + private const PRIZE1 = 25; + private const PRIZE2 = 10; + private const PRIZE3 = 5; const MIN_EXP = 175000; - const CHAT_MESSAGE = '! %d ! !'; - const VICTORY_MESSAGE = ' %d ! : %s. : %s. : %s.'; - const DELAY1 = '+12hour'; - const DELAY2 = '+6hour'; - const DELAY3 = '+3hour'; + private const CHAT_MESSAGE = '! %d ! !'; + private const VICTORY_MESSAGE = ' %d ! : %s. : %s. : %s.'; + private const DELAY1 = '+12hour'; + private const DELAY2 = '+6hour'; + private const DELAY3 = '+3hour'; /** . * @@ -23,7 +23,7 @@ class Tournament * * @return float|int */ - public static function ekrOverpriceFormula($int) + public static function ekrOverpriceFormula(int $int): int { return ($int - 7) * 151; } @@ -31,20 +31,20 @@ class Tournament /** * , . * - * @param int $user_id + * @param int $uid * * @return void */ - public function join($user_id) + public function join(int $uid): void { /** level, 0 . */ - $userLevel = TournamentModel::getUserLevel($user_id); + $userLevel = TournamentModel::getUserLevel($uid); if ( $userLevel === 0 || - TournamentModel::isEkrOverpriced($user_id, $userLevel) || - !TournamentModel::isEnoughExperience($user_id) || - TournamentModel::IsRestrictedToJoin($user_id) || - TournamentModel::isStarted($user_id) + TournamentModel::isEkrOverpriced($uid, $userLevel) || + !TournamentModel::isEnoughExperience($uid) || + TournamentModel::isRestrictedToJoin($uid) || + TournamentModel::isStarted($uid) ) { return; } @@ -54,7 +54,7 @@ class Tournament TournamentModel::createTournament($userLevel); } - TournamentModel::joinTournament($user_id, $userLevel); + TournamentModel::joinTournament($uid, $userLevel); $mq++; if ($mq == self::SEND_CHAT_MESSAGE) { @@ -70,19 +70,21 @@ class Tournament * \. . * @return void */ - public function startAllBattles() + public function startAllBattles(): void { $db = new Db(); - $db::sql('delete from tournaments where start_time + date_add(start_time,interval 30 minute) < unix_timestamp()'); + $db::sql( + 'delete from tournaments where start_time + date_add(start_time,interval 30 minute) < unix_timestamp()' + ); TournamentModel::removeFighter(TournamentModel::getLooser()); - $tournament_levels = $db::getColumn('select tid from tournaments where start_time = -1'); - foreach ($tournament_levels as $level) { - $alive_fighters = TournamentModel::getFreeFighters($level); - if (count($alive_fighters) > 1) { - shuffle($alive_fighters); - $this->start_battle($alive_fighters); - } elseif (count($alive_fighters) === 1) { - TournamentModel::removeFighter($alive_fighters[0], true); + $tournamentLevels = $db::getColumn('select tid from tournaments where start_time = -1'); + foreach ($tournamentLevels as $level) { + $aliveFighters = TournamentModel::getFreeFighters($level); + if (count($aliveFighters) > 1) { + shuffle($aliveFighters); + $this->startBattle($aliveFighters); + } elseif (count($aliveFighters) === 1) { + TournamentModel::removeFighter($aliveFighters[0], true); $this->victory($level); } } @@ -91,13 +93,13 @@ class Tournament /** * . * - * @param array $fighters_list + * @param array $fightersList * * @return void */ - private function start_battle(array $fighters_list) + private function startBattle(array $fightersList): void { - $teams = TournamentModel::getFightersTeams($fighters_list); + $teams = TournamentModel::getFightersTeams($fightersList); foreach ($teams as $team) { if (count($team) === 2) { TournamentModel::startBattle($team[0], $team[1]); @@ -108,13 +110,13 @@ class Tournament /** * , . * - * @param int $tournament_id + * @param int $tid * * @return void */ - private function victory($tournament_id) + private function victory(int $tid): void { - $winners = TournamentModel::getWinners($tournament_id); + $winners = TournamentModel::getWinners($tid); sleep(1); TournamentModel::givePrizeItems($winners[1], self::PRIZE1); TournamentModel::givePrizeItems($winners[2], self::PRIZE2); @@ -124,12 +126,16 @@ class Tournament TournamentModel::giveDelay($winners[2], strtotime(self::DELAY2)); TournamentModel::giveDelay($winners[3], strtotime(self::DELAY3)); sleep(1); - TournamentModel::sysMessage(sprintf(self::VICTORY_MESSAGE, - $tournament_id, - TournamentModel::uidToLogin($winners[1]), - TournamentModel::uidToLogin($winners[2]), - TournamentModel::uidToLogin($winners[3]))); + TournamentModel::sysMessage( + sprintf( + self::VICTORY_MESSAGE, + $tid, + TournamentModel::uidToLogin($winners[1]), + TournamentModel::uidToLogin($winners[2]), + TournamentModel::uidToLogin($winners[3]) + ) + ); sleep(3); - TournamentModel::destroyTournament($tournament_id); + TournamentModel::destroyTournament($tid); } -} \ No newline at end of file +} diff --git a/_incl_data/class/Insallah/Tournament/TournamentModel.php b/_incl_data/class/Insallah/Tournament/TournamentModel.php index 6a06e5f1..428cea3a 100644 --- a/_incl_data/class/Insallah/Tournament/TournamentModel.php +++ b/_incl_data/class/Insallah/Tournament/TournamentModel.php @@ -13,7 +13,7 @@ class TournamentModel * * @return int */ - public static function getUserLevel($uid) + public static function getUserLevel(int $uid): int { $db = new Db(); $level = $db::getValue('select level from users where id = ? and level between 8 and 12 and battle = 0', [$uid]); @@ -21,12 +21,12 @@ class TournamentModel } /** - * @param int $uid - * @param int $level + * @param int $uid + * @param int|null $level * * @return bool */ - public static function isEkrOverpriced($uid, $level = null) + public static function isEkrOverpriced(int $uid, ?int $level = null): bool { $db = new Db(); if (is_null($level)) { @@ -41,7 +41,7 @@ class TournamentModel * * @return bool */ - public static function isEnoughExperience($uid) + public static function isEnoughExperience(int $uid): bool { $db = new Db(); return $db::getValue('select exp from stats where id = ?', [$uid]) >= Tournament::MIN_EXP; @@ -52,23 +52,21 @@ class TournamentModel * * @return bool */ - public static function IsRestrictedToJoin($uid) + public static function isRestrictedToJoin(int $uid): bool { $db = new Db(); - $delayEffect = $db::getValue('select count(*) from eff_users where uid = ? and id_eff = 486 and `delete` = 0', [$uid]); - return (bool)$delayEffect; + return $db::getValue('select count(*) from eff_users where uid = ? and id_eff = 486 and `delete` = 0', [$uid]); } /** - * @param $tid + * @param int $tid * * @return bool */ - public static function isStarted($tid) + public static function isStarted(int $tid): bool { $db = new Db(); - $status = $db::getValue('select count(*) from tournaments where start_time = -1 and tid = ?', [$tid]); - return (bool)$status; + return $db::getValue('select count(*) from tournaments where start_time = -1 and tid = ?', [$tid]); } /** @@ -78,7 +76,7 @@ class TournamentModel * * @return int */ - public static function getWaitingMembersQuantity($tid) + public static function getWaitingMembersQuantity(int $tid): int { $db = new Db(); return $db::getValue('select count(*) from tournaments_users where tid = ?', [$tid]); @@ -91,7 +89,7 @@ class TournamentModel * * @return void */ - public static function createTournament($tid) + public static function createTournament(int $tid): void { $db = new Db(); $db::sql('insert into tournaments (tid) values (?)', [$tid]); @@ -105,13 +103,13 @@ class TournamentModel * * @return void */ - public static function joinTournament($uid, $tid) + public static function joinTournament(int $uid, int $tid): void { /** 25008 - 25012. */ - $room_id = 25000 + $tid; + $roomId = 25000 + $tid; $db = new Db(); $db::sql('insert into tournaments_users (tid, uid) values (?, ?)', [$tid, $uid]); - self::teleport($uid, $room_id); + self::teleport($uid, $roomId); } /** @@ -121,7 +119,7 @@ class TournamentModel * * @return void */ - public static function startTournament($tid) + public static function startTournament(int $tid): void { $db = new Db(); $db::sql('update tournaments set start_time = -1 where tid = ?', [$tid]); @@ -134,7 +132,7 @@ class TournamentModel * * @return void */ - public static function destroyTournament($tid) + public static function destroyTournament(int $tid): void { $db = new Db(); // foreign_keys tournaments_users !!! @@ -144,14 +142,14 @@ class TournamentModel /** * . + 1 . * - * @param array $fighters_list + * @param array $fightersList * * @return array */ - public static function getFightersTeams(array $fighters_list) + public static function getFightersTeams(array $fightersList): array { $db = new Db(); - $query = sprintf("select id from users where battle = 0 and id in (%s)", implode(', ', $fighters_list)); + $query = sprintf("select id from users where battle = 0 and id in (%s)", implode(', ', $fightersList)); return array_chunk($db::getColumn($query), 2); } @@ -162,7 +160,7 @@ class TournamentModel * * @return array */ - public static function getFreeFighters($tid) + public static function getFreeFighters(int $tid): array { $db = new Db(); return $db::getColumn('select uid from tournaments_users where tid = ? and death_time = 0 order by uid', [$tid]); @@ -175,7 +173,7 @@ class TournamentModel * * @return array */ - public static function getWinners($tid) + public static function getWinners(int $tid): array { $db = new Db(); $winners = $db::getColumn('select uid from tournaments_users where tid = ? order by death_time desc limit 3', [$tid]); @@ -193,18 +191,18 @@ class TournamentModel public static function getLooser() { $query = ' - select uid, battle - from - battle_users, - (select id, team_win - from battle - where - team_win > 0 and - typeBattle = 25000 - order by time_over desc - limit 1) as last_battle - where - battle_users.battle = last_battle.id and + select uid, battle + from + battle_users, + (select id, team_win + from battle + where + team_win > 0 and + typeBattle = 25000 + order by time_over desc + limit 1) as last_battle + where + battle_users.battle = last_battle.id and battle_users.team != last_battle.team_win and battle_users.uid in (select uid from tournaments_users where death_time = 0)'; @@ -214,19 +212,21 @@ class TournamentModel where typeBattle = 25000 and death_time = 0 order by b.time_start desc limit 1'; $db = new Db; $row = $db::getRow($query); - return $row['uid']; + return $row['uid'] ?? 0; } /** * . * - * @param int $uid - * + * @param int $uid + * @param bool $winner * @return void */ - public static function removeFighter($uid, $winner = false) + public static function removeFighter(int $uid, bool $winner = false): void { - if (!$uid) return; + if (!$uid) { + return; + } //$winner_timer_add = $winner? 500 : 0; # . $db = new Db(); $db::sql('update tournaments_users set death_time = unix_timestamp() + 500 where death_time = 0 and uid = ?', [$uid]); @@ -243,7 +243,7 @@ class TournamentModel * * @return mixed */ - public static function getTournamentIdByUserId($uid) + public static function getTournamentIdByUserId(int $uid) { $db = new Db(); return $db::getValue('select tid from tournaments_users where uid = ?', [$uid]); @@ -260,15 +260,15 @@ class TournamentModel * * @return void */ - public static function startBattle($uid1, $uid2) + public static function startBattle(int $uid1, int $uid2): void { $db = new Db(); $check = Db::getValue('select count(*) from users where id in (?, ?) and battle = 0', [$uid1, $uid2]); - if ((int)$check !== 2) { + if ($check !== 2) { return; } - $db::exec('insert into battle (city, time_start, timeout, type, invis, noinc, travmChance, typeBattle) + $db::exec('insert into battle (city, time_start, timeout, type, invis, noinc, travmChance, typeBattle) values (\'capitalcity\', unix_timestamp(), 60, 0, 1, 1, 0, 25000)'); $bid = $db::lastInsertId(); // ! $db::sql('update stats set team = 1, hpNow = hpAll, mpNow = mpAll where id = ?', [$uid1]); @@ -283,7 +283,7 @@ class TournamentModel * * @return mixed */ - public static function uidToLogin($uid) + public static function uidToLogin(int $uid) { $db = new Db(); return $db::getValue('select login from users where id = ?', [$uid]); @@ -293,14 +293,14 @@ class TournamentModel * . * * @param int $uid - * @param int $room_id + * @param int $roomId * * @return void */ - private static function teleport($uid, $room_id) + private static function teleport(int $uid, int $roomId): void { $db = new Db(); - $db::sql('update users set room = ? where id = ?', [$room_id, $uid]); + $db::sql('update users set room = ? where id = ?', [$roomId, $uid]); } /** @@ -310,7 +310,7 @@ class TournamentModel * * @return void */ - public static function sysMessage($message) + public static function sysMessage(string $message): void { if (!empty($message)) { $db = new Db(); @@ -327,9 +327,9 @@ class TournamentModel * * @return void */ - public static function givePrizeItems($uid, $quantity) + public static function givePrizeItems(int $uid, int $quantity): void { - $query = 'insert into items_users (item_id, uid, data, iznosMAX, lastUPD, time_create) + $query = 'insert into items_users (item_id, uid, data, iznosMAX, lastUPD, time_create) values (4754, :uid, :data, 1, unix_timestamp(), unix_timestamp())'; $args = [ 'uid' => $uid, @@ -343,16 +343,16 @@ class TournamentModel } /** - . - * @param $uid - * @param $unix_time + * @param int $uid + * @param int $unixtime * * @return void */ - public static function giveDelay($uid, $unix_time) + public static function giveDelay(int $uid, int $unixtime): void { $db = new Db(); $query = 'insert into eff_users (id_eff, uid, name, timeUse) VALUES (?,?,?,?)'; - $args = [486, $uid, ' !', $unix_time]; + $args = [486, $uid, ' !', $unixtime]; $db::sql($query, $args); } -} \ No newline at end of file +} diff --git a/_incl_data/class/Insallah/Tournaments/Config.php b/_incl_data/class/Insallah/Tournaments/Config.php new file mode 100644 index 00000000..9a74fd9f --- /dev/null +++ b/_incl_data/class/Insallah/Tournaments/Config.php @@ -0,0 +1,35 @@ +u = Db::getRow('select id, `level`, login, battle from users where id = ?', [$uid]); + return $this; + } + + public function getAllowedLevel(): int + { + return $this->u['level'] >= Config::MINIMUM_USER_LEVEL && $this->u['battle'] === 0 ? $this->u['level'] : 0; + } + + /** + * @return bool + */ + public function isEkrOverpriced(): bool + { + return Db::getValue('select sum(2price) from items_users where inOdet > 0 and uid = ?', [$this->u['id']]) + > Config::ekrOverpriceFormula($this->u['level']); + } + + /** + * @return bool + */ + public function isEnoughExperience(): bool + { + return Db::getValue('select exp from stats where id = ?', [$this->u['id']]) >= Config::MIN_EXP; + } + + /** + * @return bool + */ + public function isRestrictedToJoin(): bool + { + return Db::getValue('select count(*) from eff_users where uid = ? and id_eff = ? and `delete` = 0', [ + $this->u['id'], Config::DELAY_EFFECT_ID,] + ) > 0; + } + + /** + * id. + * + * @return mixed + */ + public function uidToLogin() + { + return $this->u['login']; + } + + /** + * . + * + * @param bool $out - . + * + * @return void + */ + public function teleport(bool $out = false) + { + $roomId = $out ? Config::RETURN_ROOM : Config::CUSTOM_BATTLE_ID + $this->u['level']; + Db::sql('update users set room = ? where id = ?', [$roomId, $this->u['id']]); + } + + /** + * , 11. + * noinc - + * invis - + * + * @param array $fightersList + * + * @return void + */ + public static function startBattle(array $fightersList) + { + $teamsq = sprintf("select id from users where battle = 0 and id in (%s)", implode(', ', $fightersList)); + $teams = array_chunk(Db::getColumn($teamsq), 2); + foreach ($teams as $team) { + if (count($team) !== 2) { + continue; + } + Db::exec( + 'insert into battle (city, time_start, timeout, type, invis, noinc, travmChance, typeBattle) + values (\'capitalcity\', unix_timestamp(), 60, 0, 1, 1, 0, ' . Config::CUSTOM_BATTLE_ID . ')' + ); + $battleId = Db::lastInsertId(); + Db::sql('update stats set team = 1, zv = 0, hpNow = hpAll, mpNow = mpAll where id = ?', [$team[0]]); + Db::sql('update stats set team = 2, zv = 0, hpNow = hpAll, mpNow = mpAll where id = ?', [$team[1]]); + $query = sprintf('update users set battle = %d where id in (%d, %d)', $battleId, $team[0], $team[1]); + Db::exec($query); + } + } + + /** + * $quantity $uid. + * + * @param int $quantity + * + * @return void + */ + public function givePrizeItems(int $quantity) + { + $query = 'insert into items_users (item_id, uid, `data`, iznosMAX, lastUPD, time_create) + values (' . Config::PRIZE_ITEM_ID . ', :uid, :data, 1, unix_timestamp(), unix_timestamp())'; + $args = [ + 'uid' => $this->u['id'], + 'data' => 'nosale=1|musor=1|sudba=' . $this->uidToLogin() . '|lvl=8|tr_s1=0|tr_s2=0|tr_s3=0|tr_s4=0', + ]; + $stmt = Db::prepare($query); + for ($i = 0; $i < $quantity; $i++) { + $stmt->execute($args); + } + } + + /** - . + * + * @param int $unixtime + * + * @return void + */ + public function giveDelay(int $unixtime) + { + $query = 'insert into eff_users (id_eff, uid, `name`, timeUse) select id2, ?, mname, ? from eff_main where id2 = ?'; + $args = [Config::DELAY_EFFECT_ID, $this->u['id'], strtotime($unixtime)]; + Db::sql($query, $args); + } + + /** + * . + * @return mixed + */ + public static function getLooser(): int + { + $query = ' + select uid + from + battle_users, + (select id, team_win + from battle + where + team_win > 0 and + typeBattle = ' . Config::CUSTOM_BATTLE_ID . ' + order by time_over desc + limit 1) as last_battle + where + battle_users.battle = last_battle.id and + battle_users.team != last_battle.team_win'; + return Db::getValue($query); + } + + /** + * $message . + * + * @param string $message + * + * @return void + */ + public static function sysMessage(string $message) + { + if (empty($message)) { + return; + } + Db::sql('insert into chat (`time`, type, `text`, new, da) values (unix_timestamp(), 6, ?, 1, 1)', [$message]); + } +} diff --git a/_incl_data/class/Insallah/Tournaments/Model/Tournament.php b/_incl_data/class/Insallah/Tournaments/Model/Tournament.php new file mode 100644 index 00000000..30dda0c7 --- /dev/null +++ b/_incl_data/class/Insallah/Tournaments/Model/Tournament.php @@ -0,0 +1,114 @@ +t = Db::getRows('select * from tournaments') ?? []; + } + + public function getAllStarted(): array + { + $tidList = []; + foreach ($this->t as $row) { + if ($row['start_time'] === -1) { + $tidList[] = $row['tid']; + } + } + return $tidList; + } + + public function isStarted(int $tid): bool + { + foreach ($this->t as $row) { + if ($row['start_time'] === -1 && $row['tid'] === $tid) { + return true; + } + } + return false; + } + + public function getList(): string + { + $list = ''; + $tournamentMembersId = new User(); + foreach ($this->t as $row) { + $time = $row['start_time'] === -1 ? ' !' : date('G:i', $row['start_time']); + $members = []; + foreach ($tournamentMembersId->getAlive($row['tid']) as $member) { + $members[] = (new GameConnector())->setUser($member)->uidToLogin(); + } + $list .= sprintf( + "
  • %d .
    : %s
    : %s
  • ", + $row['tid'], + $time, + implode(', ', $members) + ); + } + return $list ? "
    .
      $list
    " : ''; + } + + public function getOne(int $tid): string + { + $str = ''; + $tournamentMembersId = new User(); + foreach ($this->t as $row) { + if ($this->t['tid'] === $tid) { + $time = $row['start_time'] === -1 ? ' !' : date('G:i', $row['start_time']); + $members = []; + foreach ($tournamentMembersId->getAlive($row['tid']) as $member) { + $members[] = (new GameConnector())->setUser($member)->uidToLogin(); + } + $str = sprintf( + "
    %d .
    : %s
    : %s
    ", + $row['tid'], + $time, + implode(', ', $members) + ); + } + } + return $str; + } + + /** + * . + * + * @param int $tid + * + * @return void + */ + public static function create(int $tid) + { + Db::sql('insert into tournaments (tid) values (?)', [$tid]); + } + + /** + * . + * + * @param int $tid + * + * @return void + */ + public static function start(int $tid) + { + Db::sql('update tournaments set start_time = -1 where tid = ?', [$tid]); + } + + /** + * . + * + * @param int $tid + * + * @return void + */ + public static function destroy(int $tid) + { + Db::sql('delete from tournaments where tid = ?', [$tid]); + } +} diff --git a/_incl_data/class/Insallah/Tournaments/Model/User.php b/_incl_data/class/Insallah/Tournaments/Model/User.php new file mode 100644 index 00000000..4455fe61 --- /dev/null +++ b/_incl_data/class/Insallah/Tournaments/Model/User.php @@ -0,0 +1,128 @@ +u = Db::getRows('select * from tournaments_users'); + } + + + /** + * . + * + * @param int $tid + * + * @return int + */ + public function getWaitingQuantity(int $tid): int + { + foreach ($this->u as $row) { + if ($row['tid'] === $tid) { + $this->addWaitingUser(); + } + } + return $this->waitingUsers; + } + + public function addWaitingUser() + { + $this->waitingUsers++; + } + + /** + * . + * + * @param int $uid + * @param int $tid + * + * @return void + */ + public function joinTournament(int $uid, int $tid) + { + Db::sql('insert into tournaments_users (tid, uid) values (?, ?)', [$tid, $uid]); + (new GameConnector())->setUser($uid)->teleport(); + } + + /** + * . + * + * @param int $tid + * @param bool $shuffle - true . + * + * @return array + */ + public function getAlive(int $tid, bool $shuffle = false): array + { + $arr = []; + foreach ($this->u as $row) { + if ($row['tid'] === $tid && $row['death_time'] === 0) { + $arr[] = $row['uid']; + } + } + if ($shuffle) { + shuffle($arr); + } + return $arr; + } + + /** + * . + * + * @param int $tid + * + * @return array + */ + public function getWinners(int $tid): array + { + $users = []; + $dt = []; + foreach ($this->u as $item) { + if ($item['tid'] === $tid) { + $users[]['uid'] = $item['uid']; + $users[]['death_time'] = $item['death_time']; + } + } + foreach ($users as $k => $v) { + $dt[$k] = $v['death_time']; + } + array_multisort($dt, SORT_DESC, $users); + return [ + 1 => $users[0], + 2 => $users[1], + 3 => $users[2] + ]; + } + + /** + * . + * + * @param int $uid + * + * @return void + */ + public static function remove(int $uid) + { + Db::sql('update tournaments_users set death_time = unix_timestamp() where death_time = 0 and uid = ?', [$uid]); + (new GameConnector())->setUser($uid)->teleport(true); + } + + /** + * id id . + * + * @param int $uid + * + * @return mixed + */ + public static function getTournamentIdByUserId(int $uid): int + { + return Db::getValue('select tid from tournaments_users where uid = ?', [$uid]); + } +} diff --git a/_incl_data/class/Insallah/Tournaments/Tournament.php b/_incl_data/class/Insallah/Tournaments/Tournament.php new file mode 100644 index 00000000..e1a78f28 --- /dev/null +++ b/_incl_data/class/Insallah/Tournaments/Tournament.php @@ -0,0 +1,104 @@ +setUser($uid)->getAllowedLevel(); + + if ( + $userLevel === 0 || + $checks->isEkrOverpriced() || + !$checks->isEnoughExperience() || + $checks->isRestrictedToJoin() || + $tournament->isStarted($uid) + ) { + return; + } + + $user = new Model\User(); + + if (empty($user->getWaitingQuantity($userLevel))) { + Model\Tournament::create($userLevel); + } + + $user->joinTournament($uid, $userLevel); + $user->addWaitingUser(); + + if ($user->getWaitingQuantity($userLevel) == Config::SEND_CHAT_MESSAGE) { + Model\GameConnector::sysMessage(sprintf(Config::CHAT_MESSAGE, $userLevel)); + } + + if ($user->getWaitingQuantity($userLevel) == Config::START_TOURNAMENT) { + Model\Tournament::start($userLevel); + } + } + + /** + * \. . + * @return void + */ + public static function startAllBattles() + { + if (!Config::IS_ENABLED) { + return; + } + $tournamentlevels = new Model\Tournament(); + $alivefighters = new Model\User(); + Model\User::remove(Model\GameConnector::getLooser()); + foreach ($tournamentlevels->getAllStarted() as $level) { + $count = count($alivefighters->getAlive($level, true)); + if ($count > 1) { + Model\GameConnector::startBattle($alivefighters->getAlive($level, true)); + } elseif ($count === 1) { + Model\User::remove($alivefighters->getAlive($level, true)[0]); + self::victory($level); + } + } + } + + /** + * , . + * + * @param int $tid + * + * @return void + */ + private static function victory(int $tid) + { + $u = new Model\User(); + $uid = new Model\GameConnector(); + sleep(1); + $uid->setUser($u->getWinners($tid)[1])->givePrizeItems(Config::PRIZE1); + $uid->setUser($u->getWinners($tid)[2])->givePrizeItems(Config::PRIZE2); + $uid->setUser($u->getWinners($tid)[3])->givePrizeItems(Config::PRIZE3); + sleep(1); + $uid->setUser($u->getWinners($tid)[1])->giveDelay(Config::DELAY1); + $uid->setUser($u->getWinners($tid)[2])->giveDelay(Config::DELAY2); + $uid->setUser($u->getWinners($tid)[3])->giveDelay(Config::DELAY3); + sleep(1); + Model\GameConnector::sysMessage( + sprintf( + Config::VICTORY_MESSAGE, + $tid, + $uid->setUser($u->getWinners($tid)[1])->uidToLogin(), + $uid->setUser($u->getWinners($tid)[2])->uidToLogin(), + $uid->setUser($u->getWinners($tid)[3])->uidToLogin() + ) + ); + sleep(3); + Model\Tournament::destroy($tid); + } +} diff --git a/_incl_data/class/Insallah/Tournaments/View/TList.php b/_incl_data/class/Insallah/Tournaments/View/TList.php new file mode 100644 index 00000000..15ec969c --- /dev/null +++ b/_incl_data/class/Insallah/Tournaments/View/TList.php @@ -0,0 +1,52 @@ +str = '
    !
    '; + return; + } + $tournamentstatus = new Tournament(); + $this->str = '
    + ! +
      +
    • !
    • '; + if ((new GameConnector())->setUser($user->info['id'])->isEkrOverpriced()) { + $this->str .= '
    • , + ' . Config::ekrOverpriceFormula($user->info['level']) . ' . +
    • '; + } + if ($user->info['exp'] < Config::MIN_EXP) { + $this->str .= '
    • ' . Config::MIN_EXP . ' .
    • '; + } + $this->str .= '
    • , + ' . Config::START_TOURNAMENT . ' .
    • +
    +
    '; + $this->str .= $tournamentstatus->getList(); + if (!User::getTournamentIdByUserId($user->info['id']) || !$tournamentstatus->isStarted($user->info['level'])) { + $this->str .= '
    + + +
    '; + } else { + $this->str .= ' .'; + } + } + + public function __toString() + { + return $this->str; + } +} diff --git a/_incl_data/class/Learming.php b/_incl_data/class/Learming.php new file mode 100644 index 00000000..53ded554 --- /dev/null +++ b/_incl_data/class/Learming.php @@ -0,0 +1,46 @@ +uid = $user->info['id']; + $this->shouldStartLearning = $user->info['shouldStartLearning']; + } + + public function getLearningStatus() + { + if (!isset($this->shouldStartLearning)) { + Db::sql('insert into users_learming (uid) value (?)' , + [$this->uid]); + return 1; + } + return (bool)$this->shouldStartLearning; + } + + public function hasLearned() + { + if (!isset($this->shouldStartLearning)) { + return false; + } + $this->shouldStartLearning = 0; + $this->save(); + return true; + } + + private function save() + { + if (empty($this->uid) || empty($this->shouldStartLearning)) { + return; + } + Db::sql('replace into users_learming (uid, shouldStartLearming) values (?,?)', + [$this->uid, $this->shouldStartLearning]); + } +} \ No newline at end of file diff --git a/_incl_data/class/Magic.php b/_incl_data/class/Magic.php index 17a69186..561a4b5f 100644 --- a/_incl_data/class/Magic.php +++ b/_incl_data/class/Magic.php @@ -27,7 +27,7 @@ class Magic } } - //Использование предмета + // public function useItems($id) { global $u, $btl; @@ -36,17 +36,17 @@ class Magic $bs_is = mysql_fetch_array(mysql_query('SELECT * FROM `bs_turnirs` WHERE `id` = "' . $u->info['inTurnir'] . '" LIMIT 1')); if (isset($itm['id'])) { - //Группа предметов + // if ($itm['group'] == 1 && $u->itemsX($itm['id']) > 1) { - //вытаскиваем предмет из группы + // $u->unstack($itm['id'], 1); } $st = $u->lookStats($itm['data']); if (isset($st['tr_lvl']) && $st['tr_lvl'] > $u->info['level']) { - $u->error = 'Вы слишком малы чтобы использовать данный предмет '; - return 'Вы слишком малы чтобы использовать данный предмет'; + $u->error = ' '; + return ' '; } if ($itm['magic_chance'] > 0 && $itm['magic_chance'] < 100) { @@ -65,30 +65,30 @@ class Magic } if ($itm['iznosNOW'] >= $itm['iznosMAX']) { - $u->error = 'Не осталось зарядов...'; + $u->error = ' ...'; } elseif ($st['useOnlyInBattle'] == 1 && $u->info['battle'] == 0) { - //Можно использовать только в поединке - $u->error = 'Можно использовать только в поединке'; + // + $u->error = ' '; } elseif ($u->info['battle'] > 0 && $itm['btl_zd'] > 0) { - //Можно использовать только в поединке - $u->error = 'Задержка использования еще ' . $itm['btl_zd'] . ' ходов'; + // + $u->error = ' ' . $itm['btl_zd'] . ' '; } elseif ($st['useOnlyInBattle'] == 1 && $u->info['battle'] > 0 && $u->stats['hpNow'] < 1) { - //Можно использовать только в поединке - $u->error = 'Вы погибли, нельзя пользоваться свитками и магией'; + // + $u->error = ' , '; } elseif ($itm['magic_chance'] > 0 && rand(0, 100) > $itm['magic_chance']) { - $u->error = 'Каст "' . $itm['name'] . '" сгорел'; + $u->error = ' "' . $itm['name'] . '" '; $itm['iznosNOW']++; if ($itm['inGroup'] > 0 && $itm['delete'] == 0) { mysql_query('UPDATE `items_users` SET `inGroup` = 0, `delete` = 0 WHERE `id` = "' . $itm['id'] . '" LIMIT 1'); } mysql_query('UPDATE `items_users` SET `iznosNOW` = "' . $itm['iznosNOW'] . '" WHERE `id` = "' . $itm['id'] . '" AND `uid` = "' . $u->info['id'] . '" LIMIT 1'); - $u->addDelo(1, $u->info['id'], '"System.inventory":(КАСТ СГОРЕЛ) Персонаж использовал "' . $itm['name'] . '" (' . $us[1] . ') [itm:' . $itm['id'] . '].', time(), $u->info['city'], 'System.inventory', 0, 0); + $u->addDelo(1, $u->info['id'], '"System.inventory":( ) "' . $itm['name'] . '" (' . $us[1] . ') [itm:' . $itm['id'] . '].', time(), $u->info['city'], 'System.inventory', 0, 0); } elseif (isset($st['usefromfile'])) { - //используем заклятие + // $st = $u->lookStats($itm['data']); if (isset($st['zazuby']) && $_GET['login'] != $u->info['login']) { //unset($st['useOnLogin']); @@ -96,7 +96,7 @@ class Magic } $jl = $_GET['login']; $_GET['login'] = urlencode($_GET['login']); - //используем на персонажа (все кроме себя) + // ( ) $_GET['login'] = str_replace('%', ' ', $_GET['login']); $_GET['login'] = str_replace('25', '', $_GET['login']); $jl = str_replace('%', ' ', $jl); @@ -123,13 +123,13 @@ class Magic if (file_exists('../../_incl_data/class/magic/' . $itm['magic_inci'] . '.php')) { require('../../_incl_data/class/magic/' . $itm['magic_inci'] . '.php'); } else { - $u->error = 'Не удалось использовать (' . $itm['magic_inci'] . '.b)'; + $u->error = ' (' . $itm['magic_inci'] . '.b)'; } } else { if (file_exists('_incl_data/class/magic/' . $itm['magic_inci'] . '.php')) { require('_incl_data/class/magic/' . $itm['magic_inci'] . '.php'); } else { - $u->error = 'Не удалось использовать (' . $itm['magic_inci'] . ')'; + $u->error = ' (' . $itm['magic_inci'] . ')'; } } } else { @@ -137,20 +137,20 @@ class Magic if (file_exists('../../_incl_data/class/priems/' . $st['usefromfile'] . '.php')) { require('../../_incl_data/class/priems/' . $st['usefromfile'] . '.php'); } else { - $u->error = 'Не удалось использовать (' . $st['usefromfile'] . '.)'; + $u->error = ' (' . $st['usefromfile'] . '.)'; } } else { - $u->error = 'Не удалось использовать (' . $st['usefromfile'] . '!)'; + $u->error = ' (' . $st['usefromfile'] . '!)'; } } } elseif ($itm['type'] == 30) { - //Эликсиры + // $goodUse = 0; $use = []; if (isset($st['moment'])) { - //Эликсир используется моментально (Восстановление НР или МР) + // ( ) if (isset($st['moment_hp'])) { - //Восстанавливаем здоровье + // if ($u->stats['hpNow'] < $u->stats['hpAll']) { $goodUse = 1; $use['moment_hp'] = $st['moment_hp']; @@ -159,39 +159,39 @@ class Magic $use['moment_hp'] = ceil($u->stats['hpAll'] - $u->stats['hpNow']); } - $u->error .= 'Вы восстановили ' . ($use['moment_hp']) . ' HP.
    '; + $u->error .= ' ' . ($use['moment_hp']) . ' HP.
    '; } else { - $u->error = 'Ваше здоровье и так полностью восстановлено
    '; + $u->error = '
    '; $goodUse = 0; } } if (isset($st['moment_mp'])) { - //Восстанавливаем здоровье + // if ($u->stats['mpNow'] < $u->stats['mpAll']) { $goodUse = 1; $use['moment_mp'] = $st['moment_mp']; if ($u->stats['mpNow'] + $use['moment_mp'] > $u->stats['mpAll']) { $use['moment_mp'] = ceil($u->stats['mpAll'] - $u->stats['mpNow']); } - $u->error .= 'Вы восстановили ' . ($use['moment_mp']) . ' MP.
    '; + $u->error .= ' ' . ($use['moment_mp']) . ' MP.
    '; } else { - $u->error = 'Ваша манна и так полностью восстановлена'; + $u->error = ' '; $goodUse = 0; } } if ($itm['iznosNOW'] >= $itm['iznosMAX']) { - $u->error = 'Эликсир был испорчен...'; + $u->error = ' ...'; $goodUse = 0; } if (($u->info['align'] == 2 || $u->info['haos'] > time()) && isset($st['nohaos'])) { $goodUse = 0; - $u->error = 'Хаосники не могут использовать данный эликсир'; + $u->error = ' '; } - //Заносим данные в БД + // if ($goodUse == 1) { $itm['iznosNOW']++; $upd = mysql_query('UPDATE `items_users` SET `iznosNOW` = "' . $itm['iznosNOW'] . '" WHERE `id` = "' . $itm['id'] . '" AND `uid` = "' . $u->info['id'] . '" LIMIT 1'); @@ -204,26 +204,26 @@ class Magic mysql_query('UPDATE `items_users` SET `inGroup` = "0", `delete` = "0" WHERE `id` = "' . $itm['id'] . '" LIMIT 1'); } mysql_query('UPDATE `stats` SET `hpNow` = "' . $u->info['hpNow'] . '", `mpNow` = "' . $u->info['mpNow'] . '" WHERE `id` = "' . $u->info['id'] . '" LIMIT 1'); - $u->addDelo(1, $u->info['id'], '"System.inventory": Персонаж использовал эликсир "' . $itm['name'] . '" (+' . $use['moment_hp'] . ' HP) [itm:' . $itm['id'] . '].', time(), $u->info['city'], 'System.inventory', 0, 0); + $u->addDelo(1, $u->info['id'], '"System.inventory": "' . $itm['name'] . '" (+' . $use['moment_hp'] . ' HP) [itm:' . $itm['id'] . '].', time(), $u->info['city'], 'System.inventory', 0, 0); $this->youuse++; - $u->error = 'Вы успешно использовали эликсир "' . $itm['name'] . '"
    ' . $u->error . ''; + $u->error = ' "' . $itm['name'] . '"
    ' . $u->error . ''; } else { - $u->error = 'Не удалось использовать эликсир...'; + $u->error = ' ...'; } } } else { - //Эликсиры с продолжительным эффектом + // $goodUse = 1; if (($u->info['align'] == 2 || $u->info['haos'] > time()) && isset($st['nohaos'])) { $goodUse = 0; - $u->error = 'Хаосники не могут использовать данный эликсир'; + $u->error = ' '; } if ($goodUse == 1) { $upd1 = 1; $upd2 = 1; - //добавляем эффект персонажу + // if (isset($st['onlyOne'])) { - //убираем прошлые эффекты + // $goodUse = 0; $upd1 = mysql_query('UPDATE `eff_users` SET `delete` = "' . time() . '" WHERE `uid` = "' . $u->info['id'] . '" AND `delete` = "0" AND `id_eff` = "' . $itm['magic_inc'] . '"'); if ($upd1) { @@ -231,7 +231,7 @@ class Magic } } if (isset($st['oneType'])) { - //убираем прошлые эффекты + // $goodUse = 0; $upd2 = mysql_query('UPDATE `eff_users` SET `delete` = "' . time() . '" WHERE `uid` = "' . $u->info['id'] . '" AND `delete` = "0" AND `overType` = "' . $itm['overType'] . '"'); if ($upd1) { @@ -246,20 +246,20 @@ class Magic mysql_query('UPDATE `items_users` SET `inGroup` = "0", `delete` = "0" WHERE `id` = "' . $itm['id'] . '" LIMIT 1'); } mysql_query('UPDATE `items_users` SET `iznosNOW` = "' . $itm['iznosNOW'] . '" WHERE `id` = "' . $itm['id'] . '" AND `uid` = "' . $u->info['id'] . '" LIMIT 1'); - $u->addDelo(1, $u->info['id'], '"System.inventory": Персонаж использовал эликсир "' . $itm['name'] . '" (' . $us[1] . ') [itm:' . $itm['id'] . '].', time(), $u->info['city'], 'System.inventory', 0, 0); + $u->addDelo(1, $u->info['id'], '"System.inventory": "' . $itm['name'] . '" (' . $us[1] . ') [itm:' . $itm['id'] . '].', time(), $u->info['city'], 'System.inventory', 0, 0); $this->youuse++; - $u->error = 'Вы успешно использовали эликсир "' . $itm['name'] . '"
    ' . $us[1] . ''; + $u->error = ' "' . $itm['name'] . '"
    ' . $us[1] . ''; } else { - $u->error = 'Не удалось использовать "' . $itm['name'] . '"'; + $u->error = ' "' . $itm['name'] . '"'; } } else { - $u->error = 'Не удалось использовать "' . $itm['name'] . '"'; + $u->error = ' "' . $itm['name'] . '"'; } } } //--------------- } elseif ($itm['type'] == 29) { - //используем заклятие + // $st = $u->lookStats($itm['data']); if (isset($st['zazuby']) && $_GET['login'] != $u->info['login']) { //unset($st['useOnLogin']); @@ -267,20 +267,20 @@ class Magic } $jl = $_GET['login']; $_GET['login'] = urlencode($_GET['login']); - //используем на персонажа (все кроме себя) + // ( ) $_GET['login'] = str_replace('%', ' ', $_GET['login']); $_GET['login'] = str_replace('25', '', $_GET['login']); $jl = str_replace('%', ' ', $jl); $jl = str_replace('25', '', $jl); if ($itm['magic_inci'] == 'nextuplvl') { if ($itm['iznosNOW'] >= $itm['iznosMAX']) { - $u->error = 'Свиток был исполчен...'; + $u->error = ' ...'; } elseif ($u->info['battle'] > 0) { // - $u->error = 'Вы не можете использовать свиток в бою'; + $u->error = ' '; } else { if ($u->info['twink'] > 0) { - $u->error = 'Используйте свиток на основном персонаже'; + $u->error = ' '; } else { mysql_query('UPDATE `users` SET `stopexp` = 0 WHERE `id` = "' . $u->info['id'] . '" LIMIT 1'); mysql_query('UPDATE `users_twink` SET `stopexp` = 0 WHERE `uid` = "' . $u->info['id'] . '" LIMIT 1'); @@ -308,9 +308,9 @@ class Magic if (isset($usr['id'])) { - //заклятье нападения + // if ($itm['iznosNOW'] >= $itm['iznosMAX']) { - $u->error = 'Свиток был исполчен...'; + $u->error = ' ...'; } elseif ($itm['magic_inci'] == 'snowball') { if ($u->info['battle'] == 0) { $usr = mysql_fetch_array(mysql_query('SELECT `st`.`clone`,`u`.`type_pers`,`u`.`bot_id`,`st`.`zv`,`u`.`inTurnir`,`st`.`bot`,`st`.`hpNow`,`u`.`login`,`st`.`dnow`,`u`.`id`,`u`.`align`,`u`.`admin`,`u`.`clan`,`u`.`level`,`u`.`room`,`u`.`online`,`u`.`battle`,`st`.`team` FROM `users` AS `u` LEFT JOIN `stats` AS `st` ON (`u`.`id` = `st`.`id`) WHERE `u`.`city` = "' . $u->info['city'] . '" AND (`u`.`battle` = 0 OR `u`.`battle` = "' . $u->info['battle'] . '") AND (`u`.`login`="' . mysql_real_escape_string($_GET['login']) . '" OR `u`.`login`="' . mysql_real_escape_string($jl) . '") LIMIT 1')); @@ -318,13 +318,13 @@ class Magic $usr = mysql_fetch_array(mysql_query('SELECT `st`.`clone`,`u`.`type_pers`,`u`.`bot_id`,`st`.`zv`,`u`.`inTurnir`,`st`.`bot`,`st`.`hpNow`,`u`.`login`,`st`.`dnow`,`u`.`id`,`u`.`align`,`u`.`admin`,`u`.`clan`,`u`.`level`,`u`.`room`,`u`.`online`,`u`.`battle`,`st`.`team` FROM `users` AS `u` LEFT JOIN `stats` AS `st` ON (`u`.`id` = `st`.`id`) WHERE `u`.`city` = "' . $u->info['city'] . '" AND (`u`.`battle` = 0 OR `u`.`battle` = "' . $u->info['battle'] . '") AND (`u`.`login`="' . mysql_real_escape_string($_GET['login']) . '" OR `u`.`login`="' . mysql_real_escape_string($jl) . '") AND `u`.`battle` = "' . $u->info['battle'] . '" LIMIT 1')); } if ($usr['battle'] > 0 && $u->info['battle'] != $usr['battle']) { - $u->error = 'Персонаж находится в бою'; + $u->error = ' '; } elseif ($usr['battle'] > 0) { - //Кидаемся в поединке + // if ($usr['team'] != $u->info['team'] && $usr['hpNow'] > 0) { $txt = 1; - //Отморозки + // if ($usr['bot_id'] >= 439 && $usr['bot_id'] <= 460) { $txt = 500; } elseif ($usr['bot_id'] == 291) { @@ -370,27 +370,27 @@ class Magic mysql_query('UPDATE `items_users` SET `iznosNOW` = "' . $itm['iznosNOW'] . '" WHERE `id` = "' . $itm['id'] . '" AND `uid` = "' . $u->info['id'] . '" LIMIT 1'); $txt = '' . $txt . ''; if ($u->info['sex'] == 1) { - $txt = 'Хитрая {u1} бросила кусок снега в {u2}. ' . $txt . ' [' . $btl->stats[$btl->uids[$usr['id']]]['hpNow'] . '/' . $btl->stats[$btl->uids[$usr['id']]]['hpAll'] . ']'; + $txt = ' {u1} {u2}. ' . $txt . ' [' . $btl->stats[$btl->uids[$usr['id']]]['hpNow'] . '/' . $btl->stats[$btl->uids[$usr['id']]]['hpAll'] . ']'; } else { - $txt = 'Хитрый {u1} бросил кусок снега в {u2}. ' . $txt . ' [' . $btl->stats[$btl->uids[$usr['id']]]['hpNow'] . '/' . $btl->stats[$btl->uids[$usr['id']]]['hpAll'] . ']'; + $txt = ' {u1} {u2}. ' . $txt . ' [' . $btl->stats[$btl->uids[$usr['id']]]['hpNow'] . '/' . $btl->stats[$btl->uids[$usr['id']]]['hpAll'] . ']'; } mysql_query('INSERT INTO `battle_logs` (`time`,`battle`,`id_hod`,`text`,`vars`,`zona1`,`zonb1`,`zona2`,`zonb2`,`type`) VALUES ("' . time() . '","' . $u->info['battle'] . '","' . ($id_hod) . '","{tm1} ' . $txt . '","login1=' . $u->info['login'] . '||t1=' . $u->info['team'] . '||login2=' . $usr['login'] . '||t2=' . $usr['team'] . '||time1=' . time() . '","","","","","6")'); } unset($txt); } else { - $u->error = 'Нельзя использовать на данного персонажа'; + $u->error = ' '; } } elseif ($u->info['dnow'] != $usr['dnow']) { - $u->error = 'Персонаж находится в другой комнате'; + $u->error = ' '; } elseif ($usr['id'] == $u->info['id']) { - $u->error = 'Нельзя кидаться в самого себя'; + $u->error = ' '; } elseif ($usr['online'] < time() - 520 && $usr['battle'] == 0 && $usr['bot'] == 0) { - $u->error = 'Персонаж находится в реальном мире ;)'; + $u->error = ' ;)'; } elseif ($usr['room'] != $u->info['room']) { - $u->error = 'Персонаж находится в другой комнате'; + $u->error = ' '; } elseif ($usr['admin'] > 0 && $u->info['admin'] == 0) { - $u->error = 'Нельзя кидаться в Ангелов'; + $u->error = ' '; } else { $usr['hpNow'] -= 1000; if ($usr['hpNow'] < 0) { @@ -398,11 +398,11 @@ class Magic } $upd = mysql_query('UPDATE `stats` SET `hpNow` = "' . $usr['hpNow'] . '" WHERE `id` = "' . $usr['id'] . '" LIMIT 1'); if ($upd) { - $sx = 'ый'; + $sx = ''; $sx2 = ''; if ($u->info['sex'] == 1) { - $sx = 'ая'; - $sx2 = 'а'; + $sx = ''; + $sx2 = ''; } $itm['iznosNOW']++; if ($itm['inGroup'] > 0 && $itm['delete'] == 0) { @@ -410,54 +410,54 @@ class Magic } mysql_query('UPDATE `items_users` SET `iznosNOW` = "' . $itm['iznosNOW'] . '" WHERE `id` = "' . $itm['id'] . '" AND `uid` = "' . $u->info['id'] . '" LIMIT 1'); $urs_st = $u->getStats($usr['id']); - $rtxt = '[img[items/snowball1.gif]] Хитр' . $sx . ' "' . $u->info['login'] . '" бросил' . $sx2 . ' кусок снега в "' . $usr['login'] . '". -1000 [' . floor($urs_st['hpNow']) . '/' . $urs_st['hpAll'] . ']'; + $rtxt = '[img[items/snowball1.gif]] ' . $sx . ' "' . $u->info['login'] . '" ' . $sx2 . ' "' . $usr['login'] . '". -1000 [' . floor($urs_st['hpNow']) . '/' . $urs_st['hpAll'] . ']'; mysql_query("INSERT INTO `chat` (`new`,`city`,`room`,`login`,`to`,`text`,`time`,`type`,`toChat`,`typeTime`) VALUES (1,'" . $u->info['city'] . "','" . $u->info['room'] . "','','','" . $rtxt . "','" . time() . "','6','0','1')"); unset($sx, $sx2); } else { - $u->error = 'Не удалось кинуть снежок...'; + $u->error = ' ...'; } } - } elseif ($itm['magic_inci'] == 'atack') { //заклятье нападения + } elseif ($itm['magic_inci'] == 'atack') { // - $usta = $u->getStats($usr['id'], 0); // статы цели + $usta = $u->getStats($usr['id'], 0); // $rgd = $u->regen($usr['id'], $usta, 1); $usta['hpNow'] = $rgd['hpNow']; $usta['mpNow'] = $rgd['mpNow']; - $minHp = floor($usta['hpAll'] / 100 * 33); // минимальный запас здоровья цели при котором можно напасть + $minHp = floor($usta['hpAll'] / 100 * 33); // $batlatest = mysql_fetch_array(mysql_query('SELECT * FROM `battle` WHERE `id` = "' . $usr['battle'] . '" AND `team_win` = -1 LIMIT 1')); $test = mysql_fetch_array(mysql_query('SELECT `id` FROM `battle_last` WHERE `uid` = "' . $u->info['id'] . '" AND `battle_id` = "' . $usr['battle'] . '" LIMIT 1')); if (isset($test['id'])) { - echo 'Нельзя вмешаться, вы уже были в этом поединке.'; + echo ' , .'; } elseif (time() - $usr['timereg'] < 86400 * 10) { - $u->error = 'Нападать на новичков запрещается! Сейчас придет Мироздатель и превратит тебя в лягушку...'; + $u->error = ' ! ...'; } elseif ($usr['atack'] == 1 || $usr['atack'] > time()) { - $u->error = 'На персонаже метка нападения, нападайте через неё...'; + $u->error = ' , ...'; } elseif ($u->info['dnow'] != $usr['dnow']) { - $u->error = 'Персонаж находится в другой комнате (пещере)'; + $u->error = ' ()'; } elseif ($usr['inTurnirnew'] > 0) { - $u->error = 'Персонаж принимает участие в турнире'; + $u->error = ' '; } elseif ($u->info['battle'] > 0) { - $u->error = 'Вы уже находитесь в бою'; + $u->error = ' '; } elseif ($usr['id'] == $u->info['id']) { - $u->error = 'Нельзя нападать на самого себя'; + $u->error = ' '; } elseif ($usr['bot'] == 2) { - $u->error = 'Не удалость напасть на бота ' . $usr['login'] . ''; + $u->error = ' ' . $usr['login'] . ''; } elseif ($usr['online'] < time() - 120) { - $u->error = 'Персонаж не в сети'; + $u->error = ' '; } elseif ($usr['admin'] == 1) { - $u->error = 'Уважайте хранителей...'; + $u->error = ' ...'; } elseif ($usr['room'] != $u->info['room'] && $u->info['battle'] != $usr['battle'] && $u->info['battle'] > 0) { - $u->error = 'Персонаж находится в другой комнате!'; + $u->error = ' !'; } elseif ($usr['room'] != $u->info['room']) { - $u->error = 'Персонаж находится в другой комнате'; + $u->error = ' '; } elseif ($batlatest['noatack'] == 1) { - $u->error = 'Поединок защищен магией! Вы не можете вмешаться!'; + $u->error = ' ! !'; } elseif ($minHp > $usta['hpNow'] && !isset($batlatest['id'])) { - //мало хп - $u->error = 'Персонаж слишком слаб (' . floor($usta['hpNow']) . 'HP)'; + // + $u->error = ' (' . floor($usta['hpNow']) . 'HP)'; } elseif ($u->info['noatack'] != 0) { - //мало хп - $u->error = 'В этой комнате нападения запрещены.'; + // + $u->error = ' .'; } else { if ($usr['type_pers'] > 0) { @@ -481,49 +481,49 @@ class Magic } $atc = $this->atackUser($u->info['id'], $usr['id'], $usr['team'], $usr['battle'], 0, $kroww, $kulak, $bsi); if ($atc > 0) { - //отправляем системку в чат + // $sx = ''; if ($u->info['sex'] == 1) { - $sx = 'а'; + $sx = ''; } $itm['iznosNOW']++; if ($itm['inGroup'] > 0 && $itm['delete'] == 0) { mysql_query('UPDATE `items_users` SET `inGroup` = "0", `delete` = "0" WHERE `id` = "' . $itm['id'] . '" LIMIT 1'); } mysql_query('UPDATE `items_users` SET `iznosNOW` = "' . $itm['iznosNOW'] . '" WHERE `id` = "' . $itm['id'] . '" AND `uid` = "' . $u->info['id'] . '" LIMIT 1'); - $rtxt = '[img[items/pal_button8.gif]] "' . $u->info['login'] . '" использовал' . $sx . ' магию нападения на персонажа "' . $usr['login'] . '".'; + $rtxt = '[img[items/pal_button8.gif]] "' . $u->info['login'] . '" ' . $sx . ' "' . $usr['login'] . '".'; mysql_query("INSERT INTO `chat` (`new`,`city`,`room`,`login`,`to`,`text`,`time`,`type`,`toChat`,`typeTime`) VALUES ('1','" . $u->info['city'] . "','" . $u->info['room'] . "','','','" . $rtxt . "','" . time() . "','11','0','1')"); - //напали, обновляем экран + //, die(''); } else { if ($u->error == '') { - $u->error = 'Не удалось напасть на персонажа...'; + $u->error = ' ...'; } } } } elseif ($itm['magic_inci'] == 'cureHP') { - //Реген НР,MP + // ,MP $po = $u->lookStats($itm['data']); if ($u->info['battle'] > 0) { - //используем свиток в поединке + // $bu = mysql_fetch_array(mysql_query('SELECT * FROM `spells` WHERE `btl` = "' . $u->info['battle'] . '" AND `uid` = "' . $u->info['id'] . '" LIMIT 1')); if (isset($bu['id'])) { - $u->error = 'Нельзя использовать свиток каждый ход...'; + $u->error = ' ...'; } elseif ($usr['battle'] != $u->info['battle']) { - $u->error = 'Неудалось использовать, персонаж в другом поединке...'; + $u->error = ' , ...'; } elseif ($usr['team'] != $u->info['team']) { - $u->error = 'Неудалось использовать на противника...'; + $u->error = ' ...'; } elseif ($usr['hpNow'] < 1) { - $u->error = 'Неудалось использовать на мертвых...'; + $u->error = ' ...'; } elseif ($u->info['hpNow'] < 1) { - $u->error = 'Неудалось использовать, вы погибли...'; + $u->error = ' , ...'; } elseif ($btl->info['noeff'] > 0) { - $u->error = 'Запрет на использования свитков восстановления'; + $u->error = ' '; } elseif ($po['magic_hpNow'] < 1 && $po['magic_mpNow'] < 1) { - $u->error = 'Неудалось использовать, в магическом свитке нет магии...'; + $u->error = ' , ...'; } elseif (($usr['battle'] == $u->info['battle'] && ($u->info['team'] == $usr['team'] && ($po['magic_hpNow'] > 0 || $po['magic_mpNow'] > 0))) && $usr['hpNow'] >= 1 && $u->info['hpNow'] >= 1) { - //кастуем + // if (isset($po['magic_hpNow'])) { mysql_query('INSERT INTO `spells` (`btl`,`uid`,`time`,`item_id`,`var`,`hod`) VALUES ( @@ -577,15 +577,15 @@ class Magic $txt = '' . $txt . ''; if ($u->info['id'] == $usr['id']) { if ($u->info['sex'] == 1) { - $txt = '{u1} использовала "' . $itm['name'] . '" на себя. ' . $txt . ' [' . $btl->stats[$btl->uids[$usr['id']]]['hpNow'] . '/' . $btl->stats[$btl->uids[$usr['id']]]['hpAll'] . ']'; + $txt = '{u1} "' . $itm['name'] . '" . ' . $txt . ' [' . $btl->stats[$btl->uids[$usr['id']]]['hpNow'] . '/' . $btl->stats[$btl->uids[$usr['id']]]['hpAll'] . ']'; } else { - $txt = '{u1} использовал "' . $itm['name'] . '" на себя. ' . $txt . ' [' . $btl->stats[$btl->uids[$usr['id']]]['hpNow'] . '/' . $btl->stats[$btl->uids[$usr['id']]]['hpAll'] . ']'; + $txt = '{u1} "' . $itm['name'] . '" . ' . $txt . ' [' . $btl->stats[$btl->uids[$usr['id']]]['hpNow'] . '/' . $btl->stats[$btl->uids[$usr['id']]]['hpAll'] . ']'; } } else { if ($u->info['sex'] == 1) { - $txt = '{u1} использовала "' . $itm['name'] . '" на {u2}. ' . $txt . ' [' . $btl->stats[$btl->uids[$usr['id']]]['hpNow'] . '/' . $btl->stats[$btl->uids[$usr['id']]]['hpAll'] . ']'; + $txt = '{u1} "' . $itm['name'] . '" {u2}. ' . $txt . ' [' . $btl->stats[$btl->uids[$usr['id']]]['hpNow'] . '/' . $btl->stats[$btl->uids[$usr['id']]]['hpAll'] . ']'; } else { - $txt = '{u1} использовал "' . $itm['name'] . '" на {u2}. ' . $txt . ' [' . $btl->stats[$btl->uids[$usr['id']]]['hpNow'] . '/' . $btl->stats[$btl->uids[$usr['id']]]['hpAll'] . ']'; + $txt = '{u1} "' . $itm['name'] . '" {u2}. ' . $txt . ' [' . $btl->stats[$btl->uids[$usr['id']]]['hpNow'] . '/' . $btl->stats[$btl->uids[$usr['id']]]['hpAll'] . ']'; } } mysql_query('INSERT INTO `battle_logs` (`time`,`battle`,`id_hod`,`text`,`vars`,`zona1`,`zonb1`,`zona2`,`zonb2`,`type`) VALUES ("' . time() . '","' . $u->info['battle'] . '","' . ($id_hod) . '","{tm1} ' . $txt . '","login1=' . $u->info['login'] . '||t1=' . $u->info['team'] . '||login2=' . $usr['login'] . '||t2=' . $usr['team'] . '||time1=' . time() . '","","","","","6")'); @@ -594,27 +594,27 @@ class Magic $itm['iznosNOW']++; mysql_query('UPDATE `items_users` SET `iznosNOW` = "' . $itm['iznosNOW'] . '" WHERE `id` = "' . $itm['id'] . '" AND `uid` = "' . $u->info['id'] . '" LIMIT 1'); - // сообщение в лог боя - $sx = 'ый'; + // + $sx = ''; $sx2 = ''; if ($u->info['sex'] == 1) { - $sx = 'ая'; - $sx2 = 'а'; + $sx = ''; + $sx2 = ''; } - $u->error = 'Свиток "' . $itm['name'] . '" был успешно использован.'; + $u->error = ' "' . $itm['name'] . '" .'; } else { - $u->error = 'Нельзя использовать на данного персонажа'; + $u->error = ' '; } } elseif ($u->info['dnow'] != $usr['dnow']) { - $u->error = 'Персонаж находится в другой комнате [пещера]'; + $u->error = ' []'; } elseif ($usr['online'] < time() - 120 && $usr['bot'] == 0) { - $u->error = 'Персонаж находится в реальном мире'; + $u->error = ' '; } elseif ($usr['room'] != $u->info['room']) { - $u->error = 'Персонаж находится в другой комнате'; + $u->error = ' '; } elseif ($usr['battle'] != $u->info['battle']) { - $u->error = 'Персонаж находится в поединке'; + $u->error = ' '; } else { - //кастуем + // if (isset($po['magic_hpNow'])) { mysql_query('UPDATE `stats` SET `hpNow` = `hpNow` + ' . $po['magic_hpNow'] . ' WHERE `id` = "' . $usr['id'] . '" LIMIT 1'); } @@ -626,29 +626,29 @@ class Magic mysql_query('UPDATE `items_users` SET `inGroup` = "0", `delete` = "0" WHERE `id` = "' . $itm['id'] . '" LIMIT 1'); } - // сообщение в чат - $sx = 'ый'; + // + $sx = ''; $sx2 = ''; if ($u->info['sex'] == 1) { - $sx = 'ая'; - $sx2 = 'а'; + $sx = ''; + $sx2 = ''; } - $u->error = 'Свиток "' . $itm['name'] . '" был успешно использован.'; - $rtxt = '[img[items/' . $itm['img'] . ']] Персонаж "' . $u->info['login'] . '" использовал' . $sx2 . ' "' . $itm['name'] . '" на "' . $usr['login'] . '".'; + $u->error = ' "' . $itm['name'] . '" .'; + $rtxt = '[img[items/' . $itm['img'] . ']] "' . $u->info['login'] . '" ' . $sx2 . ' "' . $itm['name'] . '" "' . $usr['login'] . '".'; mysql_query("INSERT INTO `chat` (`new`,`city`,`room`,`login`,`to`,`text`,`time`,`type`,`toChat`,`typeTime`) VALUES (1,'" . $u->info['city'] . "','" . $u->info['room'] . "','','','" . $rtxt . "','" . time() . "','6','0','1')"); } } elseif ($itm['magic_inci'] == 'cureMP') { - //Реген НР,MP + // ,MP $po = $u->lookStats($itm['data']); if ($u->info['battle'] > 0) { - //используем свиток в поединке + // $bu = mysql_fetch_array(mysql_query('SELECT * FROM `spells` WHERE `btl` = "' . $u->info['battle'] . '" AND `uid` = "' . $u->info['id'] . '" LIMIT 1')); if (isset($bu['id'])) { - $u->error = 'Нельзя использовать свиток каждый ход...'; + $u->error = ' ...'; } elseif ($btl->info['noeff'] > 0) { - $u->error = 'Запрет на использования свитков восстановления'; + $u->error = ' '; } elseif (($usr['battle'] == $u->info['battle'] && ($u->info['team'] == $usr['team'] && ($po['magic_hpNow'] > 0 || $po['magic_mpNow'] > 0))) && $usr['hpNow'] > 1 && $u->info['hpNow'] >= 1) { - //кастуем + // if (isset($po['magic_mpNow'])) { mysql_query('INSERT INTO `spells` (`btl`,`uid`,`time`,`item_id`,`var`,`hod`) VALUES ( @@ -667,7 +667,7 @@ class Magic $txt = floor($txt / 100 * $gdhd); } - if ($btl->users[$btl->uids[$usr['id']]]['tactic7'] >= 1) { // поставить >= 1 , если требует дух + if ($btl->users[$btl->uids[$usr['id']]]['tactic7'] >= 1) { // >= 1 , if ($txt > 0) { $btl->stats[$btl->uids[$usr['id']]]['mpNow'] += $txt; $btl->users[$btl->uids[$usr['id']]]['tactic7'] -= $gdhh; @@ -700,15 +700,15 @@ class Magic $txt = '' . $txt . ''; if ($u->info['id'] == $usr['id']) { if ($u->info['sex'] == 1) { - $txt = '{u1} использовала "' . $itm['name'] . '" на себя. ' . $txt . ' [' . $btl->stats[$btl->uids[$usr['id']]]['mpNow'] . '/' . $btl->stats[$btl->uids[$usr['id']]]['mpAll'] . '] (Мана)'; + $txt = '{u1} "' . $itm['name'] . '" . ' . $txt . ' [' . $btl->stats[$btl->uids[$usr['id']]]['mpNow'] . '/' . $btl->stats[$btl->uids[$usr['id']]]['mpAll'] . '] ()'; } else { - $txt = '{u1} использовал "' . $itm['name'] . '" на себя. ' . $txt . ' [' . $btl->stats[$btl->uids[$usr['id']]]['mpNow'] . '/' . $btl->stats[$btl->uids[$usr['id']]]['mpAll'] . '] (Мана)'; + $txt = '{u1} "' . $itm['name'] . '" . ' . $txt . ' [' . $btl->stats[$btl->uids[$usr['id']]]['mpNow'] . '/' . $btl->stats[$btl->uids[$usr['id']]]['mpAll'] . '] ()'; } } else { if ($u->info['sex'] == 1) { - $txt = '{u1} использовала "' . $itm['name'] . '" на {u2}. ' . $txt . ' [' . $btl->stats[$btl->uids[$usr['id']]]['mpNow'] . '/' . $btl->stats[$btl->uids[$usr['id']]]['mpAll'] . '] (Мана)'; + $txt = '{u1} "' . $itm['name'] . '" {u2}. ' . $txt . ' [' . $btl->stats[$btl->uids[$usr['id']]]['mpNow'] . '/' . $btl->stats[$btl->uids[$usr['id']]]['mpAll'] . '] ()'; } else { - $txt = '{u1} использовал "' . $itm['name'] . '" на {u2}. ' . $txt . ' [' . $btl->stats[$btl->uids[$usr['id']]]['mpNow'] . '/' . $btl->stats[$btl->uids[$usr['id']]]['mpAll'] . '] (Мана)'; + $txt = '{u1} "' . $itm['name'] . '" {u2}. ' . $txt . ' [' . $btl->stats[$btl->uids[$usr['id']]]['mpNow'] . '/' . $btl->stats[$btl->uids[$usr['id']]]['mpAll'] . '] ()'; } } mysql_query('INSERT INTO `battle_logs` (`time`,`battle`,`id_hod`,`text`,`vars`,`zona1`,`zonb1`,`zona2`,`zonb2`,`type`) VALUES ("' . time() . '","' . $u->info['battle'] . '","' . ($id_hod) . '","{tm1} ' . $txt . '","login1=' . $u->info['login'] . '||t1=' . $u->info['team'] . '||login2=' . $usr['login'] . '||t2=' . $usr['team'] . '||time1=' . time() . '","","","","","6")'); @@ -717,27 +717,27 @@ class Magic $itm['iznosNOW']++; mysql_query('UPDATE `items_users` SET `iznosNOW` = "' . $itm['iznosNOW'] . '" WHERE `id` = "' . $itm['id'] . '" AND `uid` = "' . $u->info['id'] . '" LIMIT 1'); - // сообщение в лог боя - $sx = 'ый'; + // + $sx = ''; $sx2 = ''; if ($u->info['sex'] == 1) { - $sx = 'ая'; - $sx2 = 'а'; + $sx = ''; + $sx2 = ''; } - $u->error = 'Свиток "' . $itm['name'] . '" был успешно использован.'; + $u->error = ' "' . $itm['name'] . '" .'; } else { - $u->error = 'Нельзя использовать на данного персонажа'; + $u->error = ' '; } } elseif ($u->info['dnow'] != $usr['dnow']) { - $u->error = 'Персонаж находится в другой комнате [пещера]'; + $u->error = ' []'; } elseif ($usr['online'] < time() - 120 && $usr['bot'] == 0) { - $u->error = 'Персонаж находится в реальном мире'; + $u->error = ' '; } elseif ($usr['room'] != $u->info['room']) { - $u->error = 'Персонаж находится в другой комнате'; + $u->error = ' '; } elseif ($usr['battle'] != $u->info['battle']) { - $u->error = 'Персонаж находится в поединке'; + $u->error = ' '; } else { - //кастуем + // if (isset($po['magic_mpNow'])) { mysql_query('UPDATE `stats` SET `mpNow` = `mpNow` + ' . $po['magic_mpNow'] . ' WHERE `id` = "' . $usr['id'] . '" LIMIT 1'); } @@ -749,47 +749,47 @@ class Magic mysql_query('UPDATE `items_users` SET `inGroup` = "0", `delete` = "0" WHERE `id` = "' . $itm['id'] . '" LIMIT 1'); } - // сообщение в чат - $sx = 'ый'; + // + $sx = ''; $sx2 = ''; if ($u->info['sex'] == 1) { - $sx = 'ая'; - $sx2 = 'а'; + $sx = ''; + $sx2 = ''; } - $u->error = 'Свиток "' . $itm['name'] . '" был успешно использован.'; - $rtxt = '[img[items/' . $itm['img'] . ']] Персонаж "' . $u->info['login'] . '" использовал' . $sx2 . ' "' . $itm['name'] . '" на "' . $usr['login'] . '".'; + $u->error = ' "' . $itm['name'] . '" .'; + $rtxt = '[img[items/' . $itm['img'] . ']] "' . $u->info['login'] . '" ' . $sx2 . ' "' . $itm['name'] . '" "' . $usr['login'] . '".'; mysql_query("INSERT INTO `chat` (`new`,`city`,`room`,`login`,`to`,`text`,`time`,`type`,`toChat`,`typeTime`) VALUES (1,'" . $u->info['city'] . "','" . $u->info['room'] . "','','','" . $rtxt . "','" . time() . "','6','0','1')"); } } elseif ($itm['magic_inci'] == 'lech_1' or $itm['magic_inci'] == 'lech_2' or $itm['magic_inci'] == 'lech_3') { if ($u->info['battle'] > 0) { - //используем свиток в поединке + // } elseif ($u->info['dnow'] != $usr['dnow']) { - $u->error = 'Персонаж находится в другой комнате [пещера]'; + $u->error = ' []'; } elseif ($usr['online'] < time() - 120 && $usr['bot'] == 0) { - $u->error = 'Персонаж находится в реальном мире'; + $u->error = ' '; } elseif ($usr['room'] != $u->info['room']) { - $u->error = 'Персонаж находится в другой комнате'; + $u->error = ' '; } elseif ($usr['battle'] != $u->info['battle']) { - $u->error = 'Персонаж находится в поединке'; + $u->error = ' '; } else { $travm = mysql_fetch_array(mysql_query('SELECT * FROM `eff_users` WHERE `uid`="' . $usr['id'] . '" and `id_eff`="4" and `delete`="0" ORDER BY `v1` DESC LIMIT 1')); //$type_lechenie = $travm['v1']; $itm['magic_inci'] = 'lech_' . $travm['v1']; if ($itm['magic_inci'] == 'lech_1') { - $type_lechenie = 1; // тип травмы котору лечим - $text_msg = '"Легкой травмы"'; - $text_msg2 = 'легких'; + $type_lechenie = 1; // + $text_msg = '" "'; + $text_msg2 = ''; } elseif ($itm['magic_inci'] == 'lech_2') { - $type_lechenie = 2; // тип травмы котору лечим - $text_msg = '"Средней травмы"'; - $text_msg2 = 'средних'; + $type_lechenie = 2; // + $text_msg = '" "'; + $text_msg2 = ''; } elseif ($itm['magic_inci'] == 'lech_3') { - $type_lechenie = 3; // тип травмы котору лечим - $text_msg = '"Тяжелой травмы"'; - $text_msg2 = 'тяжелых'; + $type_lechenie = 3; // + $text_msg = '" "'; + $text_msg2 = ''; } if ($travm) { $lech_aa = [0, 2, 3, 4]; @@ -817,7 +817,7 @@ class Magic $lech_co = round($travm_cep['x'] + 1); if ($it_no == 1) { - $u->error = 'Вы уже один из лекарей'; + $u->error = ' '; } elseif ($lech_co >= $lech_aa[$type_lechenie]) { mysql_query('UPDATE `eff_users` SET `delete` = "' . time() . '" WHERE `id` = "' . $travm['id'] . '" LIMIT 1'); $itm['iznosNOW']++; @@ -826,30 +826,30 @@ class Magic mysql_query('UPDATE `items_users` SET `inGroup` = "0", `delete` = "0" WHERE `id` = "' . $itm['id'] . '" LIMIT 1'); } - $rtxt = '[img[items/cure_g1.gif]] Лекарь "' . $u->info['login'] . '" кинул цепь исцеления на игрока "' . $usr['login'] . '".'; + $rtxt = '[img[items/cure_g1.gif]] "' . $u->info['login'] . '" "' . $usr['login'] . '".'; mysql_query("INSERT INTO `chat` (`new`,`city`,`room`,`login`,`to`,`text`,`time`,`type`,`toChat`,`typeTime`) VALUES (1,'" . $u->info['city'] . "','" . $u->info['room'] . "','','','" . $rtxt . "','" . time() . "','6','0','1')"); //mysql_query('UPDATE `eff_users` SET `delete` = "'.time().'" WHERE `id` = "'.$travm_cep['id'].'" LIMIT 1'); mysql_query('UPDATE `eff_users` SET `delete` = "' . time() . '" WHERE `uid` = "' . $usr['id'] . '" AND `id_eff` = 4 AND `delete` = 0 LIMIT 1'); - // сообщение в чат - $u->error = 'Персонаж излечен от ' . $text_msg . '.'; - $rtxt = '[img[items/cure' . $type_lechenie . '.gif]] Лекари "' . $u->info['login'] . $it_users . '" вылечили от ' . $text_msg . ' игрока "' . $usr['login'] . '".'; + // + $u->error = ' ' . $text_msg . '.'; + $rtxt = '[img[items/cure' . $type_lechenie . '.gif]] "' . $u->info['login'] . $it_users . '" ' . $text_msg . ' "' . $usr['login'] . '".'; mysql_query("INSERT INTO `chat` (`new`,`city`,`room`,`login`,`to`,`text`,`time`,`type`,`toChat`,`typeTime`) VALUES (1,'" . $u->info['city'] . "','" . $u->info['room'] . "','','','" . $rtxt . "','" . time() . "','6','0','1')"); } else { if (isset($travm_cep['id'])) { $travm_cep['x']++; - $u->error = 'Вы присоединились к цепи исцеления для "' . $text_msg . '" (исцеление ' . $text_msg2 . ' травм)'; + $u->error = ' "' . $text_msg . '" ( ' . $text_msg2 . ' )'; mysql_query('UPDATE `eff_users` SET `x` = "' . $travm_cep['x'] . '" ,`data` = "' . $travm_cep['data'] . ',' . $u->info['id'] . '" WHERE `id` = "' . $travm_cep['id'] . '" LIMIT 1'); } else { - $u->error = 'Вы создали цепь исцеления для "' . $text_msg . '" (исцеление ' . $text_msg2 . ' травм), у остальных лекарей есть 5 минут, чтобы завершить заклинание'; + $u->error = ' "' . $text_msg . '" ( ' . $text_msg2 . ' ), 5 , '; mysql_query('INSERT INTO `eff_users` ( `id_eff`,`uid`,`name`,`data`,`overType`,`timeUse`,`user_use`,`v1`,`x` ) VALUES ( - "335","' . $usr['id'] . '","Цепь исцеления","' . $u->info['id'] . '","28","' . time() . '","' . $u->info['id'] . '","' . $type_lechenie . '","1" + "335","' . $usr['id'] . '"," ","' . $u->info['id'] . '","28","' . time() . '","' . $u->info['id'] . '","' . $type_lechenie . '","1" )'); } //mysql_query('UPDATE `eff_users` SET `delete` = "'.time().'" WHERE `id` = "'.$travm['id'].'" LIMIT 1'); @@ -858,13 +858,13 @@ class Magic if ($itm['inGroup'] > 0 && $itm['delete'] == 0) { mysql_query('UPDATE `items_users` SET `inGroup` = "0", `delete` = "0" WHERE `id` = "' . $itm['id'] . '" LIMIT 1'); } - // сообщение в чат - $rtxt = '[img[items/cure_g1.gif]] Лекарь "' . $u->info['login'] . '" кинул цепь исцеления на игрока "' . $usr['login'] . '".'; + // + $rtxt = '[img[items/cure_g1.gif]] "' . $u->info['login'] . '" "' . $usr['login'] . '".'; mysql_query("INSERT INTO `chat` (`new`,`city`,`room`,`login`,`to`,`text`,`time`,`type`,`toChat`,`typeTime`) VALUES (1,'" . $u->info['city'] . "','" . $u->info['room'] . "','','','" . $rtxt . "','" . time() . "','6','0','1')"); } } else { - $u->error = 'Персонаж не имеет данной травмы.'; + $u->error = ' .'; } } @@ -873,36 +873,36 @@ class Magic } elseif ($itm['magic_inci'] == 'lech_free_1' or $itm['magic_inci'] == 'lech_free_2' or $itm['magic_inci'] == 'lech_free_3') { if ($u->info['battle'] > 0) { - //используем свиток в поединке + // } elseif ($u->info['dnow'] != $usr['dnow']) { - $u->error = 'Персонаж находится в другой комнате [пещера]'; + $u->error = ' []'; } elseif ($usr['online'] < time() - 120 && $usr['bot'] == 0) { - $u->error = 'Персонаж находится в реальном мире'; + $u->error = ' '; } elseif ($usr['room'] != $u->info['room']) { - $u->error = 'Персонаж находится в другой комнате'; + $u->error = ' '; } elseif ($usr['battle'] != $u->info['battle']) { - $u->error = 'Персонаж находится в поединке'; + $u->error = ' '; } else { $travm = mysql_fetch_array(mysql_query('SELECT * FROM `eff_users` WHERE `uid`="' . $usr['id'] . '" and `id_eff`="4" and `delete`="0" ORDER BY `v1` DESC LIMIT 1')); //$type_lechenie = $travm['v1']; //$itm['magic_inci'] = 'lech_free_'.$travm['v1']; if ($itm['magic_inci'] == 'lech_free_1') { - $type_lechenie = 1; // тип травмы котору лечим - $text_msg = '"Легкой травмы"'; - $text_msg2 = 'легких'; + $type_lechenie = 1; // + $text_msg = '" "'; + $text_msg2 = ''; } elseif ($itm['magic_inci'] == 'lech_free_2') { - $type_lechenie = 2; // тип травмы котору лечим - $text_msg = '"Средней травмы"'; - $text_msg2 = 'средних'; + $type_lechenie = 2; // + $text_msg = '" "'; + $text_msg2 = ''; } elseif ($itm['magic_inci'] == 'lech_free_3') { - $type_lechenie = 3; // тип травмы котору лечим - $text_msg = '"Тяжелой травмы"'; - $text_msg2 = 'тяжелых'; + $type_lechenie = 3; // + $text_msg = '" "'; + $text_msg2 = ''; } if ($travm['v1'] != $type_lechenie) { - $u->error = 'Неподходящий свиток для данной травмы.'; + $u->error = ' .'; } elseif ($travm['id']) { $lech_aa = [0, 0, 0, 0]; $travm_cep = mysql_fetch_array(mysql_query('SELECT * FROM `eff_users` WHERE `uid`="' . $usr['id'] . '" and `id_eff`="335" and `delete`="0" and `v1`="' . $type_lechenie . '" LIMIT 1')); @@ -929,7 +929,7 @@ class Magic $lech_co = round($travm_cep['x'] + 1); if ($it_no == 1) { - $u->error = 'Вы уже один из лекарей'; + $u->error = ' '; } elseif ($lech_co >= $lech_aa[$type_lechenie]) { mysql_query('UPDATE `eff_users` SET `delete` = "' . time() . '" WHERE `id` = "' . $travm['id'] . '" LIMIT 1'); $itm['iznosNOW']++; @@ -940,24 +940,24 @@ class Magic mysql_query('UPDATE `eff_users` SET `delete` = "' . time() . '" WHERE `uid` = "' . $usr['id'] . '" AND `id_eff` = 4 AND `delete` = 0 LIMIT 1'); - // сообщение в чат - $u->error = 'Персонаж излечен от ' . $text_msg . '.'; - $rtxt = '[img[items/cure' . $type_lechenie . '.gif]] Лекари "' . $u->info['login'] . $it_users . '" вылечили от ' . $text_msg . ' игрока "' . $usr['login'] . '".'; + // + $u->error = ' ' . $text_msg . '.'; + $rtxt = '[img[items/cure' . $type_lechenie . '.gif]] "' . $u->info['login'] . $it_users . '" ' . $text_msg . ' "' . $usr['login'] . '".'; mysql_query("INSERT INTO `chat` (`new`,`city`,`room`,`login`,`to`,`text`,`time`,`type`,`toChat`,`typeTime`) VALUES (1,'" . $u->info['city'] . "','" . $u->info['room'] . "','','','" . $rtxt . "','" . time() . "','6','0','1')"); } else { if (isset($travm_cep['id'])) { $travm_cep['x']++; - $u->error = 'Вы присоединились к цепи исцеления для "' . $text_msg . '" (исцеление ' . $text_msg2 . ' травм)'; + $u->error = ' "' . $text_msg . '" ( ' . $text_msg2 . ' )'; mysql_query('UPDATE `eff_users` SET `x` = "' . $travm_cep['x'] . '" ,`data` = "' . $travm_cep['data'] . ',' . $u->info['id'] . '" WHERE `id` = "' . $travm_cep['id'] . '" LIMIT 1'); } else { - $u->error = 'Вы создали цепь исцеления для "' . $text_msg . '" (исцеление ' . $text_msg2 . ' травм), у остальных лекарей есть 5 минут, чтобы завершить заклинание'; + $u->error = ' "' . $text_msg . '" ( ' . $text_msg2 . ' ), 5 , '; mysql_query('INSERT INTO `eff_users` ( `id_eff`,`uid`,`name`,`data`,`overType`,`timeUse`,`user_use`,`v1`,`x` ) VALUES ( - "335","' . $usr['id'] . '","Цепь исцеления","' . $u->info['id'] . '","28","' . time() . '","' . $u->info['id'] . '","' . $type_lechenie . '","1" + "335","' . $usr['id'] . '"," ","' . $u->info['id'] . '","28","' . time() . '","' . $u->info['id'] . '","' . $type_lechenie . '","1" )'); } $itm['iznosNOW']++; @@ -965,13 +965,13 @@ class Magic if ($itm['inGroup'] > 0 && $itm['delete'] == 0) { mysql_query('UPDATE `items_users` SET `inGroup` = "0", `delete` = "0" WHERE `id` = "' . $itm['id'] . '" LIMIT 1'); } - // сообщение в чат - $rtxt = '[img[items/cure_g1.gif]] Лекарь "' . $u->info['login'] . '" кинул цепь исцеления на игрока "' . $usr['login'] . '".'; + // + $rtxt = '[img[items/cure_g1.gif]] "' . $u->info['login'] . '" "' . $usr['login'] . '".'; mysql_query("INSERT INTO `chat` (`new`,`city`,`room`,`login`,`to`,`text`,`time`,`type`,`toChat`,`typeTime`) VALUES (1,'" . $u->info['city'] . "','" . $u->info['room'] . "','','','" . $rtxt . "','" . time() . "','6','0','1')"); } } else { - $u->error = 'Персонаж не имеет данной травмы.'; + $u->error = ' .'; } } @@ -981,44 +981,44 @@ class Magic if ($u->info['id'] != $usr['id']) { $lsct = mysql_fetch_array(mysql_query('SELECT `id_eff` FROM `eff_users` WHERE `uid` = "' . $usr['id'] . '" AND `delete` = "0" AND (`overType` = "' . $itm['overType'] . '" OR (`id_eff` = "' . $itm['magic_inc'] . '" AND "' . (0 + $st['onlyOne']) . '" != "0")) LIMIT 1')); $lsct['good'] = 1; - //Касты + // if ($lsct['id_eff'] >= 291 && $lsct['id_eff'] <= 296 && $itm['magic_inc'] >= 291 && $itm['magic_inc'] <= 296) { if ($lsct['id_eff'] > $itm['magic_inc']) { - $u->error = 'На персонаже есть каст лучше этого!'; + $u->error = ' !'; $lsct['good'] = 0; } } } else { $lsct['good'] = 1; } - //просто используем на персонажа + // if ($lsct['good'] == 0) { } elseif ($u->info['dnow'] != $usr['dnow']) { - $u->error = 'Персонаж находится в другой комнате [пещера]'; + $u->error = ' []'; } elseif ($usr['room'] == 217 || $usr['room'] == 218 || $usr['room'] == 219) { - $u->error = 'Персонаж ' . $u->microLogin($usr['id'], 1) . ' находится в Общежитии!'; + $u->error = ' ' . $u->microLogin($usr['id'], 1) . ' !'; } elseif ($usr['inTurnir'] != 0 && ($u->info['inTurnir'] != $usr['inTurnir'])) { - $u->error = 'Участвует в турнире Башни смерти...'; + $u->error = ' ...'; } elseif ($usr['id'] == $u->info['id'] && isset($st['useOnlyUser'])) { - $u->error = 'Нельзя использовать это заклятие на самого себя'; + $u->error = ' '; } elseif ($usr['online'] < time() - 120 && $usr['bot'] == 0) { - $u->error = 'Персонаж находится в реальном мире ;)'; + $u->error = ' ;)'; } elseif ($usr['room'] != $u->info['room'] && $usr['battle'] != $u->info['battle'] && $u->info['battle'] > 0) { - $u->error = 'Персонаж находится в другой комнате [' . $usr['room'] . ' ' . $u->info['room'] . ']'; + $u->error = ' [' . $usr['room'] . ' ' . $u->info['room'] . ']'; } elseif ($usr['admin'] > 0 && $u->info['admin'] == 0 && isset($st['useNoAdmin'])) { - $u->error = 'Нельзя использовать данное заклятие на Ангелов'; + $u->error = ' '; } elseif ($usr['battle'] > 0 && $u->info['battle'] != $usr['battle']) { - $u->error = 'Персонаж находится в бою'; + $u->error = ' '; } elseif (($u->info['align'] == 2 || $u->info['haos'] > time()) && isset($st['nohaos'])) { - $u->error = 'Хаосники не могут использовать данное заклятие'; + $u->error = ' '; } else { - //добавляем эффект персонажу + // $goodUse = 1; // $tpsm = 0; if ($itm['useInBattle'] == 0 && $usr['battle'] > 0) { - //Нельзя юзать + // $goodUse = 0; } else { if ($usr['battle'] > 0) { @@ -1039,7 +1039,7 @@ class Magic // if ($goodUse == 1) { if (isset($st['onlyOne'])) { - //убираем прошлые эффекты + // $goodUse = 0; $upd1 = mysql_query('UPDATE `eff_users` SET `delete` = "' . time() . '" WHERE `uid` = "' . $usr['id'] . '" AND `delete` = "0" AND `id_eff` = "' . $itm['magic_inc'] . '"'); if ($upd1) { @@ -1047,7 +1047,7 @@ class Magic } } if (isset($st['oneType'])) { - //убираем прошлые эффекты + // $goodUse = 0; $upd2 = mysql_query('UPDATE `eff_users` SET `delete` = "' . time() . '" WHERE `uid` = "' . $usr['id'] . '" AND `delete` = "0" AND `overType` = "' . $itm['overType'] . '"'); if ($upd1) { @@ -1057,20 +1057,20 @@ class Magic } // if ($goodUse == 1 && $itm['magic_inc'] == 'unclone') { - //Переманить клона + // if ($usr['clone'] > 0 && $usr['hpNow'] >= 1 && $usr['team'] != $u->info['team']) { mysql_query('UPDATE `stats` SET `team` = "' . $u->info['team'] . '" WHERE `id` = "' . $usr['id'] . '" LIMIT 1'); if ($u->info['sex'] == 0) { - $txt_m = '{u1} переманил клона {u2} на свою сторону.'; + $txt_m = '{u1} {u2} .'; } else { - $txt_m = '{u1} переманила клона {u2} на свою сторону.'; + $txt_m = '{u1} {u2} .'; } $this->inBattleLog($txt_m, $usr); mysql_query('UPDATE `items_users` SET `iznosNOW` = "' . ($itm['iznosNOW'] + 1) . '" WHERE `id` = "' . $itm['id'] . '" LIMIT 1'); mysql_query('UPDATE `items_users` SET `btl_zd` = "1" WHERE `item_id` = "' . $itm['item_id'] . '" AND `inOdet` > 0 AND `uid` = "' . $u->info['id'] . '" AND `delete` = "0" LIMIT 20'); - $u->error = 'Вы успешно использовали заклинание "' . $itm['name'] . '" на "' . $usr['login'] . '"'; + $u->error = ' "' . $itm['name'] . '" "' . $usr['login'] . '"'; } else { - $u->error = 'Вы не можете переманивать данного персонажа...'; + $u->error = ' ...'; } } elseif ($goodUse == 1) { $us = $this->add_eff($usr['id'], $itm['magic_inc']); @@ -1082,35 +1082,35 @@ class Magic mysql_query('UPDATE `items_users` SET `inGroup` = "0", `delete` = "0" WHERE `id` = "' . $itm['id'] . '" LIMIT 1'); } if ($u->info['id'] != $usr['id']) { - $u->addDelo(1, $u->info['id'], '"System.inventory": Персонаж использовал заклинание "' . $itm['name'] . '" (' . $us[1] . ') на персонажа "' . $usr['login'] . '" (id' . $usr['id'] . ') [itm:' . $itm['id'] . '].', time(), $u->info['city'], 'System.inventory', 0, 0); - $u->addDelo(1, $usr['id'], '"System.inventory": Персонаж "' . $u->info['login'] . '" (id' . $u->info['id'] . ') использовал заклинание "' . $itm['name'] . '" (' . $us[1] . ') на персонажа [itm:' . $itm['id'] . '].', time(), $usr['city'], 'System.inventory', 0, 0); - $u->error = 'Вы успешно использовали заклинание "' . $itm['name'] . '" на персонажа "' . $usr['login'] . '"
    ' . $us[1] . ''; + $u->addDelo(1, $u->info['id'], '"System.inventory": "' . $itm['name'] . '" (' . $us[1] . ') "' . $usr['login'] . '" (id' . $usr['id'] . ') [itm:' . $itm['id'] . '].', time(), $u->info['city'], 'System.inventory', 0, 0); + $u->addDelo(1, $usr['id'], '"System.inventory": "' . $u->info['login'] . '" (id' . $u->info['id'] . ') "' . $itm['name'] . '" (' . $us[1] . ') [itm:' . $itm['id'] . '].', time(), $usr['city'], 'System.inventory', 0, 0); + $u->error = ' "' . $itm['name'] . '" "' . $usr['login'] . '"
    ' . $us[1] . ''; } else { - $u->addDelo(1, $u->info['id'], '"System.inventory": Персонаж использовал заклинание "' . $itm['name'] . '" (' . $us[1] . ') на персонажа самого себя [itm:' . $itm['id'] . '].', time(), $u->info['city'], 'System.inventory', 0, 0); - $u->error = 'Вы успешно использовали заклинание "' . $itm['name'] . '" на самого себя
    ' . $us[1] . ''; + $u->addDelo(1, $u->info['id'], '"System.inventory": "' . $itm['name'] . '" (' . $us[1] . ') [itm:' . $itm['id'] . '].', time(), $u->info['city'], 'System.inventory', 0, 0); + $u->error = ' "' . $itm['name'] . '"
    ' . $us[1] . ''; } // if ($usr['battle'] > 0) { - //Заносим в лог + // $txt_m = ''; if ($u->info['sex'] == 0) { if ($u->info['id'] != $usr['id']) { - $txt_m .= '{u1} воспользовался магией "' . $itm['name'] . '" на {u2}.'; + $txt_m .= '{u1} "' . $itm['name'] . '" {u2}.'; } else { - $txt_m .= '{u1} воспользовался магией "' . $itm['name'] . '" на себя.'; + $txt_m .= '{u1} "' . $itm['name'] . '" .'; } } else { if ($u->info['id'] != $usr['id']) { - $txt_m .= '{u1} воспользовалась магией "' . $itm['name'] . '" на {u2}.'; + $txt_m .= '{u1} "' . $itm['name'] . '" {u2}.'; } else { - $txt_m .= '{u1} воспользовалась магией "' . $itm['name'] . '" на себя.'; + $txt_m .= '{u1} "' . $itm['name'] . '" .'; } } $this->inBattleLog($txt_m, $usr); // - //По завершению боя эффект должен слетать - //306 - положительное , 307 - отрицательное + // + //306 - , 307 - if ($tpsm == 1) { //306 mysql_query('UPDATE `eff_users` SET `v1` = "priem",`v2` = "306",`timeUse` = "77",`hod` = "-1",`img2` = "' . $itm['img'] . '" WHERE `id` = "' . $mmmid . '" LIMIT 1'); @@ -1123,25 +1123,25 @@ class Magic // $this->youuse++; } else { - $u->error = 'Не удалось использовать "' . $itm['name'] . '" ... (' . $itm['magin_inc'] . ' and ' . $itm['magic_inci'] . ', Эффект не добавлен)'; + $u->error = ' "' . $itm['name'] . '" ... (' . $itm['magin_inc'] . ' and ' . $itm['magic_inci'] . ', )'; } } else { - $u->error = 'Не удалось использовать "' . $itm['name'] . '"'; + $u->error = ' "' . $itm['name'] . '"'; } } } } else { - $u->error = 'Персонаж "' . $jl . '" не найден в этом городе (' . $u->info['city'] . ')'; + $u->error = ' "' . $jl . '" (' . $u->info['city'] . ')'; } } elseif (isset($st['useOnItem']) && $st['useOnItem'] == 1) { - //используем на предмет + // } else { - //на себя + // $goodUse = 1; if (($u->info['align'] == 2 || $u->info['haos'] > time()) && isset($st['nohaos'])) { $goodUse = 0; - $u->error = 'Хаосники не могут использовать данное заклятие'; + $u->error = ' '; } if ($itm['magic_inci'] == 'sanich2') { @@ -1151,39 +1151,39 @@ class Magic $slech = rand(0, 4); $goodUse = 0; if ($slech == 1) { - //3083 Настойка на жучьей требухе + //3083 //$this->add_eff($u->info['id'],3083); mysql_query('DELETE FROM `eff_users` WHERE `uid` = "' . $u->info['id'] . '" AND `id_eff` = 290 AND `delete` =0'); $this->add_eff($u->info['id'], 290); - $echotext = 'Настойка на жучьей требухе!'; - $u->error = 'Вы получили эфект от ' . $echotext . ''; + $echotext = ' !'; + $u->error = ' ' . $echotext . ''; } elseif ($slech == 2) { - //5239 Амброзия подмастерья Владык + //5239 //$this->add_eff($u->info['id'],5239); mysql_query('DELETE FROM `eff_users` WHERE `uid` = "' . $u->info['id'] . '" AND `id_eff` = 472 AND `delete` =0'); mysql_query('DELETE FROM `eff_users` WHERE `uid` = "' . $u->info['id'] . '" AND `id_eff` = 470 AND `delete` =0'); $this->add_eff($u->info['id'], 472); - $echotext = 'Амброзия подмастерья Владык!'; - $u->error = 'Вы получили эфект от ' . $echotext . ''; + $echotext = ' !'; + $u->error = ' ' . $echotext . ''; } elseif ($slech == 3) { - //5069 Амброзия Скучающих Владык + //5069 //$this->add_eff($u->info['id'],470); mysql_query('DELETE FROM `eff_users` WHERE `uid` = "' . $u->info['id'] . '" AND `id_eff` = 472 AND `delete` =0'); mysql_query('DELETE FROM `eff_users` WHERE `uid` = "' . $u->info['id'] . '" AND `id_eff` = 470 AND `delete` =0'); $this->add_eff($u->info['id'], 470); - $echotext = 'Амброзия Скучающих Владык!'; - $u->error = 'Вы получили эфект от ' . $echotext . ''; + $echotext = ' !'; + $u->error = ' ' . $echotext . ''; } elseif ($slech == 4) { - //1463 Звездное Сияние + //1463 //$this->add_eff($u->info['id'],1463); mysql_query('DELETE FROM `eff_users` WHERE `uid` = "' . $u->info['id'] . '" AND `id_eff` = 35 AND `delete` =0'); $this->add_eff($u->info['id'], 35); - $echotext = 'Звездное Сияние!'; - $u->error = 'Вы получили эфект от ' . $echotext . ''; + $echotext = ' !'; + $u->error = ' ' . $echotext . ''; } else { $slech = 1; - $echotext = 'Не удалось прочитать страницу!'; + $echotext = ' !'; $u->error = ' ' . $echotext . ' '; } @@ -1192,16 +1192,16 @@ class Magic $u->addAction(time(), 'sanich2', $slech); if ($u->info['sex'] == 1) { - $rtxt = '[img[items/' . $itm['img'] . ']] "' . $u->info['login'] . '" использовала "' . $itm['name'] . ' Саныча" и получила эффект ' . $echotext . ' травмы.'; + $rtxt = '[img[items/' . $itm['img'] . ']] "' . $u->info['login'] . '" "' . $itm['name'] . ' " ' . $echotext . ' .'; } else { - $rtxt = '[img[items/' . $itm['img'] . ']] "' . $u->info['login'] . '" использовал "' . $itm['name'] . ' Саныча" и получил эффект ' . $echotext . ' травмы.'; + $rtxt = '[img[items/' . $itm['img'] . ']] "' . $u->info['login'] . '" "' . $itm['name'] . ' " ' . $echotext . ' .'; } } else { - $u->error = 'Задержка использования ' . $u->timeOut(($sz['time'] + 4 * 60 * 60) - time()) . '.'; + $u->error = ' ' . $u->timeOut(($sz['time'] + 4 * 60 * 60) - time()) . '.'; } } else { - $u->error = 'Невозможно использовать в бою'; + $u->error = ' '; } } elseif ($itm['magic_inci'] == 'sanich1' && $u->info['battle'] > 0) { @@ -1209,7 +1209,7 @@ class Magic $sz = $u->testAction('`uid` = "' . $u->info['id'] . '" AND `vars` = "sanich1" AND `time` > ' . (time() - 6 * 60) . ' LIMIT 1', 1); if (!isset($sz['id'])) { $goodUse = 0; - $u->error = 'Вы успешно использовали "' . $itm['name'] . '"'; + $u->error = ' "' . $itm['name'] . '"'; $z = 1; while ($z <= 5) { $u->info['tactic' . $z]++; @@ -1221,16 +1221,16 @@ class Magic $z++; } if ($u->info['sex'] == 1) { - $this->inBattleLog('{u1} использовала "' . $itm['name'] . ' Саныча".'); + $this->inBattleLog('{u1} "' . $itm['name'] . ' ".'); } else { - $this->inBattleLog('{u1} использовал "' . $itm['name'] . ' Саныча".'); + $this->inBattleLog('{u1} "' . $itm['name'] . ' ".'); } mysql_query('UPDATE `stats` SET `tactic1` = "' . $u->info['tactic1'] . '",`tactic2` = "' . $u->info['tactic2'] . '",`tactic3` = "' . $u->info['tactic3'] . '",`tactic4` = "' . $u->info['tactic4'] . '",`tactic5` = "' . $u->info['tactic5'] . '" WHERE `id` = "' . $u->info['id'] . '" LIMIT 1'); $itm['iznosNOW']++; mysql_query('UPDATE `items_users` SET `iznosNOW` = "' . $itm['iznosNOW'] . '" WHERE `id` = "' . $itm['id'] . '" AND `uid` = "' . $u->info['id'] . '" LIMIT 1'); $u->addAction(time(), 'sanich1', $u->info['battle']); } else { - $u->error = 'Задержка использования ' . $u->timeOut(($sz['time'] + 6 * 60) - time()) . '.'; + $u->error = ' ' . $u->timeOut(($sz['time'] + 6 * 60) - time()) . '.'; } } elseif ($itm['magic_inci'] == 'sanich3' && $u->info['battle'] > 0) { @@ -1243,12 +1243,12 @@ class Magic $iznslvl = $usr['level']; $goodUse = 0; - $u->error = 'Вы успешно использовали "' . $itm['name'] . '" на ' . $usr['login'] . ''; + $u->error = ' "' . $itm['name'] . '" ' . $usr['login'] . ''; if ($u->info['sex'] == 1) { - $this->inBattleLog('{u1} использовала "' . $itm['name'] . ' Саныча" на {u2}.', $usr); + $this->inBattleLog('{u1} "' . $itm['name'] . ' " {u2}.', $usr); } else { - $this->inBattleLog('{u1} использовал "' . $itm['name'] . ' Саныча" на {u2}.', $usr); + $this->inBattleLog('{u1} "' . $itm['name'] . ' " {u2}.', $usr); } mysql_query('UPDATE `stats` SET `hpNow` = "' . $usr['hpNow'] . '" WHERE `id` = "' . $u->info['id'] . '" LIMIT 1'); @@ -1257,11 +1257,11 @@ class Magic mysql_query('UPDATE `items_users` SET `iznosNOW` = "' . $itm['iznosNOW'] . '" WHERE `id` = "' . $itm['id'] . '" AND `uid` = "' . $u->info['id'] . '" LIMIT 1'); $u->addAction(time(), 'sanich3', $u->info['battle']); } else { - $u->error = 'Нет подходящего противника'; + $u->error = ' '; } } else { - $u->error = 'Задержка использования ' . $u->timeOut(($sz['time'] + 3 * 60 * 60) - time()) . '.'; + $u->error = ' ' . $u->timeOut(($sz['time'] + 3 * 60 * 60) - time()) . '.'; } } elseif ($itm['magic_inci'] == 'lech') { @@ -1269,7 +1269,7 @@ class Magic if ($u->info['level'] >= 2 and $u->info['level'] <= 13) { $travm = mysql_fetch_array(mysql_query('SELECT * FROM `eff_users` WHERE `uid`="' . $u->info['id'] . '" and `id_eff`="4" and `delete`="0" LIMIT 1')); if ($travm && $travm['v1'] == 4) - $u->error = 'У вас неизлечимая травма, вам помогут только боги или время.'; + $u->error = ' , .'; elseif ($travm) { mysql_query('UPDATE `eff_users` SET `delete` = "' . time() . '" WHERE `id` = "' . $travm['id'] . '" LIMIT 1'); $itm['iznosNOW']++; @@ -1278,10 +1278,10 @@ class Magic mysql_query('UPDATE `items_users` SET `inGroup` = "0", `delete` = "0" WHERE `id` = "' . $itm['id'] . '" LIMIT 1'); } } else { - $u->error = 'У вас нету травмы.'; + $u->error = ' .'; } } else { - $u->error = 'Ваш уровень не подходит для использования свитка.'; + $u->error = ' .'; } } @@ -1290,9 +1290,9 @@ class Magic $upd1 = 1; $upd2 = 1; - //добавляем эффект персонажу + // if (isset($st['onlyOne'])) { - //убираем прошлые эффекты + // $goodUse = 0; $upd1 = mysql_query('UPDATE `eff_users` SET `delete` = "' . time() . '" WHERE `uid` = "' . $u->info['id'] . '" AND `delete` = "0" AND `id_eff` = "' . $itm['magic_inc'] . '"'); if ($upd1) { @@ -1300,7 +1300,7 @@ class Magic } } if (isset($st['oneType'])) { - //убираем прошлые эффекты + // $goodUse = 0; $upd2 = mysql_query('UPDATE `eff_users` SET `delete` = "' . time() . '" WHERE `uid` = "' . $u->info['id'] . '" AND `delete` = "0" AND `overType` = "' . $itm['overType'] . '"'); if ($upd1) { @@ -1309,36 +1309,35 @@ class Magic } if ($itm['magic_inci'] == 'unclone') { - //Свиток клонирования + // if ($u->info['hpNow'] < 1) { - $u->error = 'Вам не удалось переманить клона...'; + $u->error = ' ...'; } elseif ($u->info['battle'] == 0) { - $u->error = 'Можно использовать только в поединке...'; + $u->error = ' ...'; } else { - //Преманиваем - $u->error = 'Переманили...'; + // + $u->error = '...'; } } elseif ($itm['magic_inci'] == 'cloneMe') { - //Свиток клонирования + // if (true == false) { - $u->error = 'Свитки клонирования запрещены в нашем проекте.'; + $u->error = ' .'; } elseif ($u->info['hpNow'] < 1) { - $u->error = 'Вы успешно клонировали свой труп ;)'; + $u->error = ' ;)'; } elseif ($u->info['battle'] == 0) { - $u->error = 'Можно использовать только в поединке...'; + $u->error = ' ...'; } else { - $bot_cou = mysql_fetch_array(mysql_query('SELECT COUNT(`id`) FROM `users` WHERE `login` LIKE "%' . $u->info['login'] . ' (клон%" AND `battle` = "' . $u->info['battle'] . '" LIMIT 1')); + $bot_cou = mysql_fetch_array(mysql_query('SELECT COUNT(`id`) FROM `users` WHERE `login` LIKE "%' . $u->info['login'] . ' (%" AND `battle` = "' . $u->info['battle'] . '" LIMIT 1')); $bot_cou = $bot_cou[0] + 1; - //Добавляем бота + // $clone = [ 'id' => $u->info['id'], - 'login' => $u->info['login'] . ' (клон ' . $bot_cou . ')', + 'login' => $u->info['login'] . ' ( ' . $bot_cou . ')', 'level' => $u->info['level'], 'city' => $u->info['city'], 'cityreg' => $u->info['cityreg'], 'name' => $u->info['name'], 'sex' => $u->info['sex'], - 'deviz' => $u->info['deviz'], 'hobby' => $u->info['hobby'], 'time_reg' => $u->info['time_reg'], 'obraz' => $u->info['obraz'], @@ -1352,24 +1351,24 @@ class Magic if ($bot > 0) { mysql_query('UPDATE `stats` SET `team` = "' . $u->info['team'] . '",`hpNow` = "' . $u->stats['hpNow'] . '",`mpNow` = "' . $u->stats['mpNow'] . '" WHERE `id` = "' . $bot . '" LIMIT 1'); mysql_query('UPDATE `users` SET `battle` = "' . $u->info['battle'] . '" WHERE `id` = "' . $bot . '" LIMIT 1'); - //Доабвляем лог + // if ($u->info['sex'] == 0) { - $txt_m = '{u1} использовал "' . $itm['name'] . '" и породил клона.'; + $txt_m = '{u1} "' . $itm['name'] . '" .'; } else { - $txt_m = '{u1} использовала "' . $itm['name'] . '" и породила клона.'; + $txt_m = '{u1} "' . $itm['name'] . '" .'; } $this->inBattleLog($txt_m, null); if ($u->info['sex'] == 0) { - $txt_m = '' . $u->info['login'] . ' (клон ' . $bot_cou . ')[' . $u->info['level'] . '] вмешался в поединок!'; + $txt_m = '' . $u->info['login'] . ' ( ' . $bot_cou . ')[' . $u->info['level'] . '] !'; } else { - $txt_m = '' . $u->info['login'] . ' (клон ' . $bot_cou . ')[' . $u->info['level'] . '] вмешалась в поединок!'; + $txt_m = '' . $u->info['login'] . ' ( ' . $bot_cou . ')[' . $u->info['level'] . '] !'; } $this->inBattleLog($txt_m, $usr_m); mysql_query('UPDATE `items_users` SET `iznosNOW` = "' . ($itm['iznosNOW'] + 1) . '" WHERE `id` = "' . $itm['id'] . '" LIMIT 1'); mysql_query('UPDATE `items_users` SET `btl_zd` = "1" WHERE `item_id` = "' . $itm['item_id'] . '" AND `inOdet` > 0 AND `uid` = "' . $u->info['id'] . '" AND `delete` = "0" LIMIT 20'); - $u->error = 'Заклятие "' . $itm['name'] . '" было успешно использовано'; + $u->error = ' "' . $itm['name'] . '" '; } else { - $u->error = 'Неудалось использовать заклятие...'; + $u->error = ' ...'; } unset($txt_m, $usr_m, $clone, $bot_cou, $bot); } @@ -1379,25 +1378,25 @@ class Magic $sp = mysql_query('SELECT `st`.*, `u`.* FROM `stats` AS `st` LEFT JOIN `users` AS `u` ON (`st`.`id` = `u`.`id`) WHERE `inTurnir` = "' . $u->info['inTurnir'] . '"'); while ($pl = mysql_fetch_array($sp)) { $rrm = mysql_fetch_array(mysql_query('SELECT * FROM `bs_map` WHERE `x` = "' . $pl['x'] . '" AND `y` = "' . $pl['y'] . '"')); - $trnt .= $pl['login'] . ' Комната : ' . $rrm['name'] . ', '; + $trnt .= $pl['login'] . ' : ' . $rrm['name'] . ', '; } $trnt = rtrim($trnt, ', '); $it_ = $u->addItem(2435, $u->info['id'], 'noodet=1|noremont=1|sudba=' . $u->info['login'] . ''); mysql_query('UPDATE `items_users` SET `use_text` = 500 WHERE `id` = "' . $it_ . '" LIMIT 1'); mysql_query('INSERT INTO `items_text` (`item_id`,`time`,`login`,`text`,`city`,`x`,`type`) VALUES ("' . $it_ . '","' . time() . '","","' . mysql_real_escape_string($trnt) . '","' . $u->info['city'] . '","1","1")'); mysql_query('DELETE FROM `items_users` WHERE `id` = "' . $itm['id'] . '" LIMIT 1'); - $u->error = 'Вы получили выписку...'; + $u->error = ' ...'; } else { - $u->error = 'Используется только в Башне смерти...'; + $u->error = ' ...'; } } elseif ($itm['magic_inci'] == 'tactic') { - //Выдаем тактику + // if ($u->stats['hpNow'] >= 1) { $bu = mysql_fetch_array(mysql_query('SELECT * FROM `tactic` WHERE `btl` = "' . $u->info['battle'] . '" AND `uid` = "' . $u->info['id'] . '" LIMIT 1')); if (isset($bu['id'])) { - $u->error = 'Нельзя использовать свиток каждый ход...'; + $u->error = ' ...'; } else { // mysql_query('INSERT INTO `tactic` (`btl`,`uid`,`time`,`item_id`,`var`,`hod`) VALUES ("' . $u->info['battle'] . '","' . $u->info['id'] . '","' . time() . '","' . $itm['item_id'] . '","' . $itm['name'] . '","1")'); @@ -1407,76 +1406,76 @@ class Magic )'); $u->info['tactic' . $st['addtac']] += $st['addtacv']; mysql_query('UPDATE `stats` SET `tactic' . $st['addtac'] . '` = "' . $u->info['tactic' . $st['addtac']] . '" WHERE `id` = "' . $u->info['id'] . '" LIMIT 1'); - //Доабвляем лог + // if ($u->info['sex'] == 0) { - $txt_m = '{u1} применил заклинание "' . $itm['name'] . '".'; + $txt_m = '{u1} "' . $itm['name'] . '".'; } else { - $txt_m = '{u1} применила заклинание "' . $itm['name'] . '".'; + $txt_m = '{u1} "' . $itm['name'] . '".'; } $this->inBattleLog($txt_m, null); mysql_query('UPDATE `items_users` SET `iznosNOW` = "' . ($itm['iznosNOW'] + 1) . '" WHERE `id` = "' . $itm['id'] . '" LIMIT 1'); - $u->error = 'Заклятие "' . $itm['name'] . '" было успешно использовано'; + $u->error = ' "' . $itm['name'] . '" '; } } else { - $u->error = 'Вы погибли...'; + $u->error = ' ...'; } } elseif ($itm['magic_inci'] == 'add_animal') { if ($u->info['animal'] > 0) { - $u->error = 'Не удалось использовать "' . $itm['name'] . '", у Вас уже есть зверь.'; + $u->error = ' "' . $itm['name'] . '", .'; } else { $anm = ['type' => 1, 'name' => '', 'obraz' => '', 'stats' => '', 'sex' => 0]; - //Выбираем тип зверя + // - if ($itm['name'] == 'Призвать Сову') { + if ($itm['name'] == ' ') { $anm['type'] = 2; - } elseif ($itm['name'] == 'Призвать Светляка') { + } elseif ($itm['name'] == ' ') { $anm['type'] = 3; - } elseif ($itm['name'] == 'Призвать Кота') { + } elseif ($itm['name'] == ' ') { $anm['type'] = 1; - } elseif ($itm['name'] == 'Призвать Чертяку') { + } elseif ($itm['name'] == ' ') { $anm['type'] = 4; - } elseif ($itm['name'] == 'Призвать Свина') { + } elseif ($itm['name'] == ' ') { $anm['type'] = 6; - } elseif ($itm['name'] == 'Призвать Пса') { + } elseif ($itm['name'] == ' ') { $anm['type'] = 5; - } elseif ($itm['name'] == 'Призвать Дракона') { + } elseif ($itm['name'] == ' ') { $anm['type'] = 7; if ($anm['type'] == 1) { - $anm['name'] = 'Кот'; + $anm['name'] = ''; $anm['sex'] = 0; $anm['obraz'] = [1 => '20864.gif', 2 => '21301.gif', 3 => '21139.gif', 4 => '20427.gif']; $anm['stats'] = 's1=2|s2=5|s3=2|s4=5|rinv=40|m9=5|m6=10'; } elseif ($anm['type'] == 7) { - $anm['name'] = 'Дракон'; + $anm['name'] = ''; $anm['sex'] = 0; $anm['obraz'] = [1 => '21338_pgtpdbx.gif']; $anm['stats'] = 's1=5|s2=3|s3=3|s4=5|rinv=40|m9=5|m6=10'; } } elseif ($anm['type'] == 2) { - $anm['name'] = 'Сова'; + $anm['name'] = ''; $anm['sex'] = 1; $anm['obraz'] = [1 => '21415.gif', 2 => '21722.gif', 3 => '21550.gif']; $anm['stats'] = 's1=2|s2=2|s3=5|s4=5|rinv=40|m9=5|m6=10'; } elseif ($anm['type'] == 3) { - $anm['name'] = 'Светляк'; + $anm['name'] = ''; $anm['sex'] = 0; $anm['obraz'] = [1 => '22277.gif', 2 => '22265.gif', 3 => '22333.gif', 4 => '22298.gif']; $anm['stats'] = 's1=3|s2=10|s3=3|s4=4|rinv=40|m9=5|m6=10'; } elseif ($anm['type'] == 4) { - $anm['name'] = 'Чертяка'; + $anm['name'] = ''; $anm['sex'] = 0; $anm['obraz'] = [1 => '22177.gif', 2 => '21976.gif', 3 => '21877.gif']; $anm['stats'] = 's1=5|s2=3|s3=3|s4=5|rinv=40|m9=5|m6=10'; } elseif ($anm['type'] == 5) { - $anm['name'] = 'Пес'; + $anm['name'] = ''; $anm['sex'] = 0; $anm['obraz'] = [1 => '22352.gif', 2 => '23024.gif', 3 => '22900.gif', 4 => '22501.gif', 5 => '22700.gif']; $anm['stats'] = 's1=5|s2=3|s3=3|s4=5|rinv=40|m9=5|m6=10'; } elseif ($anm['type'] == 6) { - $anm['name'] = 'Свин'; + $anm['name'] = ''; $anm['sex'] = 0; $anm['obraz'] = [1 => '24000.gif', 2 => '25000.gif', 3 => '27000.gif', 4 => '28000.gif']; $anm['stats'] = 's1=5|s2=3|s3=3|s4=5|rinv=40|m9=5|m6=10'; @@ -1490,15 +1489,15 @@ class Magic $u->info['animal'] = mysql_insert_id(); mysql_query('UPDATE `users` SET `animal` = "' . $u->info['animal'] . '" WHERE `id` = "' . $u->info['id'] . '" LIMIT 1'); - $u->error = 'Вы успешно использовали "' . $itm['name'] . '" и помните - "Мы в ответе за тех, кого приручили".'; + $u->error = ' "' . $itm['name'] . '" - " , ".'; $itm['iznosNOW']++; mysql_query('UPDATE `items_users` SET `iznosNOW` = "' . $itm['iznosNOW'] . '" WHERE `id` = "' . $itm['id'] . '" AND `uid` = "' . $u->info['id'] . '" LIMIT 1'); if ($itm['inGroup'] > 0 && $itm['delete'] == 0) { mysql_query('UPDATE `items_users` SET `inGroup` = "0", `delete` = "0" WHERE `id` = "' . $itm['id'] . '" LIMIT 1'); } - $u->addDelo(1, $u->info['id'], '"System.inventory": Персонаж использовал заклинание "' . $itm['name'] . '" (' . $us[1] . ') [itm:' . $itm['id'] . '].', time(), $u->info['city'], 'System.inventory', 0, 0); + $u->addDelo(1, $u->info['id'], '"System.inventory": "' . $itm['name'] . '" (' . $us[1] . ') [itm:' . $itm['id'] . '].', time(), $u->info['city'], 'System.inventory', 0, 0); } else { - $u->error = 'Не удалось использовать "' . $itm['name'] . '", что-то здесь не так ...'; + $u->error = ' "' . $itm['name'] . '", - ...'; } } } elseif ($goodUse == 1) { @@ -1512,21 +1511,21 @@ class Magic if ($itm['inGroup'] > 0 && $itm['delete'] == 0) { mysql_query('UPDATE `items_users` SET `inGroup` = "0", `delete` = "0" WHERE `id` = "' . $itm['id'] . '" LIMIT 1'); } - $u->addDelo(1, $u->info['id'], '"System.inventory": Персонаж использовал заклинание "' . $itm['name'] . '" (' . $us[1] . ') [itm:' . $itm['id'] . '].', time(), $u->info['city'], 'System.inventory', 0, 0); + $u->addDelo(1, $u->info['id'], '"System.inventory": "' . $itm['name'] . '" (' . $us[1] . ') [itm:' . $itm['id'] . '].', time(), $u->info['city'], 'System.inventory', 0, 0); $this->youuse++; - $u->error = 'Вы успешно использовали заклинание "' . $itm['name'] . '"
    ' . $us[1] . ''; + $u->error = ' "' . $itm['name'] . '"
    ' . $us[1] . ''; } else { if ($u->error != '') { - $u->error = 'Не удалось использовать "' . $itm['name'] . '"...
    ' . $u->error; + $u->error = ' "' . $itm['name'] . '"...
    ' . $u->error; } else { - $u->error = 'Не удалось использовать "' . $itm['name'] . '"...'; + $u->error = ' "' . $itm['name'] . '"...'; } } } else { if ($u->error != '') { - $u->error = 'Не удалось использовать "' . $itm['name'] . '"
    ' . $u->error; + $u->error = ' "' . $itm['name'] . '"
    ' . $u->error; } else { - $u->error = 'Не удалось использовать "' . $itm['name'] . '"'; + $u->error = ' "' . $itm['name'] . '"'; } } } @@ -1539,13 +1538,13 @@ class Magic } else { if ($id == 5555) { mysql_query('UPDATE `stats` SET `seff` = 0 WHERE `id` = "' . $u->info['id'] . '" LIMIT 1'); - $u->error = 'Эфекты развернуты'; + $u->error = ' '; } elseif ($id == 7777) { mysql_query('UPDATE `stats` SET `seff` = 1 WHERE `id` = "' . $u->info['id'] . '" LIMIT 1'); - $u->error = 'Эфекты свернуты'; + $u->error = ' '; } else { - $u->error = 'Предмет не найден в инвентаре'; + $u->error = ' '; } } @@ -1558,9 +1557,9 @@ class Magic $eff = mysql_fetch_array(mysql_query('SELECT * FROM `eff_main` WHERE `id2` = "' . $id . '" LIMIT 1')); if ($is_no != null) { - //добавляем эффект персонажу + // if ($eff['onlyOne'] > 0) { - //убираем прошлые эффекты + // $goodUse = 0; $upd1 = mysql_query('UPDATE `eff_users` SET `delete` = "' . time() . '" WHERE `uid` = "' . $uid . '" AND `delete` = "0" AND `id_eff` = "' . $eff['id2'] . '"'); if ($upd1) { @@ -1568,7 +1567,7 @@ class Magic } } if ($st['oneType'] > 0) { - //убираем прошлые эффекты + // $goodUse = 0; $upd2 = mysql_query('UPDATE `eff_users` SET `delete` = "' . time() . '" WHERE `uid` = "' . $uid . '" AND `delete` = "0" AND `overType` = "' . $eff['overType'] . '"'); if ($upd2) { @@ -1591,7 +1590,7 @@ class Magic return $g; } - //Проверка травмы + // public function testTravma($uid, $vals) { $r = false; @@ -1604,7 +1603,7 @@ class Magic private static function getDressedEkrTotalPrice($uid) { - return \Insallah\Db::getValue('select sum(2price) from items_users where inOdet > 0 and uid = ?', [$uid]); + return \Core\Db::getValue('select sum(2price) from items_users where inOdet > 0 and uid = ?', [$uid]); } private static function canAttack8Level($attacker, $target) @@ -1615,7 +1614,7 @@ class Magic return $aSum >= $tRange['min'] && $aSum <= $tRange['max']; } - //создаем нападение на персонажа + // public function atackUser($uid1, $uid2, $tm, $btl, $addExp = 0, $type = 0, $kulak = 0, $bsid = 0) { global $u; @@ -1623,63 +1622,63 @@ class Magic $btl_test = mysql_fetch_array(mysql_query('SELECT * FROM `battle` WHERE `id` = "' . $btl . '" AND `team_win` = -1 LIMIT 1')); $clan_test = mysql_fetch_array(mysql_query('SELECT * FROM `clan_wars` WHERE ((`clan1`="' . $u->info['clan'] . '" AND `clan2`="' . $usr['clan'] . '") OR (`clan2`="' . $u->info['clan'] . '" AND `clan1`="' . $usr['clan'] . '")) AND `time_finish` > "' . time() . '" LIMIT 1')); $good = 0; - //Эффекты из-за которых нельзя нападать + // - $efsno = mysql_fetch_array(mysql_query('SELECT * FROM `eff_users` WHERE `uid` = "' . $uid2 . '" - AND `name` LIKE "%Лепим снежок%" AND `delete` = "0" + AND `name` LIKE "% %" AND `delete` = "0" LIMIT 1')); $check = mysql_fetch_array(mysql_query('SELECT * FROM `eff_users` WHERE `id_eff` = 478 AND `uid` = "' . $u->info['id'] . '" AND `delete` = 0 ORDER BY `overType` DESC LIMIT 1;')); $check2 = mysql_fetch_array(mysql_query('SELECT * FROM `eff_users` WHERE (`id_eff` = 479 OR `id_eff` = 480 OR `id_eff` = 481) AND `uid` = "' . $usr['id'] . '" AND `delete` = 0 ORDER BY `overType` DESC LIMIT 1;')); - $u->error = 'Нельзя нападать на монстра этого уровня!'; + $u->error = ' !'; if ($usr['no_ip'] == 'trupojor' && $usr['level'] == 9 && $u->info['level'] > 9) { - $u->error = 'Нельзя нападать на монстра этого уровня!'; + $u->error = ' !'; } elseif ($usr['no_ip'] == 'trupojor' && $usr['level'] == 10 && ($u->info['level'] < 10 || $u->info['level'] > 11)) { - $u->error = 'Нельзя нападать на монстра этого уровня!'; + $u->error = ' !'; } elseif ($ua['no_ip'] == 'trupojor' && isset($check['id'])) { //&& $ua['level'] >9 - $u->error = 'Нельзя нападать на монстра чаще одного раза в 3 часа!'; + $u->error = ' 3 !'; } elseif (isset($check2['id'])) { //&& $ua['level'] >9 - $u->error = 'Персонаж имеет защиту от нападения!'; + $u->error = ' !'; } elseif ($usr['level'] == 8 && $usr['no_ip'] != 'trupojor' && self::canAttack8Level($u->info['id'], $usr['id'])) { - $u->error = 'На 8-е уровни нападать нельзя.'; + $u->error = ' 8- .'; } elseif ($u->info['level'] != $usr['level'] && $usr['no_ip'] != 'trupojor') { //&& !isset ($clan_test['id']) - $u->error = 'Нападать можно на персонажей только своего уровня!!!'; + $u->error = ' !!!'; } elseif (isset($btl_test['id']) && $btl_test['noatack'] > 0) { - $u->error = 'Поединок защищен магией! Вы не можете вмешаться!'; + $u->error = ' ! !'; } elseif ($usr['level'] < 8) { - $u->error = 'Новички находятся под защитой Мироздателя...'; + $u->error = ' ...'; } elseif ($u->info['level'] < 8) { - $u->error = 'Тренируйтесь вам пока еще рано...'; + $u->error = ' ...'; } elseif (isset($efsno['id']) && $efsno['delete'] > 0) { - $u->error = 'Невозможно напасть, противник чем-то занят...'; + $u->error = ' , - ...'; } elseif ($usr['admin'] == 1 && $u->info['admin'] == 0) { - $u->error = 'Уважайте хранителей...'; + $u->error = ' ...'; } elseif ($this->testTravma($uid2, 3)) { - $u->error = 'Противник тяжело травмирован, нельзя напасть!'; + $u->error = ' , !'; } elseif ($this->testTravma($uid1, 2)) { - $u->error = 'Вы травмированы, нельзя напасть!'; + $u->error = ' , !'; } elseif ($bsid != 0 && ($u->info['x'] != $usr['x'] || $u->info['y'] != $usr['y'])) { - $u->error = 'Вы находитесь в разных комнатах...'; + $u->error = ' ...'; } elseif ($usr['clan'] != 0 && ($usr['clan'] == $u->info['clan']) && $u->info['admin'] == 0) { - $u->error = 'Чтите честь ваших сокланов.'; + $u->error = ' .'; } elseif ($btl != 0 && $btl_test['smert'] == 1 && $type != 222) { - $u->error = 'Вы не можете вмешаться в этот кровавый поединок!'; + $u->error = ' !'; } elseif ($btl == 0) { $s01 = $u->getStats($uid1, 0); if ($s01['hpNow'] < floor($s01['hpAll'] / 100 * 33)) { - $u->error = 'Нельзя напасть, у противника не восстановилось здоровье'; + $u->error = ' , '; } else { $addExp += $usr['bbexp']; - //effect ненападения + //effect if ($usr['no_ip'] == 'trupojor') { - mysql_query('INSERT INTO `eff_users` (`no_Ace`,`id_eff`,`overType`,`uid`,`name`,`data`,`timeUse`) VALUES ("1","479","112","' . $u->info['id'] . '","Защита от нападения","zashitatk=1","' . time() . '")'); + mysql_query('INSERT INTO `eff_users` (`no_Ace`,`id_eff`,`overType`,`uid`,`name`,`data`,`timeUse`) VALUES ("1","479","112","' . $u->info['id'] . '"," ","zashitatk=1","' . time() . '")'); } - //тут клан вар + // //************ - //нападаем на персонажа + // $timewait = rand(1, 3); - //===Удаление защиты от нападения в результате нападения пользователем + //=== $dsl = mysql_query('SELECT * FROM `eff_users` WHERE (`id_eff` = 479 OR `id_eff` = 480 OR `id_eff` = 481) AND `uid` = "' . $u->info['id'] . '" AND `delete` = 0 ORDER BY `overType` DESC;'); while ($dpl = mysql_fetch_array($dsl)) { mysql_query('UPDATE `eff_users` SET `delete` = "' . time() . '" WHERE `id` = "' . $dpl['id'] . '";'); @@ -1741,7 +1740,7 @@ class Magic unset($timewait); if ($ins) { $btl_id = mysql_insert_id(); - //Обновляем НР и МР игрокам + // if ($s01['level'] <= 7) { $s01['tactic7'] = floor(10 / $s01['hpAll'] * $s01['hpNow']); } elseif ($s01['level'] == 8) { @@ -1778,9 +1777,9 @@ class Magic if ($bsid != 0) { $bs = mysql_fetch_array(mysql_query('SELECT * FROM `bs_turnirs` WHERE `id` = "' . $u->info['inTurnir'] . '" LIMIT 1')); if ($u->info['sex'] == 0) { - $text = ' {u1} напал на {u2} завязался бой »»'; + $text = ' {u1} {u2} '; } else { - $text = ' {u1} напала на {u2} завязался бой »»'; + $text = ' {u1} {u2} '; } $usr_real = mysql_fetch_array(mysql_query('SELECT `id`, `login`, `align`, `clan`, `battle`, `level` FROM `users` WHERE (`inUser` = "' . $usr['id'] . '" OR `id` = "' . $usr['id'] . '") LIMIT 1')); if (!isset($usr_real['id'])) { @@ -1796,7 +1795,7 @@ class Magic } $usrreal .= '' . $usr_real['login'] . '[' . $usr_real['level'] . ']'; } else { - $usrreal = 'Невидимка[??]'; + $usrreal = '[??]'; } $me_real = mysql_fetch_array(mysql_query('SELECT `id`,`login`,`align`,`clan`,`battle`,`level` FROM `users` WHERE `inUser` = "' . $u->info['id'] . '" AND `login` = "' . $u->info['login'] . '" LIMIT 1')); if (isset($me_real['id'])) { @@ -1809,7 +1808,7 @@ class Magic } $mereal .= '' . $me_real['login'] . '[' . $me_real['level'] . ']'; } else { - $mereal = 'Невидимка[??]'; + $mereal = '[??]'; } $text = str_replace('{u1}', $mereal, $text); $text = str_replace('{u2}', $usrreal, $text); @@ -1821,19 +1820,19 @@ class Magic } } } elseif (isset($btl_test['id']) && $btl_test['type'] == 500 && $usr['team'] == 1) { - $u->error = 'Нельзя сражаться на стороне монстров!'; + $u->error = ' !'; } elseif (isset($btl_test['id']) && $btl_test['type'] == 250 && $u->info['clan'] != $btl_test['clan1'] && $u->info['clan'] != $btl_test['clan2']) { - $u->error = 'Нельзя попасть в клановые бои - если вы неявляетесь представителем данных кланов!!!'; + $u->error = ' - !!!'; } elseif (isset($btl_test['id']) && $btl_test['invis'] > 0) { - $u->error = 'Нельзя вмешиваться в невидимый бой!'; + $u->error = ' !'; } elseif ($btl_test['noatack'] > 0) { - $u->error = 'В этот поединок нельзя вмешиваться!'; + $u->error = ' !'; } else { - //вмешиваемся в бой - //effect ненападения + // + //effect if ($usr['no_ip'] == 'trupojor') { - mysql_query('INSERT INTO `eff_users` (`no_Ace`,`id_eff`,`overType`,`uid`,`name`,`data`,`timeUse`) VALUES ("1","479","112","' . $u->info['id'] . '","Защита от нападения","zashitatk=1","' . time() . '")'); + mysql_query('INSERT INTO `eff_users` (`no_Ace`,`id_eff`,`overType`,`uid`,`name`,`data`,`timeUse`) VALUES ("1","479","112","' . $u->info['id'] . '"," ","zashitatk=1","' . time() . '")'); } $upd = mysql_query('UPDATE `users` SET `battle`="' . $btl . '" WHERE `id` = "' . $uid1 . '" LIMIT 1'); if ($upd) { @@ -1857,12 +1856,12 @@ class Magic $uid1st['tactic7'] = floor((10 + $uid1st['s7']) / $uid1st['hpAll'] * $uid1st['hpNow']); } - //Духовность, спасение + //, if ($uid1st['s7'] > 49) { mysql_query('UPDATE `eff_users` SET `delete`="' . time() . '" WHERE `uid` = "' . $uid1st['id'] . '" AND `overType` = 101 AND `delete` = 0'); mysql_query(" INSERT INTO `eff_users` ( `id_eff`, `uid`, `name`, `data`, `overType`, `timeUse`, `timeAce`, `user_use`, `delete`, `v1`, `v2`, `img2`, `x`, `hod`, `bj`, `sleeptime`, `no_Ace`, `file_finish`, `tr_life_user`, `deactiveTime`, `deactiveLast`, `mark`, `bs`) VALUES - ( 22, '" . $uid1st['id'] . "', 'Спасение', 'add_spasenie=1', 101, 77, 0, '" . $uid1st['id'] . "', 0, 'priem', 324, 'preservation.gif', 1, -1, 'спасение', 0, 0, '', 0, 0, 0, 1, 0); + ( 22, '" . $uid1st['id'] . "', '', 'add_spasenie=1', 101, 77, 0, '" . $uid1st['id'] . "', 0, 'priem', 324, 'preservation.gif', 1, -1, '', 0, 0, '', 0, 0, 0, 1, 0); "); } @@ -1879,13 +1878,13 @@ class Magic } $btxt = $btxt . '{u1}[' . $uid1u['level'] . ']'; if ($uid1u['sex'] == 1) { - $btxt = $btxt . ' вмешалась в поединок.'; + $btxt = $btxt . ' .'; } else { - $btxt = $btxt . ' вмешался в поединок.'; + $btxt = $btxt . ' .'; } if ($kulak > 0) { - $btxt .= ' (Кулачное нападение)'; + $btxt .= ' ( )'; } $lastHOD = mysql_fetch_array(mysql_query('SELECT * FROM `battle_logs` WHERE `battle` = "' . $btl . '" ORDER BY `id_hod` DESC LIMIT 1')); @@ -1897,7 +1896,7 @@ class Magic mysql_query('INSERT INTO `battle_logs` (`time`,`battle`,`id_hod`,`text`,`vars`,`zona1`,`zonb1`,`zona2`,`zonb2`,`type`) VALUES ("' . time() . '","' . $btl . '","' . ($id_hod) . '","{tm1} ' . $btxt . '","login1=' . $uid1st['login'] . '||t1=' . $uid1st['team'] . '||login2=' . $uid1st['login'] . '||t2=' . $uid1st['team'] . '||time1=' . time() . '","","","","","6")'); } - // Бафф Зверя animal_bonus --------------------------------- + // animal_bonus --------------------------------- if ($u->info['animal'] > 0) { $a = mysql_fetch_array(mysql_query('SELECT * FROM `users_animal` WHERE `uid` = "' . $u->info['id'] . '" AND `id` = "' . $u->info['animal'] . '" AND `pet_in_cage` = "0" AND `delete` = "0" LIMIT 1')); if (isset($a['id'])) { @@ -1906,8 +1905,8 @@ class Magic $anl = $anl['bonus']; $tpa = [1 => 'cat', 2 => 'owl', 3 => 'wisp', 4 => 'demon', 5 => 'dog', 6 => 'pig', 7 => 'dragon']; - $tpa2 = [1 => 'Кота', 2 => 'Совы', 3 => 'Светляка', 4 => 'Чертяки', 5 => 'Пса', 6 => 'Свина', 7 => 'Дракона']; - $tpa3 = [1 => 'Кошачья Ловкость', 2 => 'Интуиция Совы', 3 => 'Сила Стихий', 4 => 'Демоническая Сила', 5 => 'Друг', 6 => 'Полная Броня', 7 => 'Инферно']; + $tpa2 = [1 => '', 2 => '', 3 => '', 4 => '', 5 => '', 6 => '', 7 => '']; + $tpa3 = [1 => ' ', 2 => ' ', 3 => ' ', 4 => ' ', 5 => '', 6 => ' ', 7 => '']; mysql_query('UPDATE `eff_users` SET `delete`="' . time() . '" WHERE `uid` = "' . $u->info['id'] . '" AND `overType` = 100 AND `delete` = 0'); mysql_query('INSERT INTO `eff_users` (`hod`,`v2`,`img2`,`id_eff`,`uid`,`name`,`data`,`overType`,`timeUse`,`v1`,`user_use`) VALUES ("-1","201","summon_pet_' . $tpa[$a['type']] . '.gif",22,"' . $u->info['id'] . '","' . $tpa3[$a['type']] . ' [' . $a['level'] . ']","' . $anl . '","100","77","priem","' . $u->info['id'] . '")'); @@ -1933,11 +1932,11 @@ class Magic } } else { - $u->send('', $u->info['room'], $u->info['city'], '', $u->info['login'], '' . $a['name'] . ' нуждается в еде...', time(), 6, 0, 0, 0, 1); + $u->send('', $u->info['room'], $u->info['city'], '', $u->info['login'], '' . $a['name'] . ' ...', time(), 6, 0, 0, 0, 1); } } } - // Бафф Зверя animal_bonus --------------------------------- + // animal_bonus --------------------------------- $ltm = [1 => 2, 2 => 1]; mysql_query('UPDATE `stats` SET `hpNow` = "' . $uid1st['hpNow'] . '",`mpNow` = "' . $uid1st['mpNow'] . '",`team`="' . $ltm[$tm] . '",`tactic7`="' . (0 + $uid1st['tactic7']) . '" WHERE `id` = "' . $uid1 . '" LIMIT 1'); $good = $btl; @@ -1945,9 +1944,9 @@ class Magic if ($bsid != 0) { $bs = mysql_fetch_array(mysql_query('SELECT * FROM `bs_turnirs` WHERE `id` = "' . $u->info['inTurnir'] . '" LIMIT 1')); if ($u->info['sex'] == 0) { - $text = ' {u1} вмешался в поединок против {u2} »»'; + $text = ' {u1} {u2} '; } else { - $text = ' {u1} вмешалась в поединок против {u2} »»'; + $text = ' {u1} {u2} '; } $usr_real = mysql_fetch_array(mysql_query('SELECT `id`, `login`, `align`, `clan`, `battle`, `level` FROM `users` WHERE `inUser` = "' . $usr['id'] . '" LIMIT 1')); if (!isset($usr_real['id'])) { @@ -1963,7 +1962,7 @@ class Magic } $usrreal .= '' . $usr_real['login'] . '[' . $usr_real['level'] . ']'; } else { - $mereal = 'Невидимка[??]'; + $mereal = '[??]'; } $me_real = mysql_fetch_array(mysql_query('SELECT `id`,`login`,`align`,`clan`,`battle`,`level` FROM `users` WHERE `inUser` = "' . $u->info['id'] . '" AND `login` = "' . $u->info['login'] . '" LIMIT 1')); if (isset($me_real['id'])) { @@ -1976,7 +1975,7 @@ class Magic } $mereal .= '' . $me_real['login'] . '[' . $me_real['level'] . ']'; } else { - $mereal = 'Невидимка[??]'; + $mereal = '[??]'; } $text = str_replace('{u1}', $mereal, $text); $text = str_replace('{u2}', $usrreal, $text); diff --git a/_incl_data/class/PassGen.php b/_incl_data/class/PassGen.php new file mode 100644 index 00000000..af865c32 --- /dev/null +++ b/_incl_data/class/PassGen.php @@ -0,0 +1,22 @@ +u; // . $return_main = true; $ue = Db::getRow( 'select * from users left join stats on (users.id = stats.id) where users.id = ? and battle = ? and hpNow > 0', @@ -1310,7 +1311,8 @@ class Priems public function pruse($id) { - global $u, $c, $code, $btl, $ue; + global $btl; + $u = $this->u; // . if ($id == 100500 && $this->u->info['animal'] > 0) { $use_lst = $this->u->testAction( '`uid` = "' . $this->u->info['id'] . '" AND `vars` = "animal_use' . $btl->info['id'] . '" LIMIT 1', @@ -1344,7 +1346,7 @@ class Priems ); if (isset($id['id']) && $btl->info['type'] != 500) { $b = $this->u->addNewbot($id['id'], null, null); - if ($b > 0 && $b != false) { + if ($b > 0 && $b) { $a['eda'] -= 4; if ($a['eda'] < 0) { $a['eda'] = 0; @@ -1424,7 +1426,7 @@ class Priems `u`.`id`,`u`.`login`,`u`.`login2`,`u`.`online`,`u`.`admin`,`u`.`city`,`u`.`cityreg`,`u`.`align`,`u`.`clan`, `u`.`level`,`u`.`money`,`u`.`money3`,`u`.`money4`,`u`.`battle`,`u`.`sex`,`u`.`obraz`,`u`.`win`,`u`.`win_t`, `u`.`lose`,`u`.`lose_t`,`u`.`nich`,`u`.`timeMain`,`u`.`invis`,`u`.`bot_id`,`u`.`animal`,`u`.`type_pers`, - `u`.`notrhod`,`u`.`bot_room`,`u`.`inUser`,`u`.`inTurnir`,`u`.`inTurnirnew`,`u`.`activ`,`u`.`stopexp`,`u`.`real`, + `u`.`notrhod`,`u`.`bot_room`,`u`.`inUser`,`u`.`inTurnir`,`u`.`inTurnirnew`,`u`.`stopexp`,`u`.`real`, `st`.* @@ -1453,7 +1455,7 @@ class Priems `u`.`id`,`u`.`login`,`u`.`login2`,`u`.`online`,`u`.`admin`,`u`.`city`,`u`.`cityreg`,`u`.`align`,`u`.`clan`, `u`.`level`,`u`.`money`,`u`.`money3`,`u`.`money4`,`u`.`battle`,`u`.`sex`,`u`.`obraz`,`u`.`win`,`u`.`win_t`, `u`.`lose`,`u`.`lose_t`,`u`.`nich`,`u`.`timeMain`,`u`.`invis`,`u`.`bot_id`,`u`.`animal`,`u`.`type_pers`, - `u`.`notrhod`,`u`.`bot_room`,`u`.`inUser`,`u`.`inTurnir`,`u`.`inTurnirnew`,`u`.`activ`,`u`.`stopexp`,`u`.`real`, + `u`.`notrhod`,`u`.`bot_room`,`u`.`inUser`,`u`.`inTurnir`,`u`.`inTurnirnew`,`u`.`stopexp`,`u`.`real`, `st`.* @@ -1479,9 +1481,6 @@ class Priems if ($this->u->info['team'] == $this->ue['team']) { $notr++; } - } elseif ($pl['team'] == 0) { - // - } } else { $ga = mysql_fetch_assoc( @@ -1583,7 +1582,7 @@ class Priems private function rezadEff($uid, $mg) { - global $u, $btl, $c, $code; + global $btl; //$this->rezadEff($this->u->info['id'],'wis_fire_'); $md = ''; $md2 = ''; @@ -2067,7 +2066,7 @@ class Priems // $id - 1 ( ), 2 - public function seeMy($t) { - global $u, $c, $code, $btl; + global $btl; $i = 0; $p = explode('|', $this->u->info['priems']); $lvar = ''; @@ -2521,7 +2520,7 @@ class Priems // - 1, - 2 public function seePriems($mt) { - global $u, $c, $code; + global $code; $t = $this->u->items['tr']; $nm = [1 => 'hit', 2 => 'krit', 3 => 'counter', 4 => 'block', 5 => 'parry', 6 => 'hp', 7 => 'spirit']; $lvlfe = $this->u->info['level']; diff --git a/_incl_data/class/Season.php b/_incl_data/class/Season.php index fc8a14ba..1a425650 100644 --- a/_incl_data/class/Season.php +++ b/_incl_data/class/Season.php @@ -1,6 +1,6 @@ ' ', 1 => ' ', 2 => ' ',]; + private User $u; + private array $info; + private array $user; + private array $name = [0 => ' ', 1 => ' ', 2 => ' ',]; public function __construct() { @@ -19,24 +18,24 @@ class Tournir private function start() { - $this->info = mysql_fetch_array(mysql_query('SELECT * FROM `turnirs` WHERE `id` = "' . $this->u->info['inTurnirnew'] . '" LIMIT 1')); - $this->user = mysql_fetch_array(mysql_query('SELECT * FROM `users_turnirs` WHERE `turnir` = "' . $this->u->info['inTurnirnew'] . '" AND `bot` = "' . $this->u->info['id'] . '" LIMIT 1')); + $this->info = Db::getRow('select * from turnirs where id = ?', [$this->u->info['inTurnirnew']]); + $this->user = Db::getRow('select * from users_turnirs where turnir = ? and bot = ?', [$this->u->info['inTurnirnew'], $this->u->info['id']]); } private function startTurnir() { - $row = mysql_fetch_array(mysql_query('SELECT COUNT(*) FROM `users` WHERE `win` = "0" AND `lose` = "0" AND `nich` = "0"')); - if ($row[0] <= 0 || $this->info['status'] == 3) { + $row = Db::getValue('select count(*) from users where win = 0 and lose = 0 and nich = 0'); + if (!$row || $this->info['status'] == 3) { if ($this->info['status'] == 3) { $this->finishTurnir(); } } else { - mysql_query('UPDATE `turnirs` SET `status` = "3" WHERE `id` = "' . $this->info['id'] . '" LIMIT 1'); + Db::sql('update turnirs set status = 3 where id = ?', [$this->info['id']]); // - mysql_query('INSERT INTO `battle` (`city`,`time_start`,`timeout`,`type`,`turnir`) VALUES ("' . $this->u->info['city'] . '","' . time() . '","60","1","' . $this->info['id'] . '")'); - $uri = mysql_insert_id(); + Db::sql('insert into battle (city, time_start, timeout, type, turnir) values (?,unix_timestamp(),60,1,?)', [$this->u->info['city'], $this->info['id']]); + $uri = Db::lastInsertId(); // - mysql_query('UPDATE `users` SET `battle` = "' . $uri . '" WHERE `inUser` = "0" AND `inTurnirnew` = "' . $this->info['id'] . '"'); + Db::sql('update users set battle = ? where inUser = 0 and inTurnirnew = ?', [$uri, $this->info['id']]); // die(' ""...'); } @@ -62,9 +61,6 @@ class Tournir } if ($pl['team'] == $this->info['winner'] && $this->info['winner'] != 0) { - - $inf['add_expn'] = 3000; - $inf['add_expp'] = [0, 1, 5, 10, 15, 25, 35, 70, 100, 150, 200, 300, 500, 700, 1000]; // ( 0 12 ) @@ -82,7 +78,6 @@ class Tournir mysql_query('UPDATE `users` SET `lose` = `lose` + 1,`lose_t` = `lose_t` + 1 WHERE `id` = "' . $inf['id'] . '" LIMIT 1'); $lose .= '' . $inf['login'] . ', '; - } else { mysql_query('UPDATE `users` SET `nich` = `nich` + 1 WHERE `id` = "' . $inf['id'] . '" LIMIT 1'); } @@ -172,7 +167,6 @@ class Tournir } if ($addi == 1) { - $i = 0; while ($i <= 17) { if ($i == 10) { @@ -468,7 +462,6 @@ class Tournir } $i++; } - } $r .= '
    '; $r .= ' diff --git a/_incl_data/class/Uploader.php b/_incl_data/class/Uploader.php index 56abfdf8..bb8e52d8 100644 --- a/_incl_data/class/Uploader.php +++ b/_incl_data/class/Uploader.php @@ -3,8 +3,8 @@ /** * . * - * @version 1 * @author Ivor Barhansky + * @version 1 */ class Uploader @@ -16,15 +16,15 @@ class Uploader private $extensions = 'jpg|png|jpeg|gif'; private $extMatches = []; private $FILE; - private $cnm = null; + private $cnm; public static $error; public function __construct($name, $cnm = null) { - $this->FILE = $_FILES; - if (!$this->FILE[$name]) { + if (!isset($_FILES[$name])) { return; } + $this->FILE = $_FILES[$name]; $this->cnm = $cnm; } @@ -56,7 +56,7 @@ class Uploader */ public function setMaxFileSize($megabytes) { - $this->maxFileSizeMb = $megabytes * (1024 * 1024); + $this->maxFileSizeMb = $megabytes; } /** @@ -65,7 +65,7 @@ class Uploader */ public function setSavePath($path) { - $this->savePath = __DIR__ . '/' . $path; + $this->savePath = $_SERVER['DOCUMENT_ROOT'] . '/' . $path; } /** @@ -99,17 +99,20 @@ class Uploader private function hasNormalDimensions() { list($width, $height) = getimagesize($this->FILE['tmp_name']); + if (!$width || !$height) { + self::$error = ' .'; + return false; + } if ( - $width < $this->width['min'] || - $width > $this->width['max'] || - $height < $this->height['min'] || - $height > $this->height['max'] + ($width < $this->width['min'] || $width > $this->width['max']) || + ($height < $this->height['min'] || $height > $this->height['max']) ) { - self::$error = " [{$this->width['max']}x{$this->height['max']}] ."; + self::$error = ' : '; if ($this->width['min'] !== $this->width['max'] || $this->height['min'] !== $this->height['max']) { - self::$error .= " [{$this->width['min']}x{$this->height['min']}]."; + self::$error .= " [{$this->width['min']} x {$this->height['min']}] "; } - self::$error .= " [{$width}x$height]"; + self::$error .= "[{$this->width['max']} x {$this->height['max']}]."; + self::$error .= " [$width x $height]"; return false; } return true; @@ -120,7 +123,7 @@ class Uploader if (!$this->maxFileSizeMb) { $this->setMaxFileSize(2); } - if ($this->FILE['size'] > $this->maxFileSizeMb || $this->FILE['size'] <=0) { + if ($this->FILE['size'] > $this->maxFileSizeMb * (1024 * 1024) || $this->FILE['size'] <= 0) { self::$error = ' . ' . $this->maxFileSizeMb . ' '; return false; } diff --git a/_incl_data/class/User.php b/_incl_data/class/User.php index 618d20f2..51ae3ab0 100644 --- a/_incl_data/class/User.php +++ b/_incl_data/class/User.php @@ -1,6 +1,7 @@ true, // 42 => true, // 43 => true, // - 296 => true + 296 => true, ]; - public $aves = ['now' => 0, 'max' => 0], $rep, $tfer, $error2 = '', $room = [], $bank = [], $align_nm = [ + public $aves = ['now' => 0, 'max' => 0]; + public $room = []; + public $bank = []; + public $align_nm = [ 1 => '', 2 => '', 3 => '', - 7 => '' - ], $mod_nm = [ + 7 => '', + ]; + public $mod_nm = [ 0 => [0 => ''], 1 => ['1' => '', '1.1' => ' ', '1.4' => ' ', '1.5' => ' ', '1.6' => '', '1.7' => ' ', '1.75' => '-', '1.9' => ' ', '1.91' => ' ', '1.92' => ' ', '1.99' => ' '], - 3 => ['3' => '', '3.01' => '-', '3.05' => '-', '3.06' => '', '3.07' => '-', '3.075' => '-', '3.09' => '-', '3.091' => '-', '3.092' => ' ', '3.99' => ' '] + 3 => ['3' => '', '3.01' => '-', '3.05' => '-', '3.06' => '', '3.07' => '-', '3.075' => '-', '3.09' => '-', '3.091' => '-', '3.092' => ' ', '3.99' => ' '], ]; - public $btl_txt = '', $rgd = [0 => 0, 1 => 0], $error = '', - - $city_unid = [0, 'capitalcity', 'angelscity', 'abandonedplain', 'newcapitalcity', 'demonscity', 'fallenearth', 'emeraldscity', 'dreamscity', 'suncity', 'devilscity'], - $city_id = ['capitalcity' => 1, 'angelscity' => 2, 'abandonedplain' => 3, 'newcapitalcity' => 4, 'demonscity' => 5, 'fallenearth' => 6, 'emeraldscity' => 6, 'suncity' => 7, 'dreamscity' => 8, 'devilscity' => 10], - $city_name = ['emeraldscity' => 'Emeralds city', 'abandonedplain' => 'Abandoned Plain', 'capitalcity' => 'Capital city', 'angelscity' => 'Angels city', 'newcapitalcity' => 'New Capital city', 'demonscity' => 'Demons city', 'fallenearth' => 'Fallen Earth', 'dreamscity' => 'Dreams City', 'suncity' => 'Sun City', 'devilscity' => 'Devils City'], - $city_name2 = ['emeraldscity' => 'Emeraldscity', 'abandonedplain' => 'Abandonedplain', 'capitalcity' => 'Capitalcity', 'angelscity' => 'Angelscity', 'newcapitalcity' => 'Newcapitalcity', 'demonscity' => 'Demonscity', 'fallenearth' => 'FallenEarth', 'dreamscity' => 'Dreams City', 'suncity' => 'Sun City', 'devilscity' => 'Devils City'], - - $stats, $info, $map, $mapUsers, $is = [ + public $rgd = [0 => 0, 1 => 0]; + public $city_unid = [0, 'capitalcity', 'angelscity', 'abandonedplain', 'newcapitalcity', 'demonscity', 'fallenearth', 'emeraldscity', 'dreamscity', 'suncity', 'devilscity']; + public $city_id = ['capitalcity' => 1, 'angelscity' => 2, 'abandonedplain' => 3, 'newcapitalcity' => 4, 'demonscity' => 5, 'fallenearth' => 6, 'emeraldscity' => 6, 'suncity' => 7, 'dreamscity' => 8, 'devilscity' => 10]; + public $city_name = ['emeraldscity' => 'Emeralds city', 'abandonedplain' => 'Abandoned Plain', 'capitalcity' => 'Capital city', 'angelscity' => 'Angels city', 'newcapitalcity' => 'New Capital city', 'demonscity' => 'Demons city', 'fallenearth' => 'Fallen Earth', 'dreamscity' => 'Dreams City', 'suncity' => 'Sun City', 'devilscity' => 'Devils City']; + public $city_name2 = ['emeraldscity' => 'Emeraldscity', 'abandonedplain' => 'Abandonedplain', 'capitalcity' => 'Capitalcity', 'angelscity' => 'Angelscity', 'newcapitalcity' => 'Newcapitalcity', 'demonscity' => 'Demonscity', 'fallenearth' => 'FallenEarth', 'dreamscity' => 'Dreams City', 'suncity' => 'Sun City', 'devilscity' => 'Devils City']; + public $is = [ 'acestar' => ' ', 'spasenie' => ' ', 'more_awards' => ' %', 'exp' => ' (%)', 'align_bs' => ' ', 'nopryh' => ' ', 'puti' => ' ', 'align' => '', 'hpAll' => ' (HP)', 'mpAll' => ' (P)', 'enAll' => ' ', 'sex' => '', 'lvl' => '', 's1' => '', 's2' => '', 's3' => '', 's4' => '', 's5' => '', 's6' => '', 's7' => '', 's8' => '', 's9' => ' ', 's10' => '', 's11' => '', 'm1' => '. (%)', 'm2' => '. (%)', 'm3' => '. . (%)', 'm21' => '. . (%)', 'm4' => '. (%)', 'm5' => '. (%)', 'm6' => '. (%)', 'm7' => '. (%)', 'm8' => '. (%)', 'm9' => '. (%)', 'm14' => '. . (%)', 'm15' => '. . (%)', 'm16' => '. . (%)', 'm17' => '. . (%)', 'm18' => '. . (%)', 'm19' => '. . (%)', 'm20' => '. (%)', 'a1' => ' , ', 'a2' => ' , ', 'a3' => ' , ', 'a4' => ' ', 'a5' => ' ', 'a6' => ' ', 'a7' => ' ', 'aall' => ' ', 'mall' => ' ', 'm2all' => ' ', 'mg1' => ' ', 'mg2' => ' ', 'mg3' => ' ', 'mg4' => ' ', 'mg5' => ' ', 'mg6' => ' ', 'mg7' => ' ', 'tj' => ' ', 'lh' => ' ', 'minAtack' => ' ', 'maxAtack' => ' ', 'm10' => '. ', 'm11' => '. ', 'm11a' => '. ', 'pa1' => '. ', 'pa2' => '. ', 'pa3' => '. ', 'pa4' => '. ', 'pm1' => '. ', 'pm2' => '. ', 'pm3' => '. ', 'pm4' => '. ', 'pm5' => '. ', 'pm6' => '. ', 'pm7' => '. ', 'za' => ' ', 'zm' => ' ', 'zma' => ' ', 'za1' => ' ', 'za2' => ' ', 'za3' => ' ', 'za4' => ' ', 'zm1' => ' ', 'zm2' => ' ', 'zm3' => ' ', 'zm4' => ' ', 'zm5' => ' ', 'zm6' => ' ', 'zm7' => ' ', 'magic_cast' => ' ', 'pza' => ' ', 'pzm' => ' ', 'pza1' => ' ', 'min_heal_proc' => ' (%)', 'notravma' => ' ', 'yron_min' => ' ', 'yron_max' => ' ', 'zaproc' => ' (%)', 'zmproc' => ' (%)', 'zm2proc' => ' (%)', 'pza2' => ' ', 'pza3' => ' ', 'pza4' => ' ', 'pzm1' => ' ', 'pzm2' => ' ', 'pzm3' => ' ', 'pzm4' => ' ', 'pzm5' => ' ', 'pzm6' => ' ', 'pzm7' => ' ', 'speedhp' => ' (%)', 'speedmp' => ' (%)', 'tya1' => ' ', 'tya2' => ' ', 'tya3' => ' ', 'tya4' => ' ', 'tym1' => ' ', 'mg2static_points' => ' ()', 'tym2' => ' ', 'tym3' => ' ', 'tym4' => ' ', 'hpProc' => ' (%)', 'mpProc' => ' (%)', 'tym5' => ' ', 'tym6' => ' ', 'tym7' => ' ', 'min_use_mp' => ' ', 'pog' => ' ', 'pog2' => ' ', 'pog2p' => ' ', 'pog2mp' => ' ', 'maxves' => ' ', 'bonusexp' => ' ', 'speeden' => ' (%)', 'antm3' => '. ', 'repair_z' => ' ', 'repair_r' => ' ', 'yza' => ' (%)', 'yzm' => ' (%)', 'yzma' => ' (%)' , 'yza1' => ' (%)', 'yza2' => ' (%)', 'yza3' => ' (%)', 'yza4' => ' (%)' , 'yzm1' => ' (%)', 'yzm2' => ' (%)', 'yzm3' => ' (%)', 'yzm4' => ' (%)', 'yzm5' => ' (%)', 'yzm6' => ' (%)', 'yzm7' => ' (%)', 'rep' => ' ' - , 'repair_discount' => ' ', 'hpVinos' => ' ', 'bronze' => 'Bronze Premium Account', 'silvers' => 'Silver Premium Account', 'gold' => ' ', 'speed_dungeon' => ' ', 'zona' => ' ' + , 'repair_discount' => ' ', 'hpVinos' => ' ', 'bronze' => 'Bronze Premium Account', 'silvers' => 'Silver Premium Account', 'gold' => ' ', 'speed_dungeon' => ' ', 'zona' => ' ', ]; public $items = [ 'tr' => ['sex', 'align', 'lvl', 's1', 's2', 's3', 's4', 's5', 's6', 's7', 's8', 's9', 's10', 's11', 'a1', 'a2', 'a3', 'a4', 'a5', 'a6', 'a7', 'mg1', 'mg2', 'mg3', 'mg4', 'mg5', 'mg6', 'mg7', 'mall', 'm2all', 'aall', 'rep', 'align_bs'], @@ -47,23 +50,22 @@ class User 'no_vor', 'antm3', 'acestar', 'spasenie', 'exp', 'enemy_am1', 'hod_minmana', 'yhod', 'noshock_voda', 'bronze', 'silvers', 'gold', 'repair_discount', 'yza', 'yzm', 'yzma', 'yza1', 'yza2', 'yza3', 'yza4', 'yzm1', 'yzm2', 'yzm3', 'yzm4', 'yzm5', 'yzm6', 'yzm7', 'repair_z', 'repair_r', 'notuse_last_pr', 'yrn_mg_first', 'antishock', 'nopryh', 'speed_dungeon', 'naemnik', 'mg2static_points', 'yrnhealmpprocmg3', 'nousepriem', 'notactic', 'seeAllEff', '100proboi1', 'pog2', 'pog2p', 'magic_cast', 'min_heal_proc', 'no_yv1', 'no_krit1', 'no_krit2', 'no_contr1', 'no_contr2', 'no_bl1', 'no_pr1', 'no_yv2', 'no_bl2', 'no_pr2', 'silver', 'pza', 'pza1', 'pza2', 'pza3', 'pza4', 'pzm', 'pzm1', 'pzm2', 'pzm3', 'pzm4', 'pzm5', 'pzm6', 'pzm7', 'yron_min', 'yron_max', 'notravma', 'min_zonb', 'min_zona', 'nokrit', 'pog', 'min_use_mp', 'za1proc', 'za2proc', 'za3proc', 'za4proc', 'zaproc', 'zmproc', 'zm1proc', 'zm2proc', 'zm3proc', 'zm4proc', 'shopSale', 'shopSaleEkr', 's1', 's2', 's3', 's4', 's5', 's6', 's7', 's8', 's9', 's10', 's11', 'aall', 'a1', 'a2', 'a3', 'a4', 'a5', 'a6', 'a7', 'm2all', 'mall', 'mg1', 'mg2', 'mg3', 'mg4', 'mg5', 'mg6', 'mg7', 'hpAll', 'hpVinos', 'mpVinos', 'mpAll', 'enAll', 'hpProc', 'mpProc', 'm1', 'm2', 'm3', 'm4', 'm5', 'm6', 'm7', 'm8', 'm9', 'm14', 'm15', 'm16', 'm17', 'm18', 'm19', 'm20', 'm21', 'pa1', 'pa2', 'pa3', 'pa4', 'pm1', 'pm2', 'pm3', 'pm4', 'pm5', 'pm6', 'pm7', 'za', 'za1', 'za2', 'za3', 'za4', 'zma', 'zm', 'zm1', 'zm2', 'zm3', 'zm4', 'zm5', 'zm6', 'zm7', 'mib1', 'mab1', 'mib2', 'mab2', 'mib3', 'mab3', 'mib4', 'mab4', 'speedhp', 'speedmp', 'm10', 'm11', 'm11a', 'zona', 'zonb', 'maxves', 'minAtack', 'maxAtack', 'bonusexp', 'speeden'], - 'sv' => ['pza', 'pza1', 'pza2', 'pza3', 'pza4', 'pzm', 'pzm1', 'pzm2', 'pzm3', 'pzm4', 'pzm5', 'pzm6', 'pzm7', 'notravma', 'min_zonb', 'min_zona', 'nokrit', 'pog', 'min_use_mp', 'za1proc', 'za2proc', 'za3proc', 'za4proc', 'zaproc', 'zmproc', 'zm1proc', 'zm2proc', 'zm3proc', 'zm4proc', 'shopSale', 'shopSaleEkr', 's1', 's2', 's3', 's4', 's5', 's6', 's7', 's8', 's9', 's10', 's11', 'aall', 'a1', 'a2', 'a3', 'a4', 'a5', 'a6', 'a7', 'm2all', 'mall', 'mg1', 'mg2', 'mg3', 'mg4', 'mg5', 'mg6', 'mg7', 'hpAll', 'mpAll', 'enAll', 'm1', 'm2', 'm3', 'm4', 'm5', 'm6', 'm7', 'm8', 'm9', 'm14', 'm15', 'm16', 'm17', 'm18', 'm19', 'm20', 'm21', 'pa1', 'pa2', 'pa3', 'pa4', 'pm1', 'pm2', 'pm3', 'pm4', 'pm5', 'pm6', 'pm7', 'min_use_mp', 'za', 'za1', 'za2', 'za3', 'za4', 'zma', 'zm', 'zm1', 'zm2', 'zm3', 'zm4', 'zm5', 'zm6', 'zm7', 'mib1', 'mab1', 'mib2', 'mab2', 'mib3', 'mab3', 'mib4', 'mab4', 'speedhp', 'speedmp', 'm10', 'm11', 'zona', 'zonb', 'maxves', 'minAtack', 'maxAtack', 'speeden'] + 'sv' => ['pza', 'pza1', 'pza2', 'pza3', 'pza4', 'pzm', 'pzm1', 'pzm2', 'pzm3', 'pzm4', 'pzm5', 'pzm6', 'pzm7', 'notravma', 'min_zonb', 'min_zona', 'nokrit', 'pog', 'min_use_mp', 'za1proc', 'za2proc', 'za3proc', 'za4proc', 'zaproc', 'zmproc', 'zm1proc', 'zm2proc', 'zm3proc', 'zm4proc', 'shopSale', 'shopSaleEkr', 's1', 's2', 's3', 's4', 's5', 's6', 's7', 's8', 's9', 's10', 's11', 'aall', 'a1', 'a2', 'a3', 'a4', 'a5', 'a6', 'a7', 'm2all', 'mall', 'mg1', 'mg2', 'mg3', 'mg4', 'mg5', 'mg6', 'mg7', 'hpAll', 'mpAll', 'enAll', 'm1', 'm2', 'm3', 'm4', 'm5', 'm6', 'm7', 'm8', 'm9', 'm14', 'm15', 'm16', 'm17', 'm18', 'm19', 'm20', 'm21', 'pa1', 'pa2', 'pa3', 'pa4', 'pm1', 'pm2', 'pm3', 'pm4', 'pm5', 'pm6', 'pm7', 'min_use_mp', 'za', 'za1', 'za2', 'za3', 'za4', 'zma', 'zm', 'zm1', 'zm2', 'zm3', 'zm4', 'zm5', 'zm6', 'zm7', 'mib1', 'mab1', 'mib2', 'mab2', 'mib3', 'mab3', 'mib4', 'mab4', 'speedhp', 'speedmp', 'm10', 'm11', 'zona', 'zonb', 'maxves', 'minAtack', 'maxAtack', 'speeden'], ]; + public $error2 = ''; + public $btl_txt = ''; + public $error = ''; + public $info = []; + public $rep, $tfer, $stats, $map, $mapUsers; - /**@deprecated do nothing*/ - public function sys_add($uid, $time, $type, $text, $data, $time_see) + public function repexp_add(int $id, int $val) { + Db::sql('update stats set repexp = repexp + ? where id = ?', [$val, $id]); } - public function repexp_add($id, $val) + public function dayquest(int $id): string { - mysql_query('UPDATE `stats` SET `repexp` = `repexp` + "' . $val . '" WHERE `id` = "' . $id . '" LIMIT 1'); - } - - public function dayquest($id) - { - - $test = mysql_fetch_array(mysql_query('SELECT * FROM `actions` WHERE `uid` = "' . $id . '" AND `vars`= "day_quest" LIMIT 1')); + $test = Db::getRow('select id, vals from actions where uid = ? and vars = ?', [$id, 'day_quest']); $q = [ '1' => ' ', '2' => ' ', @@ -72,22 +74,20 @@ class User '5' => ' ', '6' => ' ', '7' => ' 3 ', - '8' => ' ' + '8' => ' ', ]; - if (!isset($test['id'])) { $n = " "; } else { $n = " "; $n = $n . "
    " . $q[$test['vals']] . ""; } - return $n; } public function pensia($type) { - if ($type == false) { + if (!$type) { if (($this->info['align'] > 0 || $this->info['clan'] > 0 || $this->info['level'] > 12) && $this->info['align'] != 2) { $r = ($this->info['level'] - 6) * 0.04; if (date('m') >= 6 || date('m') <= 8) { @@ -127,28 +127,38 @@ class User return $r; } - public function testAlign($an, $uid) + public function testAlign($an, int $uid): int { $r = 1; if (floor($an) > 0) { - $a = mysql_fetch_array(mysql_query('SELECT * FROM `users_align` WHERE `uid` = "' . $uid . '" AND (`delete` = "0" OR `delete` > "' . time() . '") LIMIT 1')); - if (isset($a['id']) && floor($a['align']) > 0 && floor($a['align']) != $an) { + $a = Db::getValue( + 'select align from users_align where uid = ? and (`delete` = 0 or `delete` > unix_timestamp())', + [$uid] + ); + + if (floor((float)$a['align']) != $an) { $r = 0; } } return $r; } - public function abilsRoom($type) + public function abilsRoom(string $type): string { $r = ''; // if ($this->info['clan'] > 0) { // - } elseif ($type == 'test') { + return ''; + } + if ($type == 'test') { if ($this->room['name'] == ' ' || $this->room['name'] == ' ' || $this->room['name'] == ' ') { if (isset($_GET['vhp'])) { - $v = mysql_fetch_array(mysql_query('SELECT * FROM "vortex" WHERE "uid" = "' . $this->info['id'] . '" AND "type" = 1 ORDER BY "time" DESC LIMIT 1')); + $v = mysql_fetch_array( + mysql_query( + 'SELECT * FROM "vortex" WHERE "uid" = "' . $this->info['id'] . '" AND "type" = 1 ORDER BY "time" DESC LIMIT 1' + ) + ); if (isset($v['id']) && $v['time'] > time() - 60 * 60) { // $this->error = ' ' . $this->timeOut($v['time'] + 60 * 60 - time()); @@ -156,15 +166,27 @@ class User if ($this->stats['hpNow'] < 1) { $this->stats['hpNow'] = 0; } - $this->error = ' ' . round($this->stats['hpAll'] - $this->stats['hpNow']) . ' HP.'; - mysql_query('INSERT INTO `vortex` ( `uid`,`time`,`room`,`val`,`type` ) VALUES ( - "' . $this->info['id'] . '","' . time() . '","' . $this->info['room'] . '","' . round($this->stats['hpAll'] - $this->stats['hpNow']) . '","1" - )'); + $this->error = ' ' . round( + $this->stats['hpAll'] - $this->stats['hpNow'] + ) . ' HP.'; + mysql_query( + 'INSERT INTO `vortex` ( `uid`,`time`,`room`,`val`,`type` ) VALUES ( + "' . $this->info['id'] . '",unix_timestamp(),"' . $this->info['room'] . '","' . round( + $this->stats['hpAll'] - $this->stats['hpNow'] + ) . '",1 + )' + ); $this->stats['hpNow'] = $this->stats['hpAll']; - mysql_query('UPDATE `stats` SET `hpNow` = "' . $this->stats['hpNow'] . '" WHERE `id` = "' . $this->info['id'] . '" LIMIT 1'); + mysql_query( + 'UPDATE `stats` SET `hpNow` = "' . $this->stats['hpNow'] . '" WHERE `id` = "' . $this->info['id'] . '" LIMIT 1' + ); } } elseif (isset($_GET['vmp'])) { - $v = mysql_fetch_array(mysql_query('SELECT * FROM "vortex" WHERE "uid" = "' . $this->info['id'] . '" AND "type" = 2 ORDER BY "time" DESC LIMIT 1')); + $v = mysql_fetch_array( + mysql_query( + 'SELECT * FROM "vortex" WHERE "uid" = "' . $this->info['id'] . '" AND "type" = 2 ORDER BY "time" DESC LIMIT 1' + ) + ); if (isset($v['id']) && $v['time'] > time() - 60 * 60) { // $this->error = ' ' . $this->timeOut($v['time'] + 60 * 60 - time()); @@ -172,12 +194,20 @@ class User if ($this->stats['mpNow'] < 1) { $this->stats['mpNow'] = 0; } - $this->error = ' ' . round($this->stats['mpAll'] - $this->stats['mpNow']) . ' MP.'; - mysql_query('INSERT INTO `vortex` ( `uid`,`time`,`room`,`val`,`type` ) VALUES ( - "' . $this->info['id'] . '","' . time() . '","' . $this->info['room'] . '","' . round($this->stats['mpAll'] - $this->stats['mpNow']) . '","2" - )'); + $this->error = ' ' . round( + $this->stats['mpAll'] - $this->stats['mpNow'] + ) . ' MP.'; + mysql_query( + 'INSERT INTO `vortex` ( `uid`,`time`,`room`,`val`,`type` ) VALUES ( + "' . $this->info['id'] . '","' . time() . '","' . $this->info['room'] . '","' . round( + $this->stats['mpAll'] - $this->stats['mpNow'] + ) . '","2" + )' + ); $this->stats['hpNow'] = $this->stats['hpAll']; - mysql_query('UPDATE `stats` SET `mpNow` = "' . $this->stats['mpNow'] . '" WHERE `id` = "' . $this->info['id'] . '" LIMIT 1'); + mysql_query( + 'UPDATE `stats` SET `mpNow` = "' . $this->stats['mpNow'] . '" WHERE `id` = "' . $this->info['id'] . '" LIMIT 1' + ); } } } @@ -194,15 +224,27 @@ class User $vid = 10; } // - $v = mysql_fetch_array(mysql_query('SELECT * FROM `vortex` WHERE `uid` = "' . $this->info['id'] . '" AND `type` = 1 ORDER BY `time` DESC LIMIT 1')); + $v = mysql_fetch_array( + mysql_query( + 'SELECT * FROM `vortex` WHERE `uid` = "' . $this->info['id'] . '" AND `type` = 1 ORDER BY `time` DESC LIMIT 1' + ) + ); if (isset($v['id']) && $v['time'] + 60 * 60 > time()) { - $r .= ' '; + $r .= ' '; } else { $r .= ' '; } - $v = mysql_fetch_array(mysql_query('SELECT * FROM `vortex` WHERE `uid` = "' . $this->info['id'] . '" AND `type` = 2 ORDER BY `time` DESC LIMIT 1')); + $v = mysql_fetch_array( + mysql_query( + 'SELECT * FROM `vortex` WHERE `uid` = "' . $this->info['id'] . '" AND `type` = 2 ORDER BY `time` DESC LIMIT 1' + ) + ); if (isset($v['id']) && $v['time'] + 60 * 60 > time()) { - $r .= ' '; + $r .= ' '; } else { $r .= ' '; } @@ -215,32 +257,36 @@ class User public function insertAlign($an, $uid) { if ($an > 0) { - mysql_query('UPDATE `users_align` SET `delete` = "' . (time() + 1) . '" WHERE `uid` = "' . mysql_real_escape_string($uid) . '" AND `align` = "' . mysql_real_escape_string(floor($an)) . '"'); - mysql_query('INSERT INTO `users_align` (`uid`,`time`,`delete`,`align`) VALUES ( - "' . mysql_real_escape_string($uid) . '","' . time() . '","0","' . mysql_real_escape_string(floor($an)) . '" - ) '); + mysql_query( + 'UPDATE `users_align` SET `delete` = "' . (time() + 1) . '" WHERE `uid` = "' . mysql_real_escape_string( + $uid + ) . '" AND `align` = "' . mysql_real_escape_string(floor($an)) . '"' + ); + mysql_query( + 'INSERT INTO `users_align` (`uid`,`time`,`delete`,`align`) VALUES ( + "' . mysql_real_escape_string($uid) . '","' . time() . '","0","' . mysql_real_escape_string( + floor($an) + ) . '" + ) ' + ); } } public function deleteAlign($an, $uid) { if ($an > 0) { - mysql_query('UPDATE `users_align` SET `delete` = "' . (time() + 86400 * 60) . '" WHERE `uid` = "' . mysql_real_escape_string($uid) . '" AND `align` = "' . mysql_real_escape_string(floor($an)) . '"'); + mysql_query( + 'UPDATE `users_align` SET `delete` = "' . (time( + ) + 86400 * 60) . '" WHERE `uid` = "' . mysql_real_escape_string( + $uid + ) . '" AND `align` = "' . mysql_real_escape_string(floor($an)) . '"' + ); } } public function shopSaleM($val, $itm) { - global $c; - /*$proc = array( - 0,0,0,0,0,0,0,0, - 5,30,30,30,30,30,30,30,30,30,30,30,30,30 - ); - $po = $this->lookStats($itm['data']); - $proc = $proc[$po['tr_lvl']];*/ - $proc = 0; - // - $proc = [ + $procs = [ 0, //0 0, //1 0, //2 @@ -249,10 +295,10 @@ class User 0, //5 0, //6 0, //7 - 5, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30 + 5, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, ]; $po = $this->lookStats($itm['data']); - $proc = $proc[$po['tr_lvl']]; + $proc = $procs[$po['tr_lvl']]; // if ($itm['type'] >= 28) { $proc = 50; @@ -260,21 +306,26 @@ class User if ($itm['type'] == 46) { $proc = 0; } - if ($c['shop_all'] > 0) { - $proc = 100 - $c['shop_all']; - } elseif ($c['shop_all_type1'] > 0 && !isset($this->info['inBerezka'])) { - $proc = 100 - $c['shop_all_type1']; - } elseif ($c['shop_all_type2'] > 0 && isset($this->info['inBerezka'])) { - $proc = 100 - $c['shop_all_type2']; + if (Config::get('shop_all') > 0) { + $proc = 100 - Config::get('shop_all'); + } elseif (Config::get('shop_all_type1') > 0 && !isset($this->info['inBerezka'])) { + $proc = 100 - Config::get('shop_all_type1'); + } elseif (Config::get('shop_all_type2') > 0 && isset($this->info['inBerezka'])) { + $proc = 100 - Config::get('shop_all_type2'); } - $val = round(($val / 100 * (100 - $proc)), 2); - return $val; + return round(($val / 100 * (100 - $proc)), 2); } // - public function deleteItemID($id, $uid, $coldel) + public function deleteItemID(int $id, int $uid, int $coldel) { - $sp = mysql_query('SELECT * FROM `items_users` WHERE `item_id` = "' . mysql_real_escape_string($id) . '" AND `uid` = "' . mysql_real_escape_string($uid) . '" AND (`delete` = 0 OR `delete` = 1000) ORDER BY `inGroup` DESC LIMIT ' . $coldel); + $sp = mysql_query( + 'SELECT * FROM `items_users` WHERE `item_id` = "' . mysql_real_escape_string( + $id + ) . '" AND `uid` = "' . mysql_real_escape_string( + $uid + ) . '" AND (`delete` = 0 OR `delete` = 1000) ORDER BY `inGroup` DESC LIMIT ' . $coldel + ); $delitm = []; while ($pl = mysql_fetch_array($sp)) { if (count($delitm) < $coldel) { @@ -283,71 +334,60 @@ class User } $i = 0; while ($i < count($delitm)) { - mysql_query('UPDATE `items_users` SET `delete` = "' . time() . '" WHERE `id` = "' . $delitm[$i] . '" LIMIT 1'); + mysql_query( + 'UPDATE `items_users` SET `delete` = "' . time() . '" WHERE `id` = "' . $delitm[$i] . '" LIMIT 1' + ); $i++; } } - public function count_items($id, $uid, $coldel) + public function count_items(int $id, int $uid, int $coldel): int { - $sp = mysql_query('SELECT * FROM `items_users` WHERE `item_id` = "' . mysql_real_escape_string($id) . '" AND `uid` = "' . mysql_real_escape_string($uid) . '" AND (`delete` = 0 OR `delete` = 1000) ORDER BY `inGroup` DESC LIMIT ' . $coldel); - $delitm = []; - while ($pl = mysql_fetch_array($sp)) { - if (count($delitm) < $coldel) { - $delitm[] = $pl['id']; - } - } - $i = 0; - while ($i < count($delitm)) { - $i++; - } - return $i; + return Db::getValue( + 'select count(*) from items_users where item_id = ? and uid = ? and (`delete` = 0 or `delete` = 1000) limit ?', + [$id, $uid, $coldel] + ); } public function repobmen($id, $type) { //echo ''; - $pl = mysql_fetch_array(mysql_query('SELECT `im`.*,`iu`.* FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.`item_id`) WHERE `iu`.`uid`="' . $this->info['id'] . '" AND `iu`.`delete`="0" AND `iu`.`inOdet`="0" AND `iu`.`inShop`="0" AND `iu`.`id` = "' . ((int)$id) . '" LIMIT 1;')); - $d = mysql_fetch_array(mysql_query('SELECT * FROM `items_main_data` WHERE `items_id` = "' . $pl['item_id'] . '" LIMIT 1')); + $pl = mysql_fetch_array( + mysql_query( + 'SELECT `im`.*,`iu`.* FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.`item_id`) WHERE `iu`.`uid`="' . $this->info['id'] . '" AND `iu`.`delete`="0" AND `iu`.`inOdet`="0" AND `iu`.`inShop`="0" AND `iu`.`id` = "' . ((int)$id) . '" LIMIT 1;' + ) + ); $po = $this->lookStats($pl['data']); - //echo $po['dungeon'].' '.$po['tr_lvl']; - if ((!isset($po['frompisher']) or $po['tr_lvl'] < 4) and $pl['type'] != 31) { + if ((!isset($po['frompisher']) || $po['tr_lvl'] < 4) && $pl['type'] != 31) { $e = ' .'; } else { $e = ' "' . $pl['name'] . '" apitalcity .'; - mysql_query('UPDATE `items_users` SET `delete` = "' . time() . '" WHERE `id` = "' . $pl['id'] . '" LIMIT 1'); + mysql_query( + 'UPDATE `items_users` SET `delete` = "' . time() . '" WHERE `id` = "' . $pl['id'] . '" LIMIT 1' + ); $this->rep['repcapitalcity'] += 1; - mysql_query('UPDATE `rep` SET `repcapitalcity` = "' . $this->rep['repcapitalcity'] . '" WHERE `id` = "' . $this->info['id'] . '" LIMIT 1'); + mysql_query( + 'UPDATE `rep` SET `repcapitalcity` = "' . $this->rep['repcapitalcity'] . '" WHERE `id` = "' . $this->info['id'] . '" LIMIT 1' + ); } return $e; } - /**@deprecated do nothing*/ - public function add_buf($id, $tp, $uid = null, $mod = null) - { - } - /**@deprecated do nothing*/ - public function del_buf($id, $uid = null, $mod = null) - { - } - /**@deprecated do nothing*/ - public function see_buf($id, $uid = null, $mod = null) - { - } - /**@deprecated do nothing*/ - public function sys_see($type) + + /**@deprecated do nothing */ + public function sys_see($type): string { + return ''; } - public static function start() + public static function start(): User { if (!isset(self::$flag_one)) { - $c = __CLASS__; - self::$flag_one = new $c(); + self::$flag_one = new self(); } return self::$flag_one; } - public function lookKeys($m, $i) + public function lookKeys($m, $i): array { $e = explode('|', $m); $r = []; @@ -361,32 +401,48 @@ class User public function bsfinish($id, $bu, $di) { - if ($bu == true) { + if ($bu) { /* */ $i = 0; while ($i < count($bu[$i])) { if ($bu[$i]['lose'] > 0 || $bu[$i]['nich']) { - mysql_query('UPDATE `users` SET `lose` = "' . $bu[$i]['lose'] . '", `nick` = "' . $bu[$i]['nich'] . '" WHERE `id` = "' . $bu[$i]['id'] . '" LIMIT 1'); - mysql_query('UPDATE `bs_turnirs` SET `users_finish` = `users_finish` + 1 WHERE `id` = "' . $id['id'] . '" LIMIT 1'); + mysql_query( + 'UPDATE `users` SET `lose` = "' . $bu[$i]['lose'] . '", `nick` = "' . $bu[$i]['nich'] . '" WHERE `id` = "' . $bu[$i]['id'] . '" LIMIT 1' + ); + mysql_query( + 'UPDATE `bs_turnirs` SET `users_finish` = `users_finish` + 1 WHERE `id` = "' . $id['id'] . '" LIMIT 1' + ); /* */ if ($bu['inBot'] == 0) { - $pls1 = mysql_fetch_array(mysql_query('SELECT `id`, `bsid`, `money`, `finish`, `time`, `inBot`, `uid` FROM `bs_zv` WHERE `bsid` = "' . $id['id'] . '" AND `finish` = 0 AND `time` = "' . $id['time_start'] . '" AND `inBot` = "' . $bu[$i]['id'] . '" LIMIT 1')); + $pls1 = mysql_fetch_array( + mysql_query( + 'SELECT `id`, `bsid`, `money`, `finish`, `time`, `inBot`, `uid` FROM `bs_zv` WHERE `bsid` = "' . $id['id'] . '" AND `finish` = 0 AND `time` = "' . $id['time_start'] . '" AND `inBot` = "' . $bu[$i]['id'] . '" LIMIT 1' + ) + ); if (isset($pls1['id'])) { mysql_query('DELETE FROM `users` WHERE `id` = "' . $bu[$i]['id'] . '" LIMIT 1'); mysql_query('DELETE FROM `stats` WHERE `id` = "' . $bu[$i]['id'] . '" LIMIT 1'); // - $spi = mysql_query('SELECT `id`,`item_id` FROM `items_users` WHERE `uid` = "' . $bu[$i]['id'] . '" LIMIT 500'); + $spi = mysql_query( + 'SELECT `id`,`item_id` FROM `items_users` WHERE `uid` = "' . $bu[$i]['id'] . '" LIMIT 500' + ); $ins = ''; while ($pli = mysql_fetch_array($spi)) { - $ins .= '("' . $di['dn_id'] . '","' . $pli['item_id'] . '","' . time() . '","' . $di['x'] . '","' . $di['y'] . '"),'; + $ins .= '("' . $di['dn_id'] . '","' . $pli['item_id'] . '","' . time( + ) . '","' . $di['x'] . '","' . $di['y'] . '"),'; } $ins = rtrim($ins, ','); - mysql_query('INSERT INTO `dungeon_items` (`dn`,`item_id`,`time`,`x`,`y`) VALUES ' . $ins . ''); + mysql_query( + 'INSERT INTO `dungeon_items` (`dn`,`item_id`,`time`,`x`,`y`) VALUES ' . $ins . '' + ); mysql_query('DELETE FROM `items_users` WHERE `uid` = "' . $pls1['inBot'] . '" LIMIT 1'); mysql_query('DELETE FROM `eff_users` WHERE `uid` = "' . $pls1['inBot'] . '" LIMIT 1'); - mysql_query('UPDATE `bs_zv` SET `finish` = "' . time() . '" WHERE `id` = "' . $pls1['id'] . '" LIMIT 1'); + mysql_query( + 'UPDATE `bs_zv` SET `finish` = "' . time( + ) . '" WHERE `id` = "' . $pls1['id'] . '" LIMIT 1' + ); mysql_query('UPDATE `users` SET `inUser` = 0 WHERE `id` = "' . $pls1['uid'] . '" LIMIT 1'); } } @@ -397,10 +453,20 @@ class User } if ($id['users'] - $id['users_finish'] < 2) { $win = []; - $sp = mysql_query('SELECT `id`,`bsid`,`money`,`finish`,`time`,`inBot`,`uid` FROM `bs_zv` WHERE `bsid` = "' . $id['id'] . '" AND `finish` = "0" AND `time` = "' . $id['time_start'] . '" ORDER BY `money` DESC LIMIT 100'); + $sp = mysql_query( + 'SELECT `id`,`bsid`,`money`,`finish`,`time`,`inBot`,`uid` FROM `bs_zv` WHERE `bsid` = "' . $id['id'] . '" AND `finish` = "0" AND `time` = "' . $id['time_start'] . '" ORDER BY `money` DESC LIMIT 100' + ); while ($pl = mysql_fetch_array($sp)) { - $ur = mysql_fetch_array(mysql_query('SELECT `id`,`login`,`room`,`name`,`sex`,`inUser`,`twink`,`lose`,`nich`,`win` FROM `users` WHERE `id` = "' . $pl['uid'] . '" LIMIT 1')); - $ub = mysql_fetch_array(mysql_query('SELECT `id`,`login`,`room`,`name`,`sex`,`inUser`,`twink`,`lose`,`nich`,`win` FROM `users` WHERE `id` = "' . $ur['inUser'] . '" LIMIT 1')); + $ur = mysql_fetch_array( + mysql_query( + 'SELECT `id`,`login`,`room`,`name`,`sex`,`inUser`,`twink`,`lose`,`nich`,`win` FROM `users` WHERE `id` = "' . $pl['uid'] . '" LIMIT 1' + ) + ); + $ub = mysql_fetch_array( + mysql_query( + 'SELECT `id`,`login`,`room`,`name`,`sex`,`inUser`,`twink`,`lose`,`nich`,`win` FROM `users` WHERE `id` = "' . $ur['inUser'] . '" LIMIT 1' + ) + ); if (isset($ur['id']) && isset($ub['id']) && $ub['lose'] <= 0 && $ub['nich'] <= 0) { $win = $ub; $winr = $ur; @@ -424,24 +490,48 @@ class User } /* */ $mn = (round($id['money'] / 100 * 85)); - mysql_query('UPDATE `users` SET `money` = `money` + "' . $mn . '" WHERE `id` = "' . $winr['id'] . '" LIMIT 1'); - mysql_query('UPDATE `stats` SET `exp` = `exp` + "' . $bsep . '" WHERE `id` = "' . $winr['id'] . '" LIMIT 1'); + mysql_query( + 'UPDATE `users` SET `money` = `money` + "' . $mn . '" WHERE `id` = "' . $winr['id'] . '" LIMIT 1' + ); + mysql_query( + 'UPDATE `stats` SET `exp` = `exp` + "' . $bsep . '" WHERE `id` = "' . $winr['id'] . '" LIMIT 1' + ); /* */ - mysql_query("INSERT INTO `chat` (`new`,`city`,`room`,`login`,`to`,`text`,`time`,`type`,`toChat`) VALUES ('1','capitalcity','0','','" . $winr['login'] . "','! " "! : " . $bsep . ", : " . $mn . " .','-1','6','0')"); - mysql_query("INSERT INTO `chat` (`new`,`city`,`room`,`login`,`to`,`text`,`time`,`type`,`toChat`) VALUES ('1','capitalcity','0','','','! " ", : " . $winr['login'] . "! !','-1','5','0')"); - $this->addDelo(1, $uid, '"WinTournament.' . $this->info['city'] . '" ( ): "' . $mn . ' ."', time(), $this->info['city'], 'WinTournament.' . $this->info['city'] . '', 0, 0); + mysql_query( + "INSERT INTO `chat` (`new`,`city`,`room`,`login`,`to`,`text`,`time`,`type`,`toChat`) VALUES ('1','capitalcity','0','','" . $winr['login'] . "','! " "! : " . $bsep . ", : " . $mn . " .','-1','6','0')" + ); + mysql_query( + "INSERT INTO `chat` (`new`,`city`,`room`,`login`,`to`,`text`,`time`,`type`,`toChat`) VALUES ('1','capitalcity','0','','','! " ", : " . $winr['login'] . "! !','-1','5','0')" + ); + $this->addDelo( + 1, $uid, + '"WinTournament.' . $this->info['city'] . '" ( ): "' . $mn . ' ."', + time(), $this->info['city'], 'WinTournament.' . $this->info['city'] . '', 0, 0 + ); } else { // // /* */ - mysql_query("INSERT INTO `chat` (`new`,`city`,`room`,`login`,`to`,`text`,`time`,`type`,`toChat`) VALUES ('1','capitalcity','0','','','! " ", : .','-1','5','0')"); + mysql_query( + "INSERT INTO `chat` (`new`,`city`,`room`,`login`,`to`,`text`,`time`,`type`,`toChat`) VALUES ('1','capitalcity','0','','','! " ", : .','-1','5','0')" + ); } - $sp = mysql_query('SELECT `id`,`bsid`,`money`,`finish`,`time`,`inBot`,`uid` FROM `bs_zv` WHERE `bsid` = "' . $id['id'] . '" AND `time` = "' . $id['time_start'] . '" ORDER BY `money` DESC LIMIT 100'); + $sp = mysql_query( + 'SELECT `id`,`bsid`,`money`,`finish`,`time`,`inBot`,`uid` FROM `bs_zv` WHERE `bsid` = "' . $id['id'] . '" AND `time` = "' . $id['time_start'] . '" ORDER BY `money` DESC LIMIT 100' + ); while ($pl = mysql_fetch_array($sp)) { - $ur = mysql_fetch_array(mysql_query('SELECT `id`,`login`,`room`,`name`,`sex`,`inUser`,`lose`,`nich`,`win` FROM `users` WHERE `id` = "' . $pl['uid'] . '" LIMIT 1')); - $ub = mysql_fetch_array(mysql_query('SELECT `id`,`login`,`room`,`name`,`sex`,`inUser`,`lose`,`nich`,`win` FROM `users` WHERE `id` = "' . $ur['inUser'] . '" LIMIT 1')); + $ur = mysql_fetch_array( + mysql_query( + 'SELECT `id`,`login`,`room`,`name`,`sex`,`inUser`,`lose`,`nich`,`win` FROM `users` WHERE `id` = "' . $pl['uid'] . '" LIMIT 1' + ) + ); + $ub = mysql_fetch_array( + mysql_query( + 'SELECT `id`,`login`,`room`,`name`,`sex`,`inUser`,`lose`,`nich`,`win` FROM `users` WHERE `id` = "' . $ur['inUser'] . '" LIMIT 1' + ) + ); if (isset($ub['id'])) { //del mysql_query('DELETE FROM `users` WHERE `id` = "' . $ub['id'] . '" LIMIT 1'); @@ -449,7 +539,9 @@ class User mysql_query('DELETE FROM `items_users` WHERE `uid` = "' . $ub['id'] . '" LIMIT 500'); mysql_query('DELETE FROM `eff_users` WHERE `uid` = "' . $ub['id'] . '" LIMIT 500'); //upd - mysql_query('UPDATE `bs_zv` SET `finish` = "' . time() . '" WHERE `id` = "' . $pl['id'] . '" LIMIT 1'); + mysql_query( + 'UPDATE `bs_zv` SET `finish` = "' . time() . '" WHERE `id` = "' . $pl['id'] . '" LIMIT 1' + ); mysql_query('UPDATE `users` SET `inUser` = "0" WHERE `id` = "' . $pl['uid'] . '" LIMIT 1'); } } @@ -457,30 +549,46 @@ class User } // - public function ves($u) + public function ves($u): array { $r = ['now' => 0, 'max' => 0]; if ($u == null) { // - $r['now'] = mysql_fetch_array(mysql_query('SELECT SUM(`im`.`massa`) FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON `iu`.`item_id` = `im`.`id` WHERE `iu`.`uid` = "' . $this->info['id'] . '" AND (`iu`.`delete` = "0" OR (`iu`.`delete` = "1000" AND `iu`.`inGroup` > 0)) AND `iu`.`inShop` = "0" AND `iu`.`inOdet` = "0"')); + $r['now'] = mysql_fetch_array( + mysql_query( + 'SELECT SUM(`im`.`massa`) FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON `iu`.`item_id` = `im`.`id` WHERE `iu`.`uid` = "' . $this->info['id'] . '" AND (`iu`.`delete` = "0" OR (`iu`.`delete` = "1000" AND `iu`.`inGroup` > 0)) AND `iu`.`inShop` = "0" AND `iu`.`inOdet` = "0"' + ) + ); $r['now'] = 0 + $r['now'][0]; - @$r['max'] = 40 + ($this->stats['os7'] * 10) + $this->stats['s4'] + $this->stats['maxves'] + $this->stats['s1'] * 4; - $r['items'] = mysql_fetch_array(mysql_query('SELECT COUNT(`im`.`id`) FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON `iu`.`item_id` = `im`.`id` WHERE `iu`.`uid` = "' . $this->info['id'] . '" AND `iu`.`delete` = "0" AND `iu`.`inShop` = "0" AND `iu`.`inOdet` = "0"')); + $r['max'] = 40 + ($this->stats['os7'] * 10) + $this->stats['s4'] + $this->stats['maxves'] + $this->stats['s1'] * 4; + $r['items'] = mysql_fetch_array( + mysql_query( + 'SELECT COUNT(`im`.`id`) FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON `iu`.`item_id` = `im`.`id` WHERE `iu`.`uid` = "' . $this->info['id'] . '" AND `iu`.`delete` = "0" AND `iu`.`inShop` = "0" AND `iu`.`inOdet` = "0"' + ) + ); $r['items'] = $r['items'][0]; } return $r; } // \ - public function plavka($id, $type) + public function plavka($id, $type): string { $e = ''; $rn = 1; - $pl = mysql_fetch_array(mysql_query('SELECT + $pl = mysql_fetch_array( + mysql_query( + 'SELECT `im`.`id`,`im`.`name`,`im`.`img`,`im`.`type`,`im`.`inslot`,`im`.`2h`,`im`.`2too`,`im`.`iznosMAXi`,`im`.`inRazdel`,`im`.`price1`,`im`.`price2`,`im`.`pricerep`,`im`.`magic_chance`,`im`.`info`,`im`.`massa`,`im`.`level`,`im`.`magic_inci`,`im`.`overTypei`,`im`.`group`,`im`.`group_max`,`im`.`geni`,`im`.`ts`,`im`.`srok`,`im`.`class`,`im`.`class_point`,`im`.`anti_class`,`im`.`anti_class_point`,`im`.`max_text`,`im`.`useInBattle`,`im`.`lbtl`,`im`.`lvl_itm`,`im`.`lvl_exp`,`im`.`lvl_aexp`, `iu`.`id`,`iu`.`item_id`,`iu`.`1price`,`iu`.`2price`,`iu`.`uid`,`iu`.`use_text`,`iu`.`data`,`iu`.`inOdet`,`iu`.`inShop`,`iu`.`delete`,`iu`.`iznosNOW`,`iu`.`iznosMAX`,`iu`.`gift`,`iu`.`gtxt1`,`iu`.`gtxt2`,`iu`.`kolvo`,`iu`.`geniration`,`iu`.`magic_inc`,`iu`.`maidin`,`iu`.`lastUPD`,`iu`.`timeOver`,`iu`.`overType`,`iu`.`secret_id`,`iu`.`time_create`,`iu`.`time_sleep`,`iu`.`inGroup`,`iu`.`dn_delete`,`iu`.`inTransfer`,`iu`.`post_delivery`,`iu`.`lbtl_`,`iu`.`bexp`,`iu`.`so`,`iu`.`blvl` -FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.`item_id`) WHERE `iu`.`uid`="' . $this->info['id'] . '" AND `iu`.`delete`="0" AND `iu`.`inOdet`="0" AND `iu`.`inShop`="0" AND `iu`.`id` = "' . ((int)$id) . '" LIMIT 1;')); - $d = mysql_fetch_array(mysql_query('SELECT `id`,`items_id`,`data` FROM `items_main_data` WHERE `items_id` = "' . $pl['item_id'] . '" LIMIT 1')); +FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.`item_id`) WHERE `iu`.`uid`="' . $this->info['id'] . '" AND `iu`.`delete`="0" AND `iu`.`inOdet`="0" AND `iu`.`inShop`="0" AND `iu`.`id` = "' . ((int)$id) . '" LIMIT 1;' + ) + ); + $d = mysql_fetch_array( + mysql_query( + 'SELECT `id`,`items_id`,`data` FROM `items_main_data` WHERE `items_id` = "' . $pl['item_id'] . '" LIMIT 1' + ) + ); $po = $this->lookStats($d['data']); if ($pl['level'] == 0) { $pl['level'] = 0 + $po['tr_lvl']; @@ -502,14 +610,14 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` if (isset($pl['id'], $d['id'])) { $pl['rep'] = 1; // - // mysql_query('UPDATE `rep` SET `rep1` = `rep1` + "'.$pl['rep'].'" WHERE `id` = "'.$this->info['id'].'" LIMIT 1')); - $e = ' "' . $pl['name'] . '"! : +' . $pl['rep'] . ' .'; - mysql_query('UPDATE `items_users` SET `delete` = "' . time() . '" WHERE `id` = "' . $pl['id'] . '" LIMIT 1'); + mysql_query( + 'UPDATE `items_users` SET `delete` = "' . time() . '" WHERE `id` = "' . $pl['id'] . '" LIMIT 1' + ); $this->rep['rep1'] += $pl['rep']; - mysql_query('UPDATE `rep` SET `rep1` = "' . $this->rep['rep1'] . '" WHERE `id` = "' . $this->info['id'] . '" LIMIT 1'); - - + mysql_query( + 'UPDATE `rep` SET `rep1` = "' . $this->rep['rep1'] . '" WHERE `id` = "' . $this->info['id'] . '" LIMIT 1' + ); } else { $e = ' , ' . $pl['item_id'] . '...'; } @@ -520,20 +628,28 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` } // - public function info_remont() + public function info_remont(): string { $r = ''; - $sp = mysql_query('SELECT - `im`.`id`,`im`.`name`,`im`.`img`,`im`.`type`,`im`.`inslot`,`im`.`2h`,`im`.`2too`,`im`.`iznosMAXi`,`im`.`inRazdel`,`im`.`price1`,`im`.`price2`,`im`.`pricerep`,`im`.`magic_chance`,`im`.`info`,`im`.`massa`,`im`.`level`,`im`.`magic_inci`,`im`.`overTypei`,`im`.`group`,`im`.`group_max`,`im`.`geni`,`im`.`ts`,`im`.`srok`,`im`.`class`,`im`.`class_point`,`im`.`anti_class`,`im`.`anti_class_point`,`im`.`max_text`,`im`.`useInBattle`,`im`.`lbtl`,`im`.`lvl_itm`,`im`.`lvl_exp`,`im`.`lvl_aexp`, - `iu`.`id`,`iu`.`item_id`,`iu`.`1price`,`iu`.`2price`,`iu`.`uid`,`iu`.`use_text`,`iu`.`data`,`iu`.`inOdet`,`iu`.`inShop`,`iu`.`delete`,`iu`.`iznosNOW`,`iu`.`iznosMAX`,`iu`.`gift`,`iu`.`gtxt1`,`iu`.`gtxt2`,`iu`.`kolvo`,`iu`.`geniration`,`iu`.`magic_inc`,`iu`.`maidin`,`iu`.`lastUPD`,`iu`.`timeOver`,`iu`.`overType`,`iu`.`secret_id`,`iu`.`time_create`,`iu`.`time_sleep`,`iu`.`inGroup`,`iu`.`dn_delete`,`iu`.`inTransfer`,`iu`.`post_delivery`,`iu`.`lbtl_`,`iu`.`bexp`,`iu`.`so`,`iu`.`blvl` - FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.`item_id`) WHERE `iu`.`uid` = "' . ((int)$this->info['id']) . '" AND `iu`.`delete` = "0" AND `iu`.`inShop` = "0" AND `iu`.`inOdet` > "0" AND `iu`.`inOdet` < "18" LIMIT 18'); + $sp = mysql_query('SELECT `im`.`name`,`iu`.`iznosNOW`,`iu`.`iznosMAX` + FROM `items_users` AS `iu` + LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.`item_id`) + WHERE + `iu`.`uid` = ' . ($this->info['id']) . ' AND + `iu`.`delete` = 0 AND + `iu`.`inShop` = 0 AND + `iu`.`inOdet` > 0 AND + `iu`.`inOdet` < 18 + LIMIT 18' + ); while ($pl = mysql_fetch_array($sp)) { - if ($pl['iznosNOW'] > ceil($pl['iznosMAX'] * 0.80)) { - $r .= '' . $pl['name'] . ' [' . floor($pl['iznosNOW']) . '/' . ceil($pl['iznosMAX']) . ']
    '; + if ($pl['iznosNOW'] <= ceil($pl['iznosMAX'] * 0.80)) { + continue; } + $r .= '' . $pl['name'] . ' [' . floor($pl['iznosNOW']) . '/' . + ceil($pl['iznosMAX']) . ']
    '; } - $r = '
    ' . $r . '
    '; - return $r; + return '
    ' . $r . '
    '; } // @@ -571,8 +687,6 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` $min = $itm['sv_yron_min'] + $st['minAtack'] + $itm['yron_min'] + $st['yron_min']; $max = $itm['sv_yron_max'] + $st['maxAtack'] + $itm['yron_max'] + $st['yron_max']; - //if($x!=0) - //{ // : 0 - , 1 - , 2 - , 3 - , 4 - , 5 - , 6 - , 7 - , 8 - , 9 - , 10 - , 11 - if ($item['type'] == 18) { // @@ -591,10 +705,7 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` $sss = ceil($st['s1'] * 0.1); } - // - //$p['B'][0] = 5; - //$p['B'][1] = 9; $p['B'][0] = ceil($st['s1'] * 1); $p['B'][1] = ceil(0.4 + $p['B'][0] / 0.9); @@ -647,7 +758,7 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` } // - public function zago($v) + public function zago($v): float { if ($v > 1700) { $v = 1700; @@ -661,28 +772,27 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` if ($v > 1000) { $v = 1000; } - $r = (1 - (pow(0.5, ($v / 250)))) * 100; - return $r; + return (1 - (pow(0.5, ($v / 250)))) * 100; } - public function inform($v) - + public function inform(string $v) { - //$this->stats['items'][13] , $this->stats['items'][14] $r = ''; + $y = []; + $w1 = 0; + $w2 = 0; + $i = 0; if ($v == 'yrontest' || $v == 'yrontest-krit') { - $y = []; /* */ - $w1 = 0; - $w2 = 0; - $i = 0; - while ($i < count($this->stats['items'])) { - if ($this->stats['items'][$i]['inOdet'] == 3 && $w1 == 0 && $this->stats['items'][$i]['type'] >= 18 && $this->stats['items'][$i]['type'] <= 28) { - $w1 = $this->stats['items'][$i]; - } elseif ($this->stats['items'][$i]['inOdet'] == 14 && $w2 == 0 && $this->stats['items'][$i]['type'] >= 18 && $this->stats['items'][$i]['type'] <= 28) { - $w2 = $this->stats['items'][$i]; + if (is_array($this->stats['items'])) { + while ($i < count($this->stats['items'])) { + if ($this->stats['items'][$i]['inOdet'] == 3 && $w1 == 0 && $this->stats['items'][$i]['type'] >= 18 && $this->stats['items'][$i]['type'] <= 28) { + $w1 = $this->stats['items'][$i]; + } elseif ($this->stats['items'][$i]['inOdet'] == 14 && $w2 == 0 && $this->stats['items'][$i]['type'] >= 18 && $this->stats['items'][$i]['type'] <= 28) { + $w2 = $this->stats['items'][$i]; + } + $i++; } - $i++; } if (isset($w1['id']) && $w1['inOdet'] != 14) { $tp = 0; @@ -710,7 +820,9 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` $r .= '' . $y[0] . '-' . $y[1] . ''; } else { // - $y[0] = ceil(2 + $this->info['level'] + $this->stats ['s1'] - round($this->stats['s1'] / 5)) + $this->stats['minAtack'] + $this->stats['yron_min']; + $y[0] = ceil( + 2 + $this->info['level'] + $this->stats ['s1'] - round($this->stats['s1'] / 5) + ) + $this->stats['minAtack'] + $this->stats['yron_min']; $y[1] = ceil($y[0] + 3) + $this->stats['maxAtack'] + $this->stats['yron_max']; if ($y[0] < 1) { $y[0] = 1; @@ -748,11 +860,7 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` } /* --- */ } elseif ($v == 'yron') { - $y = []; /* */ - $w1 = 0; - $w2 = 0; - $i = 0; while ($i < count($this->stats['items'])) { if ($this->stats['items'][$i]['inOdet'] == 3 && $w1 == 0 && $this->stats['items'][$i]['type'] >= 18 && $this->stats['items'][$i]['type'] <= 28) { $w1 = $this->stats['items'][$i]; @@ -817,11 +925,7 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` } } else { // - $y = []; /* */ - $w1 = 0; - $w2 = 0; - $i = 0; $ry = 0; while ($i < count($this->stats['items'])) { if ($this->stats['items'][$i]['inOdet'] == 3 && $w1 == 0 && $this->stats['items'][$i]['type'] >= 18 && $this->stats['items'][$i]['type'] <= 28) { @@ -868,7 +972,7 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` return $r; } - public function timeOut($ttm) + public function timeOut($ttm): string { $out = ''; $time_still = $ttm; @@ -913,8 +1017,9 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` return $out; } - public function rep_zv($id, $e) + public function rep_zv(int $id, int $e): string { + $r = '0 / 0'; if ($id == 1) { // if ($e > 9999) { @@ -926,7 +1031,7 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` } else { $r = $e . ' / 99'; } - } elseif ($id == 2) { + } elseif ($id == 2 || $id == 3 || $id == 4 || $id == 6 || $id == 7 || $id == 8) { //Capital city if ($e > 24999) { $r = ' , ' . $e . ' / ??'; @@ -935,24 +1040,6 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` } else { $r = $e . ' / 10000'; } - } elseif ($id == 3) { - //Angels city - if ($e > 24999) { - $r = ' , ' . $e . ' / ??'; - } elseif ($e > 9999) { - $r = ' , ' . $e . ' / 24999'; - } else { - $r = $e . ' / 10000'; - } - } elseif ($id == 4) { - //Demons city - if ($e > 24999) { - $r = ' , ' . $e . ' / ??'; - } elseif ($e > 9999) { - $r = ' , ' . $e . ' / 24999'; - } else { - $r = $e . ' / 10000'; - } } elseif ($id == 5) { // if ($e > 99) { @@ -960,33 +1047,6 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` } else { $r = $e . ' / 99'; } - } elseif ($id == 6) { - //Sand - if ($e > 24999) { - $r = ' , ' . $e . ' / ??'; - } elseif ($e > 9999) { - $r = ' , ' . $e . ' / 24999'; - } else { - $r = $e . ' / 10000'; - } - } elseif ($id == 7) { - //Sun - if ($e > 24999) { - $r = ' , ' . $e . ' / ??'; - } elseif ($e > 9999) { - $r = ' , ' . $e . ' / 24999'; - } else { - $r = $e . ' / 10000'; - } - } elseif ($id == 8) { - //Moon - if ($e > 24999) { - $r = ' , ' . $e . ' / ??'; - } elseif ($e > 9999) { - $r = ' , ' . $e . ' / 24999'; - } else { - $r = $e . ' / 10000'; - } } elseif ($id == 9) { //Dreams city if ($e > 9999) { @@ -1023,23 +1083,33 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` return $r; } - public function getInfoById($id) - { - return mysql_fetch_array(mysql_query("SELECT `users`.*,`stats`.* FROM `users` INNER JOIN `stats` ON (`stats`.`id`=`users`.`id`) WHERE `users`.`id`='" . $id . "' OR - `users`.`login`= '" . mysql_real_escape_string($id) . "'")); - } - public function addItem($id, $uid, $md = null, $dn = null, $mxiznos = null, $nosudba = null, $plavka = null) { $rt = -1; - $i = mysql_fetch_array(mysql_query('SELECT `im`.`id`,`im`.`name`,`im`.`img`,`im`.`type`,`im`.`inslot`,`im`.`2h`,`im`.`2too`,`im`.`iznosMAXi`,`im`.`inRazdel`,`im`.`price1`,`im`.`price2`,`im`.`pricerep`,`im`.`magic_chance`,`im`.`info`,`im`.`massa`,`im`.`level`,`im`.`magic_inci`,`im`.`overTypei`,`im`.`group`,`im`.`group_max`,`im`.`geni`,`im`.`ts`,`im`.`srok`,`im`.`class`,`im`.`class_point`,`im`.`anti_class`,`im`.`anti_class_point`,`im`.`max_text`,`im`.`useInBattle`,`im`.`lbtl`,`im`.`lvl_itm`,`im`.`lvl_exp`,`im`.`lvl_aexp` FROM `items_main` AS `im` WHERE `im`.`id` = "' . mysql_real_escape_string($id) . '" LIMIT 1')); + $i = mysql_fetch_array( + mysql_query( + 'SELECT `im`.`id`,`im`.`name`,`im`.`img`,`im`.`type`,`im`.`inslot`,`im`.`2h`,`im`.`2too`,`im`.`iznosMAXi`,`im`.`inRazdel`,`im`.`price1`,`im`.`price2`,`im`.`pricerep`,`im`.`magic_chance`,`im`.`info`,`im`.`massa`,`im`.`level`,`im`.`magic_inci`,`im`.`overTypei`,`im`.`group`,`im`.`group_max`,`im`.`geni`,`im`.`ts`,`im`.`srok`,`im`.`class`,`im`.`class_point`,`im`.`anti_class`,`im`.`anti_class_point`,`im`.`max_text`,`im`.`useInBattle`,`im`.`lbtl`,`im`.`lvl_itm`,`im`.`lvl_exp`,`im`.`lvl_aexp` FROM `items_main` AS `im` WHERE `im`.`id` = "' . mysql_real_escape_string( + $id + ) . '" LIMIT 1' + ) + ); if (isset($i['id'])) { - $d = mysql_fetch_array(mysql_query('SELECT `id`,`items_id`,`data` FROM `items_main_data` WHERE `items_id` = "' . $i['id'] . '" LIMIT 1')); + $d = mysql_fetch_array( + mysql_query( + 'SELECT `id`,`items_id`,`data` FROM `items_main_data` WHERE `items_id` = "' . $i['id'] . '" LIMIT 1' + ) + ); // $data = $d['data']; if ($i['ts'] > 0) { if ($nosudba == null) { - $ui = mysql_fetch_array(mysql_query('SELECT `id`,`login` FROM `users` WHERE `id` = "' . mysql_real_escape_string($uid) . '" LIMIT 1')); + $ui = mysql_fetch_array( + mysql_query( + 'SELECT `id`,`login` FROM `users` WHERE `id` = "' . mysql_real_escape_string( + $uid + ) . '" LIMIT 1' + ) + ); $data .= '|sudba=' . $ui['login']; } } @@ -1062,7 +1132,8 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` } else { $room = $this->info['city']; } - $ins = mysql_query('INSERT INTO `items_users` (`overType`,`item_id`,`uid`,`data`,`iznosMAX`,`geniration`,`magic_inc`,`maidin`,`lastUPD`,`time_create`,`dn_delete`) VALUES ( + $ins = mysql_query( + 'INSERT INTO `items_users` (`overType`,`item_id`,`uid`,`data`,`iznosMAX`,`geniration`,`magic_inc`,`maidin`,`lastUPD`,`time_create`,`dn_delete`) VALUES ( "' . $i['overTypei'] . '", "' . $i['id'] . '", "' . $uid . '", @@ -1073,10 +1144,13 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` "' . $room . '", "' . time() . '", "' . time() . '", - "' . $i['dn_delete'] . '")'); + "' . $i['dn_delete'] . '")' + ); if ($ins) { $rt = mysql_insert_id(); - mysql_query('UPDATE `items_users` SET `dn_delete` = "1" WHERE `id` = "' . $rt . '" AND `data` LIKE "%dn_delete=%" LIMIT 1'); + mysql_query( + 'UPDATE `items_users` SET `dn_delete` = "1" WHERE `id` = "' . $rt . '" AND `data` LIKE "%dn_delete=%" LIMIT 1' + ); if ($uid == $this->info['id']) { $this->stack($rt); } @@ -1085,7 +1159,11 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` $ads = ' : [' . $plavka . ']'; } // - $ld = $this->addDelo(1, $uid, '"AddItems.' . $this->info['city'] . '": "' . $i['name'] . '" (x1) [#' . $i['iid'] . ']. ' . $ads . '', time(), $this->info['city'], 'AddItems.' . $this->info['city'] . '', 0, 0); + $this->addDelo( + 1, $uid, + '"AddItems.' . $this->info['city'] . '": "' . $i['name'] . '" (x1) [#' . $i['iid'] . ']. ' . $ads . '', + time(), $this->info['city'], 'AddItems.' . $this->info['city'] . '', 0, 0 + ); } else { $rt = 0; } @@ -1107,68 +1185,71 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` return $plid; } - public function microLogin2($bus) + public function microLogin2(array $bus): string { $bus['login_BIG'] = ''; if ($bus['align'] > 0) { - $bus['login_BIG'] .= ''; + $bus['login_BIG'] .= ''; } if ($bus['align2'] > 0) { - $bus['login_BIG'] .= ''; + $bus['login_BIG'] .= ''; } if ($bus['clan'] > 0) { - $bus['login_BIG'] .= ''; + $bus['login_BIG'] .= ''; } - $bus['login_BIG'] .= '' . $bus['login'] . '[' . $bus['level'] . ']'; + $bus['login_BIG'] .= $bus['login'] . '[' . $bus['level'] . ']'; return $bus['login_BIG']; } - public function microLogin($id, $t, $nnz = 1) + public function microLogin(int $id, int $t, int $nnz = 1): string { - global $c; - if ($t == 1) { - $inf = mysql_fetch_array(mysql_query('SELECT - `u`.`id`, - `u`.`align`,`u`.`align2`, - `u`.`login`, - `u`.`clan`, - `u`.`level`, - `u`.`city`, - `u`.`online`, - `u`.`sex`,`u`.`design`,`u`.`autospell`,`u`.`noplaw`, - `u`.`cityreg`, - `u`.`palpro`, - `u`.`invis`, - `st`.`hpNow` FROM `users` AS `u` LEFT JOIN `stats` AS `st` ON (`u`.`id` = `st`.`id`) WHERE `u`.`id`="' . mysql_real_escape_string($id) . '" OR `u`.`login` = "' . mysql_real_escape_string((int)$id) . '" LIMIT 1')); + if ($t !== 1) { + $inf['id'] = $id; } else { - $inf = $id; - $id = $inf['id']; + $inf = Db::getRow( + 'select + users.id, + invis, + users.align, + align2, + clan, + cityreg, + login, + users.level, + c.name_mini + from users left join clan as c on c.id = users.clan + where users.id = ?', + [$id] + ); } $r = ''; - if (isset($inf['id']) && (($inf['invis'] < time() && $inf['invis'] != 1) || ($this->info['id'] == $inf['id'] && $nnz == 1))) { + if ( + isset($inf['id']) && + ( + ($inf['invis'] < time() && $inf['invis'] !== 1) || + ($this->info['id'] == $inf['id'] && $nnz === 1) + ) + ) { if ($inf['align'] > 0) { - $r .= ''; + $r .= ''; } if ($inf['align2'] > 0) { - $r .= ''; + $r .= ''; } - if ($inf['clan'] > 0) { - $cln = mysql_fetch_array(mysql_query('SELECT `id`,`name`,`name_mini`,`align`,`type_m`,`money1`,`exp` FROM `clan` WHERE `id` = "' . $inf['clan'] . '" LIMIT 1')); - if (isset($cln['id'])) { - $r .= ''; - } + if ($inf['name_mini']) { + $r .= ''; } if ($inf['cityreg'] == '') { $inf['cityreg'] = 'capitalcity'; } - $r .= ' ' . $inf['login'] . ' [' . $inf['level'] . ']'; + $r .= '' . $inf['login'] . ' [' . $inf['level'] . ']'; } else { - $r = ' [??]'; + $r = ' [??]'; } return $r; } - public function testHome() + public function testHome(): array { /*----()----*/ $timeforwait = 3600; @@ -1176,7 +1257,11 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` $timeforwait = 3600 - (($st['os6'] * 5) * 60); } /*----()----*/ - $hgo = $this->testAction('`uid` = "' . $this->info['id'] . '" AND `time` >= ' . (time() - $timeforwait) . ' AND `vars` = "go_homeworld" LIMIT 1', 1); + $hgo = $this->testAction( + '`uid` = "' . $this->info['id'] . '" AND `time` >= ' . (time( + ) - $timeforwait) . ' AND `vars` = "go_homeworld" LIMIT 1', + 1 + ); if ($this->info['level'] == 0 || $this->info['active'] != '' || $this->info['inTurnir'] > 0 || $this->info['inTurnirnew'] > 0 || $this->info['zv'] > 0 || $this->info['dnow'] > 0) { $hgo['id'] = true; } @@ -1184,7 +1269,9 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` $hgo['id'] = true; } if (!isset($hgo['id'])) { - $ku = mysql_fetch_array(mysql_query('SELECT `id` FROM `katok_zv` WHERE `uid` = "' . $this->info['id'] . '" LIMIT 1')); + $ku = mysql_fetch_array( + mysql_query('SELECT `id` FROM `katok_zv` WHERE `uid` = ' . $this->info['id']) + ); if (isset($ku['id'])) { $hgo['id'] = true; } @@ -1192,29 +1279,6 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` return $hgo; } - public function telegram($uid, $text, $type = 1, $from = null) - { - if (!(int)$uid) { - $uid = mysql_fetch_array(mysql_query('SELECT `id` FROM `users` WHERE `login` = "' . mysql_real_escape_string($uid) . '" LIMIT 1')); - $uid = $uid['id']; - } - $r = 0; - if ($uid > 0) { - if ($from == null) { - $from = $this->info['login']; - } - $ins = mysql_query('INSERT INTO `telegram` (`uid`,`from`,`time`,`fromType`,`text`) VALUES ("' . mysql_real_escape_string($uid) . '","' . mysql_real_escape_string($from) . '","' . time() . '","' . mysql_real_escape_string($type) . '","' . mysql_real_escape_string(htmlspecialchars($text, null, 'cp1251')) . '")'); - if ($ins) { - $r = 1; - } else { - $r = -2; - } - } else { - $r = -1; - } - return $r; - } - public function addKr($amount) { Db::sql('update users set money = money + ? where id = ?', [$amount, $this->info['id']]); @@ -1227,42 +1291,69 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` private function __construct() { - global $c, $code, $magic; + $this->info = Db::getRow( + 'select + *, + users.id as id, + users.level as level, + users.align as align, + users.sex as sex, + users.clan as clan, + stats.timeGo as timeGo, + users.name as name, + stats.lider as lider + from users + left join stats on users.id = stats.id + left join room on users.room = room.id + where login = ?', + [$_COOKIE['login']] + ); + + $this->info['relik']['relik'] = Db::getValue( + 'select count(*) from items_users where item_id = 4757 and `delete` = 0 and uid = ?', + [$this->info['id']] + ); + $this->info['achiv'] = Db::getRow('select * from users_achiv where id = ?', [$this->info['id']]); - $this->info = mysql_fetch_array(mysql_query('SELECT - `u`.`nextBonus`,`u`.`mat`,`u`.`skype`,`u`.`skype_hide`,`u`.`stopexp`,`u`.`twink`,`u`.`swin`,`u`.`slose`,`u`.`send`,`u`.`activ`,`u`.`b1`,`u`.`nadmin`,`u`.`fnq`,`u`.`id`,`u`.`login`,`u`.`login2`,`u`.`pass`,`u`.`pass2`,`u`.`repass`,`u`.`notrhod`,`u`.`emailconfirmation`,`u`.`securetime`,`u`.`sys`,`u`.`palpro`,`u`.`online`,`u`.`ip`,`u`.`ipreg`,`u`.`joinIP`,`u`.`admin`,`u`.`city`,`u`.`room`,`u`.`banned`,`u`.`auth`,`u`.`align`,`u`.`align2`,`u`.`align_lvl`,`u`.`align_exp`,`u`.`mod_zvanie`,`u`.`clan`,`u`.`nextMsg`,`u`.`molch1`,`u`.`molch2`,`u`.`molch3`,`u`.`level`,`u`.`money`,`u`.`money2`,`u`.`money4`,`u`.`money3`,`u`.`money3`,`u`.`battle`,`u`.`cityreg`,`u`.`invBlock`,`u`.`allLock`,`u`.`invBlockCode`,`u`.`zag`,`u`.`a1`,`u`.`q1`,`u`.`mail`,`u`.`name`,`u`.`bithday`,`u`.`sex`,`u`.`design`,`u`.`autospell`,`u`.`noplaw`,`u`.`city_real`,`u`.`icq`,`u`.`icq_hide`,`u`.`homepage`,`u`.`deviz`,`u`.`hobby`,`u`.`chatColor`,`u`.`timereg`,`u`.`add_smiles`,`u`.`obraz`,`u`.`win`,`u`.`win_bs`,`u`.`lose`,`u`.`nich`,`u`.`cityreg2`,`u`.`host`,`u`.`info_delete`,`u`.`dateEnter`,`u`.`afk`,`u`.`dnd`,`u`.`timeMain`,`u`.`clan_prava`,`u`.`addpr`,`u`.`marry`,`u`.`city2`,`u`.`invis`,`u`.`bot_id`,`u`.`haos`,`u`.`host_reg`,`u`.`inUser`,`u`.`inTurnir`,`u`.`inTurnirnew`,`u`.`jail`,`u`.`animal`,`u`.`vip`,`u`.`catch`,`u`.`frg`,`u`.`no_ip`,`u`.`type_pers`,`u`.`bot_room`,`u`.`clan_delay`,`u`.`bukmeker`,`u`.`ang_g`,`u`.`referals`, - `st`.`id`,`st`.`lider`,`st`.`btl_cof`,`st`.`last_hp`,`st`.`last_pr`,`st`.`smena`,`st`.`stats`,`st`.`hpAll`,`st`.`mpAll`,`st`.`hpNow`,`st`.`mpNow`,`st`.`enNow`,`st`.`transfers`,`st`.`regHP`,`st`.`regMP`,`st`.`showmenu`,`st`.`prmenu`,`st`.`ability`,`st`.`skills`,`st`.`sskills`,`st`.`nskills`,`st`.`exp`,`st`.`minHP`,`st`.`minMP`,`st`.`zv`,`st`.`dn`,`st`.`dnow`,`st`.`team`,`st`.`battle_yron`,`st`.`battle_exp`,`st`.`enemy`,`st`.`last_a`,`st`.`last_b`,`st`.`battle_text`,`st`.`upLevel`,`st`.`wipe`,`st`.`bagStats`,`st`.`timeGo`,`st`.`timeGoL`,`st`.`nextAct`,`st`.`active`,`st`.`bot`,`st`.`lastAlign`,`st`.`tactic1`,`st`.`tactic2`,`st`.`tactic3`,`st`.`tactic4`,`st`.`tactic5`,`st`.`tactic6`,`st`.`tactic7`,`st`.`x`,`st`.`y`,`st`.`s`,`st`.`battleEnd`,`st`.`priemslot`,`st`.`priems`,`st`.`priems_z`,`st`.`bet`,`st`.`clone`,`st`.`atack`,`st`.`bbexp`,`st`.`ref_data`,`st`.`res_x`,`st`.`res_y`,`st`.`res_s`,`st`.`bn_capitalcity`,`st`.`bn_demonscity`,`st`.`alog`,`st`.`mlog`,`st`.`seff`,`st`.`expstopu`,`st`.`upexpdate`,`st`.`repexp`, - `r`.`noatack` FROM `users` AS `u` LEFT JOIN `stats` AS `st` ON (`u`.`id` = `st`.`id`) LEFT JOIN `room` AS `r` ON (`u`.`room` = `r`.`id`) WHERE `u`.`login`="' . mysql_real_escape_string($_COOKIE['login']) . '" AND `u`.`pass`="' . mysql_real_escape_string($_COOKIE['pass']) . '" LIMIT 1')); - $this->info['relik'] = mysql_fetch_array(mysql_query('SELECT COUNT(`id`) AS relik FROM `items_users` WHERE `item_id` = 4754 AND `uid`="' . $this->info['id'] . '" AND `delete` =0')); - $this->info['achiv'] = mysql_fetch_array(mysql_query('SELECT * FROM `users_achiv` WHERE `id`="' . $this->info['id'] . '" LIMIT 1')); if (!isset($this->info['achiv']['id'])) { - mysql_query('INSERT INTO `users_achiv`(`id`, `zb`, `zb_n`, `vx`, `vx_n`, `snt`, `snt_n`, `rp`, `rp_n`, `rn`, `rn_n`, `rb`, `rb_n`, `pg`, `pg_n`, `bv`, `bv_n`, `kw`, `kw_n`, `pa`, `pa_n`) VALUES ("' . $this->info['id'] . '",0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)'); - $this->info['achiv'] = mysql_fetch_array(mysql_query('SELECT * FROM `users_achiv` WHERE `id`="' . $this->info['id'] . '" LIMIT 1')); + Db::sql('insert into users_achiv (id) value (?)', [$this->info['id']]); + $this->info['achiv'] = Db::getRow('select * from users_achiv where id = ?', [$this->info['id']]); } - if ($c['securetime'] > 0) { + if (Core\Config::get('securetime') > 0) { if (!defined('IP')) { - $dip = $_SERVER['REMOTE_ADDR']; - define('IP', $dip); + define('IP', $_SERVER['REMOTE_ADDR']); } if (isset($this->info['id']) && ($this->info['ip'] != IP || $this->info['banned'] > 0) && $_SERVER['REQUEST_URI'] != '/') { unset($this->info, $_COOKIE['login'], $_COOKIE['pass']); - die(''); + die(Config::get('exit')); } } if (isset($this->info['id']) && $this->info['exp'] > 300000 && $this->info['twink'] > 0) { $this->info['exp'] = 300000; - mysql_query('UPDATE `users` SET `exp` = ' . $this->info['exp'] . ' WHERE `id` = "' . $this->info['id'] . '" LIMIT 1'); + Db::sql('update stats set exp = ? where id = ?', [$this->info['exp'], $this->info['id']]); } if (isset($this->info['id']) && $this->info['inUser']) { - $md = [$this->info['molch1'], $this->info['molch2'], $this->info['molch3'], $this->info['admin'], $this->info['nadmin'], $this->info['banned'], $this->info['activ'], $this->info['align'], $this->info['id'], $this->info['level']]; - $this->info = mysql_fetch_array(mysql_query('SELECT - `u`.`nextBonus`,`u`.`mat`,`u`.`skype`,`u`.`skype_hide`,`u`.`stopexp`,`u`.`twink`,`u`.`swin`,`u`.`slose`,`u`.`activ`,`u`.`nadmin`,`u`.`b1`,`u`.`fnq`,`u`.`id`,`u`.`login`,`u`.`login2`,`u`.`pass`,`u`.`pass2`,`u`.`repass`,`u`.`notrhod`,`u`.`emailconfirmation`,`u`.`securetime`,`u`.`sys`,`u`.`palpro`,`u`.`online`,`u`.`ip`,`u`.`ipreg`,`u`.`joinIP`,`u`.`admin`,`u`.`city`,`u`.`room`,`u`.`banned`,`u`.`auth`,`u`.`align`,`u`.`align2`,`u`.`align_lvl`,`u`.`align_exp`,`u`.`mod_zvanie`,`u`.`clan`,`u`.`nextMsg`,`u`.`molch1`,`u`.`molch2`,`u`.`molch3`,`u`.`level`,`u`.`money`,`u`.`money2`,`u`.`money4`,`u`.`money3`,`u`.`battle`,`u`.`cityreg`,`u`.`invBlock`,`u`.`allLock`,`u`.`invBlockCode`,`u`.`zag`,`u`.`a1`,`u`.`q1`,`u`.`mail`,`u`.`name`,`u`.`bithday`,`u`.`sex`,`u`.`design`,`u`.`autospell`,`u`.`noplaw`,`u`.`city_real`,`u`.`icq`,`u`.`icq_hide`,`u`.`homepage`,`u`.`deviz`,`u`.`hobby`,`u`.`chatColor`,`u`.`timereg`,`u`.`add_smiles`,`u`.`obraz`,`u`.`win`,`u`.`win_bs`,`u`.`lose`,`u`.`nich`,`u`.`cityreg2`,`u`.`host`,`u`.`info_delete`,`u`.`dateEnter`,`u`.`afk`,`u`.`dnd`,`u`.`timeMain`,`u`.`clan_prava`,`u`.`addpr`,`u`.`marry`,`u`.`city2`,`u`.`invis`,`u`.`bot_id`,`u`.`haos`,`u`.`host_reg`,`u`.`inUser`,`u`.`inTurnir`,`u`.`inTurnirnew`,`u`.`jail`,`u`.`animal`,`u`.`vip`,`u`.`catch`,`u`.`frg`,`u`.`no_ip`,`u`.`type_pers`,`u`.`bot_room`,`u`.`clan_delay`,`u`.`bukmeker`, - `st`.`id`,`st`.`lider`,`st`.`btl_cof`,`st`.`last_hp`,`st`.`last_pr`,`st`.`smena`,`st`.`stats`,`st`.`hpAll`,`st`.`mpAll`,`st`.`hpNow`,`st`.`mpNow`,`st`.`enNow`,`st`.`transfers`,`st`.`regHP`,`st`.`regMP`,`st`.`showmenu`,`st`.`prmenu`,`st`.`ability`,`st`.`skills`,`st`.`sskills`,`st`.`nskills`,`st`.`exp`,`st`.`minHP`,`st`.`minMP`,`st`.`zv`,`st`.`dn`,`st`.`dnow`,`st`.`team`,`st`.`battle_yron`,`st`.`battle_exp`,`st`.`enemy`,`st`.`last_a`,`st`.`last_b`,`st`.`battle_text`,`st`.`upLevel`,`st`.`wipe`,`st`.`bagStats`,`st`.`timeGo`,`st`.`timeGoL`,`st`.`nextAct`,`st`.`active`,`st`.`bot`,`st`.`lastAlign`,`st`.`tactic1`,`st`.`tactic2`,`st`.`tactic3`,`st`.`tactic4`,`st`.`tactic5`,`st`.`tactic6`,`st`.`tactic7`,`st`.`x`,`st`.`y`,`st`.`s`,`st`.`battleEnd`,`st`.`priemslot`,`st`.`priems`,`st`.`priems_z`,`st`.`bet`,`st`.`clone`,`st`.`atack`,`st`.`bbexp`,`st`.`ref_data`,`st`.`res_x`,`st`.`res_y`,`st`.`res_s`,`st`.`bn_capitalcity`,`st`.`bn_demonscity`,`st`.`alog`,`st`.`mlog`,`st`.`seff`,`st`.`expstopu`,`st`.`upexpdate`,`st`.`repexp` - FROM `users` AS `u` LEFT JOIN `stats` AS `st` ON (`u`.`id` = `st`.`id`) WHERE `u`.`id`="' . mysql_real_escape_string($this->info['inUser']) . '" LIMIT 1')); + $md = [ + $this->info['molch1'], + $this->info['molch2'], + $this->info['molch3'], + $this->info['admin'], + $this->info['nadmin'], + $this->info['banned'], + $this->info['align'], + $this->info['id'], + $this->info['level'] + ]; + + $this->info = Db::getRow( + 'select * from users left join stats on users.id = stats.id where users.id = ?', + [$this->info['inUser']] + ); + if ($this->info['molch1'] < $md[0]) { $this->info['molch1'] = $md[0]; } @@ -1281,32 +1372,26 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` if ($this->info['banned'] < $md[5]) { $this->info['banned'] = $md[5]; } - $this->info['activ'] = $md[6]; + $this->info['noreal'] = 1; $this->info['align_real'] = $md[7]; $this->info['__id'] = $md[8]; $this->info['__level'] = $md[9]; } - if (isset ($_COOKIE['btl'])) { - if ($this->info['battle'] != $_COOKIE['btl']) { - setcookie('btl', $this->info['battle'], time() + 86400); - } - } else { + if (!isset ($_COOKIE['btl']) || $this->info['battle'] != $_COOKIE['btl']) { setcookie('btl', $this->info['battle'], time() + 86400); } if (!isset($this->info['id'])) { - $this->info = mysql_fetch_array(mysql_query('SELECT - `u`.`nadmin`,`u`.`id`,`u`.`login`,`u`.`login2`,`u`.`pass`,`u`.`pass2`,`u`.`repass`,`u`.`notrhod`,`u`.`emailconfirmation`,`u`.`securetime`,`u`.`sys`,`u`.`palpro`,`u`.`online`,`u`.`ip`,`u`.`ipreg`,`u`.`joinIP`,`u`.`admin`,`u`.`city`,`u`.`room`,`u`.`banned`,`u`.`auth`,`u`.`align`,`u`.`align2`,`u`.`align_lvl`,`u`.`align_exp`,`u`.`mod_zvanie`,`u`.`clan`,`u`.`nextMsg`,`u`.`molch1`,`u`.`molch2`,`u`.`molch3`,`u`.`level`,`u`.`money`,`u`.`money2`,`u`.`money4`,`u`.`money3`,`u`.`battle`,`u`.`cityreg`,`u`.`invBlock`,`u`.`allLock`,`u`.`invBlockCode`,`u`.`zag`,`u`.`a1`,`u`.`q1`,`u`.`mail`,`u`.`name`,`u`.`bithday`,`u`.`sex`,`u`.`design`,`u`.`autospell`,`u`.`noplaw`,`u`.`city_real`,`u`.`icq`,`u`.`icq_hide`,`u`.`homepage`,`u`.`deviz`,`u`.`hobby`,`u`.`chatColor`,`u`.`timereg`,`u`.`add_smiles`,`u`.`obraz`,`u`.`win`,`u`.`win_bs`,`u`.`lose`,`u`.`nich`,`u`.`cityreg2`,`u`.`host`,`u`.`info_delete`,`u`.`dateEnter`,`u`.`afk`,`u`.`dnd`,`u`.`timeMain`,`u`.`clan_prava`,`u`.`addpr`,`u`.`marry`,`u`.`city2`,`u`.`invis`,`u`.`bot_id`,`u`.`haos`,`u`.`host_reg`,`u`.`inUser`,`u`.`inTurnir`,`u`.`inTurnirnew`,`u`.`jail`,`u`.`animal`,`u`.`vip`,`u`.`catch`,`u`.`frg`,`u`.`no_ip`,`u`.`type_pers`,`u`.`bot_room`,`u`.`clan_delay`,`u`.`bukmeker` - FROM `users` AS `u` WHERE `u`.`login`="' . mysql_real_escape_string($_COOKIE['login']) . '" AND `u`.`pass`="' . mysql_real_escape_string($_COOKIE['pass']) . '" LIMIT 1')); + $this->info = Db::getRow('select * from users where login = ?', [$_COOKIE['login']]); + if ($this->info['dateEnter'] != $_SERVER['HTTP_USER_AGENT']) { unset($this->info); } $this->btl_txt = $this->info['battle_text']; if (!isset($this->info['id'])) { unset($this->info); - setcookie('login', '', time() - 60 * 60 * 24, '', $c['host']); - setcookie('pass', '', time() - 60 * 60 * 24, '', $c['host']); + setcookie('login', '', time() - 60 * 60 * 24, '', Core\Config::get('host')); } else { echo 'stats is lost.'; } @@ -1321,7 +1406,9 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` } if (isset($this->info['id']) && $this->info['battle'] == 0) { - $sb = mysql_fetch_array(mysql_query('SELECT SUM(`money2`) FROM `bank` WHERE `uid` = "' . $this->info['id'] . '" LIMIT 100')); + $sb = mysql_fetch_array( + mysql_query('SELECT SUM(`money2`) FROM `bank` WHERE `uid` = "' . $this->info['id'] . '" LIMIT 100') + ); $sb = $sb[0]; if ($sb - 1 > $this->info['catch'] - $this->info['frg']) { @@ -1329,22 +1416,39 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` $sm = $this->testAction('`uid` = "' . $this->info['id'] . '" AND `vars` = "frg" LIMIT 1', 1); } if (!isset($sm['id']) && $this->info['frg'] == -1) { - mysql_query('UPDATE `users` SET `catch` = "' . round($sb) . '",`frg` = "0" WHERE `id` = "' . $this->info['id'] . '" LIMIT 1'); - $this->addAction(time(), 'frg', '[ ' . $this->info['login'] . ' ] ' . date('d.m.Y H:i:s') . ' [true] , balance: ' . $sb . ' / ' . $this->info['catch'] . ' / ' . $this->info['frg'] . ' '); + mysql_query( + 'UPDATE `users` SET `catch` = "' . round( + $sb + ) . '",`frg` = 0 WHERE `id` = ' . $this->info['id']); + $this->addAction( + time(), 'frg', '[ ' . $this->info['login'] . ' ] ' . date( + 'd.m.Y H:i:s' + ) . ' [true] , balance: ' . $sb . ' / ' . $this->info['catch'] . ' / ' . $this->info['frg'] . ' ' + ); } else { - mysql_query('UPDATE `users` SET `catch` = "' . round($sb + $this->info['frg']) . '" WHERE `id` = "' . $this->info['id'] . '" LIMIT 1'); + mysql_query( + 'UPDATE `users` SET `catch` = "' . round( + $sb + $this->info['frg'] + ) . '" WHERE `id` = "' . $this->info['id'] . '" LIMIT 1' + ); if ($sb - 10 > $this->info['catch'] - $this->info['frg']) { - $this->addAction(time(), 'frgfalse', '[ ' . $this->info['login'] . ' ] ' . date('d.m.Y H:i:s') . ' [false] , [' . ($sb - ($this->info['catch'] - $this->info['frg'])) . '] , balance: ' . $sb . ' | ' . $this->info['catch'] . ' | ' . $this->info['frg'] . ' '); + $this->addAction( + time(), 'frgfalse', '[ ' . $this->info['login'] . ' ] ' . date( + 'd.m.Y H:i:s' + ) . ' [false] , [' . ($sb - ($this->info['catch'] - $this->info['frg'])) . '] , balance: ' . $sb . ' | ' . $this->info['catch'] . ' | ' . $this->info['frg'] . ' ' + ); } } } if ($this->info['login2'] != '' && $this->info['battle'] == 0 && $this->info['zv'] == 0) { - mysql_query('UPDATE `users` SET `login2` = "" WHERE `id` = "' . $this->info['id'] . '" LIMIT 1'); + mysql_query('UPDATE `users` SET `login2` = \'\' WHERE `id` = ' . $this->info['id']); $this->info['login2'] = ''; } - $this->rep = mysql_fetch_array(mysql_query('SELECT + $this->rep = mysql_fetch_array( + mysql_query( + 'SELECT `add_slot`,`nu_sandcity`,`n_sandcity`, `dl1`,`id`,`rep1`,`rep2`,`repcapitalcity`,`repdemonscity`,`repangelscity`,`repabandonedplain`, `repdevilscity`,`repmooncity`,`repsuncity`,`repsandcity`,`repemeraldscity`,`repdreamscity`,`repizlom`, @@ -1353,7 +1457,9 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` `rep3`,`rep3_buy`,`repdragonscity`,`n_dragonscity`,`nu_dragonscity`, (`repcapitalcity`+`repdemonscity`+`repangelscity`+`repsuncity`+`repdreamscity`+`repabandonedplain`+`repsandcity`+`repemeraldscity`+`repdevilscity`) as allrep, (`nu_capitalcity`+`nu_demonscity`+`nu_angelscity`+`nu_suncity`+`nu_dreamscity`+`nu_abandonedplain`+`nu_sandcity`+`nu_emeraldscity`+`nu_devilscity`) as allnurep - FROM `rep` WHERE `id` = "' . $this->info['id'] . '" LIMIT 1')); + FROM `rep` WHERE `id` = "' . $this->info['id'] . '" LIMIT 1' + ) + ); if (!isset($this->rep['id'])) { @@ -1364,42 +1470,59 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` mysql_query('UPDATE `users` SET `login2` = "" WHERE `id` = "' . $this->info['id'] . '" LIMIT 1'); } - if (isset($_GET['homeworld'])) { - if ($this->info['zv'] == 0 && $this->info['battle'] == 0 && $this->info['dnow'] == 0) { - $hgo = $this->testHome(); - if (!isset($hgo['id']) && $this->info['room'] != 274 && $this->info['align'] != 2 && $this->info['inTurnir'] == 0) { - $this->addAction(time(), 'go_homeworld', ''); - $rmt = mysql_fetch_array(mysql_query('SELECT `id`,`lider`,`name`,`city`,`code`,`timeGO`,`file`,`level`,`align`,`clan`,`items`,`effects`,`destroy`,`close`,`roomGo`,`sex`,`FR`,`noatack`,`botgo`,`block_all`,`zvsee` FROM `room` WHERE `name` = " " AND `city` = "' . $this->info['city'] . '" LIMIT 1')); - if (isset($rmt['id'])) { + if (isset($_GET['homeworld']) && $this->info['zv'] == 0 && $this->info['battle'] == 0 && $this->info['dnow'] == 0) { + $hgo = $this->testHome(); + if (!isset($hgo['id']) && $this->info['room'] != 274 && $this->info['align'] != 2 && $this->info['inTurnir'] == 0) { + $this->addAction(time(), 'go_homeworld', ''); + $rmt = mysql_fetch_array( + mysql_query( + 'SELECT `id`,`lider`,`name`,`city`,`code`,`timeGO`,`file`,`level`,`align`,`clan`,`items`,`effects`,`destroy`,`close`,`roomGo`,`sex`,`FR`,`noatack`,`botgo`,`block_all`,`zvsee` FROM `room` WHERE `name` = " " AND `city` = "' . $this->info['city'] . '" LIMIT 1' + ) + ); + if (isset($rmt['id'])) { + // + if ($this->room['file'] == 'bsenter') { // - if ($this->room['file'] == 'bsenter') { - // - $sp_bs = mysql_query('SELECT `id`,`bsid`,`money` FROM `bs_zv` WHERE `uid` = "' . $this->info['id'] . '" AND `inBot` = "0" AND `finish` = "0"'); - while ($pl_bs = mysql_fetch_array($sp_bs)) { - mysql_query('UPDATE `bs_turnirs` SET `users` = `users` - 1 WHERE `id` = "' . $pl_bs['bsid'] . '" LIMIT 1'); - } - unset($sp_bs, $pl_bs); - mysql_query('UPDATE `bs_zv` SET `finish` = "' . time() . '" WHERE `uid` = "' . $this->info['id'] . '" AND `inBot` = "0" AND `finish` = "0"'); + $sp_bs = mysql_query( + 'SELECT `id`,`bsid`,`money` FROM `bs_zv` WHERE `uid` = "' . $this->info['id'] . '" AND `inBot` = "0" AND `finish` = "0"' + ); + while ($pl_bs = mysql_fetch_array($sp_bs)) { + mysql_query( + 'UPDATE `bs_turnirs` SET `users` = `users` - 1 WHERE `id` = "' . $pl_bs['bsid'] . '" LIMIT 1' + ); } - $this->info['room'] = $rmt['id']; - mysql_query('UPDATE `users` SET `room` = "' . $this->info['room'] . '" WHERE `id` = "' . $this->info['id'] . '" LIMIT 1'); - - } else { - $this->error = ' '; + unset($sp_bs, $pl_bs); + mysql_query( + 'UPDATE `bs_zv` SET `finish` = "' . time( + ) . '" WHERE `uid` = "' . $this->info['id'] . '" AND `inBot` = "0" AND `finish` = "0"' + ); } - unset($rmt); + $this->info['room'] = $rmt['id']; + mysql_query( + 'UPDATE `users` SET `room` = "' . $this->info['room'] . '" WHERE `id` = "' . $this->info['id'] . '" LIMIT 1' + ); + } else { - $this->error = ' '; + $this->error = ' '; } - unset($hgo); + unset($rmt); + } else { + $this->error = ' '; } + unset($hgo); } // if (isset($_GET['itmid']) && isset($_GET['addtext'])) { - $itm = mysql_fetch_array(mysql_query('SELECT + $itm = mysql_fetch_array( + mysql_query( + 'SELECT `i`.`id`,`i`.`item_id`,`i`.`1price`,`i`.`2price`,`i`.`uid`,`i`.`use_text`,`i`.`data`,`i`.`inOdet`,`i`.`inShop`,`i`.`delete`,`i`.`iznosNOW`,`i`.`iznosMAX`,`i`.`gift`,`i`.`gtxt1`,`i`.`gtxt2`,`i`.`kolvo`,`i`.`geniration`,`i`.`magic_inc`,`i`.`maidin`,`i`.`lastUPD`,`i`.`timeOver`,`i`.`overType`,`i`.`secret_id`,`i`.`time_create`,`i`.`inGroup`,`i`.`dn_delete`,`i`.`inTransfer`,`i`.`post_delivery`,`i`.`lbtl_`,`i`.`bexp`,`i`.`so`,`i`.`blvl` - ,`m`.`max_text` FROM `items_users` AS `i` LEFT JOIN `items_main` AS `m` ON `i`.`item_id` = `m`.`id` WHERE `i`.`id` = "' . mysql_real_escape_string($_GET['itmid']) . '" LIMIT 1')); + ,`m`.`max_text` FROM `items_users` AS `i` LEFT JOIN `items_main` AS `m` ON `i`.`item_id` = `m`.`id` WHERE `i`.`id` = "' . mysql_real_escape_string( + $_GET['itmid'] + ) . '" LIMIT 1' + ) + ); if (isset($itm['id'])) { if ($itm['max_text'] > 0 && $itm['max_text'] - $itm['use_text'] > 0) { $txt = $_GET['addtext']; @@ -1413,8 +1536,15 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` $itm['use_text'] = $itm['max_text']; } - mysql_query('UPDATE `items_users` SET `use_text` = "' . $itm['use_text'] . '" WHERE `id` = "' . $itm['id'] . '" LIMIT 1'); - mysql_query('INSERT INTO `items_text` (`item_id`,`time`,`login`,`text`,`city`,`x`) VALUES ("' . $itm['id'] . '","' . time() . '","' . $this->info['login'] . '","' . mysql_real_escape_string(htmlspecialchars($txt, null, 'cp1251')) . '","' . $this->info['city'] . '","' . $sx . '")'); + mysql_query( + 'UPDATE `items_users` SET `use_text` = "' . $itm['use_text'] . '" WHERE `id` = "' . $itm['id'] . '" LIMIT 1' + ); + mysql_query( + 'INSERT INTO `items_text` (`item_id`,`time`,`login`,`text`,`city`,`x`) VALUES ("' . $itm['id'] . '","' . time( + ) . '","' . $this->info['login'] . '","' . mysql_real_escape_string( + htmlspecialchars($txt, null, 'cp1251') + ) . '","' . $this->info['city'] . '","' . $sx . '")' + ); $this->error = ' '; } else { $this->error = ' - ...'; @@ -1429,36 +1559,57 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` // if (isset($_POST['trnLogin'], $_GET['transfer']) && $this->info['battle'] == 0) { - if ($this->info['level'] < 4 && $this->info['admin'] == 0) { - $this->error = ' 4- '; - } elseif ($this->info['align'] == 2 && $this->info['admin'] == 0) { + if ($this->info['align'] == 2 && $this->info['admin'] == 0) { $this->error = ' '; } else { - $t = mysql_fetch_array(mysql_query('SELECT `id`,`login`,`login2`,`pass`,`pass2`,`emailconfirmation`,`securetime`,`sys`,`online`,`ip`,`ipreg`,`joinIP`,`admin`,`city`,`room`,`banned`,`auth`,`align`,`mod_zvanie`,`clan`,`nextMsg`,`molch1`,`molch2`,`molch3`,`level`,`money`,`battle`,`cityreg`,`invBlock`,`invBlockCode`,`zag`,`a1`,`q1`,`mail`,`name`,`bithday`,`sex`,`city_real`,`icq`,`icq_hide`,`homepage`,`deviz`,`hobby`,`chatColor`,`timereg`,`add_smiles`,`obraz`,`win`,`lose`,`nich`,`cityreg2`,`host`,`info_delete`,`dateEnter`,`afk`,`dnd`,`timeMain`,`clan_prava`,`addpr`,`marry`,`city2`,`invis`,`bot_id`,`haos`,`host_reg`,`inUser`,`jail`,`animal`,`vip`,`catch`,`frg`,`no_ip`,`type_pers`,`bot_room` FROM `users` WHERE `login` = "' . mysql_real_escape_string($_POST['trnLogin']) . '" AND `city` = "' . $this->info['city'] . '" LIMIT 1')); + $t = mysql_fetch_array( + mysql_query( + 'SELECT `id`,`login`,`login2`,`pass`,`pass2`,`emailconfirmation`,`securetime`,`online`,`ip`,`ipreg`,`joinIP`,`admin`,`city`,`room`,`banned`,`auth`,`align`,`mod_zvanie`,`clan`,`nextMsg`,`molch1`,`molch2`,`molch3`,`level`,`money`,`battle`,`cityreg`,`invBlock`,`invBlockCode`,`zag`,`a1`,`q1`,`mail`,`name`,`bithday`,`sex`,`hobby`,`chatColor`,`timereg`,`add_smiles`,`obraz`,`win`,`lose`,`nich`,`host`,`info_delete`,`dateEnter`,`afk`,`dnd`,`timeMain`,`clan_prava`,`addpr`,`marry`,`city2`,`invis`,`bot_id`,`haos`,`host_reg`,`inUser`,`jail`,`animal`,`vip`,`catch`,`frg`,`no_ip`,`type_pers`,`bot_room` FROM `users` WHERE `login` = "' . mysql_real_escape_string( + $_POST['trnLogin'] + ) . '" AND `city` = "' . $this->info['city'] . '" LIMIT 1' + ) + ); if (isset($t['id'])) { if ($this->info['login'] == $t['login']) { - $this->error = ' , ' . $this->microLogin($t['id'], 1) . ''; + $this->error = ' , ' . $this->microLogin( + $t['id'], 1 + ) . ''; } elseif ($t['battle'] > 0) { $this->error = ' '; - } elseif ($t['level'] < 4 && $this->info['admin'] == 0) { - $this->error = ' 4- '; } elseif ($t['align'] == 2 && $this->info['admin'] == 0) { $this->error = ' '; } elseif ($t['room'] != $this->info['room']) { $this->error = ' '; } else { // - $tt = mysql_fetch_array(mysql_query('SELECT `id`,`time`,`uid1`,`uid2`,`city`,`room`,`good1`,`good2`,`cancel1`,`cancel2`,`money1`,`money2`,`start1`,`start2`,`text`,`r0`,`r1`,`r2`,`finish1`,`finish2` FROM `transfers` WHERE (`uid1` = "' . $this->info['id'] . '" OR `uid2` = "' . $this->info['id'] . '") AND (`cancel1` = "0" OR (`finish1` > 0 AND `uid1` = "' . $this->info['id'] . '") OR (`finish2` > 0 AND `uid2` = "' . $this->info['id'] . '")) AND (`cancel2` = "0" OR (`finish2` > 0 AND `uid2` = "' . $this->info['id'] . '") OR (`finish1` > 0 AND `uid1` = "' . $this->info['id'] . '")) ORDER BY `id` DESC LIMIT 1')); + $tt = mysql_fetch_array( + mysql_query( + 'SELECT `id`,`time`,`uid1`,`uid2`,`city`,`room`,`good1`,`good2`,`cancel1`,`cancel2`,`money1`,`money2`,`start1`,`start2`,`text`,`r0`,`r1`,`r2`,`finish1`,`finish2` FROM `transfers` WHERE (`uid1` = "' . $this->info['id'] . '" OR `uid2` = "' . $this->info['id'] . '") AND (`cancel1` = "0" OR (`finish1` > 0 AND `uid1` = "' . $this->info['id'] . '") OR (`finish2` > 0 AND `uid2` = "' . $this->info['id'] . '")) AND (`cancel2` = "0" OR (`finish2` > 0 AND `uid2` = "' . $this->info['id'] . '") OR (`finish1` > 0 AND `uid1` = "' . $this->info['id'] . '")) ORDER BY `id` DESC LIMIT 1' + ) + ); if (isset($tt['id'])) { $this->error = ' '; } else { - $tt = mysql_fetch_array(mysql_query('SELECT `id`,`time`,`uid1`,`uid2`,`city`,`room`,`good1`,`good2`,`cancel1`,`cancel2`,`money1`,`money2`,`start1`,`start2`,`text`,`r0`,`r1`,`r2`,`finish1`,`finish2` FROM `transfers` WHERE (`uid1` = "' . $t['id'] . '" OR `uid2` = "' . $t['id'] . '") AND (`cancel1` = "0" OR (`finish1` > 0 AND `uid1` = "' . $t['id'] . '") OR (`finish2` > 0 AND `uid2` = "' . $t['id'] . '")) AND (`cancel2` = "0" OR (`finish2` > 0 AND `uid2` = "' . $t['id'] . '") OR (`finish1` > 0 AND `uid1` = "' . $t['id'] . '")) ORDER BY `id` DESC LIMIT 1')); + $tt = mysql_fetch_array( + mysql_query( + 'SELECT `id`,`time`,`uid1`,`uid2`,`city`,`room`,`good1`,`good2`,`cancel1`,`cancel2`,`money1`,`money2`,`start1`,`start2`,`text`,`r0`,`r1`,`r2`,`finish1`,`finish2` FROM `transfers` WHERE (`uid1` = "' . $t['id'] . '" OR `uid2` = "' . $t['id'] . '") AND (`cancel1` = "0" OR (`finish1` > 0 AND `uid1` = "' . $t['id'] . '") OR (`finish2` > 0 AND `uid2` = "' . $t['id'] . '")) AND (`cancel2` = "0" OR (`finish2` > 0 AND `uid2` = "' . $t['id'] . '") OR (`finish1` > 0 AND `uid1` = "' . $t['id'] . '")) ORDER BY `id` DESC LIMIT 1' + ) + ); if (isset($tt['id'])) { $this->error = ' '; } else { - $ins = mysql_query('INSERT INTO `transfers` (`uid1`,`uid2`,`city`,`room`,`time`,`text`,`start1`) VALUES ("' . $this->info['id'] . '","' . $t['id'] . '","' . $this->info['city'] . '","' . $this->info['room'] . '","' . time() . '","' . mysql_real_escape_string(htmlspecialchars($_POST['textarea'], null, 'cp1251')) . '","' . time() . '")'); + $ins = mysql_query( + 'INSERT INTO `transfers` (`uid1`,`uid2`,`city`,`room`,`time`,`text`,`start1`) VALUES ("' . $this->info['id'] . '","' . $t['id'] . '","' . $this->info['city'] . '","' . $this->info['room'] . '","' . time( + ) . '","' . mysql_real_escape_string( + htmlspecialchars($_POST['textarea'], null, 'cp1251') + ) . '","' . time() . '")' + ); if ($ins) { - $this->addAction(time(), 'trasfer_' . $this->info['city'] . '_' . $this->info['room'] . '_' . $t['id'] . '', $this->info['login']); + $this->addAction( + time(), + 'trasfer_' . $this->info['city'] . '_' . $this->info['room'] . '_' . $t['id'] . '', + $this->info['login'] + ); } } } @@ -1470,47 +1621,59 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` } // - $this->tfer = mysql_fetch_array(mysql_query('SELECT `id`,`time`,`uid1`,`uid2`,`city`,`room`,`good1`,`good2`,`cancel1`,`cancel2`,`money1`,`money2`,`start1`,`start2`,`text`,`r0`,`r1`,`r2`,`finish1`,`finish2` FROM `transfers` WHERE (`uid1` = "' . $this->info['id'] . '" OR `uid2` = "' . $this->info['id'] . '") AND (`cancel1` = "0" OR (`finish1` > 0 AND `uid1` = "' . $this->info['id'] . '") OR (`finish2` > 0 AND `uid2` = "' . $this->info['id'] . '")) AND (`cancel2` = "0" OR (`finish2` > 0 AND `uid2` = "' . $this->info['id'] . '") OR (`finish1` > 0 AND `uid1` = "' . $this->info['id'] . '")) ORDER BY `id` DESC LIMIT 1')); + $this->tfer = mysql_fetch_array( + mysql_query( + 'SELECT `id`,`time`,`uid1`,`uid2`,`city`,`room`,`good1`,`good2`,`cancel1`,`cancel2`,`money1`,`money2`,`start1`,`start2`,`text`,`r0`,`r1`,`r2`,`finish1`,`finish2` FROM `transfers` WHERE (`uid1` = "' . $this->info['id'] . '" OR `uid2` = "' . $this->info['id'] . '") AND (`cancel1` = "0" OR (`finish1` > 0 AND `uid1` = "' . $this->info['id'] . '") OR (`finish2` > 0 AND `uid2` = "' . $this->info['id'] . '")) AND (`cancel2` = "0" OR (`finish2` > 0 AND `uid2` = "' . $this->info['id'] . '") OR (`finish1` > 0 AND `uid1` = "' . $this->info['id'] . '")) ORDER BY `id` DESC LIMIT 1' + ) + ); if ($this->tfer['uid1'] == $this->tfer['uid2']) { $this->tfer = false; } - if (isset($this->tfer['id'])) { - if ($this->tfer['cancel1'] == 0 && $this->tfer['cancel2'] == 0) { - if ($this->tfer['uid2'] == $this->info['id'] && $this->tfer['start2'] == 0 && isset($_GET['transfer'])) { - $this->tfer['start2'] = time(); - mysql_query('UPDATE `transfers` SET `start2` = "' . $this->tfer['start2'] . '" WHERE `id` = "' . $this->tfer['id'] . '" LIMIT 1'); + if (isset($this->tfer['id']) && $this->tfer['cancel1'] == 0 && $this->tfer['cancel2'] == 0) { + if ($this->tfer['uid2'] == $this->info['id'] && $this->tfer['start2'] == 0 && isset($_GET['transfer'])) { + $this->tfer['start2'] = time(); + mysql_query( + 'UPDATE `transfers` SET `start2` = "' . $this->tfer['start2'] . '" WHERE `id` = "' . $this->tfer['id'] . '" LIMIT 1' + ); + } + if ($this->tfer['uid2'] == $this->info['id'] && $this->tfer['start2'] == 0) { + $this->tfer = false; + } elseif ($this->tfer['time'] < time() - 1800) { + // 30 , + $upd = mysql_query( + 'UPDATE `transfers` SET `cancel1` = "' . time() . '",`cancel2` = "' . time( + ) . '" WHERE `id` = "' . $this->tfer['id'] . '" LIMIT 1' + ); + if ($upd) { + unset($this->tfer, $upd); } - if ($this->tfer['uid2'] == $this->info['id'] && $this->tfer['start2'] == 0) { - $this->tfer = false; - } elseif ($this->tfer['time'] < time() - 1800) { - // 30 , - $upd = mysql_query('UPDATE `transfers` SET `cancel1` = "' . time() . '",`cancel2` = "' . time() . '" WHERE `id` = "' . $this->tfer['id'] . '" LIMIT 1'); - if ($upd) { - unset($this->tfer, $upd); - } - } elseif ($this->info['room'] != $this->tfer['room'] || $this->info['city'] != $this->tfer['city'] || $this->info['battle'] > 0) { - $upd = mysql_query('UPDATE `transfers` SET `cancel1` = "' . time() . '",`cancel2` = "' . time() . '" WHERE `id` = "' . $this->tfer['id'] . '" LIMIT 1'); - if ($upd) { - - - mysql_query('UPDATE `items_users` SET `inTransfer` = "0" WHERE (`uid` = "' . $this->tfer['uid1'] . '" OR `uid` = "' . $this->tfer['uid2'] . '") AND `inTransfer` > 0'); - unset($this->tfer, $upd); - } - } elseif (isset($_GET['exit_transfer'])) { - $upd = 1; - if ($this->tfer['uid2'] == $this->info['id']) { - $upd = 2; - } - $upd = mysql_query('UPDATE `transfers` SET `cancel' . $upd . '` = "' . time() . '" WHERE `id` = "' . $this->tfer['id'] . '" LIMIT 1'); - if ($upd) { - - $this->error = ' .'; - - - mysql_query('UPDATE `items_users` SET `inTransfer` = "0" WHERE (`uid` = "' . $this->tfer['uid1'] . '" OR `uid` = "' . $this->tfer['uid2'] . '") AND `inTransfer` > 0'); - // - unset($this->tfer, $upd); - } + } elseif ($this->info['room'] != $this->tfer['room'] || $this->info['city'] != $this->tfer['city'] || $this->info['battle'] > 0) { + $upd = mysql_query( + 'UPDATE `transfers` SET `cancel1` = "' . time() . '",`cancel2` = "' . time( + ) . '" WHERE `id` = "' . $this->tfer['id'] . '" LIMIT 1' + ); + if ($upd) { + mysql_query( + 'UPDATE `items_users` SET `inTransfer` = "0" WHERE (`uid` = "' . $this->tfer['uid1'] . '" OR `uid` = "' . $this->tfer['uid2'] . '") AND `inTransfer` > 0' + ); + unset($this->tfer, $upd); + } + } elseif (isset($_GET['exit_transfer'])) { + $upd = 1; + if ($this->tfer['uid2'] == $this->info['id']) { + $upd = 2; + } + $upd = mysql_query( + 'UPDATE `transfers` SET `cancel' . $upd . '` = "' . time( + ) . '" WHERE `id` = "' . $this->tfer['id'] . '" LIMIT 1' + ); + if ($upd) { + $this->error = ' .'; + mysql_query( + 'UPDATE `items_users` SET `inTransfer` = "0" WHERE (`uid` = "' . $this->tfer['uid1'] . '" OR `uid` = "' . $this->tfer['uid2'] . '") AND `inTransfer` > 0' + ); + // + unset($this->tfer, $upd); } } } @@ -1520,14 +1683,27 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` */ // - $stat = $this->testAction('`uid` = "' . $this->info['id'] . '" AND `time` >= ' . strtotime('now 00:00:00') . ' AND `vars` = "statistic_today" LIMIT 1', 1); + $stat = $this->testAction( + '`uid` = "' . $this->info['id'] . '" AND `time` >= ' . strtotime( + 'now 00:00:00' + ) . ' AND `vars` = "statistic_today" LIMIT 1', 1 + ); if (!isset($stat['id'])) { - $this->addAction(time(), 'statistic_today', 'e=' . $this->info['exp'] . '|w=' . $this->info['win'] . '|l=' . $this->info['lose'] . '|n=' . $this->info['nich']); + $this->addAction( + time(), 'statistic_today', + 'e=' . $this->info['exp'] . '|w=' . $this->info['win'] . '|l=' . $this->info['lose'] . '|n=' . $this->info['nich'] + ); } // if (isset($_GET['usec1']) && $this->info['battle'] == 0) { - $cmp = mysql_fetch_array(mysql_query('SELECT `id`,`uid`,`type`,`val`,`name`,`time`,`delete` FROM `save_com` WHERE `uid` = "' . $this->info['id'] . '" AND `delete` = "0" AND `id` = "' . mysql_real_escape_string($_GET['usec1']) . '" LIMIT 1')); + $cmp = mysql_fetch_array( + mysql_query( + 'SELECT `id`,`uid`,`type`,`val`,`name`,`time`,`delete` FROM `save_com` WHERE `uid` = "' . $this->info['id'] . '" AND `delete` = "0" AND `id` = "' . mysql_real_escape_string( + $_GET['usec1'] + ) . '" LIMIT 1' + ) + ); if (isset($cmp['id'])) { // mysql_query('UPDATE `items_users` SET `inOdet` = "0" WHERE `uid` = "' . $this->info['id'] . '"'); @@ -1536,8 +1712,12 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` $i = 1; while ($i <= 250) { if (isset($cm[$i])) { - mysql_query('UPDATE `items_users` SET `inOdet` = "0" WHERE `uid` = "' . $this->info['id'] . '" AND `inOdet` = "' . $i . '"'); - mysql_query('UPDATE `items_users` SET `inOdet` = "' . $i . '" WHERE `id` = "' . ((int)$cm[$i]) . '" AND `uid` = "' . $this->info['id'] . '" AND `delete` = "0" AND `inShop` = "0"'); + mysql_query( + 'UPDATE `items_users` SET `inOdet` = "0" WHERE `uid` = "' . $this->info['id'] . '" AND `inOdet` = "' . $i . '"' + ); + mysql_query( + 'UPDATE `items_users` SET `inOdet` = "' . $i . '" WHERE `id` = "' . ((int)$cm[$i]) . '" AND `uid` = "' . $this->info['id'] . '" AND `delete` = "0" AND `inShop` = "0"' + ); } $i++; } @@ -1547,28 +1727,52 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` unset($cmp, $cm); } - $this->room = mysql_fetch_array(mysql_query('SELECT `id`,`extdlg`,`lider`,`name`,`city`,`code`,`timeGO`,`file`,`level`,`align`,`clan`,`items`,`effects`,`destroy`,`close`,`roomGo`,`sex`,`FR`,`noatack`,`botgo`,`block_all`,`zvsee`,`roomAjax` FROM `room` WHERE `id` = "' . $this->info['room'] . '" LIMIT 1')); + $this->room = mysql_fetch_array( + mysql_query( + 'SELECT `id`,`extdlg`,`lider`,`name`,`city`,`code`,`timeGO`,`file`,`level`,`align`,`clan`,`items`,`effects`,`destroy`,`close`,`roomGo`,`sex`,`FR`,`noatack`,`botgo`,`block_all`,`zvsee`,`roomAjax` FROM `room` WHERE `id` = "' . $this->info['room'] . '" LIMIT 1' + ) + ); if (isset($_POST['bankpsw'])) { - $this->bank = mysql_fetch_array(mysql_query('SELECT `id`,`uid`,`block`,`create`,`pass`,`money1`,`money2`,`useNow`,`notmail` FROM `bank` WHERE `uid` = "' . $this->info['id'] . '" AND `block` = "0" AND `id` = "' . mysql_real_escape_string((int)$_POST['bank']) . '" AND `pass` = "' . mysql_real_escape_string($_POST['bankpsw']) . '" LIMIT 1')); + $this->bank = mysql_fetch_array( + mysql_query( + 'SELECT `id`,`uid`,`block`,`create`,`pass`,`money1`,`money2`,`useNow`,`notmail` FROM `bank` WHERE `uid` = "' . $this->info['id'] . '" AND `block` = "0" AND `id` = "' . mysql_real_escape_string( + (int)$_POST['bank'] + ) . '" AND `pass` = "' . mysql_real_escape_string($_POST['bankpsw']) . '" LIMIT 1' + ) + ); if (isset($this->bank)) { - mysql_query('UPDATE `bank` SET `useNow` = "' . (time() + 24 * 60 * 60) . '" WHERE `id` = "' . $this->bank['id'] . '" LIMIT 1'); + mysql_query( + 'UPDATE `bank` SET `useNow` = "' . (time( + ) + 24 * 60 * 60) . '" WHERE `id` = "' . $this->bank['id'] . '" LIMIT 1' + ); } else { $this->bank['error'] = ' '; } } elseif (!isset($_GET['bank_exit'])) { - $this->bank = mysql_fetch_array(mysql_query('SELECT `id`,`uid`,`block`,`create`,`pass`,`money1`,`money2`,`useNow`,`notmail` FROM `bank` WHERE `uid` = "' . $this->info['id'] . '" AND `block` = "0" AND `useNow` > ' . time() . ' ORDER BY `useNow` DESC LIMIT 1')); + $bank = Db::getRow( + 'select * from bank where uid = ? and block = 0 and useNow > unix_timestamp()', [$this->info['id']] + ); + $this->bank = $bank ? $bank : []; } if (isset($_GET['bank_exit'])) { - mysql_query('UPDATE `bank` SET `useNow` = "0" WHERE `uid` = "' . $this->info['id'] . '" AND `useNow`!="0" LIMIT 1'); + mysql_query( + 'UPDATE `bank` SET `useNow` = "0" WHERE `uid` = "' . $this->info['id'] . '" AND `useNow`!="0" LIMIT 1' + ); } if (!isset($_GET['obt_sel']) && $this->info['battle'] == 0 && $this->info['obraz'] != '0.gif') { // $this->stats = $this->getStats($this->info['id'], 0); $tr = true; - $o = mysql_fetch_array(mysql_query('SELECT `id`,`sex`,`tr`,`img`,`login`,`level`,`admin`,`align`,`clan`,`itm` FROM `obraz` WHERE `img` = "' . mysql_real_escape_string($this->info['obraz']) . '" AND `sex` = "' . $this->info['sex'] . '" AND (`login` = "" OR `login` = "' . $this->info['login'] . '") LIMIT 1')); + $o = mysql_fetch_array( + mysql_query( + 'SELECT `id`,`sex`,`tr`,`img`,`login`,`level`,`admin`,`align`,`clan`,`itm` FROM `obraz` WHERE `img` = "' . mysql_real_escape_string( + $this->info['obraz'] + ) . '" AND `sex` = "' . $this->info['sex'] . '" AND (`login` = "" OR `login` = "' . $this->info['login'] . '") LIMIT 1' + ) + ); $t = $this->items['tr']; $x = 0; $po = $this->lookStats($o['tr']); @@ -1578,10 +1782,18 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` while ($j < count($o['itm'])) { $itm_id = $o['itm'][$j]; if ($itm_id > 0) { - $itm_id = mysql_fetch_array(mysql_query('SELECT `id`,`name` FROM `items_main` WHERE `id` = "' . $itm_id . '" LIMIT 1')); - $itm_id_true = mysql_fetch_array(mysql_query('SELECT `id` FROM `items_users` WHERE `item_id` = "' . $itm_id['id'] . '" AND + $itm_id = mysql_fetch_array( + mysql_query( + 'SELECT `id`,`name` FROM `items_main` WHERE `id` = "' . $itm_id . '" LIMIT 1' + ) + ); + $itm_id_true = mysql_fetch_array( + mysql_query( + 'SELECT `id` FROM `items_users` WHERE `item_id` = "' . $itm_id['id'] . '" AND `delete` = 0 AND `inOdet` > 0 AND `inShop` = 0 AND `uid` = "' . $this->info['id'] . '" - LIMIT 1')); + LIMIT 1' + ) + ); if (!isset($itm_id_true['id'])) { $tr = false; } @@ -1591,32 +1803,38 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` } while ($x < count($t)) { $n = $t[$x]; - if (isset($po['tr_' . $n])) { - if ($po['tr_' . $n] > $this->stats[$n]) { - $tr = false; - } + if (isset($po['tr_' . $n]) && $po['tr_' . $n] > $this->stats[$n]) { + $tr = false; } $x++; } if ($this->info['clan'] != $o['clan'] && $o['clan'] != 0) { $tr = false; } - if (!isset($o['id']) || $tr == false) { - if ($this->info['obraz'] == $o['img']) { - $this->info['obraz'] = '0.gif'; - mysql_query('UPDATE `users` SET `obraz` = "' . $this->info['obraz'] . '" WHERE `id` = "' . $this->info['id'] . '" LIMIT 1'); - } + if ((!isset($o['id']) || !$tr) && $this->info['obraz'] == $o['img']) { + $this->info['obraz'] = '0.gif'; + mysql_query( + 'UPDATE `users` SET `obraz` = "' . $this->info['obraz'] . '" WHERE `id` = "' . $this->info['id'] . '" LIMIT 1' + ); } } if (isset($_GET['obr_sel']) || isset($_GET['obraz'])) { - $sm = $this->testAction('`uid` = "' . $this->info['id'] . '" AND `time` > ' . (time() - 86400) . ' AND `vars` = "sel_obraz" LIMIT 1', 1); + $sm = $this->testAction( + '`uid` = "' . $this->info['id'] . '" AND `time` > ' . (time( + ) - 86400) . ' AND `vars` = "sel_obraz" LIMIT 1', + 1 + ); if (!isset($sm['id'])) { if (isset($_GET['obr_sel'])) { $this->stats = $this->getStats($this->info['id'], 0); $tr = true; - $o = mysql_fetch_array(mysql_query('SELECT `id`,`sex`,`tr`,`img`,`login`,`level`,`admin`,`align`,`clan`,`itm` FROM `obraz` WHERE `id` = "' . ((int)$_GET['obr_sel']) . '" AND `sex` = "' . $this->info['sex'] . '" AND (`login` = "" OR `login` = "' . $this->info['login'] . '") LIMIT 1')); + $o = mysql_fetch_array( + mysql_query( + 'SELECT `id`,`sex`,`tr`,`img`,`login`,`level`,`admin`,`align`,`clan`,`itm` FROM `obraz` WHERE `id` = "' . ((int)$_GET['obr_sel']) . '" AND `sex` = "' . $this->info['sex'] . '" AND (`login` = "" OR `login` = "' . $this->info['login'] . '") LIMIT 1' + ) + ); $t = $this->items['tr']; $x = 0; $po = $this->lookStats($o['tr']); @@ -1627,10 +1845,18 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` while ($j < count($o['itm'])) { $itm_id = $o['itm'][$j]; if ($itm_id > 0) { - $itm_id = mysql_fetch_array(mysql_query('SELECT `id`,`name` FROM `items_main` WHERE `id` = "' . $itm_id . '" LIMIT 1')); - $itm_id_true = mysql_fetch_array(mysql_query('SELECT `id` FROM `items_users` WHERE `item_id` = "' . $itm_id['id'] . '" AND + $itm_id = mysql_fetch_array( + mysql_query( + 'SELECT `id`,`name` FROM `items_main` WHERE `id` = "' . $itm_id . '" LIMIT 1' + ) + ); + $itm_id_true = mysql_fetch_array( + mysql_query( + 'SELECT `id` FROM `items_users` WHERE `item_id` = "' . $itm_id['id'] . '" AND `delete` = 0 AND `inOdet` > 0 AND `inShop` = 0 AND `uid` = "' . $this->info['id'] . '" - LIMIT 1')); + LIMIT 1' + ) + ); if (!isset($itm_id_true['id'])) { $tr = false; } @@ -1641,42 +1867,50 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` } $j++; } - if ($tritm != '' && $tr == false) { + if ($tritm != '' && !$tr) { $this->error = ' : ' . $tritm . ''; } } while ($x < count($t)) { $n = $t[$x]; - if (isset($po['tr_' . $n])) { - if ($po['tr_' . $n] > $this->stats[$n]) { - $tr = false; - $this->error = ' '; - } + if (isset($po['tr_' . $n]) && $po['tr_' . $n] > $this->stats[$n]) { + $tr = false; + $this->error = ' '; } $x++; } - if (isset($o['id']) && $tr == true) { + if (isset($o['id']) && $tr) { if ($this->info['obraz'] != $o['img']) { - mysql_query('UPDATE `users` SET `obraz` = "' . $o['img'] . '" WHERE `id` = "' . $this->info['id'] . '" LIMIT 1'); + mysql_query( + 'UPDATE `users` SET `obraz` = "' . $o['img'] . '" WHERE `id` = "' . $this->info['id'] . '" LIMIT 1' + ); $this->addAction(time(), 'sel_obraz', 'id=' . $o['id'] . ''); $this->info['obraz'] = $o['img']; } } else { if ($this->info['obraz'] == $o['img']) { $this->info['obraz'] = '0.gif'; - mysql_query('UPDATE `users` SET `obraz` = "' . $this->info['obraz'] . '" WHERE `id` = "' . $this->info['id'] . '" LIMIT 1'); + mysql_query( + 'UPDATE `users` SET `obraz` = "' . $this->info['obraz'] . '" WHERE `id` = "' . $this->info['id'] . '" LIMIT 1' + ); } } } } else { - $this->error = ' , ' . date('d.m.Y H:i', $sm['time'] + 86400) . ''; + $this->error = ' , ' . date( + 'd.m.Y H:i', $sm['time'] + 86400 + ) . ''; unset($_GET['obr_sel']); $_GET['inv'] = 1; } } if ($this->info['zv'] > 0) { - $zv = mysql_fetch_array(mysql_query('SELECT `id` FROM `zayvki` WHERE `id` = "' . $this->info['zv'] . '" AND `btl_id` = "0" AND `cancel` = "0" LIMIT 1')); + $zv = mysql_fetch_array( + mysql_query( + 'SELECT `id` FROM `zayvki` WHERE `id` = "' . $this->info['zv'] . '" AND `btl_id` = "0" AND `cancel` = "0" LIMIT 1' + ) + ); if (!isset($zv['id'])) { $this->info['zv'] = 0; mysql_query('UPDATE `stats` SET `zv` = "0" WHERE `id` = "' . $this->info['id'] . '" LIMIT 1'); @@ -1685,43 +1919,54 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` if ($this->info['wipe'] != 0) { $this->wipe(); - } else { - // - } $this->allActionsStart(); } elseif (isset($this->info['id'])) { - $this->room = mysql_fetch_array(mysql_query('SELECT `id`,`extdlg`,`lider`,`name`,`city`,`code`,`timeGO`,`file`,`level`,`align`,`clan`,`items`,`effects`,`destroy`,`close`,`roomGo`,`sex`,`FR`,`noatack`,`botgo`,`block_all`,`zvsee`,`roomAjax` FROM `room` WHERE `id` = "' . $this->info['room'] . '" LIMIT 1')); + $this->room = mysql_fetch_array( + mysql_query( + 'SELECT `id`,`extdlg`,`lider`,`name`,`city`,`code`,`timeGO`,`file`,`level`,`align`,`clan`,`items`,`effects`,`destroy`,`close`,`roomGo`,`sex`,`FR`,`noatack`,`botgo`,`block_all`,`zvsee`,`roomAjax` FROM `room` WHERE `id` = "' . $this->info['room'] . '" LIMIT 1' + ) + ); } } public function allActionsStart() { global $magic; - if (isset($_GET['use_snowball'])) { - $this->stats = $this->getStats($this->info, 0); - // - if (isset($this->stats['items'][$this->stats['wp13id']]['id']) && $this->stats['items'][$this->stats['wp13id']]['item_id'] == 998) { - // , - if ($this->room['name'] != ' ') { - $this->error2 = ' '; + if (!isset($_GET['use_snowball'])) { + return; + } + $this->stats = $this->getStats($this->info, 0); + // + if (!isset($this->stats['items'][$this->stats['wp13id']]['id']) || $this->stats['items'][$this->stats['wp13id']]['item_id'] != 998) { + return; + }// , + if ($this->room['name'] != ' ') { + $this->error2 = ' '; + } else { + $smt = $this->testAction( + '`uid` = "' . $this->info['id'] . '" AND `time`>=' . (time( + ) - 120) . ' AND `vars` = "create_snowball_cp" LIMIT 1', + 1 + ); + if (isset($smt['id'])) { + $this->error2 = ' ;)'; + } else { + $smt = $this->testAction( + '`uid` = "' . $this->info['id'] . '" AND `time`>=' . strtotime( + 'now 00:00:00' + ) . ' AND `vars` = "create_snowball_cp" LIMIT 25', + 2 + ); + $smt = $smt[0]; + if ($smt < 10) { + $this->addAction(time(), 'create_snowball_cp', $this->info['city']); + $magic->add_eff($this->info['id'], 24); + $this->error2 = ' , ' . (10 - $smt) . ' ...'; } else { - $smt = $this->testAction('`uid` = "' . $this->info['id'] . '" AND `time`>=' . (time() - 120) . ' AND `vars` = "create_snowball_cp" LIMIT 1', 1); - if (isset($smt['id'])) { - $this->error2 = ' ;)'; - } else { - $smt = $this->testAction('`uid` = "' . $this->info['id'] . '" AND `time`>=' . strtotime('now 00:00:00') . ' AND `vars` = "create_snowball_cp" LIMIT 25', 2); - $smt = $smt[0]; - if ($smt < 10) { - $this->addAction(time(), 'create_snowball_cp', $this->info['city']); - $magic->add_eff($this->info['id'], 24); - $this->error2 = ' , ' . (10 - $smt) . ' ...'; - } else { - $this->error2 = ' 10 ...'; - } - } + $this->error2 = ' 10 ...'; } } } @@ -1738,7 +1983,7 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` return $v; } - public function zuby($v, $t = 0) + public function zuby($v, $t = 0): string { $r = ''; if ($v < 0) { @@ -1759,13 +2004,13 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` do { $mod = $int % 10; $int = floor($int / 10);// $int = ($int-$mod)/10; - $r = array_shift($names) . "" . $mod . "" . $r; + $r = array_shift($names) . "" . $mod . $r; } while ($int); $ost = explode('.', $v); $ost = $ost[1]; - if ($ost == '' || $ost == 0) { + if (empty($ost)) { $ost = '00'; } @@ -1774,49 +2019,60 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` return $r; } + /** + * @return null + * @deprecated + */ public function onlineBonus() { return null; } - public function addAction($time, $vars, $vls, $uid = null) + public function addAction($time, $vars, $vls, $uid = null): bool { if ($uid == null) { $uid = $this->info['id']; } - $ins = mysql_query('INSERT INTO `actions` (`uid`,`time`,`city`,`room`,`vars`,`ip`,`vals`) VALUES ("' . $uid . '","' . $time . '","' . $this->info['city'] . '","' . $this->info['room'] . '","' . mysql_real_escape_string($vars) . '","' . mysql_real_escape_string($_SERVER['HTTP_X_REAL_IP']) . '","' . mysql_real_escape_string($vls) . '")'); + $ins = mysql_query( + 'INSERT INTO `actions` (`uid`,`time`,`city`,`room`,`vars`,`ip`,`vals`) VALUES ("' . $uid . '","' . $time . '","' . $this->info['city'] . '","' . $this->info['room'] . '","' . mysql_real_escape_string( + $vars + ) . '","' . mysql_real_escape_string($_SERVER['HTTP_X_REAL_IP']) . '","' . mysql_real_escape_string( + $vls + ) . '")' + ); return (bool)$ins; } public function testAction($filter, $tp) { - //mysql_query('LOCK TABLES actions WRITE'); if ($tp == 1) { - $ins = mysql_fetch_array(mysql_query('SELECT `id`,`uid`,`time`,`city`,`room`,`vars`,`ip`,`vals`,`val` FROM `actions` WHERE ' . $filter . '')); - } else if ($tp == 2) { - $ins = mysql_fetch_array(mysql_query('SELECT COUNT(`id`) FROM `actions` WHERE ' . $filter . '')); + $query = 'select * from actions where ' . $filter; + } elseif ($tp == 2) { + $query = 'select count(*) from actions where ' . $filter; } - //mysql_query('UNLOCK TABLES'); - return $ins; + + $stmt = mysql_query($query); + return $stmt ? mysql_fetch_array($stmt) : []; } public function takePersInfo($whr) { - return mysql_fetch_array(mysql_query('SELECT - `u`.`id`,`u`.`login`,`u`.`login2`,`u`.`pass`,`u`.`pass2`,`u`.`repass`,`u`.`notrhod`,`u`.`emailconfirmation`,`u`.`securetime`,`u`.`sys`,`u`.`palpro`,`u`.`online`,`u`.`ip`,`u`.`ipreg`,`u`.`joinIP`,`u`.`admin`,`u`.`city`,`u`.`room`,`u`.`banned`,`u`.`auth`,`u`.`align`,`u`.`align2`,`u`.`align_lvl`,`u`.`align_exp`,`u`.`mod_zvanie`,`u`.`clan`,`u`.`nextMsg`,`u`.`molch1`,`u`.`molch2`,`u`.`molch3`,`u`.`level`,`u`.`money`,`u`.`money2`,`u`.`money4`,`u`.`money3`,`u`.`battle`,`u`.`cityreg`,`u`.`invBlock`,`u`.`allLock`,`u`.`invBlockCode`,`u`.`zag`,`u`.`a1`,`u`.`q1`,`u`.`mail`,`u`.`name`,`u`.`bithday`,`u`.`sex`,`u`.`design`,`u`.`autospell`,`u`.`noplaw`,`u`.`city_real`,`u`.`icq`,`u`.`icq_hide`,`u`.`homepage`,`u`.`deviz`,`u`.`hobby`,`u`.`chatColor`,`u`.`timereg`,`u`.`add_smiles`,`u`.`obraz`,`u`.`win`,`u`.`win_bs`,`u`.`lose`,`u`.`nich`,`u`.`cityreg2`,`u`.`host`,`u`.`info_delete`,`u`.`dateEnter`,`u`.`afk`,`u`.`dnd`,`u`.`timeMain`,`u`.`clan_prava`,`u`.`addpr`,`u`.`marry`,`u`.`city2`,`u`.`invis`,`u`.`bot_id`,`u`.`haos`,`u`.`host_reg`,`u`.`inUser`,`u`.`inTurnir`,`u`.`inTurnirnew`,`u`.`jail`,`u`.`animal`,`u`.`vip`,`u`.`catch`,`u`.`frg`,`u`.`no_ip`,`u`.`type_pers`,`u`.`bot_room`,`u`.`clan_delay`,`u`.`bukmeker`, + return mysql_fetch_array( + mysql_query( + 'SELECT + `u`.`id`,`u`.`login`,`u`.`login2`,`u`.`pass`,`u`.`pass2`,`u`.`repass`,`u`.`notrhod`,`u`.`emailconfirmation`,`u`.`securetime`,`u`.`palpro`,`u`.`online`,`u`.`ip`,`u`.`ipreg`,`u`.`joinIP`,`u`.`admin`,`u`.`city`,`u`.`room`,`u`.`banned`,`u`.`auth`,`u`.`align`,`u`.`align2`,`u`.`align_lvl`,`u`.`align_exp`,`u`.`mod_zvanie`,`u`.`clan`,`u`.`nextMsg`,`u`.`molch1`,`u`.`molch2`,`u`.`molch3`,`u`.`level`,`u`.`money`,`u`.`money2`,`u`.`money4`,`u`.`money3`,`u`.`battle`,`u`.`cityreg`,`u`.`invBlock`,`u`.`allLock`,`u`.`invBlockCode`,`u`.`zag`,`u`.`a1`,`u`.`q1`,`u`.`mail`,`u`.`name`,`u`.`bithday`,`u`.`sex`,`u`.`autospell`,`u`.`noplaw`,`u`.`hobby`,`u`.`chatColor`,`u`.`timereg`,`u`.`add_smiles`,`u`.`obraz`,`u`.`win`,`u`.`win_bs`,`u`.`lose`,`u`.`nich`,`u`.`host`,`u`.`info_delete`,`u`.`dateEnter`,`u`.`afk`,`u`.`dnd`,`u`.`timeMain`,`u`.`clan_prava`,`u`.`addpr`,`u`.`marry`,`u`.`city2`,`u`.`invis`,`u`.`bot_id`,`u`.`haos`,`u`.`host_reg`,`u`.`inUser`,`u`.`inTurnir`,`u`.`inTurnirnew`,`u`.`jail`,`u`.`animal`,`u`.`vip`,`u`.`catch`,`u`.`frg`,`u`.`no_ip`,`u`.`type_pers`,`u`.`bot_room`,`u`.`clan_delay`,`u`.`bukmeker`, `st`.`id`,`st`.`lider`,`st`.`btl_cof`,`st`.`last_hp`,`st`.`last_pr`,`st`.`smena`,`st`.`stats`,`st`.`hpAll`,`st`.`mpAll`,`st`.`hpNow`,`st`.`mpNow`,`st`.`enNow`,`st`.`transfers`,`st`.`regHP`,`st`.`regMP`,`st`.`showmenu`,`st`.`prmenu`,`st`.`ability`,`st`.`skills`,`st`.`sskills`,`st`.`nskills`,`st`.`exp`,`st`.`minHP`,`st`.`minMP`,`st`.`zv`,`st`.`dn`,`st`.`dnow`,`st`.`team`,`st`.`battle_yron`,`st`.`battle_exp`,`st`.`enemy`,`st`.`last_a`,`st`.`last_b`,`st`.`battle_text`,`st`.`upLevel`,`st`.`wipe`,`st`.`bagStats`,`st`.`timeGo`,`st`.`timeGoL`,`st`.`nextAct`,`st`.`active`,`st`.`bot`,`st`.`lastAlign`,`st`.`tactic1`,`st`.`tactic2`,`st`.`tactic3`,`st`.`tactic4`,`st`.`tactic5`,`st`.`tactic6`,`st`.`tactic7`,`st`.`x`,`st`.`y`,`st`.`s`,`st`.`battleEnd`,`st`.`priemslot`,`st`.`priems`,`st`.`priems_z`,`st`.`bet`,`st`.`clone`,`st`.`atack`,`st`.`bbexp`,`st`.`ref_data`,`st`.`res_x`,`st`.`res_y`,`st`.`res_s`,`st`.`bn_capitalcity`,`st`.`bn_demonscity` - FROM `users` AS `u` LEFT JOIN `stats` AS `st` ON (`u`.`id` = `st`.`id`) WHERE ' . $whr . ' LIMIT 1')); + FROM `users` AS `u` LEFT JOIN `stats` AS `st` ON (`u`.`id` = `st`.`id`) WHERE ' . $whr . ' LIMIT 1' + ) + ); } public function addNewbot($id, $botDate, $clon, $logins_bot = null, $luser = null, $round = null) { - global $c, $code; if ($clon != null) { $r = false; - if (is_array($clon)) { - // - } else { + if (!is_array($clon)) { $clon = $this->takePersInfo('`u`.`id` = "' . ((int)$clon) . '"'); } if (isset($clon['id'])) { @@ -1824,7 +2080,8 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` $clon['login'] .= ' ()'; } // - $ins1 = mysql_query('INSERT INTO `users` ( + $ins1 = mysql_query( + 'INSERT INTO `users` ( `align`, `login`, `level`, @@ -1833,7 +2090,6 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` `cityreg`, `name`, `sex`, - `deviz`, `hobby`, `timereg`, `obraz`, @@ -1849,12 +2105,12 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` "' . $clon['login'] . '", "' . $clon['sex'] . '", "", - "", "' . $clon['time_reg'] . '", "' . $clon['obraz'] . '", "' . mysql_real_escape_string($id) . '", "' . $clon['inTurnir'] . '" - )'); + )' + ); if ($ins1) { if ($round > 0) { // . 1 = +10% @@ -1878,7 +2134,7 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` $clon['stats'] = $this->impStats($statss); unset($statss); } - if ($luser == true && $clon['level'] < 8) { + if ($luser && $clon['level'] < 8) { // , $statss = $this->lookStats($clon['stats']); $statss['m1'] = ceil($statss['m1'] * 0.75); @@ -1893,18 +2149,29 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` } $uid = mysql_insert_id(); // - $ins2 = mysql_query('INSERT INTO `stats` (`clone`,`id`,`stats`,`hpNow`,`upLevel`,`bot`,`priems`) VALUES ("' . $clon['id'] . '","' . $uid . '","' . $clon['stats'] . '","1000000","' . $clon['upLevel'] . '","1","' . $clon['priems'] . '")'); + $ins2 = mysql_query( + 'INSERT INTO `stats` (`clone`,`id`,`stats`,`hpNow`,`upLevel`,`bot`,`priems`) VALUES ("' . $clon['id'] . '","' . $uid . '","' . $clon['stats'] . '","1000000","' . $clon['upLevel'] . '","1","' . $clon['priems'] . '")' + ); if ($ins2) { // - $sp = mysql_query('SELECT `id`,`item_id`,`1price`,`2price`,`3price`,`uid`,`use_text`,`data`,`inOdet`,`inShop`,`delete`,`iznosNOW`,`iznosMAX`,`gift`,`gtxt1`,`gtxt2`,`kolvo`,`geniration`,`magic_inc`,`maidin`,`lastUPD`,`timeOver`,`overType`,`secret_id`,`time_create`,`inGroup`,`dn_delete`,`inTransfer`,`post_delivery`,`lbtl_`,`bexp`,`so`,`blvl` FROM `items_users` WHERE `uid` = "' . $clon['id'] . '" AND `inOdet` > 0 AND `delete` = "0" LIMIT 50'); + $sp = mysql_query( + 'SELECT `id`,`item_id`,`1price`,`2price`,`3price`,`uid`,`use_text`,`data`,`inOdet`,`inShop`,`delete`,`iznosNOW`,`iznosMAX`,`gift`,`gtxt1`,`gtxt2`,`kolvo`,`geniration`,`magic_inc`,`maidin`,`lastUPD`,`timeOver`,`overType`,`secret_id`,`time_create`,`inGroup`,`dn_delete`,`inTransfer`,`post_delivery`,`lbtl_`,`bexp`,`so`,`blvl` FROM `items_users` WHERE `uid` = "' . $clon['id'] . '" AND `inOdet` > 0 AND `delete` = "0" LIMIT 50' + ); while ($pl = mysql_fetch_array($sp)) { $pl['data'] = str_replace('toclan', 'to_clan_', $pl['data']); - mysql_query('INSERT INTO `items_users` (`uid`,`item_id`,`data`,`inOdet`,`iznosMAX`,`kolvo`) VALUES ("' . $uid . '","' . $pl['item_id'] . '","' . $pl['data'] . '","' . $pl['inOdet'] . '","' . $pl['iznosMAX'] . '","' . $pl['kolvo'] . '")'); + mysql_query( + 'INSERT INTO `items_users` (`uid`,`item_id`,`data`,`inOdet`,`iznosMAX`,`kolvo`) VALUES ("' . $uid . '","' . $pl['item_id'] . '","' . $pl['data'] . '","' . $pl['inOdet'] . '","' . $pl['iznosMAX'] . '","' . $pl['kolvo'] . '")' + ); } // - $sp = mysql_query('SELECT `id`,`id_eff`,`uid`,`name`,`data`,`overType`,`timeUse`,`timeAce`,`user_use`,`delete`,`v1`,`v2`,`img2`,`x`,`hod`,`bj`,`sleeptime`,`no_Ace`,`tr_life_user` FROM `eff_users` WHERE `uid` = "' . $clon['id'] . '" AND `delete` = "0" AND `deactiveTime` < "' . time() . '" AND `v1` != "priem" LIMIT 50'); + $sp = mysql_query( + 'SELECT `id`,`id_eff`,`uid`,`name`,`data`,`overType`,`timeUse`,`timeAce`,`user_use`,`delete`,`v1`,`v2`,`img2`,`x`,`hod`,`bj`,`sleeptime`,`no_Ace`,`tr_life_user` FROM `eff_users` WHERE `uid` = "' . $clon['id'] . '" AND `delete` = "0" AND `deactiveTime` < "' . time( + ) . '" AND `v1` != "priem" LIMIT 50' + ); while ($pl = mysql_fetch_array($sp)) { - mysql_query('INSERT INTO `eff_users` (`uid`,`id_eff`,`data`,`name`,`overType`,`timeUse`,`x`) VALUES ("' . $uid . '","' . $pl['id_eff'] . '","' . $pl['data'] . '","' . $pl['name'] . '","' . $pl['overType'] . '","' . $pl['timeUse'] . '","' . $pl['x'] . '")'); + mysql_query( + 'INSERT INTO `eff_users` (`uid`,`id_eff`,`data`,`name`,`overType`,`timeUse`,`x`) VALUES ("' . $uid . '","' . $pl['id_eff'] . '","' . $pl['data'] . '","' . $pl['name'] . '","' . $pl['overType'] . '","' . $pl['timeUse'] . '","' . $pl['x'] . '")' + ); } $r = $uid; } @@ -1913,7 +2180,11 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` return $r; } else { if ($botDate == null) { - $bot = mysql_fetch_array(mysql_query('SELECT `id`,`login`,`stats`,`obraz`,`level`,`sex`,`name`,`deviz`,`hobby`,`type`,`itemsUse`,`priemUse`,`align`,`clan`,`align_zvanie`,`bonus`,`clan_zvanie`,`time_reg`,`city_reg`,`upLevel`,`active`,`expB`,`p_items`,`agressor`,`priems`,`priems_z`,`award` FROM `test_bot` WHERE `id` = "' . $id . '" LIMIT 1')); + $bot = mysql_fetch_array( + mysql_query( + 'SELECT `id`,`login`,`stats`,`obraz`,`level`,`sex`,`name`,`hobby`,`type`,`itemsUse`,`priemUse`,`align`,`clan`,`align_zvanie`,`bonus`,`clan_zvanie`,`time_reg`,`city_reg`,`upLevel`,`active`,`expB`,`p_items`,`agressor`,`priems`,`priems_z`,`award` FROM `test_bot` WHERE `id` = "' . $id . '" LIMIT 1' + ) + ); } else { $bot = $botDate; } @@ -1932,7 +2203,8 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` $bot['city_reg'] = $this->info['city']; } - $ins1 = mysql_query('INSERT INTO `users` ( + $ins1 = mysql_query( + 'INSERT INTO `users` ( `align`, `login`, `level`, @@ -1941,7 +2213,6 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` `cityreg`, `name`, `sex`, - `deviz`, `hobby`, `timereg`, `obraz`, @@ -1955,12 +2226,12 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` "' . $bot['city_reg'] . '", "' . $bot['name'] . '", "' . $bot['sex'] . '", - "' . $bot['deviz'] . '", "' . $bot['hobby'] . '", "' . $bot['time_reg'] . '", "' . $bot['obraz'] . '", "' . mysql_real_escape_string($id) . '" - )'); + )' + ); if ($ins1) { $uid = mysql_insert_id(); if ($round > 0) { @@ -1985,21 +2256,26 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` $bot['stats'] = $this->impStats($statss); unset($statss); } - $ins2 = mysql_query('INSERT INTO `stats` (`id`,`stats`,`hpNow`,`upLevel`,`bot`) VALUES ("' . $uid . '","' . $bot['stats'] . '","1000000","' . $bot['upLevel'] . '","1")'); + $ins2 = mysql_query( + 'INSERT INTO `stats` (`id`,`stats`,`hpNow`,`upLevel`,`bot`) VALUES ("' . $uid . '","' . $bot['stats'] . '","1000000","' . $bot['upLevel'] . '","1")' + ); if ($ins2) { $bot['id'] = $uid; $bot['logins_bot'] = $logins_bot; $ret = $bot; // - //$this->addItem($item_id,$uid); $iu = explode(',', $bot['itemsUse']); $i = 0; $w3b = 0; while ($i < count($iu)) { if ($iu[$i] > 0) { $idiu = $this->addItem($iu[$i], $bot['id']); - $islot = mysql_fetch_array(mysql_query('SELECT `id`,`inslot` FROM `items_main` WHERE `id` = "' . $iu[$i] . '" LIMIT 1')); + $islot = mysql_fetch_array( + mysql_query( + 'SELECT `id`,`inslot` FROM `items_main` WHERE `id` = "' . $iu[$i] . '" LIMIT 1' + ) + ); if (isset($islot['id'])) { if ($islot['inslot'] == 3) { if ($w3b == 1) { @@ -2014,7 +2290,9 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` } else { $islot = 2000; } - mysql_query('UPDATE `items_users` SET `inOdet` = "' . $islot . '" WHERE `id` = "' . $idiu . '" LIMIT 1'); + mysql_query( + 'UPDATE `items_users` SET `inOdet` = "' . $islot . '" WHERE `id` = "' . $idiu . '" LIMIT 1' + ); } $i++; } @@ -2047,16 +2325,17 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` if ($x > 99) { $x = 99; } - $i = mysql_fetch_array(mysql_query('SELECT `im`.*,`ish`.* FROM `items_shop` AS `ish` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `ish`.`item_id`) WHERE `ish`.`sid` = "' . mysql_real_escape_string($sid) . '" AND `ish`.`kolvo` > 0 AND `ish`.`item_id` = "' . mysql_real_escape_string($itm) . '" LIMIT 1')); + $i = mysql_fetch_array( + mysql_query( + 'SELECT `im`.*,`ish`.* FROM `items_shop` AS `ish` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `ish`.`item_id`) WHERE `ish`.`sid` = "' . mysql_real_escape_string( + $sid + ) . '" AND `ish`.`kolvo` > 0 AND `ish`.`item_id` = "' . mysql_real_escape_string($itm) . '" LIMIT 1' + ) + ); $r = ''; $vip = false; - if ($vip == true) { - $test = $this->testVipItems($i['type']); - } - if ($vip == true && $test == false) { - $r = ' VIP , '; - } elseif ($this->info['allLock'] > time()) { + if ($this->info['allLock'] > time()) { $r = ' ' . date('d.m.y H:i', $this->info['allLock']) . ''; } elseif (isset($i['id'])) { if ($i['price_4'] <= 0) { @@ -2079,10 +2358,16 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` while ($j < count($tims2)) { $tims = explode('=', $tims2[$j]); if ($tims[0] > 0 && $tims[1] > 0) { - $tis = mysql_fetch_array(mysql_query('SELECT `id`,`name`,`img`,`type`,`inslot`,`2h`,`2too`,`iznosMAXi`,`inRazdel`,`price1`,`price2`,`price3`,`price4`,`magic_chance`,`info`,`massa`,`level`,`magic_inci`,`overTypei`,`group`,`group_max`,`geni`,`ts`,`srok`,`class`,`class_point`,`anti_class`,`anti_class_point`,`max_text`,`useInBattle`,`lbtl`,`lvl_itm`,`lvl_exp`,`lvl_aexp` FROM `items_main` WHERE `id` = "' . $tims[0] . '" LIMIT 1')); + $tis = mysql_fetch_array( + mysql_query( + 'SELECT `id`,`name`,`img`,`type`,`inslot`,`2h`,`2too`,`iznosMAXi`,`inRazdel`,`price1`,`price2`,`price3`,`price4`,`magic_chance`,`info`,`massa`,`level`,`magic_inci`,`overTypei`,`group`,`group_max`,`geni`,`ts`,`srok`,`class`,`class_point`,`anti_class`,`anti_class_point`,`max_text`,`useInBattle`,`lbtl`,`lvl_itm`,`lvl_exp`,`lvl_aexp` FROM `items_main` WHERE `id` = "' . $tims[0] . '" LIMIT 1' + ) + ); if (isset($tis['id'])) { $num_rows = 0; - $s1p = mysql_query('SELECT `id`,`item_id`,`1price`,`2price`,`3price`,`4price`,`uid`,`use_text`,`data`,`inOdet`,`inShop`,`delete`,`iznosNOW`,`iznosMAX`,`gift`,`gtxt1`,`gtxt2`,`kolvo`,`geniration`,`magic_inc`,`maidin`,`lastUPD`,`timeOver`,`overType`,`secret_id`,`time_create`,`inGroup`,`dn_delete`,`inTransfer`,`post_delivery`,`lbtl_`,`bexp`,`so`,`blvl` FROM `items_users` WHERE `item_id` = "' . ((int)$tims[0]) . '" AND `uid` = "' . $this->info['id'] . '" AND (`delete` = "0" OR `delete` = "1000") AND `inShop` = "0" AND `inOdet` = "0" LIMIT ' . ((int)$tims[1] * $x) . ''); + $s1p = mysql_query( + 'SELECT `id`,`item_id`,`1price`,`2price`,`3price`,`4price`,`uid`,`use_text`,`data`,`inOdet`,`inShop`,`delete`,`iznosNOW`,`iznosMAX`,`gift`,`gtxt1`,`gtxt2`,`kolvo`,`geniration`,`magic_inc`,`maidin`,`lastUPD`,`timeOver`,`overType`,`secret_id`,`time_create`,`inGroup`,`dn_delete`,`inTransfer`,`post_delivery`,`lbtl_`,`bexp`,`so`,`blvl` FROM `items_users` WHERE `item_id` = "' . ((int)$tims[0]) . '" AND `uid` = "' . $this->info['id'] . '" AND (`delete` = "0" OR `delete` = "1000") AND `inShop` = "0" AND `inOdet` = "0" LIMIT ' . ((int)$tims[1] * $x) . '' + ); while ($p1l = mysql_fetch_array($s1p)) { $num_rows++; } @@ -2099,7 +2384,7 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` $trnt = rtrim($trnt, ', '); } - if ($c['noitembuy'] == true) { + if (Config::get('noitembuy')) { $trn = 1; } @@ -2111,11 +2396,19 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` $need_rep++; } } - } else $need_rep = 0; + } else { + $need_rep = 0; + } $mxby = 0; if ($i['max_buy'] > 0) { - $mxby = mysql_fetch_array(mysql_query('SELECT COUNT(`id`) FROM `items_users` WHERE ( `delete` = "0" OR `delete` = "1000" ) AND `item_id` = "' . mysql_real_escape_string($itm) . '" AND `uid` = "' . $this->info['id'] . '" LIMIT ' . $i['max_buy'])); + $mxby = mysql_fetch_array( + mysql_query( + 'SELECT COUNT(`id`) FROM `items_users` WHERE ( `delete` = "0" OR `delete` = "1000" ) AND `item_id` = "' . mysql_real_escape_string( + $itm + ) . '" AND `uid` = "' . $this->info['id'] . '" LIMIT ' . $i['max_buy'] + ) + ); if ($mxby[0] >= $i['max_buy']) { $mxby = -1; } @@ -2132,9 +2425,17 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` } elseif ($i['price_4'] * $x > ($this->rep['rep3'] - $this->rep['rep3_buy'])) { $r = ' ( ' . ($price - ($this->rep['rep3'] - $this->rep['rep3_buy'])) . ' .)'; } else { - $d = mysql_fetch_array(mysql_query('SELECT `id`,`items_id`,`data` FROM `items_main_data` WHERE `items_id` = "' . $i['id'] . '" LIMIT 1')); + $d = mysql_fetch_array( + mysql_query( + 'SELECT `id`,`items_id`,`data` FROM `items_main_data` WHERE `items_id` = "' . $i['id'] . '" LIMIT 1' + ) + ); $this->rep['rep3_buy'] += $price; - $upd = mysql_query('UPDATE `rep` SET `rep3_buy` = "' . mysql_real_escape_string($this->rep['rep3_buy']) . '" WHERE `id` = "' . $this->info['id'] . '" LIMIT 1'); + $upd = mysql_query( + 'UPDATE `rep` SET `rep3_buy` = "' . mysql_real_escape_string( + $this->rep['rep3_buy'] + ) . '" WHERE `id` = "' . $this->info['id'] . '" LIMIT 1' + ); if ($upd) { // $data = ''; @@ -2149,22 +2450,34 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` if ($i['iznos'] > 0) { $i['iznosMAXi'] = $i['iznos']; } - $ins = mysql_query('INSERT INTO `items_users` (`1price`,`2price`,`overType`,`item_id`,`uid`,`data`,`iznosMAX`,`geniration`,`magic_inc`,`maidin`,`lastUPD`,`time_create`) VALUES ( + $ins = mysql_query( + 'INSERT INTO `items_users` (`1price`,`2price`,`overType`,`item_id`,`uid`,`data`,`iznosMAX`,`geniration`,`magic_inc`,`maidin`,`lastUPD`,`time_create`) VALUES ( "1", "1", "' . $i['overType'] . '", "' . $i['item_id'] . '", "' . $this->info['id'] . '", - "' . str_replace('sudba=0', '', $data) . '|sudba=' . $this->info['login'] . '|icos=WL|fromshop=' . $sid . '", + "' . str_replace( + 'sudba=0', '', $data + ) . '|sudba=' . $this->info['login'] . '|icos=WL|fromshop=' . $sid . '", "' . $i['iznosMAXi'] . '", "' . $i['geniration'] . '", "' . $i['magic_inc'] . '", "' . $this->info['city'] . '", "' . time() . '", - "' . time() . '")'); + "' . time() . '")' + ); } else { - mysql_query('DELETE FROM `obraz` WHERE `uid` = "' . $this->info['id'] . '" AND `sex` = "' . $i['sex'] . '" AND `img` = "' . str_replace('.png', '.gif', $i['img']) . '" LIMIT 1'); - $ins = mysql_query('INSERT INTO `obraz` (`sex`,`img`,`level`,`uid`,`usr_add`) VALUES ("' . $i['sex'] . '","' . str_replace('.png', '.gif', $i['img']) . '","' . $i['level'] . '","' . $this->info['id'] . '","' . time() . '")'); + mysql_query( + 'DELETE FROM `obraz` WHERE `uid` = "' . $this->info['id'] . '" AND `sex` = "' . $i['sex'] . '" AND `img` = "' . str_replace( + '.png', '.gif', $i['img'] + ) . '" LIMIT 1' + ); + $ins = mysql_query( + 'INSERT INTO `obraz` (`sex`,`img`,`level`,`uid`,`usr_add`) VALUES ("' . $i['sex'] . '","' . str_replace( + '.png', '.gif', $i['img'] + ) . '","' . $i['level'] . '","' . $this->info['id'] . '","' . time() . '")' + ); } if ($ins) { $gix++; @@ -2181,21 +2494,35 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` $j = 0; while ($j < count($detrn)) { $ost = ((int)$detrn[$j][1]); - $s4 = mysql_query('SELECT `id`,`item_id`,`1price`,`2price`,`3price`,`uid`,`use_text`,`data`,`inOdet`,`inShop`,`delete`,`iznosNOW`,`iznosMAX`,`gift`,`gtxt1`,`gtxt2`,`kolvo`,`geniration`,`magic_inc`,`maidin`,`lastUPD`,`timeOver`,`overType`,`secret_id`,`time_create`,`inGroup`,`dn_delete`,`inTransfer`,`post_delivery`,`lbtl_`,`bexp`,`so`,`blvl` FROM `items_users` WHERE `item_id` = "' . ((int)$detrn[$j][0]) . '" AND `uid` = "' . $this->info['id'] . '" AND (`delete` = "0" OR `delete` = "1000") AND `inShop` = "0" AND `inOdet` = "0" ORDER BY `inGroup` DESC LIMIT ' . ((int)$detrn[$j][1]) . ''); + $s4 = mysql_query( + 'SELECT `id`,`item_id`,`1price`,`2price`,`3price`,`uid`,`use_text`,`data`,`inOdet`,`inShop`,`delete`,`iznosNOW`,`iznosMAX`,`gift`,`gtxt1`,`gtxt2`,`kolvo`,`geniration`,`magic_inc`,`maidin`,`lastUPD`,`timeOver`,`overType`,`secret_id`,`time_create`,`inGroup`,`dn_delete`,`inTransfer`,`post_delivery`,`lbtl_`,`bexp`,`so`,`blvl` FROM `items_users` WHERE `item_id` = "' . ((int)$detrn[$j][0]) . '" AND `uid` = "' . $this->info['id'] . '" AND (`delete` = "0" OR `delete` = "1000") AND `inShop` = "0" AND `inOdet` = "0" ORDER BY `inGroup` DESC LIMIT ' . ((int)$detrn[$j][1]) . '' + ); while ($itm = mysql_fetch_array($s4)) { // - mysql_query('UPDATE `items_users` SET `delete` = "' . time() . '" WHERE `id` = "' . $itm['id'] . '" LIMIT 1'); + mysql_query( + 'UPDATE `items_users` SET `delete` = "' . time( + ) . '" WHERE `id` = "' . $itm['id'] . '" LIMIT 1' + ); } $j++; } - //mysql_query("INSERT INTO `chat` (`new`,`city`,`room`,`login`,`to`,`text`,`time`,`type`,`toChat`) VALUES ('1','capitalcity','0','','',' ! ".$this->info['login']." "".$i['name']."" , !','-1','5','0')"); - mysql_query('UPDATE `items_shop` SET `kolvo` = "' . ($i['kolvo'] - $x) . '" WHERE `iid` = "' . $i['iid'] . '" LIMIT 1'); - $ld = $this->addDelo(1, $this->info['id'], '"Shop.' . $this->info['city'] . '": "' . $i['name'] . '" (x' . $x . ') [#' . $i['iid'] . '] ' . $price . ' .', time(), $this->info['city'], 'Shop.' . $this->info['city'] . '', (int)$price, 0); + mysql_query( + 'UPDATE `items_shop` SET `kolvo` = "' . ($i['kolvo'] - $x) . '" WHERE `iid` = "' . $i['iid'] . '" LIMIT 1' + ); + $ld = $this->addDelo( + 1, $this->info['id'], + '"Shop.' . $this->info['city'] . '": "' . $i['name'] . '" (x' . $x . ') [#' . $i['iid'] . '] ' . $price . ' .', + time(), $this->info['city'], 'Shop.' . $this->info['city'] . '', (int)$price, 0 + ); } else { // $r = ' "' . $i['name'] . '". "' . $this->city_name[$this->info['city']] . '" ' . $price . ' .
    .'; - $ld = $this->addDelo(1, $this->info['id'], '"Shop.' . $this->info['city'] . '": #' . $i['iid'] . '. : ' . $price . ' . ', time(), $this->info['city'], 'Shop.' . $this->info['city'] . '', (int)$price, 0); + $ld = $this->addDelo( + 1, $this->info['id'], + '"Shop.' . $this->info['city'] . '": #' . $i['iid'] . '. : ' . $price . ' . ', + time(), $this->info['city'], 'Shop.' . $this->info['city'] . '', (int)$price, 0 + ); if (!$ld) { echo '
    , /db/usersDelo/!
    '; } @@ -2221,10 +2548,16 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` while ($j < count($tims2)) { $tims = explode('=', $tims2[$j]); if ($tims[0] > 0 && $tims[1] > 0) { - $tis = mysql_fetch_array(mysql_query('SELECT `id`,`name`,`img`,`type`,`inslot`,`2h`,`2too`,`iznosMAXi`,`inRazdel`,`price1`,`price2`,`price3`,`price4`,`magic_chance`,`info`,`massa`,`level`,`magic_inci`,`overTypei`,`group`,`group_max`,`geni`,`ts`,`srok`,`class`,`class_point`,`anti_class`,`anti_class_point`,`max_text`,`useInBattle`,`lbtl`,`lvl_itm`,`lvl_exp`,`lvl_aexp` FROM `items_main` WHERE `id` = "' . $tims[0] . '" LIMIT 1')); + $tis = mysql_fetch_array( + mysql_query( + 'SELECT `id`,`name`,`img`,`type`,`inslot`,`2h`,`2too`,`iznosMAXi`,`inRazdel`,`price1`,`price2`,`price3`,`price4`,`magic_chance`,`info`,`massa`,`level`,`magic_inci`,`overTypei`,`group`,`group_max`,`geni`,`ts`,`srok`,`class`,`class_point`,`anti_class`,`anti_class_point`,`max_text`,`useInBattle`,`lbtl`,`lvl_itm`,`lvl_exp`,`lvl_aexp` FROM `items_main` WHERE `id` = "' . $tims[0] . '" LIMIT 1' + ) + ); if (isset($tis['id'])) { $num_rows = 0; - $s1p = mysql_query('SELECT `id`,`item_id`,`1price`,`2price`,`3price`,`4price`,`uid`,`use_text`,`data`,`inOdet`,`inShop`,`delete`,`iznosNOW`,`iznosMAX`,`gift`,`gtxt1`,`gtxt2`,`kolvo`,`geniration`,`magic_inc`,`maidin`,`lastUPD`,`timeOver`,`overType`,`secret_id`,`time_create`,`inGroup`,`dn_delete`,`inTransfer`,`post_delivery`,`lbtl_`,`bexp`,`so`,`blvl` FROM `items_users` WHERE `item_id` = "' . ((int)$tims[0]) . '" AND `uid` = "' . $this->info['id'] . '" AND (`delete` = "0" OR `delete` = "1000") AND `inShop` = "0" AND `inOdet` = "0" LIMIT ' . ((int)$tims[1] * $x) . ''); + $s1p = mysql_query( + 'SELECT `id`,`item_id`,`1price`,`2price`,`3price`,`4price`,`uid`,`use_text`,`data`,`inOdet`,`inShop`,`delete`,`iznosNOW`,`iznosMAX`,`gift`,`gtxt1`,`gtxt2`,`kolvo`,`geniration`,`magic_inc`,`maidin`,`lastUPD`,`timeOver`,`overType`,`secret_id`,`time_create`,`inGroup`,`dn_delete`,`inTransfer`,`post_delivery`,`lbtl_`,`bexp`,`so`,`blvl` FROM `items_users` WHERE `item_id` = "' . ((int)$tims[0]) . '" AND `uid` = "' . $this->info['id'] . '" AND (`delete` = "0" OR `delete` = "1000") AND `inShop` = "0" AND `inOdet` = "0" LIMIT ' . ((int)$tims[1] * $x) . '' + ); while ($p1l = mysql_fetch_array($s1p)) { $num_rows++; } @@ -2240,23 +2573,29 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` } $trnt = rtrim($trnt, ', '); } - if ($c['noitembuy'] == true) { + if (Config::get('noitembuy')) { $trn = 1; } + $need_rep = 0; if (isset($i['tr_reputation']) && $i['tr_reputation'] != '') { // - $need_rep = 0; $tr_rep = $this->lookStats($i['tr_reputation']); foreach ($tr_rep as $row) { if ($this->rep[$row[0]] >= $row[1]) { $need_rep++; } } - } else $need_rep = 0; + } $mxby = 0; if ($i['max_buy'] > 0) { - $mxby = mysql_fetch_array(mysql_query('SELECT COUNT(`id`) FROM `items_users` WHERE ( `delete` = "0" OR `delete` = "1000" ) AND `item_id` = "' . mysql_real_escape_string($itm) . '" AND `uid` = "' . $this->info['id'] . '" LIMIT ' . $i['max_buy'])); + $mxby = mysql_fetch_array( + mysql_query( + 'SELECT COUNT(`id`) FROM `items_users` WHERE ( `delete` = "0" OR `delete` = "1000" ) AND `item_id` = "' . mysql_real_escape_string( + $itm + ) . '" AND `uid` = "' . $this->info['id'] . '" LIMIT ' . $i['max_buy'] + ) + ); if ($mxby[0] >= $i['max_buy']) { $mxby = -1; } @@ -2273,9 +2612,17 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` } elseif ($i['price_3'] * $x > $this->info['money3']) { $r = ' ( ' . ($price - $this->info['money3']) . ' $)'; } else { - $d = mysql_fetch_array(mysql_query('SELECT `id`,`items_id`,`data` FROM `items_main_data` WHERE `items_id` = "' . $i['id'] . '" LIMIT 1')); + $d = mysql_fetch_array( + mysql_query( + 'SELECT `id`,`items_id`,`data` FROM `items_main_data` WHERE `items_id` = "' . $i['id'] . '" LIMIT 1' + ) + ); $this->info['money3'] -= $price; - $upd = mysql_query('UPDATE `users` SET `money3` = "' . mysql_real_escape_string($this->info['money3']) . '" WHERE `id` = "' . $this->info['id'] . '" LIMIT 1'); + $upd = mysql_query( + 'UPDATE `users` SET `money3` = "' . mysql_real_escape_string( + $this->info['money3'] + ) . '" WHERE `id` = "' . $this->info['id'] . '" LIMIT 1' + ); if ($upd) { // $data = ''; @@ -2290,22 +2637,34 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` if ($i['iznos'] > 0) { $i['iznosMAXi'] = $i['iznos']; } - $ins = mysql_query('INSERT INTO `items_users` (`1price`,`2price`,`overType`,`item_id`,`uid`,`data`,`iznosMAX`,`geniration`,`magic_inc`,`maidin`,`lastUPD`,`time_create`) VALUES ( + $ins = mysql_query( + 'INSERT INTO `items_users` (`1price`,`2price`,`overType`,`item_id`,`uid`,`data`,`iznosMAX`,`geniration`,`magic_inc`,`maidin`,`lastUPD`,`time_create`) VALUES ( "1", "1", "' . $i['overType'] . '", "' . $i['item_id'] . '", "' . $this->info['id'] . '", - "' . str_replace('sudba=0', '', $data) . '|sudba=' . $this->info['login'] . '|frombax=1|fromshop=' . $sid . '", + "' . str_replace( + 'sudba=0', '', $data + ) . '|sudba=' . $this->info['login'] . '|frombax=1|fromshop=' . $sid . '", "' . $i['iznosMAXi'] . '", "' . $i['geniration'] . '", "' . $i['magic_inc'] . '", "' . $this->info['city'] . '", "' . time() . '", - "' . time() . '")'); + "' . time() . '")' + ); } else { - mysql_query('DELETE FROM `obraz` WHERE `uid` = "' . $this->info['id'] . '" AND `sex` = "' . $i['sex'] . '" AND `img` = "' . str_replace('.png', '.gif', $i['img']) . '" LIMIT 1'); - $ins = mysql_query('INSERT INTO `obraz` (`sex`,`img`,`level`,`uid`,`usr_add`) VALUES ("' . $i['sex'] . '","' . str_replace('.png', '.gif', $i['img']) . '","' . $i['level'] . '","' . $this->info['id'] . '","' . time() . '")'); + mysql_query( + 'DELETE FROM `obraz` WHERE `uid` = "' . $this->info['id'] . '" AND `sex` = "' . $i['sex'] . '" AND `img` = "' . str_replace( + '.png', '.gif', $i['img'] + ) . '" LIMIT 1' + ); + $ins = mysql_query( + 'INSERT INTO `obraz` (`sex`,`img`,`level`,`uid`,`usr_add`) VALUES ("' . $i['sex'] . '","' . str_replace( + '.png', '.gif', $i['img'] + ) . '","' . $i['level'] . '","' . $this->info['id'] . '","' . time() . '")' + ); } if ($ins) { $gix++; @@ -2322,21 +2681,35 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` $j = 0; while ($j < count($detrn)) { $ost = ((int)$detrn[$j][1]); - $s4 = mysql_query('SELECT `id`,`item_id`,`1price`,`2price`,`3price`,`uid`,`use_text`,`data`,`inOdet`,`inShop`,`delete`,`iznosNOW`,`iznosMAX`,`gift`,`gtxt1`,`gtxt2`,`kolvo`,`geniration`,`magic_inc`,`maidin`,`lastUPD`,`timeOver`,`overType`,`secret_id`,`time_create`,`inGroup`,`dn_delete`,`inTransfer`,`post_delivery`,`lbtl_`,`bexp`,`so`,`blvl` FROM `items_users` WHERE `item_id` = "' . ((int)$detrn[$j][0]) . '" AND `uid` = "' . $this->info['id'] . '" AND (`delete` = "0" OR `delete` = "1000") AND `inShop` = "0" AND `inOdet` = "0" ORDER BY `inGroup` DESC LIMIT ' . ((int)$detrn[$j][1]) . ''); + $s4 = mysql_query( + 'SELECT `id`,`item_id`,`1price`,`2price`,`3price`,`uid`,`use_text`,`data`,`inOdet`,`inShop`,`delete`,`iznosNOW`,`iznosMAX`,`gift`,`gtxt1`,`gtxt2`,`kolvo`,`geniration`,`magic_inc`,`maidin`,`lastUPD`,`timeOver`,`overType`,`secret_id`,`time_create`,`inGroup`,`dn_delete`,`inTransfer`,`post_delivery`,`lbtl_`,`bexp`,`so`,`blvl` FROM `items_users` WHERE `item_id` = "' . ((int)$detrn[$j][0]) . '" AND `uid` = "' . $this->info['id'] . '" AND (`delete` = "0" OR `delete` = "1000") AND `inShop` = "0" AND `inOdet` = "0" ORDER BY `inGroup` DESC LIMIT ' . ((int)$detrn[$j][1]) . '' + ); while ($itm = mysql_fetch_array($s4)) { // - mysql_query('UPDATE `items_users` SET `delete` = "' . time() . '" WHERE `id` = "' . $itm['id'] . '" LIMIT 1'); + mysql_query( + 'UPDATE `items_users` SET `delete` = "' . time( + ) . '" WHERE `id` = "' . $itm['id'] . '" LIMIT 1' + ); } $j++; } - //mysql_query("INSERT INTO `chat` (`new`,`city`,`room`,`login`,`to`,`text`,`time`,`type`,`toChat`) VALUES ('1','capitalcity','0','','',' ! ".$this->info['login']." "".$i['name']."" , !','-1','5','0')"); - mysql_query('UPDATE `items_shop` SET `kolvo` = "' . ($i['kolvo'] - $x) . '" WHERE `iid` = "' . $i['iid'] . '" LIMIT 1'); - $ld = $this->addDelo(1, $this->info['id'], '"Shop.' . $this->info['city'] . '": "' . $i['name'] . '" (x' . $x . ') [#' . $i['iid'] . '] ' . $price . ' $', time(), $this->info['city'], 'Shop.' . $this->info['city'] . '', (int)$price, 0); + mysql_query( + 'UPDATE `items_shop` SET `kolvo` = "' . ($i['kolvo'] - $x) . '" WHERE `iid` = "' . $i['iid'] . '" LIMIT 1' + ); + $ld = $this->addDelo( + 1, $this->info['id'], + '"Shop.' . $this->info['city'] . '": "' . $i['name'] . '" (x' . $x . ') [#' . $i['iid'] . '] ' . $price . ' $', + time(), $this->info['city'], 'Shop.' . $this->info['city'] . '', (int)$price, 0 + ); } else { // $r = ' "' . $i['name'] . '". "' . $this->city_name[$this->info['city']] . '" ' . $price . ' $
    .'; - $ld = $this->addDelo(1, $this->info['id'], '"Shop.' . $this->info['city'] . '": #' . $i['iid'] . '. : ' . $price . ' $ ', time(), $this->info['city'], 'Shop.' . $this->info['city'] . '', (int)$price, 0); + $ld = $this->addDelo( + 1, $this->info['id'], + '"Shop.' . $this->info['city'] . '": #' . $i['iid'] . '. : ' . $price . ' $ ', + time(), $this->info['city'], 'Shop.' . $this->info['city'] . '', (int)$price, 0 + ); if (!$ld) { echo '
    , /db/usersDelo/!
    '; } @@ -2355,28 +2728,30 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` if ($i['price_1'] <= 0) { $i['price_1'] = $i['price1']; } - if ($vip == true) { + if ($vip) { $i['price_2'] = round($i['price_2'] / 20, 2); } // 5% - if ($this->stats['silver'] >= 1) { - if ($sid == 2) { - $i['price_1'] = round($i['price_1'] / 100 * 95, 2); - } + if ($this->stats['silver'] >= 1 && $sid == 2) { + $i['price_1'] = round($i['price_1'] / 100 * 95, 2); } // 5% - if ($this->stats['silver'] >= 5) { - if ($sid == 2) { - $i['price_2'] = round($i['price_2'] / 100 * 95, 2); - } + if ($this->stats['silver'] >= 5 && $sid == 2) { + $i['price_2'] = round($i['price_2'] / 100 * 95, 2); } $price = $i['price_2'] * $x; $mxby = 0; if ($i['max_buy'] > 0) { - $mxby = mysql_fetch_array(mysql_query('SELECT COUNT(`id`) FROM `items_users` WHERE ( `delete` = "0" OR `delete` = "1000" ) AND `item_id` = "' . mysql_real_escape_string($itm) . '" AND `uid` = "' . $this->info['id'] . '" LIMIT ' . $i['max_buy'])); + $mxby = mysql_fetch_array( + mysql_query( + 'SELECT COUNT(`id`) FROM `items_users` WHERE ( `delete` = "0" OR `delete` = "1000" ) AND `item_id` = "' . mysql_real_escape_string( + $itm + ) . '" AND `uid` = "' . $this->info['id'] . '" LIMIT ' . $i['max_buy'] + ) + ); if ($mxby[0] >= $i['max_buy']) { $mxby = -1; } @@ -2389,17 +2764,29 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` } elseif ($i['price_2'] * $x > $this->info['money2']) { $r = ' ( ' . ($price - $this->info['money2']) . ' .)'; } else { - $d = mysql_fetch_array(mysql_query('SELECT `id`,`items_id`,`data` FROM `items_main_data` WHERE `items_id` = "' . $i['id'] . '" LIMIT 1')); + $d = mysql_fetch_array( + mysql_query( + 'SELECT `id`,`items_id`,`data` FROM `items_main_data` WHERE `items_id` = "' . $i['id'] . '" LIMIT 1' + ) + ); $this->info['money2'] -= $price; - $upd = mysql_query('UPDATE `users` SET `money2` = "' . mysql_real_escape_string(round($this->info['money2'], 2)) . '" WHERE `id` = "' . $this->info['id'] . '" LIMIT 1'); + $upd = mysql_query( + 'UPDATE `users` SET `money2` = "' . mysql_real_escape_string( + round($this->info['money2'], 2) + ) . '" WHERE `id` = "' . $this->info['id'] . '" LIMIT 1' + ); if ($upd) { $this->info['frg'] += $price; - mysql_query('UPDATE `users` SET `frg` = "' . floor($this->info['frg']) . '" WHERE `id` = "' . $this->info['id'] . '" LIMIT 1'); + mysql_query( + 'UPDATE `users` SET `frg` = "' . floor( + $this->info['frg'] + ) . '" WHERE `id` = "' . $this->info['id'] . '" LIMIT 1' + ); // $data = ''; $data .= $d['data']; $i['time_create'] = time(); - if ($vip == true) { + if ($vip) { $i['time_create'] = $this->stats['slvtm']; $mdata .= '|vip_sale=1|sudba=' . $this->info['login'] . ''; $data = str_replace('sudba=0', '', $data); @@ -2415,7 +2802,8 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` if ($i['iznos'] > 0) { $i['iznosMAXi'] = $i['iznos']; } - $ins = mysql_query('INSERT INTO `items_users` (`1price`,`2price`,`overType`,`item_id`,`uid`,`data`,`iznosMAX`,`geniration`,`magic_inc`,`maidin`,`lastUPD`,`time_create`) VALUES ( + $ins = mysql_query( + 'INSERT INTO `items_users` (`1price`,`2price`,`overType`,`item_id`,`uid`,`data`,`iznosMAX`,`geniration`,`magic_inc`,`maidin`,`lastUPD`,`time_create`) VALUES ( "' . ($i['price_1'] / 2) . '", "' . $i['price_2'] . '", "' . $i['overType'] . '", @@ -2427,10 +2815,19 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` "' . $i['magic_inc'] . '", "' . $this->info['city'] . '", "' . time() . '", - "' . $i['time_create'] . '")'); + "' . $i['time_create'] . '")' + ); } else { - mysql_query('DELETE FROM `obraz` WHERE `uid` = "' . $this->info['id'] . '" AND `sex` = "' . $i['sex'] . '" AND `img` = "' . str_replace('.png', '.gif', $i['img']) . '" LIMIT 1'); - $ins = mysql_query('INSERT INTO `obraz` (`sex`,`img`,`level`,`uid`,`usr_add`) VALUES ("' . $i['sex'] . '","' . str_replace('.png', '.gif', $i['img']) . '","' . $i['level'] . '","' . $this->info['id'] . '","' . time() . '")'); + mysql_query( + 'DELETE FROM `obraz` WHERE `uid` = "' . $this->info['id'] . '" AND `sex` = "' . $i['sex'] . '" AND `img` = "' . str_replace( + '.png', '.gif', $i['img'] + ) . '" LIMIT 1' + ); + $ins = mysql_query( + 'INSERT INTO `obraz` (`sex`,`img`,`level`,`uid`,`usr_add`) VALUES ("' . $i['sex'] . '","' . str_replace( + '.png', '.gif', $i['img'] + ) . '","' . $i['level'] . '","' . $this->info['id'] . '","' . time() . '")' + ); } if ($ins) { $gix++; @@ -2440,12 +2837,22 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` if ($ins) { // $r = ' "' . $i['name'] . '" (x' . $x . ' / ' . $gix . ') ' . $price . ' .
    .'; - mysql_query('UPDATE `items_shop` SET `kolvo` = "' . ($i['kolvo'] - $x) . '" WHERE `iid` = "' . $i['iid'] . '" LIMIT 1'); - $ld = $this->addDelo(1, $this->info['id'], '"EkrShop.' . $this->info['city'] . '": "' . $i['name'] . '" (x' . $x . ',add items ' . $gix . ') [#' . $i['iid'] . '] ' . $price . ' .', time(), $this->info['city'], 'EkrShop.' . $this->info['city'] . '', (int)$price, 0); + mysql_query( + 'UPDATE `items_shop` SET `kolvo` = "' . ($i['kolvo'] - $x) . '" WHERE `iid` = "' . $i['iid'] . '" LIMIT 1' + ); + $ld = $this->addDelo( + 1, $this->info['id'], + '"EkrShop.' . $this->info['city'] . '": "' . $i['name'] . '" (x' . $x . ',add items ' . $gix . ') [#' . $i['iid'] . '] ' . $price . ' .', + time(), $this->info['city'], 'EkrShop.' . $this->info['city'] . '', (int)$price, 0 + ); } else { // $r = ' "' . $i['name'] . '". "' . $this->city_name[$this->info['city']] . '" ' . $price . ' .
    .'; - $ld = $this->addDelo(1, $this->info['id'], '"EkrShop.' . $this->info['city'] . '": #' . $i['iid'] . '. : ' . $price . ' .', time(), $this->info['city'], 'EkrShop.' . $this->info['city'] . '', 0, 0); + $ld = $this->addDelo( + 1, $this->info['id'], + '"EkrShop.' . $this->info['city'] . '": #' . $i['iid'] . '. : ' . $price . ' .', + time(), $this->info['city'], 'EkrShop.' . $this->info['city'] . '', 0, 0 + ); if (!$ld) { echo '
    , /db/usersDelo/!
    '; } @@ -2455,10 +2862,18 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` } } } elseif (($sid >= 700 && $sid <= 730) /*OR ( $sid >= 800 && $sid <=805 )*/) { // nalpva2.php , , . - if ($i['kolvo'] < $x) $x = $i['kolvo']; - if ($x < 1) $x = 1; - if ($i['price_1'] <= 0 && $i['tr_items'] == '') $i['price_1'] = $i['price1']; - if ($i['price_2'] <= 0 && $i['tr_items'] == '') $i['price_2'] = $i['price2']; + if ($i['kolvo'] < $x) { + $x = $i['kolvo']; + } + if ($x < 1) { + $x = 1; + } + if ($i['price_1'] <= 0 && $i['tr_items'] == '') { + $i['price_1'] = $i['price1']; + } + if ($i['price_2'] <= 0 && $i['tr_items'] == '') { + $i['price_2'] = $i['price2']; + } $price = $i['price_1'] * $x; $trnt = ''; @@ -2470,10 +2885,16 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` while ($j < count($tims2)) { $tims = explode('=', $tims2[$j]); if ($tims[0] > 0 && $tims[1] > 0) { - $tis = mysql_fetch_array(mysql_query('SELECT `id`,`name`,`img`,`type`,`inslot`,`2h`,`2too`,`iznosMAXi`,`inRazdel`,`price1`,`price2`,`price3`,`magic_chance`,`info`,`massa`,`level`,`magic_inci`,`overTypei`,`group`,`group_max`,`geni`,`ts`,`srok`,`class`,`class_point`,`anti_class`,`anti_class_point`,`max_text`,`useInBattle`,`lbtl`,`lvl_itm`,`lvl_exp`,`lvl_aexp` FROM `items_main` WHERE `id` = "' . $tims[0] . '" LIMIT 1')); + $tis = mysql_fetch_array( + mysql_query( + 'SELECT `id`,`name`,`img`,`type`,`inslot`,`2h`,`2too`,`iznosMAXi`,`inRazdel`,`price1`,`price2`,`price3`,`magic_chance`,`info`,`massa`,`level`,`magic_inci`,`overTypei`,`group`,`group_max`,`geni`,`ts`,`srok`,`class`,`class_point`,`anti_class`,`anti_class_point`,`max_text`,`useInBattle`,`lbtl`,`lvl_itm`,`lvl_exp`,`lvl_aexp` FROM `items_main` WHERE `id` = "' . $tims[0] . '" LIMIT 1' + ) + ); if (isset($tis['id'])) { $num_rows = 0; - $s1p = mysql_query('SELECT `id`,`item_id`,`1price`,`2price`,`3price`,`uid`,`use_text`,`data`,`inOdet`,`inShop`,`delete`,`iznosNOW`,`iznosMAX`,`gift`,`gtxt1`,`gtxt2`,`kolvo`,`geniration`,`magic_inc`,`maidin`,`lastUPD`,`timeOver`,`overType`,`secret_id`,`time_create`,`inGroup`,`dn_delete`,`inTransfer`,`post_delivery`,`lbtl_`,`bexp`,`so`,`blvl` FROM `items_users` WHERE `item_id` = "' . ((int)$tims[0]) . '" AND `uid` = "' . $this->info['id'] . '" AND (`delete` = "0" OR `delete` = "1000") AND `inShop` = "0" AND `inOdet` = "0" LIMIT ' . ((int)$tims[1] * $x) . ''); + $s1p = mysql_query( + 'SELECT `id`,`item_id`,`1price`,`2price`,`3price`,`uid`,`use_text`,`data`,`inOdet`,`inShop`,`delete`,`iznosNOW`,`iznosMAX`,`gift`,`gtxt1`,`gtxt2`,`kolvo`,`geniration`,`magic_inc`,`maidin`,`lastUPD`,`timeOver`,`overType`,`secret_id`,`time_create`,`inGroup`,`dn_delete`,`inTransfer`,`post_delivery`,`lbtl_`,`bexp`,`so`,`blvl` FROM `items_users` WHERE `item_id` = "' . ((int)$tims[0]) . '" AND `uid` = "' . $this->info['id'] . '" AND (`delete` = "0" OR `delete` = "1000") AND `inShop` = "0" AND `inOdet` = "0" LIMIT ' . ((int)$tims[1] * $x) . '' + ); while ($p1l = mysql_fetch_array($s1p)) { $num_rows++; } @@ -2489,7 +2910,7 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` } $trnt = rtrim($trnt, ', '); } - if ($c['noitembuy'] == true) { + if (Config::get('noitembuy')) { $trn = 1; } @@ -2501,11 +2922,19 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` $need_rep++; } } - } else $need_rep = 0; + } else { + $need_rep = 0; + } $mxby = 0; if ($i['max_buy'] > 0) { - $mxby = mysql_fetch_array(mysql_query('SELECT COUNT(`id`) FROM `items_users` WHERE ( `delete` = "0" OR `delete` = "1000" ) AND `item_id` = "' . mysql_real_escape_string($itm) . '" AND `uid` = "' . $this->info['id'] . '" LIMIT ' . $i['max_buy'])); + $mxby = mysql_fetch_array( + mysql_query( + 'SELECT COUNT(`id`) FROM `items_users` WHERE ( `delete` = "0" OR `delete` = "1000" ) AND `item_id` = "' . mysql_real_escape_string( + $itm + ) . '" AND `uid` = "' . $this->info['id'] . '" LIMIT ' . $i['max_buy'] + ) + ); if ($mxby[0] >= $i['max_buy']) { $mxby = -1; } @@ -2524,11 +2953,21 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` } elseif ($i['price_1'] * $x > $this->info['money'] && $zuby == 0) { $r = ' ( ' . ($price - $this->info['money']) . ' .)'; } else { - $d = mysql_fetch_array(mysql_query('SELECT `id`,`items_id`,`data` FROM `items_main_data` WHERE `items_id` = "' . $i['id'] . '" LIMIT 1')); + $d = mysql_fetch_array( + mysql_query( + 'SELECT `id`,`items_id`,`data` FROM `items_main_data` WHERE `items_id` = "' . $i['id'] . '" LIMIT 1' + ) + ); if ($zuby == 0) { $this->info['money'] -= $price; } - $upd = mysql_query('UPDATE `users` SET `money` = "' . mysql_real_escape_string(round($this->info['money'], 2)) . '",`money4` = "' . mysql_real_escape_string(round($this->info['money4'], 2)) . '" WHERE `id` = "' . $this->info['id'] . '" LIMIT 1'); + $upd = mysql_query( + 'UPDATE `users` SET `money` = "' . mysql_real_escape_string( + round($this->info['money'], 2) + ) . '",`money4` = "' . mysql_real_escape_string( + round($this->info['money4'], 2) + ) . '" WHERE `id` = "' . $this->info['id'] . '" LIMIT 1' + ); if ($upd) { // $data = ''; @@ -2540,48 +2979,96 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` $c_itm = 0; $c_itm_data_a = []; while ($j < count($detrn)) { - $itm = mysql_fetch_array(mysql_query('SELECT `id`,`item_id`,`1price`,`2price`,`3price`,`uid`,`use_text`,`data`,`inOdet`,`inShop`,`delete`,`iznosNOW`,`iznosMAX`,`gift`,`gtxt1`,`gtxt2`,`kolvo`,`geniration`,`magic_inc`,`maidin`,`lastUPD`,`timeOver`,`overType`,`secret_id`,`time_create`,`inGroup`,`dn_delete`,`inTransfer`,`post_delivery`,`lbtl_`,`bexp`,`so`,`blvl` FROM `items_users` WHERE `item_id` = "' . ((int)$detrn[$j][0]) . '" AND `uid` = "' . $this->info['id'] . '" AND (`delete` = "0") AND `inShop` = "0" ORDER BY `inGroup` DESC LIMIT 1')); + $itm = mysql_fetch_array( + mysql_query( + 'SELECT `id`,`item_id`,`1price`,`2price`,`3price`,`uid`,`use_text`,`data`,`inOdet`,`inShop`,`delete`,`iznosNOW`,`iznosMAX`,`gift`,`gtxt1`,`gtxt2`,`kolvo`,`geniration`,`magic_inc`,`maidin`,`lastUPD`,`timeOver`,`overType`,`secret_id`,`time_create`,`inGroup`,`dn_delete`,`inTransfer`,`post_delivery`,`lbtl_`,`bexp`,`so`,`blvl` FROM `items_users` WHERE `item_id` = "' . ((int)$detrn[$j][0]) . '" AND `uid` = "' . $this->info['id'] . '" AND (`delete` = "0") AND `inShop` = "0" ORDER BY `inGroup` DESC LIMIT 1' + ) + ); if (isset($itm['data']) && $itm['data'] != '' && $c_itm == 0) { $po = $this->lookStats($itm['data']); if (isset($po['sudba'])) { - if (isset($po['sudba'])) $c_itm_data_a['sudba'] = $po['sudba']; + if (isset($po['sudba'])) { + $c_itm_data_a['sudba'] = $po['sudba']; + } } if (isset($po['gravi']) && $po['gravi'] != '') { - if (isset($po['gravi'])) $c_itm_data_a['gravi'] = $po['gravi']; - if (isset($po['gravic'])) $c_itm_data_a['gravic'] = $po['gravic']; + if (isset($po['gravi'])) { + $c_itm_data_a['gravi'] = $po['gravi']; + } + if (isset($po['gravic'])) { + $c_itm_data_a['gravic'] = $po['gravic']; + } $c_itm++; } if (isset($po['imposed_id']) && $po['imposed_id'] > 0) { - if (isset($po['imposed'])) $c_itm_data_a['imposed'] = $po['imposed']; - if (isset($po['imposed_id'])) $c_itm_data_a['imposed_id'] = $po['imposed_id']; - if (isset($po['imposed_name'])) $c_itm_data_a['imposed_name'] = $po['imposed_name']; - if (isset($po['imposed_level'])) $c_itm_data_a['imposed_level'] = $po['imposed_level']; - if (isset($po['bm_a1'])) $c_itm_data_a['bm_a1'] = $po['bm_a1']; + if (isset($po['imposed'])) { + $c_itm_data_a['imposed'] = $po['imposed']; + } + if (isset($po['imposed_id'])) { + $c_itm_data_a['imposed_id'] = $po['imposed_id']; + } + if (isset($po['imposed_name'])) { + $c_itm_data_a['imposed_name'] = $po['imposed_name']; + } + if (isset($po['imposed_level'])) { + $c_itm_data_a['imposed_level'] = $po['imposed_level']; + } + if (isset($po['bm_a1'])) { + $c_itm_data_a['bm_a1'] = $po['bm_a1']; + } $c_itm++; } if (isset($po['spell_id']) && $po['spell_id'] > 0) { - if (isset($po['spell'])) $c_itm_data_a['spell'] = $po['spell']; - if (isset($po['spell_id'])) $c_itm_data_a['spell_id'] = $po['spell_id']; - if (isset($po['spell_name'])) $c_itm_data_a['spell_name'] = $po['spell_name']; - if (isset($po['spell_lvl'])) $c_itm_data_a['spell_lvl'] = $po['spell_lvl']; - if (isset($po['spell_st_name'])) $c_itm_data_a['spell_st_name'] = $po['spell_st_name']; - if (isset($po['spell_st_val'])) $c_itm_data_a['spell_st_val'] = $po['spell_st_val']; + if (isset($po['spell'])) { + $c_itm_data_a['spell'] = $po['spell']; + } + if (isset($po['spell_id'])) { + $c_itm_data_a['spell_id'] = $po['spell_id']; + } + if (isset($po['spell_name'])) { + $c_itm_data_a['spell_name'] = $po['spell_name']; + } + if (isset($po['spell_lvl'])) { + $c_itm_data_a['spell_lvl'] = $po['spell_lvl']; + } + if (isset($po['spell_st_name'])) { + $c_itm_data_a['spell_st_name'] = $po['spell_st_name']; + } + if (isset($po['spell_st_val'])) { + $c_itm_data_a['spell_st_val'] = $po['spell_st_val']; + } $c_itm++; } if (isset($po['rune_id']) && $po['rune_id'] > 0) { - if (isset($po['rune'])) $c_itm_data_a['rune'] = $po['rune']; - if (isset($po['rune_id'])) $c_itm_data_a['rune_id'] = $po['rune_id']; - if (isset($po['rune_name'])) $c_itm_data_a['rune_name'] = $po['rune_name']; - if (isset($po['rune_lvl'])) $c_itm_data_a['rune_lvl'] = $po['rune_lvl']; + if (isset($po['rune'])) { + $c_itm_data_a['rune'] = $po['rune']; + } + if (isset($po['rune_id'])) { + $c_itm_data_a['rune_id'] = $po['rune_id']; + } + if (isset($po['rune_name'])) { + $c_itm_data_a['rune_name'] = $po['rune_name']; + } + if (isset($po['rune_lvl'])) { + $c_itm_data_a['rune_lvl'] = $po['rune_lvl']; + } $c_itm++; } if (isset($po['upatack_id']) && $po['upatack_id'] > 0) { - if (isset($po['upatack'])) $c_itm_data_a['upatack'] = $po['upatack']; - if (isset($po['upatack_id'])) $c_itm_data_a['upatack_id'] = $po['upatack_id']; - if (isset($po['upatack_name'])) $c_itm_data_a['upatack_name'] = $po['upatack_name']; - if (isset($po['upatack_lvl'])) $c_itm_data_a['upatack_lvl'] = $po['upatack_lvl']; + if (isset($po['upatack'])) { + $c_itm_data_a['upatack'] = $po['upatack']; + } + if (isset($po['upatack_id'])) { + $c_itm_data_a['upatack_id'] = $po['upatack_id']; + } + if (isset($po['upatack_name'])) { + $c_itm_data_a['upatack_name'] = $po['upatack_name']; + } + if (isset($po['upatack_lvl'])) { + $c_itm_data_a['upatack_lvl'] = $po['upatack_lvl']; + } $c_itm++; } } @@ -2596,7 +3083,11 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` // if (isset($c_itm_data_a['rune']) && $c_itm_data_a['rune'] > 0) { - $ritm = mysql_fetch_array(mysql_query('SELECT * FROM `items_main_data` WHERE `items_id` = "' . $c_itm_data_a['rune_id'] . '" LIMIT 1')); + $ritm = mysql_fetch_array( + mysql_query( + 'SELECT * FROM `items_main_data` WHERE `items_id` = "' . $c_itm_data_a['rune_id'] . '" LIMIT 1' + ) + ); $j = 0; $data_r = $this->lookStats($ritm['data']); while ($j < count($this->items['add'])) { @@ -2625,7 +3116,8 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` // $i['price_2'] = 0; // - $ins = mysql_query('INSERT INTO `items_users` (`1price`,`2price`,`gift`,`overType`,`item_id`,`uid`,`data`,`iznosMAX`,`geniration`,`magic_inc`,`maidin`,`lastUPD`,`time_create`) VALUES ( + $ins = mysql_query( + 'INSERT INTO `items_users` (`1price`,`2price`,`gift`,`overType`,`item_id`,`uid`,`data`,`iznosMAX`,`geniration`,`magic_inc`,`maidin`,`lastUPD`,`time_create`) VALUES ( "' . $i['price_1'] . '", "' . $i['price_2'] . '", "' . $i['gift'] . '", @@ -2638,10 +3130,19 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` "' . $i['magic_inc'] . '", "' . $this->info['city'] . '", "' . time() . '", - "' . time() . '")'); + "' . time() . '")' + ); } else { - mysql_query('DELETE FROM `obraz` WHERE `uid` = "' . $this->info['id'] . '" AND `sex` = "' . $i['sex'] . '" AND `img` = "' . str_replace('.png', '.gif', $i['img']) . '" LIMIT 1'); - $ins = mysql_query('INSERT INTO `obraz` (`sex`,`img`,`level`,`uid`,`usr_add`) VALUES ("' . $i['sex'] . '","' . str_replace('.png', '.gif', $i['img']) . '","' . $i['level'] . '","' . $this->info['id'] . '","' . time() . '")'); + mysql_query( + 'DELETE FROM `obraz` WHERE `uid` = "' . $this->info['id'] . '" AND `sex` = "' . $i['sex'] . '" AND `img` = "' . str_replace( + '.png', '.gif', $i['img'] + ) . '" LIMIT 1' + ); + $ins = mysql_query( + 'INSERT INTO `obraz` (`sex`,`img`,`level`,`uid`,`usr_add`) VALUES ("' . $i['sex'] . '","' . str_replace( + '.png', '.gif', $i['img'] + ) . '","' . $i['level'] . '","' . $this->info['id'] . '","' . time() . '")' + ); } if ($ins) { $gix++; @@ -2657,26 +3158,43 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` if ($zuby == 0) { $r = ' "' . $i['name'] . '" (x' . $x . ' / ' . $gix . ') ' . $price . ' . ' . $trnt . '
    .'; } else { - $r = ' "' . $i['name'] . '" (x' . $x . ' / ' . $gix . ') ' . $this->zuby($price) . '. ' . $trnt . '
    .'; + $r = ' "' . $i['name'] . '" (x' . $x . ' / ' . $gix . ') ' . $this->zuby( + $price + ) . '. ' . $trnt . '
    .'; } $j = 0; while ($j < count($detrn)) { $ost = ((int)$detrn[$j][1]); - $s4 = mysql_query('SELECT `id`,`item_id`,`1price`,`2price`,`3price`,`uid`,`use_text`,`data`,`inOdet`,`inShop`,`delete`,`iznosNOW`,`iznosMAX`,`gift`,`gtxt1`,`gtxt2`,`kolvo`,`geniration`,`magic_inc`,`maidin`,`lastUPD`,`timeOver`,`overType`,`secret_id`,`time_create`,`inGroup`,`dn_delete`,`inTransfer`,`post_delivery`,`lbtl_`,`bexp`,`so`,`blvl` FROM `items_users` WHERE `item_id` = "' . ((int)$detrn[$j][0]) . '" AND `uid` = "' . $this->info['id'] . '" AND (`delete` = "0" OR `delete` = "1000") AND `inShop` = "0" AND `inOdet` = "0" ORDER BY `inGroup` DESC LIMIT ' . ((int)$detrn[$j][1]) . ''); + $s4 = mysql_query( + 'SELECT `id`,`item_id`,`1price`,`2price`,`3price`,`uid`,`use_text`,`data`,`inOdet`,`inShop`,`delete`,`iznosNOW`,`iznosMAX`,`gift`,`gtxt1`,`gtxt2`,`kolvo`,`geniration`,`magic_inc`,`maidin`,`lastUPD`,`timeOver`,`overType`,`secret_id`,`time_create`,`inGroup`,`dn_delete`,`inTransfer`,`post_delivery`,`lbtl_`,`bexp`,`so`,`blvl` FROM `items_users` WHERE `item_id` = "' . ((int)$detrn[$j][0]) . '" AND `uid` = "' . $this->info['id'] . '" AND (`delete` = "0" OR `delete` = "1000") AND `inShop` = "0" AND `inOdet` = "0" ORDER BY `inGroup` DESC LIMIT ' . ((int)$detrn[$j][1]) . '' + ); while ($itm = mysql_fetch_array($s4)) { // - mysql_query('UPDATE `items_users` SET `delete` = "' . time() . '" WHERE `id` = "' . $itm['id'] . '" LIMIT 1'); + mysql_query( + 'UPDATE `items_users` SET `delete` = "' . time( + ) . '" WHERE `id` = "' . $itm['id'] . '" LIMIT 1' + ); } $j++; } - mysql_query('UPDATE `items_shop` SET `kolvo` = "' . ($i['kolvo'] - $x) . '" WHERE `iid` = "' . $i['iid'] . '" LIMIT 1'); - $ld = $this->addDelo(1, $this->info['id'], '"Shop.' . $this->info['city'] . '": "' . $i['name'] . '" (x' . $x . ') [#' . $i['iid'] . '] ' . $price . ' .', time(), $this->info['city'], 'Shop.' . $this->info['city'] . '', (int)$price, 0); + mysql_query( + 'UPDATE `items_shop` SET `kolvo` = "' . ($i['kolvo'] - $x) . '" WHERE `iid` = "' . $i['iid'] . '" LIMIT 1' + ); + $ld = $this->addDelo( + 1, $this->info['id'], + '"Shop.' . $this->info['city'] . '": "' . $i['name'] . '" (x' . $x . ') [#' . $i['iid'] . '] ' . $price . ' .', + time(), $this->info['city'], 'Shop.' . $this->info['city'] . '', (int)$price, 0 + ); } else { // $r = ' "' . $i['name'] . '". "' . $this->city_name[$this->info['city']] . '" ' . $price . ' .
    .'; - $ld = $this->addDelo(1, $this->info['id'], '"Shop.' . $this->info['city'] . '": #' . $i['iid'] . '. : ' . $price . ' .', time(), $this->info['city'], 'Shop.' . $this->info['city'] . '', (int)$price, 0); + $ld = $this->addDelo( + 1, $this->info['id'], + '"Shop.' . $this->info['city'] . '": #' . $i['iid'] . '. : ' . $price . ' .', + time(), $this->info['city'], 'Shop.' . $this->info['city'] . '', (int)$price, 0 + ); if (!$ld) { echo '
    , /db/usersDelo/!
    '; } @@ -2720,10 +3238,16 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` while ($j < count($tims2)) { $tims = explode('=', $tims2[$j]); if ($tims[0] > 0 && $tims[1] > 0) { - $tis = mysql_fetch_array(mysql_query('SELECT `id`,`name`,`img`,`type`,`inslot`,`2h`,`2too`,`iznosMAXi`,`inRazdel`,`price1`,`price2`,`price3`,`magic_chance`,`info`,`massa`,`level`,`magic_inci`,`overTypei`,`group`,`group_max`,`geni`,`ts`,`srok`,`class`,`class_point`,`anti_class`,`anti_class_point`,`max_text`,`useInBattle`,`lbtl`,`lvl_itm`,`lvl_exp`,`lvl_aexp` FROM `items_main` WHERE `id` = "' . $tims[0] . '" LIMIT 1')); + $tis = mysql_fetch_array( + mysql_query( + 'SELECT `id`,`name`,`img`,`type`,`inslot`,`2h`,`2too`,`iznosMAXi`,`inRazdel`,`price1`,`price2`,`price3`,`magic_chance`,`info`,`massa`,`level`,`magic_inci`,`overTypei`,`group`,`group_max`,`geni`,`ts`,`srok`,`class`,`class_point`,`anti_class`,`anti_class_point`,`max_text`,`useInBattle`,`lbtl`,`lvl_itm`,`lvl_exp`,`lvl_aexp` FROM `items_main` WHERE `id` = "' . $tims[0] . '" LIMIT 1' + ) + ); if (isset($tis['id'])) { $num_rows = 0; - $s1p = mysql_query('SELECT `id`,`item_id`,`1price`,`2price`,`3price`,`uid`,`use_text`,`data`,`inOdet`,`inShop`,`delete`,`iznosNOW`,`iznosMAX`,`gift`,`gtxt1`,`gtxt2`,`kolvo`,`geniration`,`magic_inc`,`maidin`,`lastUPD`,`timeOver`,`overType`,`secret_id`,`time_create`,`inGroup`,`dn_delete`,`inTransfer`,`post_delivery`,`lbtl_`,`bexp`,`so`,`blvl` FROM `items_users` WHERE `item_id` = "' . ((int)$tims[0]) . '" AND `uid` = "' . $this->info['id'] . '" AND (`delete` = "0" OR `delete` = "1000") AND `inShop` = "0" AND `inOdet` = "0" LIMIT ' . ((int)$tims[1] * $x) . ''); + $s1p = mysql_query( + 'SELECT `id`,`item_id`,`1price`,`2price`,`3price`,`uid`,`use_text`,`data`,`inOdet`,`inShop`,`delete`,`iznosNOW`,`iznosMAX`,`gift`,`gtxt1`,`gtxt2`,`kolvo`,`geniration`,`magic_inc`,`maidin`,`lastUPD`,`timeOver`,`overType`,`secret_id`,`time_create`,`inGroup`,`dn_delete`,`inTransfer`,`post_delivery`,`lbtl_`,`bexp`,`so`,`blvl` FROM `items_users` WHERE `item_id` = "' . ((int)$tims[0]) . '" AND `uid` = "' . $this->info['id'] . '" AND (`delete` = "0" OR `delete` = "1000") AND `inShop` = "0" AND `inOdet` = "0" LIMIT ' . ((int)$tims[1] * $x) . '' + ); while ($p1l = mysql_fetch_array($s1p)) { $num_rows++; } @@ -2739,7 +3263,7 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` } $trnt = rtrim($trnt, ', '); } - if ($c['noitembuy'] == true) { + if (Config::get('noitembuy')) { $trn = 1; } @@ -2751,22 +3275,34 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` $need_rep++; } } - } else unset($need_rep); + } else { + unset($need_rep); + } $mxby = 0; if ($i['max_buy'] > 0) { - $mxby = mysql_fetch_array(mysql_query('SELECT COUNT(`id`) FROM `items_users` WHERE ( `delete` = "0" OR `delete` = "1000" ) AND `item_id` = "' . mysql_real_escape_string($itm) . '" AND `uid` = "' . $this->info['id'] . '" LIMIT ' . $i['max_buy'])); + $mxby = mysql_fetch_array( + mysql_query( + 'SELECT COUNT(`id`) FROM `items_users` WHERE ( `delete` = "0" OR `delete` = "1000" ) AND `item_id` = "' . mysql_real_escape_string( + $itm + ) . '" AND `uid` = "' . $this->info['id'] . '" LIMIT ' . $i['max_buy'] + ) + ); if ($mxby[0] >= $i['max_buy']) { $mxby = -1; } } $zuby = 0; - if (isset($_GET['zuby']) && $i['level'] < 8 && $c['zuby'] == true) { + if (isset($_GET['zuby']) && $i['level'] < 8 && Config::get('zuby') == true) { $zuby = 1; } - $d = mysql_fetch_array(mysql_query('SELECT `id`,`items_id`,`data` FROM `items_main_data` WHERE `items_id` = "' . $i['id'] . '" LIMIT 1')); + $d = mysql_fetch_array( + mysql_query( + 'SELECT `id`,`items_id`,`data` FROM `items_main_data` WHERE `items_id` = "' . $i['id'] . '" LIMIT 1' + ) + ); $po = $this->lookStats($d['data']); if ($zuby == 1 && $po['tr_lvl'] > 7) { @@ -2795,7 +3331,13 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` } else { $this->info['money4'] -= $price; } - $upd = mysql_query('UPDATE `users` SET `money` = "' . mysql_real_escape_string(round($this->info['money'], 2)) . '",`money4` = "' . mysql_real_escape_string(round($this->info['money4'], 2)) . '" WHERE `id` = "' . $this->info['id'] . '" LIMIT 1'); + $upd = mysql_query( + 'UPDATE `users` SET `money` = "' . mysql_real_escape_string( + round($this->info['money'], 2) + ) . '",`money4` = "' . mysql_real_escape_string( + round($this->info['money4'], 2) + ) . '" WHERE `id` = "' . $this->info['id'] . '" LIMIT 1' + ); if ($upd) { // $data = ''; @@ -2826,7 +3368,8 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` // $i['price_2'] = 0; // - $ins = mysql_query('INSERT INTO `items_users` (`1price`,`2price`,`gift`,`overType`,`item_id`,`uid`,`data`,`iznosMAX`,`geniration`,`magic_inc`,`maidin`,`lastUPD`,`time_create`) VALUES ( + $ins = mysql_query( + 'INSERT INTO `items_users` (`1price`,`2price`,`gift`,`overType`,`item_id`,`uid`,`data`,`iznosMAX`,`geniration`,`magic_inc`,`maidin`,`lastUPD`,`time_create`) VALUES ( "' . $i['price_1'] . '", "' . $i['price_2'] . '", "' . $i['gift'] . '", @@ -2839,10 +3382,19 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` "' . $i['magic_inc'] . '", "' . $this->info['city'] . '", "' . time() . '", - "' . time() . '")'); + "' . time() . '")' + ); } else { - mysql_query('DELETE FROM `obraz` WHERE `uid` = "' . $this->info['id'] . '" AND `sex` = "' . $i['sex'] . '" AND `img` = "' . str_replace('.png', '.gif', $i['img']) . '" LIMIT 1'); - $ins = mysql_query('INSERT INTO `obraz` (`sex`,`img`,`level`,`uid`,`usr_add`) VALUES ("' . $i['sex'] . '","' . str_replace('.png', '.gif', $i['img']) . '","' . $i['level'] . '","' . $this->info['id'] . '","' . time() . '")'); + mysql_query( + 'DELETE FROM `obraz` WHERE `uid` = "' . $this->info['id'] . '" AND `sex` = "' . $i['sex'] . '" AND `img` = "' . str_replace( + '.png', '.gif', $i['img'] + ) . '" LIMIT 1' + ); + $ins = mysql_query( + 'INSERT INTO `obraz` (`sex`,`img`,`level`,`uid`,`usr_add`) VALUES ("' . $i['sex'] . '","' . str_replace( + '.png', '.gif', $i['img'] + ) . '","' . $i['level'] . '","' . $this->info['id'] . '","' . time() . '")' + ); } if ($ins) { $gix++; @@ -2858,7 +3410,9 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` if ($zuby == 0) { $r = ' "' . $i['name'] . '" (x' . $x . ' / ' . $gix . ') ' . $price . ' . ' . $trnt . '
    .'; } else { - $r = ' "' . $i['name'] . '" (x' . $x . ' / ' . $gix . ') ' . $this->zuby($price) . '. ' . $trnt . '
    .'; + $r = ' "' . $i['name'] . '" (x' . $x . ' / ' . $gix . ') ' . $this->zuby( + $price + ) . '. ' . $trnt . '
    .'; } $zx = 0; @@ -2866,7 +3420,7 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` while ($zx < $x) { if (($sid == 1 || $sid == 5) && $i['level'] >= 4 && round($price / $x) > 25) { - if ($this->stats['shopSale'] == 0 && $c['nosanich'] == false) { + if ($this->stats['shopSale'] == 0 && !Config::get('nosanich')) { // $prmn = 0; // $prmn = (1 - (pow(0.5, ($price / $x / 200)))) * 100; @@ -2882,9 +3436,6 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` if ($gitm == 3193) { $gitm = 3194; } - if ($sid == 5) { - // - } $this->addItem($gitm, $this->info['id']); $rs++; } @@ -2915,25 +3466,40 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` $j = 0; while ($j < count($detrn)) { $ost = ((int)$detrn[$j][1]); - $s4 = mysql_query('SELECT `id`,`item_id`,`1price`,`2price`,`3price`,`uid`,`use_text`,`data`,`inOdet`,`inShop`,`delete`,`iznosNOW`,`iznosMAX`,`gift`,`gtxt1`,`gtxt2`,`kolvo`,`geniration`,`magic_inc`,`maidin`,`lastUPD`,`timeOver`,`overType`,`secret_id`,`time_create`,`inGroup`,`dn_delete`,`inTransfer`,`post_delivery`,`lbtl_`,`bexp`,`so`,`blvl` FROM `items_users` WHERE `item_id` = "' . ((int)$detrn[$j][0]) . '" AND `uid` = "' . $this->info['id'] . '" AND (`delete` = "0" OR `delete` = "1000") AND `inShop` = "0" AND `inOdet` = "0" ORDER BY `inGroup` DESC LIMIT ' . ((int)$detrn[$j][1]) . ''); + $s4 = mysql_query( + 'SELECT `id`,`item_id`,`1price`,`2price`,`3price`,`uid`,`use_text`,`data`,`inOdet`,`inShop`,`delete`,`iznosNOW`,`iznosMAX`,`gift`,`gtxt1`,`gtxt2`,`kolvo`,`geniration`,`magic_inc`,`maidin`,`lastUPD`,`timeOver`,`overType`,`secret_id`,`time_create`,`inGroup`,`dn_delete`,`inTransfer`,`post_delivery`,`lbtl_`,`bexp`,`so`,`blvl` FROM `items_users` WHERE `item_id` = "' . ((int)$detrn[$j][0]) . '" AND `uid` = "' . $this->info['id'] . '" AND (`delete` = "0" OR `delete` = "1000") AND `inShop` = "0" AND `inOdet` = "0" ORDER BY `inGroup` DESC LIMIT ' . ((int)$detrn[$j][1]) . '' + ); while ($itm = mysql_fetch_array($s4)) { // - mysql_query('UPDATE `items_users` SET `delete` = "' . time() . '" WHERE `id` = "' . $itm['id'] . '" LIMIT 1'); + mysql_query( + 'UPDATE `items_users` SET `delete` = "' . time( + ) . '" WHERE `id` = "' . $itm['id'] . '" LIMIT 1' + ); } $j++; } - mysql_query('UPDATE `items_shop` SET `kolvo` = "' . ($i['kolvo'] - $x) . '" WHERE `iid` = "' . $i['iid'] . '" LIMIT 1'); + mysql_query( + 'UPDATE `items_shop` SET `kolvo` = "' . ($i['kolvo'] - $x) . '" WHERE `iid` = "' . $i['iid'] . '" LIMIT 1' + ); $zuby_inf = ''; if ($zuby == 1) { $zuby_inf = ' ( )'; } - $ld = $this->addDelo(1, $this->info['id'], '"Shop.' . $this->info['city'] . '": "' . $i['name'] . '" (x' . $x . ') [#' . $i['iid'] . '] ' . $price . ' .' . $zuby_inf . '', time(), $this->info['city'], 'Shop.' . $this->info['city'] . '', (int)$price, 0); + $ld = $this->addDelo( + 1, $this->info['id'], + '"Shop.' . $this->info['city'] . '": "' . $i['name'] . '" (x' . $x . ') [#' . $i['iid'] . '] ' . $price . ' .' . $zuby_inf . '', + time(), $this->info['city'], 'Shop.' . $this->info['city'] . '', (int)$price, 0 + ); } else { // $r = ' "' . $i['name'] . '". "' . $this->city_name[$this->info['city']] . '" ' . $price . ' .
    .'; - $ld = $this->addDelo(1, $this->info['id'], '"Shop.' . $this->info['city'] . '": #' . $i['iid'] . '. : ' . $price . ' .', time(), $this->info['city'], 'Shop.' . $this->info['city'] . '', (int)$price, 0); + $ld = $this->addDelo( + 1, $this->info['id'], + '"Shop.' . $this->info['city'] . '": #' . $i['iid'] . '. : ' . $price . ' .', + time(), $this->info['city'], 'Shop.' . $this->info['city'] . '', (int)$price, 0 + ); if (!$ld) { echo '
    , /db/usersDelo/!
    '; } @@ -2955,36 +3521,60 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` $pensia1 = $this->pensia(false); $pensia2 = $this->pensia(true); $afk = $this->info['timeMain'] < time() - 15 * 60 ? 1 : 0; + //fixme: abs() . . if ($pensia2[0] == 1) { - $this->info['money'] += $pensia2[1]; - mysql_query('UPDATE `users` SET `money` = `money` + "' . $pensia2[1] . '" WHERE `id` = "' . $this->info['id'] . '" LIMIT 1'); + $this->info['money'] += abs($pensia2[1]); + mysql_query( + 'UPDATE `users` SET `money` = `money` + "' . $pensia2[1] . '" WHERE `id` = "' . $this->info['id'] . '" LIMIT 1' + ); } else { - $this->info['money2'] += $pensia2[1]; - mysql_query('UPDATE `users` SET `money2` = `money2` + "' . $pensia2[1] . '" WHERE `id` = "' . $this->info['id'] . '" LIMIT 1'); + $this->info['money2'] += abs($pensia2[1]); + mysql_query( + 'UPDATE `users` SET `money2` = `money2` + "' . $pensia2[1] . '" WHERE `id` = "' . $this->info['id'] . '" LIMIT 1' + ); } $this->error = ' ' . $pensia1 . '! '; - mysql_query('INSERT INTO `aaa_bonus` ( + mysql_query( + 'INSERT INTO `aaa_bonus` ( `uid`,`time`,`afk`,`type`,`money` ) VALUES ( - "' . $this->info['id'] . '","' . (time() + 1 * 3600) . '","' . $afk . '","' . $pensia2[0] . '","' . $pensia2[1] . '" - )'); + "' . $this->info['id'] . '","' . (time( + ) + 3600) . '","' . $afk . '","' . $pensia2[0] . '","' . $pensia2[1] . '" + )' + ); } } - public function addDelo($tp, $uid, $txt, $tm, $ct, $frm, $mo, $mi, $vvv = false) + public function addDelo($type, $uid, $txt, $tm, $ct, $frm, $mo, $mi, $vvv = false) { - return mysql_query("INSERT INTO `users_delo` (`dop`,`moneyOut`,`moneyIn`,`uid`,`ip`,`city`,`time`,`text`,`login`,`type`) VALUES ('" . mysql_real_escape_string($vvv) . "','" . mysql_real_escape_string($mo) . "','" . mysql_real_escape_string($mi) . "','" . mysql_real_escape_string($uid) . "','" . $_SERVER['HTTP_X_REAL_IP'] . "','" . $ct . "','" . $tm . "','" . mysql_real_escape_string($txt) . "','" . mysql_real_escape_string($frm) . "'," . $tp . ")"); + return Db::sql( + 'insert into users_delo (uid, dop, time, city, text, login, `delete`, ip, moneyOut, type) values (?,?,?,?,?,?,?,?,?,?)', + [ + $uid, + $vvv, + $tm, + $ct, + $txt, + $frm, + 0, + $_SERVER['HTTP_X_REAL_IP'], + $mo, + $type + ] + ); } - public function newAct($test) + public function newAct($test): bool { $r = true; if ($test != $this->info['nextAct'] && $this->info['nextAct'] != '0') { $r = false; } else { $na = md5(time() . '_nextAct_' . rand(0, 100)); - $upd = mysql_query('UPDATE `stats` SET `nextAct` = "' . $na . '" WHERE `id` = "' . $this->info['id'] . '" LIMIT 1'); + $upd = mysql_query( + 'UPDATE `stats` SET `nextAct` = "' . $na . '" WHERE `id` = "' . $this->info['id'] . '" LIMIT 1' + ); if (!$upd) { $r = false; } else { @@ -2994,87 +3584,140 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` return $r; } - public function buyItemCommison($sid, $item, $iid = null) + public function buyItemCommison($sid, $item, $iid = null): string { global $sid; $sid = mysql_real_escape_string($sid); $itme = mysql_real_escape_string($item); $iid = mysql_real_escape_string($iid); - $i2 = mysql_fetch_array(mysql_query('SELECT `iu`.`uid`, `iu`.`id`, `iu`.`uid`, `iu`.`1price`, `iu`.inGroup, `iu`.`data`, `iu`.`inShop`, `iu`.`item_id`, `u`.`login` as login FROM `items_users` as `iu` LEFT JOIN `users` as `u` ON `u`.id=`iu`.uid WHERE `iu`.`id` = ' . $iid . ' AND `iu`.`inShop` = 30 LIMIT 1')); - $i1 = mysql_fetch_array(mysql_query('SELECT `name`,`price1` FROM `items_main` WHERE `id` = ' . $i2['item_id'] . ' LIMIT 1')); + $i2 = mysql_fetch_array( + mysql_query( + 'SELECT `iu`.`uid`, `iu`.`id`, `iu`.`uid`, `iu`.`1price`, `iu`.inGroup, `iu`.`data`, `iu`.`inShop`, `iu`.`item_id`, `u`.`login` as login FROM `items_users` as `iu` LEFT JOIN `users` as `u` ON `u`.id=`iu`.uid WHERE `iu`.`id` = ' . $iid . ' AND `iu`.`inShop` = 30 LIMIT 1' + ) + ); + $i1 = mysql_fetch_array( + mysql_query('SELECT `name`,`price1` FROM `items_main` WHERE `id` = ' . $i2['item_id'] . ' LIMIT 1') + ); $price = $i2['1price']; if (isset($i2['id']) && isset($iid) && $sid == 1 && $i2['inShop'] == 30) { - if ($price > $this->info['money']) + if ($price > $this->info['money']) { $r = ' ( ' . ($price - $this->info['money']) . ' .)'; - else { - $UpdMoney = mysql_query('UPDATE `users` SET `money` = "' . mysql_real_escape_string(round($this->info['money'] - $price, 2)) . '" WHERE `id` = "' . $this->info['id'] . '" LIMIT 1'); + } else { + $UpdMoney = mysql_query( + 'UPDATE `users` SET `money` = "' . mysql_real_escape_string( + round($this->info['money'] - $price, 2) + ) . '" WHERE `id` = "' . $this->info['id'] . '" LIMIT 1' + ); if ($UpdMoney) { $this->info['money'] -= $price; - $UpMoney2 = mysql_query('UPDATE `users` SET `money` = `money` + ' . $price . ' WHERE `id` = ' . $i2['uid'] . ' LIMIT 1'); + $UpMoney2 = mysql_query( + 'UPDATE `users` SET `money` = `money` + ' . $price . ' WHERE `id` = ' . $i2['uid'] . ' LIMIT 1' + ); $col = $this->itemsX($iid); if ($col > 1) { - $UpItems = mysql_query('UPDATE `items_users` SET `uid` = ' . $this->info['id'] . ', `inGroup` = `inGroup`+1000, `1price` = "' . $i1['price1'] . '", `lastUPD` = "' . time() . '", `inShop` = 0 WHERE `inShop` = 30 AND `inOdet` = "0"AND `item_id`="' . $i2['item_id'] . '" AND `uid`="' . $i2['uid'] . '" AND `inGroup` = "' . $i2['inGroup'] . '" LIMIT ' . $col . ''); + $UpItems = mysql_query( + 'UPDATE `items_users` SET `uid` = ' . $this->info['id'] . ', `inGroup` = `inGroup`+1000, `1price` = "' . $i1['price1'] . '", `lastUPD` = "' . time( + ) . '", `inShop` = 0 WHERE `inShop` = 30 AND `inOdet` = "0"AND `item_id`="' . $i2['item_id'] . '" AND `uid`="' . $i2['uid'] . '" AND `inGroup` = "' . $i2['inGroup'] . '" LIMIT ' . $col . '' + ); } else { - $UpItems = mysql_query('UPDATE `items_users` SET `uid` = ' . $this->info['id'] . ', `1price` = "' . $i1['price1'] . '", `lastUPD` = "' . time() . '", `inShop` = 0 WHERE `id` = "' . $iid . '" AND `inOdet` = "0" AND `delete` = "0" AND `uid`="' . $i2['uid'] . '" LIMIT 1'); + $UpItems = mysql_query( + 'UPDATE `items_users` SET `uid` = ' . $this->info['id'] . ', `1price` = "' . $i1['price1'] . '", `lastUPD` = "' . time( + ) . '", `inShop` = 0 WHERE `id` = "' . $iid . '" AND `inOdet` = "0" AND `delete` = "0" AND `uid`="' . $i2['uid'] . '" LIMIT 1' + ); } // if ($UpItems) { // $r = ' "' . $i1['name'] . ($col > 1 ? ' (x' . $col . ')' : '') . '" ' . $price . ' .
    .'; - $ld = $this->addDelo(1, $this->info['id'], '"ComissShop.' . $this->info['city'] . '": "' . $i1['name'] . ($col > 1 ? ' (x' . $col . ')' : '') . '" [item:' . $iid . '] ' . $price . ' . [: ' . ($i2['login'] != '' ? '' . $i2['login'] . '' : '(' . $i2['uid'] . ')') . ']', time(), $this->info['city'], 'Shop.' . $this->info['city'] . '', $price, 0); - $u2s = mysql_fetch_array(mysql_query('SELECT * FROM `users` WHERE `id` = "' . $i2['uid'] . '" LIMIT 1')); - $ld = $this->addDelo(1, $u2s['id'], '"ComissShop.' . $this->info['city'] . '": "' . $i1['name'] . ($col > 1 ? ' (x' . $col . ')' : '') . '" [item:' . $iid . '] ' . $price . ' . [: ' . $this->info['login'] . ']', time(), $this->info['city'], 'Shop.' . $this->info['city'] . '', 0, $price); + $ld = $this->addDelo( + 1, $this->info['id'], + '"ComissShop.' . $this->info['city'] . '": "' . $i1['name'] . ($col > 1 ? ' (x' . $col . ')' : '') . '" [item:' . $iid . '] ' . $price . ' . [: ' . ($i2['login'] != '' ? '' . $i2['login'] . '' : '(' . $i2['uid'] . ')') . ']', + time(), $this->info['city'], 'Shop.' . $this->info['city'] . '', $price, 0 + ); + $u2s = mysql_fetch_array( + mysql_query('SELECT * FROM `users` WHERE `id` = "' . $i2['uid'] . '" LIMIT 1') + ); + $ld = $this->addDelo( + 1, $u2s['id'], + '"ComissShop.' . $this->info['city'] . '": "' . $i1['name'] . ($col > 1 ? ' (x' . $col . ')' : '') . '" [item:' . $iid . '] ' . $price . ' . [: ' . $this->info['login'] . ']', + time(), $this->info['city'], 'Shop.' . $this->info['city'] . '', 0, $price + ); } else { // $r = ' "' . $i1['name'] . ($col > 1 ? ' (x' . $col . ')' : '') . '". "' . $this->city_name[$this->info['city']] . '" ' . $price . ' .
    .'; - $ld = $this->addDelo(1, $this->info['id'], '"EkrShop.' . $this->info['city'] . '": #' . $i1['iid'] . '. : ' . $price . ' .', time(), $this->info['city'], 'Shop.' . $this->info['city'] . '', (int)$price, 0); - if (!$ld) echo '
    , /db/usersDelo/!
    '; + $ld = $this->addDelo( + 1, $this->info['id'], + '"EkrShop.' . $this->info['city'] . '": #' . $i1['iid'] . '. : ' . $price . ' .', + time(), $this->info['city'], 'Shop.' . $this->info['city'] . '', (int)$price, 0 + ); + if (!$ld) { + echo '
    , /db/usersDelo/!
    '; + } } } else { $r = ' ...'; } } - } else + } else { $r = ' '; + } return '
    ' . $r . '
    '; } public function commisonRent($action, $iid, $price = null) { if ($action == " " && isset($iid) && $price > 0) { - $ChImtem = mysql_fetch_array(mysql_query('SELECT `id`, `item_id`, `data`, `inGroup`, `uid` FROM `items_users` WHERE `id` = ' . $iid . ' LIMIT 1')); + $ChImtem = mysql_fetch_array( + mysql_query( + 'SELECT `id`, `item_id`, `data`, `inGroup`, `uid` FROM `items_users` WHERE `id` = ' . $iid . ' LIMIT 1' + ) + ); $ChSudba = $this->lookStats($ChImtem['data']); - if (isset($ChSudba['sudba']) || $ChSudba['sudba'] != 0 || $ChSudba['sudba'] == 1 || isset($ChSudba['toclan'])) { - continue; - } else { + if (!isset($ChSudba['sudba']) && $ChSudba['sudba'] == 0 && $ChSudba['sudba'] != 1 && !isset($ChSudba['toclan'])) { if (isset($ChImtem['inGroup']) and $ChImtem['inGroup'] > 0) { $col = $this->itemsX($ChImtem['id']); if ($col > 1) { - mysql_query('UPDATE `items_users` SET `inShop` = 30, `1price` = ' . $price . ' WHERE `item_id`="' . $ChImtem['item_id'] . '" AND `uid`="' . $ChImtem['uid'] . '" AND `inGroup` = "' . $ChImtem['inGroup'] . '" LIMIT ' . $col . ''); + mysql_query( + 'UPDATE `items_users` SET `inShop` = 30, `1price` = ' . $price . ' WHERE `item_id`="' . $ChImtem['item_id'] . '" AND `uid`="' . $ChImtem['uid'] . '" AND `inGroup` = "' . $ChImtem['inGroup'] . '" LIMIT ' . $col . '' + ); } else { - mysql_query('UPDATE `items_users` SET `inShop` = 30, `1price` = ' . $price . ' WHERE `uid` = "' . $this->info['id'] . '" AND `id` = "' . $iid . '" AND `inOdet` = "0" AND `delete` = "0" '); + mysql_query( + 'UPDATE `items_users` SET `inShop` = 30, `1price` = ' . $price . ' WHERE `uid` = "' . $this->info['id'] . '" AND `id` = "' . $iid . '" AND `inOdet` = "0" AND `delete` = "0" ' + ); } } else { - mysql_query('UPDATE `items_users` set `inShop` = 30, `1price` = ' . $price . ' where `uid` = "' . $this->info['id'] . '" AND `id` = "' . $iid . '" AND `inOdet` = "0" AND `delete` = "0" '); + mysql_query( + 'UPDATE `items_users` set `inShop` = 30, `1price` = ' . $price . ' where `uid` = "' . $this->info['id'] . '" AND `id` = "' . $iid . '" AND `inOdet` = "0" AND `delete` = "0" ' + ); } } } elseif ($action == "" && isset($iid)) { - $i = mysql_fetch_array(mysql_query('SELECT `im`.`price1`,`iu`.* FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.`item_id`) WHERE `iu`.`id` = "' . $iid . '" AND `iu`.`inShop` = "30" AND `iu`.`delete` = "0" LIMIT 1')); + $i = mysql_fetch_array( + mysql_query( + 'SELECT `im`.`price1`,`iu`.* FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.`item_id`) WHERE `iu`.`id` = "' . $iid . '" AND `iu`.`inShop` = "30" AND `iu`.`delete` = "0" LIMIT 1' + ) + ); if (isset($i['inGroup']) and $i['inGroup'] > 0) { $col = $this->itemsX($i['id']); if ($col > 1) { - mysql_query('UPDATE `items_users` SET `inShop` = 0, `1price` = ' . $i['price1'] . ' WHERE `item_id`="' . $i['item_id'] . '" AND `inShop` = "30" AND `uid`="' . $i['uid'] . '" AND `inGroup` = "' . $i['inGroup'] . '" LIMIT ' . $col . ''); + mysql_query( + 'UPDATE `items_users` SET `inShop` = 0, `1price` = ' . $i['price1'] . ' WHERE `item_id`="' . $i['item_id'] . '" AND `inShop` = "30" AND `uid`="' . $i['uid'] . '" AND `inGroup` = "' . $i['inGroup'] . '" LIMIT ' . $col . '' + ); } else { - mysql_query('UPDATE `items_users` SET `inShop` = 0, `1price` = ' . $i['price1'] . ' WHERE `uid` = "' . $this->info['id'] . '" AND `id` = "' . $iid . '" AND `inOdet` = "0" AND `delete` = "0" '); + mysql_query( + 'UPDATE `items_users` SET `inShop` = 0, `1price` = ' . $i['price1'] . ' WHERE `uid` = "' . $this->info['id'] . '" AND `id` = "' . $iid . '" AND `inOdet` = "0" AND `delete` = "0" ' + ); } } else { - mysql_query('UPDATE `items_users` SET `inShop` = 0, `1price` = "' . $i['price1'] . '" WHERE `id` = "' . $iid . '" and `inShop` = "30" LIMIT 1'); + mysql_query( + 'UPDATE `items_users` SET `inShop` = 0, `1price` = "' . $i['price1'] . '" WHERE `id` = "' . $iid . '" and `inShop` = "30" LIMIT 1' + ); } } } - public function bronFx($br) + public function bronFx($br): string { $r = ''; if ($br[0] > 0) { @@ -3163,19 +3806,30 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` } if ($typeOtdel != 1050) { if ($preview == "full") { - $cl = mysql_query('SELECT `items_users`.`id`,`items_users`.`item_id`,`items_users`.`1price`,`items_users`.`2price`,`items_users`.`uid`,`items_users`.`use_text`,`items_users`.`data`,`items_users`.`inOdet`,`items_users`.`inShop`,`items_users`.`delete`,`items_users`.`iznosNOW`,`items_users`.`iznosMAX`,`items_users`.`gift`,`items_users`.`gtxt1`,`items_users`.`gtxt2`,`items_users`.`kolvo`,`items_users`.`geniration`,`items_users`.`magic_inc`,`items_users`.`maidin`,`items_users`.`lastUPD`,`items_users`.`timeOver`,`items_users`.`overType`,`items_users`.`secret_id`,`items_users`.`time_create`,`items_users`.`inGroup`,`items_users`.`dn_delete`,`items_users`.`inTransfer`,`items_users`.`post_delivery`,`items_users`.`lbtl_`,`items_users`.`bexp`,`items_users`.`so`,`items_users`.`blvl`,`items_main`.`id`,`items_main`.`name`,`items_main`.`img`,`items_main`.`type`,`items_main`.`inslot`,`items_main`.`2h`,`items_main`.`2too`,`items_main`.`iznosMAXi`,`items_main`.`inRazdel`,`items_main`.`price1`,`items_main`.`price2`,`items_main`.`magic_chance`,`items_main`.`info`,`items_main`.`massa`,`items_main`.`level`,`items_main`.`magic_inci`,`items_main`.`overTypei`,`items_main`.`group`,`items_main`.`group_max`,`items_main`.`geni`,`items_main`.`ts`,`items_main`.`srok`,`items_main`.`class`,`items_main`.`class_point`,`items_main`.`anti_class`,`items_main`.`anti_class_point`,`items_main`.`max_text`,`items_main`.`useInBattle`,`items_main`.`lbtl`,`items_main`.`lvl_itm`,`items_main`.`lvl_exp`,`items_main`.`lvl_aexp`, count(`items_users`.`id`) as inGroupCount + $cl = mysql_query( + 'SELECT `items_users`.`id`,`items_users`.`item_id`,`items_users`.`1price`,`items_users`.`2price`,`items_users`.`uid`,`items_users`.`use_text`,`items_users`.`data`,`items_users`.`inOdet`,`items_users`.`inShop`,`items_users`.`delete`,`items_users`.`iznosNOW`,`items_users`.`iznosMAX`,`items_users`.`gift`,`items_users`.`gtxt1`,`items_users`.`gtxt2`,`items_users`.`kolvo`,`items_users`.`geniration`,`items_users`.`magic_inc`,`items_users`.`maidin`,`items_users`.`lastUPD`,`items_users`.`timeOver`,`items_users`.`overType`,`items_users`.`secret_id`,`items_users`.`time_create`,`items_users`.`inGroup`,`items_users`.`dn_delete`,`items_users`.`inTransfer`,`items_users`.`post_delivery`,`items_users`.`lbtl_`,`items_users`.`bexp`,`items_users`.`so`,`items_users`.`blvl`,`items_main`.`id`,`items_main`.`name`,`items_main`.`img`,`items_main`.`type`,`items_main`.`inslot`,`items_main`.`2h`,`items_main`.`2too`,`items_main`.`iznosMAXi`,`items_main`.`inRazdel`,`items_main`.`price1`,`items_main`.`price2`,`items_main`.`magic_chance`,`items_main`.`info`,`items_main`.`massa`,`items_main`.`level`,`items_main`.`magic_inci`,`items_main`.`overTypei`,`items_main`.`group`,`items_main`.`group_max`,`items_main`.`geni`,`items_main`.`ts`,`items_main`.`srok`,`items_main`.`class`,`items_main`.`class_point`,`items_main`.`anti_class`,`items_main`.`anti_class_point`,`items_main`.`max_text`,`items_main`.`useInBattle`,`items_main`.`lbtl`,`items_main`.`lvl_itm`,`items_main`.`lvl_exp`,`items_main`.`lvl_aexp`, count(`items_users`.`id`) as inGroupCount FROM `items_users` LEFT JOIN `items_main` ON (`items_main`.`id` = `items_users`.`item_id`) -WHERE (( `items_users`.time_create + `items_main`.srok) > unix_timestamp() OR `items_main`.srok = "0") AND `items_users`.`delete`="0" AND `items_users`.`inOdet`="0" AND `items_users`.`inShop`="30" and `items_main`.`type` = "' . mysql_real_escape_string($typeOtdel) . '" and `items_users`.`item_id` = "' . (int)$_GET['itemid'] . '" GROUP BY `items_users`.`inGroup`, `items_users`.`uid`,`items_users`.`1price` HAVING `items_users`.inGroup > 0 +WHERE (( `items_users`.time_create + `items_main`.srok) > unix_timestamp() OR `items_main`.srok = "0") AND `items_users`.`delete`="0" AND `items_users`.`inOdet`="0" AND `items_users`.`inShop`="30" and `items_main`.`type` = "' . mysql_real_escape_string( + $typeOtdel + ) . '" and `items_users`.`item_id` = "' . (int)$_GET['itemid'] . '" GROUP BY `items_users`.`inGroup`, `items_users`.`uid`,`items_users`.`1price` HAVING `items_users`.inGroup > 0 UNION ALL SELECT `items_users`.`id`,`items_users`.`item_id`,`items_users`.`1price`,`items_users`.`2price`,`items_users`.`uid`,`items_users`.`use_text`,`items_users`.`data`,`items_users`.`inOdet`,`items_users`.`inShop`,`items_users`.`delete`,`items_users`.`iznosNOW`,`items_users`.`iznosMAX`,`items_users`.`gift`,`items_users`.`gtxt1`,`items_users`.`gtxt2`,`items_users`.`kolvo`,`items_users`.`geniration`,`items_users`.`magic_inc`,`items_users`.`maidin`,`items_users`.`lastUPD`,`items_users`.`timeOver`,`items_users`.`overType`,`items_users`.`secret_id`,`items_users`.`time_create`,`items_users`.`inGroup`,`items_users`.`dn_delete`,`items_users`.`inTransfer`,`items_users`.`post_delivery`,`items_users`.`lbtl_`,`items_users`.`bexp`,`items_users`.`so`,`items_users`.`blvl`,`items_main`.`id`,`items_main`.`name`,`items_main`.`img`,`items_main`.`type`,`items_main`.`inslot`,`items_main`.`2h`,`items_main`.`2too`,`items_main`.`iznosMAXi`,`items_main`.`inRazdel`,`items_main`.`price1`,`items_main`.`price2`,`items_main`.`magic_chance`,`items_main`.`info`,`items_main`.`massa`,`items_main`.`level`,`items_main`.`magic_inci`,`items_main`.`overTypei`,`items_main`.`group`,`items_main`.`group_max`,`items_main`.`geni`,`items_main`.`ts`,`items_main`.`srok`,`items_main`.`class`,`items_main`.`class_point`,`items_main`.`anti_class`,`items_main`.`anti_class_point`,`items_main`.`max_text`,`items_main`.`useInBattle`,`items_main`.`lbtl`,`items_main`.`lvl_itm`,`items_main`.`lvl_exp`,`items_main`.`lvl_aexp`, count(`items_users`.`id`) as inGroupCount FROM `items_users` LEFT JOIN `items_main` ON (`items_main`.`id` = `items_users`.`item_id`) -WHERE (( `items_users`.time_create + `items_main`.srok) > unix_timestamp() OR `items_main`.srok = "0") AND `items_users`.`delete`="0" AND `items_users`.`inOdet`="0" AND `items_users`.`inShop`="30" and `items_main`.`type` = "' . mysql_real_escape_string($typeOtdel) . '" and `items_users`.`item_id` = "' . (int)$_GET['itemid'] . '" GROUP BY `items_users`.`uid`, `items_users`.`1price` HAVING `items_users`.inGroup = 0 -ORDER BY `1price`ASC , inGroupCount DESC'); +WHERE (( `items_users`.time_create + `items_main`.srok) > unix_timestamp() OR `items_main`.srok = "0") AND `items_users`.`delete`="0" AND `items_users`.`inOdet`="0" AND `items_users`.`inShop`="30" and `items_main`.`type` = "' . mysql_real_escape_string( + $typeOtdel + ) . '" and `items_users`.`item_id` = "' . (int)$_GET['itemid'] . '" GROUP BY `items_users`.`uid`, `items_users`.`1price` HAVING `items_users`.inGroup = 0 +ORDER BY `1price`ASC , inGroupCount DESC' + ); } else { - $cl = mysql_query('SELECT `items_users`.`id`,`items_users`.`item_id`,`items_users`.`1price`,`items_users`.`2price`,`items_users`.`uid`,`items_users`.`use_text`,`items_users`.`data`,`items_users`.`inOdet`,`items_users`.`inShop`,`items_users`.`delete`,`items_users`.`iznosNOW`,`items_users`.`iznosMAX`,`items_users`.`gift`,`items_users`.`gtxt1`,`items_users`.`gtxt2`,`items_users`.`kolvo`,`items_users`.`geniration`,`items_users`.`magic_inc`,`items_users`.`maidin`,`items_users`.`lastUPD`,`items_users`.`timeOver`,`items_users`.`overType`,`items_users`.`secret_id`,`items_users`.`time_create`,`items_users`.`inGroup`,`items_users`.`dn_delete`,`items_users`.`inTransfer`,`items_users`.`post_delivery`,`items_users`.`lbtl_`,`items_users`.`bexp`,`items_users`.`so`,`items_users`.`blvl`,`items_main`.`id`,`items_main`.`name`,`items_main`.`img`,`items_main`.`type`,`items_main`.`inslot`,`items_main`.`2h`,`items_main`.`2too`,`items_main`.`iznosMAXi`,`items_main`.`inRazdel`,`items_main`.`price1`,`items_main`.`price2`,`items_main`.`magic_chance`,`items_main`.`info`,`items_main`.`massa`,`items_main`.`level`,`items_main`.`magic_inci`,`items_main`.`overTypei`,`items_main`.`group`,`items_main`.`group_max`,`items_main`.`geni`,`items_main`.`ts`,`items_main`.`srok`,`items_main`.`class`,`items_main`.`class_point`,`items_main`.`anti_class`,`items_main`.`anti_class_point`,`items_main`.`max_text`,`items_main`.`useInBattle`,`items_main`.`lbtl`,`items_main`.`lvl_itm`,`items_main`.`lvl_exp`,`items_main`.`lvl_aexp` FROM `items_users` LEFT JOIN `items_main` ON (`items_main`.`id` = `items_users`.`item_id`) WHERE (( `items_users`.time_create + `items_main`.srok) > unix_timestamp() OR `items_main`.srok = "0") AND `items_users`.`delete`="0" AND `items_users`.`inOdet`="0" AND `items_users`.`inShop`="30" and `items_main`.`type` = "' . mysql_real_escape_string($typeOtdel) . '" GROUP BY `items_users`.`item_id` ORDER BY `items_main`.`id` DESC'); + $cl = mysql_query( + 'SELECT `items_users`.`id`,`items_users`.`item_id`,`items_users`.`1price`,`items_users`.`2price`,`items_users`.`uid`,`items_users`.`use_text`,`items_users`.`data`,`items_users`.`inOdet`,`items_users`.`inShop`,`items_users`.`delete`,`items_users`.`iznosNOW`,`items_users`.`iznosMAX`,`items_users`.`gift`,`items_users`.`gtxt1`,`items_users`.`gtxt2`,`items_users`.`kolvo`,`items_users`.`geniration`,`items_users`.`magic_inc`,`items_users`.`maidin`,`items_users`.`lastUPD`,`items_users`.`timeOver`,`items_users`.`overType`,`items_users`.`secret_id`,`items_users`.`time_create`,`items_users`.`inGroup`,`items_users`.`dn_delete`,`items_users`.`inTransfer`,`items_users`.`post_delivery`,`items_users`.`lbtl_`,`items_users`.`bexp`,`items_users`.`so`,`items_users`.`blvl`,`items_main`.`id`,`items_main`.`name`,`items_main`.`img`,`items_main`.`type`,`items_main`.`inslot`,`items_main`.`2h`,`items_main`.`2too`,`items_main`.`iznosMAXi`,`items_main`.`inRazdel`,`items_main`.`price1`,`items_main`.`price2`,`items_main`.`magic_chance`,`items_main`.`info`,`items_main`.`massa`,`items_main`.`level`,`items_main`.`magic_inci`,`items_main`.`overTypei`,`items_main`.`group`,`items_main`.`group_max`,`items_main`.`geni`,`items_main`.`ts`,`items_main`.`srok`,`items_main`.`class`,`items_main`.`class_point`,`items_main`.`anti_class`,`items_main`.`anti_class_point`,`items_main`.`max_text`,`items_main`.`useInBattle`,`items_main`.`lbtl`,`items_main`.`lvl_itm`,`items_main`.`lvl_exp`,`items_main`.`lvl_aexp` FROM `items_users` LEFT JOIN `items_main` ON (`items_main`.`id` = `items_users`.`item_id`) WHERE (( `items_users`.time_create + `items_main`.srok) > unix_timestamp() OR `items_main`.srok = "0") AND `items_users`.`delete`="0" AND `items_users`.`inOdet`="0" AND `items_users`.`inShop`="30" and `items_main`.`type` = "' . mysql_real_escape_string( + $typeOtdel + ) . '" GROUP BY `items_users`.`item_id` ORDER BY `items_main`.`id` DESC' + ); } } else { if ($preview == "full") { - $cl = mysql_query('SELECT + $cl = mysql_query( + 'SELECT `items_users`.`id` as id, `items_users`.`id` AS `idu`,`items_users`.`item_id` as item_id,`items_users`.`1price`,`items_users`.`2price`,`items_users`.`uid`,`items_users`.`use_text`, `items_users`.`data`,`items_users`.`inOdet`,`items_users`.`inShop`,`items_users`.`delete`,`items_users`.`iznosNOW`,`items_users`.`iznosMAX`, `items_users`.`gift`,`items_users`.`gtxt1`,`items_users`.`gtxt2`,`items_users`.`kolvo`,`items_users`.`geniration`,`items_users`.`magic_inc`,`items_users`.`maidin`, @@ -3205,9 +3859,12 @@ FROM `items_users` LEFT JOIN `items_main` ON (`items_main`.`id` = `items_users` WHERE (( `items_users`.time_create + `items_main`.srok) > unix_timestamp() OR `items_main`.srok = "0") AND `items_users`.`delete`="0" AND `items_users`.`item_id` = "' . (int)$_GET['itemid'] . '" AND `items_users`.`inOdet`="0" AND `items_users`.`inShop`="30" and `items_main`.`type` != "18" AND `items_main`.`type` != "19" AND `items_main`.`type` != "20" AND `items_main`.`type` != "21" AND `items_main`.`type` != "22" AND `items_main`.`type` != "15" AND `items_main`.`type` != "12" AND `items_main`.`type` != "4" AND `items_main`.`type` != "5" AND `items_main`.`type` != "6" AND `items_main`.`type` != "1" AND `items_main`.`type` != "3" AND `items_main`.`type` != "8" AND `items_main`.`type` != "14" AND `items_main`.`type` != "13" AND `items_main`.`type` != "9" AND `items_main`.`type` != "10" AND `items_main`.`type` != "11" AND `items_main`.`type` != "29" AND `items_main`.`type` != "30" GROUP BY `items_users`.`uid`,`items_users`.`1price` HAVING `items_users`.inGroup = 0 -ORDER BY `1price`ASC , inGroupCount DESC'); +ORDER BY `1price`ASC , inGroupCount DESC' + ); } else { - $cl = mysql_query('SELECT `items_users`.`id`, `items_users`.`id` AS `idu`,`items_users`.`item_id`,`items_users`.`1price`,`items_users`.`2price`,`items_users`.`uid`,`items_users`.`use_text`,`items_users`.`data`,`items_users`.`inOdet`,`items_users`.`inShop`,`items_users`.`delete`,`items_users`.`iznosNOW`,`items_users`.`iznosMAX`,`items_users`.`gift`,`items_users`.`gtxt1`,`items_users`.`gtxt2`,`items_users`.`kolvo`,`items_users`.`geniration`,`items_users`.`magic_inc`,`items_users`.`maidin`,`items_users`.`lastUPD`,`items_users`.`timeOver`,`items_users`.`overType`,`items_users`.`secret_id`,`items_users`.`time_create`,`items_users`.`inGroup`,`items_users`.`dn_delete`,`items_users`.`inTransfer`,`items_users`.`post_delivery`,`items_users`.`lbtl_`,`items_users`.`bexp`,`items_users`.`so`,`items_users`.`blvl`,`items_main`.`id`,`items_main`.`name`,`items_main`.`img`,`items_main`.`type`,`items_main`.`inslot`,`items_main`.`2h`,`items_main`.`2too`,`items_main`.`iznosMAXi`,`items_main`.`inRazdel`,`items_main`.`price1`,`items_main`.`price2`,`items_main`.`magic_chance`,`items_main`.`info`,`items_main`.`massa`,`items_main`.`level`,`items_main`.`magic_inci`,`items_main`.`overTypei`,`items_main`.`group`,`items_main`.`group_max`,`items_main`.`geni`,`items_main`.`ts`,`items_main`.`srok`,`items_main`.`class`,`items_main`.`class_point`,`items_main`.`anti_class`,`items_main`.`anti_class_point`,`items_main`.`max_text`,`items_main`.`useInBattle`,`items_main`.`lbtl`,`items_main`.`lvl_itm`,`items_main`.`lvl_exp`,`items_main`.`lvl_aexp` FROM `items_users` LEFT JOIN `items_main` ON (`items_main`.`id` = `items_users`.`item_id`) WHERE (( `items_users`.time_create + `items_main`.srok) > unix_timestamp() OR `items_main`.srok = "0") AND `items_users`.`delete`="0" AND `items_users`.`inOdet`="0" AND `items_users`.`inShop`="30" and `items_main`.`type` != "18" AND `items_main`.`type` != "19" AND `items_main`.`type` != "20" AND `items_main`.`type` != "21" AND `items_main`.`type` != "22" AND `items_main`.`type` != "15" AND `items_main`.`type` != "12" AND `items_main`.`type` != "4" AND `items_main`.`type` != "5" AND `items_main`.`type` != "6" AND `items_main`.`type` != "1" AND `items_main`.`type` != "3" AND `items_main`.`type` != "8" AND `items_main`.`type` != "14" AND `items_main`.`type` != "13" AND `items_main`.`type` != "9" AND `items_main`.`type` != "10" AND `items_main`.`type` != "11" AND `items_main`.`type` != "29" AND `items_main`.`type` != "30" GROUP BY `items_users`.`item_id` ORDER BY `items_main`.`id` DESC'); + $cl = mysql_query( + 'SELECT `items_users`.`id`, `items_users`.`id` AS `idu`,`items_users`.`item_id`,`items_users`.`1price`,`items_users`.`2price`,`items_users`.`uid`,`items_users`.`use_text`,`items_users`.`data`,`items_users`.`inOdet`,`items_users`.`inShop`,`items_users`.`delete`,`items_users`.`iznosNOW`,`items_users`.`iznosMAX`,`items_users`.`gift`,`items_users`.`gtxt1`,`items_users`.`gtxt2`,`items_users`.`kolvo`,`items_users`.`geniration`,`items_users`.`magic_inc`,`items_users`.`maidin`,`items_users`.`lastUPD`,`items_users`.`timeOver`,`items_users`.`overType`,`items_users`.`secret_id`,`items_users`.`time_create`,`items_users`.`inGroup`,`items_users`.`dn_delete`,`items_users`.`inTransfer`,`items_users`.`post_delivery`,`items_users`.`lbtl_`,`items_users`.`bexp`,`items_users`.`so`,`items_users`.`blvl`,`items_main`.`id`,`items_main`.`name`,`items_main`.`img`,`items_main`.`type`,`items_main`.`inslot`,`items_main`.`2h`,`items_main`.`2too`,`items_main`.`iznosMAXi`,`items_main`.`inRazdel`,`items_main`.`price1`,`items_main`.`price2`,`items_main`.`magic_chance`,`items_main`.`info`,`items_main`.`massa`,`items_main`.`level`,`items_main`.`magic_inci`,`items_main`.`overTypei`,`items_main`.`group`,`items_main`.`group_max`,`items_main`.`geni`,`items_main`.`ts`,`items_main`.`srok`,`items_main`.`class`,`items_main`.`class_point`,`items_main`.`anti_class`,`items_main`.`anti_class_point`,`items_main`.`max_text`,`items_main`.`useInBattle`,`items_main`.`lbtl`,`items_main`.`lvl_itm`,`items_main`.`lvl_exp`,`items_main`.`lvl_aexp` FROM `items_users` LEFT JOIN `items_main` ON (`items_main`.`id` = `items_users`.`item_id`) WHERE (( `items_users`.time_create + `items_main`.srok) > unix_timestamp() OR `items_main`.srok = "0") AND `items_users`.`delete`="0" AND `items_users`.`inOdet`="0" AND `items_users`.`inShop`="30" and `items_main`.`type` != "18" AND `items_main`.`type` != "19" AND `items_main`.`type` != "20" AND `items_main`.`type` != "21" AND `items_main`.`type` != "22" AND `items_main`.`type` != "15" AND `items_main`.`type` != "12" AND `items_main`.`type` != "4" AND `items_main`.`type` != "5" AND `items_main`.`type` != "6" AND `items_main`.`type` != "1" AND `items_main`.`type` != "3" AND `items_main`.`type` != "8" AND `items_main`.`type` != "14" AND `items_main`.`type` != "13" AND `items_main`.`type` != "9" AND `items_main`.`type` != "10" AND `items_main`.`type` != "11" AND `items_main`.`type` != "29" AND `items_main`.`type` != "30" GROUP BY `items_users`.`item_id` ORDER BY `items_main`.`id` DESC' + ); } } $cr = 'c8c8c8'; @@ -3216,7 +3873,6 @@ ORDER BY `1price`ASC , inGroupCount DESC'); while ($pl = mysql_fetch_array($cl)) { // if ($preview == "preview") { - //$steck = mysql_fetch_array(mysql_query('SELECT COUNT(`item_id`) FROM `items_users` WHERE `item_id` = "'.$pl['item_id'].'" AND `inShop` = 30 LIMIT 1')); $steck = ['--', '--', '--', '--']; } if ($cr == 'd4d4d4') { @@ -3229,7 +3885,11 @@ ORDER BY `1price`ASC , inGroupCount DESC'); continue; } else { $steckCikl = 1; - $d = mysql_fetch_array(mysql_query('SELECT `id`,`items_id`,`data` FROM `items_main_data` WHERE `items_id` = "' . $pl['item_id'] . '" LIMIT 1')); + $d = mysql_fetch_array( + mysql_query( + 'SELECT `id`,`items_id`,`data` FROM `items_main_data` WHERE `items_id` = "' . $pl['item_id'] . '" LIMIT 1' + ) + ); if ($steck[0] > 1 && $preview == "preview") { $po = $this->lookStats($d['data']); } else { @@ -3299,12 +3959,16 @@ ORDER BY `1price`ASC , inGroupCount DESC'); } } if ($preview == "preview") { - $is2 .= '
    : ' . floor($steck[1]) . '/' . ceil($steck[2]) . ''; + $is2 .= '
    : ' . floor($steck[1]) . '/' . ceil( + $steck[2] + ) . ''; } else { if ($pl['iznosMAXi'] == 999999999) { $is2 .= '
    : '; } else { - $is2 .= '
    : ' . floor($pl['iznosNOW']) . '/' . ceil($pl['iznosMAX']) . ''; + $is2 .= '
    : ' . floor( + $pl['iznosNOW'] + ) . '/' . ceil($pl['iznosMAX']) . ''; } } // @@ -3316,7 +3980,9 @@ ORDER BY `1price`ASC , inGroupCount DESC'); if ($pl['time_create'] + $pl['srok'] < time()) { $is2 .= '
    : ' . $this->timeOut($pl['srok']) . ' ()'; } else { - $is2 .= '
    : ' . $this->timeOut($pl['srok']) . ' ( ' . date('d.m.Y H:i', $pl['time_create'] + $pl['srok']) . ')'; + $is2 .= '
    : ' . $this->timeOut($pl['srok']) . ' ( ' . date( + 'd.m.Y H:i', $pl['time_create'] + $pl['srok'] + ) . ')'; } } elseif ($pl['srok'] > 0) { $is2 .= '
    : ' . $this->timeOut($pl['srok']); @@ -3327,7 +3993,11 @@ ORDER BY `1price`ASC , inGroupCount DESC'); // : if ((int)$pl['magic_inci'] > 0) { - $efi = mysql_fetch_array(mysql_query('SELECT `id2`,`mname`,`type1`,`img`,`mdata`,`actionTime`,`type2`,`type3`,`onlyOne`,`oneType`,`noAce`,`see`,`info`,`overch`,`bp`,`noch` FROM `eff_main` WHERE `id2` = "' . ((int)$pl['magic_inci']) . '" LIMIT 1')); + $efi = mysql_fetch_array( + mysql_query( + 'SELECT `id2`,`mname`,`type1`,`img`,`mdata`,`actionTime`,`type2`,`type3`,`onlyOne`,`oneType`,`noAce`,`see`,`info`,`overch`,`bp`,`noch` FROM `eff_main` WHERE `id2` = "' . ((int)$pl['magic_inci']) . '" LIMIT 1' + ) + ); if (isset($efi['id2']) && $efi['actionTime'] > 0) { $is2 .= '
    : ' . $this->timeOut($efi['actionTime']); } @@ -3356,7 +4026,9 @@ ORDER BY `1price`ASC , inGroupCount DESC'); $tr .= '
    '; if ($n == 'rep') { $temp = explode('::', $po['tr_' . $n]); - $tr .= $this->is[$n] . ' ' . ucfirst(str_replace('city', ' city', $temp[1])) . ': ' . $temp[0]; + $tr .= $this->is[$n] . ' ' . ucfirst( + str_replace('city', ' city', $temp[1]) + ) . ': ' . $temp[0]; unset($temp); } elseif ($n != 'align') { if ($n == 'sex') { @@ -3410,7 +4082,9 @@ ORDER BY `1price`ASC , inGroupCount DESC'); } $tr .= '
    ' . $bn[$i] . ': ' . $z . '' . $po['add_mab' . $i]; } else { - $tr .= '
    ' . $bn[$i] . ': ' . $po['add_mib' . $i] . '-' . $po['add_mab' . $i] . ' (' . $this->bronFx([$po['add_mib' . $i], $po['add_mab' . $i]]) . ')'; + $tr .= '
    ' . $bn[$i] . ': ' . $po['add_mib' . $i] . '-' . $po['add_mab' . $i] . ' (' . $this->bronFx( + [$po['add_mib' . $i], $po['add_mab' . $i]] + ) . ')'; } } $i++; @@ -3502,7 +4176,9 @@ ORDER BY `1price`ASC , inGroupCount DESC'); if (isset($po['complect'])) { // $com1 = ['name' => ' ', 'x' => 0, 'text' => '']; - $spc = mysql_query('SELECT `id`,`com`,`name`,`x`,`data` FROM `complects` WHERE `com` = "' . $po['complect'] . '" ORDER BY `x` ASC LIMIT 20'); + $spc = mysql_query( + 'SELECT `id`,`com`,`name`,`x`,`data` FROM `complects` WHERE `com` = "' . $po['complect'] . '" ORDER BY `x` ASC LIMIT 20' + ); while ($plc = mysql_fetch_array($spc)) { $com1['name'] = $plc['name']; $com1['text'] .= '    • ' . $plc['x'] . ': '; @@ -3536,7 +4212,9 @@ ORDER BY `1price`ASC , inGroupCount DESC'); if (isset($po['complect2'])) { // $com1 = ['name' => ' ', 'x' => 0, 'text' => '']; - $spc = mysql_query('SELECT `id`,`com`,`name`,`x`,`data` FROM `complects` WHERE `com` = "' . $po['complect2'] . '" ORDER BY `x` ASC LIMIT 20'); + $spc = mysql_query( + 'SELECT `id`,`com`,`name`,`x`,`data` FROM `complects` WHERE `com` = "' . $po['complect2'] . '" ORDER BY `x` ASC LIMIT 20' + ); while ($plc = mysql_fetch_array($spc)) { $com1['name'] = $plc['name']; $com1['text'] .= '    • ' . $plc['x'] . ': '; @@ -3581,9 +4259,6 @@ ORDER BY `1price`ASC , inGroupCount DESC'); if ($pl['max_text'] - $pl['use_text'] > 0) { $is2 .= '
    : ' . ($pl['max_text'] - $pl['use_text']) . '
    '; } - if ($pl['maidin'] != '') { - // $is2 .= '
    '.$this->city_name[$pl['maidin']].'
    '; - } if (isset($po['noremont'])) { $is2 .= '
    '; } @@ -3617,7 +4292,6 @@ ORDER BY `1price`ASC , inGroupCount DESC'); if (isset($po['zazuby']) && $po['zazuby'] > 0) { $is2 .= '
    '; } - //$is2 .= '
    '.$this->city_name[$this->info['city']].'
    '; $is2 .= ''; } if ($preview == "preview") { @@ -3627,14 +4301,16 @@ ORDER BY `1price`ASC , inGroupCount DESC'); $i++; } } - if ($i == 0) echo '
    '; + if ($i == 0) { + echo ''; + } } public $sid_zuby = [ // 1 => 1, // 9 => 1, // - 8 => 1 // + 8 => 1, // ]; public function shopItems($sid, $plu = '') @@ -3648,19 +4324,43 @@ ORDER BY `1price`ASC , inGroupCount DESC'); } if ($this->info['admin'] > 0) { - $ishp = mysql_fetch_array(mysql_query('SELECT * FROM `items_shop` WHERE `sid` = "' . mysql_real_escape_string($sid) . '" AND `r` = "' . mysql_real_escape_string($_GET['otdel']) . '" AND `item_id` = "' . mysql_real_escape_string($_GET['itmid']) . '" AND `kolvo` > 0 LIMIT 1')); + $ishp = mysql_fetch_array( + mysql_query( + 'SELECT * FROM `items_shop` WHERE `sid` = "' . mysql_real_escape_string( + $sid + ) . '" AND `r` = "' . mysql_real_escape_string( + $_GET['otdel'] + ) . '" AND `item_id` = "' . mysql_real_escape_string($_GET['itmid']) . '" AND `kolvo` > 0 LIMIT 1' + ) + ); if (isset($_GET['itmup'])) { - mysql_query('UPDATE `items_shop` SET `pos` = "' . ($ishp['pos'] - 1) . '" WHERE `sid` = "' . mysql_real_escape_string($sid) . '" AND `r` = "' . mysql_real_escape_string($_GET['otdel']) . '" AND `item_id` = "' . mysql_real_escape_string($_GET['itmid']) . '" AND `kolvo` > 0 LIMIT 1'); + mysql_query( + 'UPDATE `items_shop` SET `pos` = "' . ($ishp['pos'] - 1) . '" WHERE `sid` = "' . mysql_real_escape_string( + $sid + ) . '" AND `r` = "' . mysql_real_escape_string( + $_GET['otdel'] + ) . '" AND `item_id` = "' . mysql_real_escape_string($_GET['itmid']) . '" AND `kolvo` > 0 LIMIT 1' + ); } elseif (isset($_GET['itmdown'])) { - mysql_query('UPDATE `items_shop` SET `pos` = "' . ($ishp['pos'] + 1) . '" WHERE `sid` = "' . mysql_real_escape_string($sid) . '" AND `r` = "' . mysql_real_escape_string($_GET['otdel']) . '" AND `item_id` = "' . mysql_real_escape_string($_GET['itmid']) . '" AND `kolvo` > 0 LIMIT 1'); + mysql_query( + 'UPDATE `items_shop` SET `pos` = "' . ($ishp['pos'] + 1) . '" WHERE `sid` = "' . mysql_real_escape_string( + $sid + ) . '" AND `r` = "' . mysql_real_escape_string( + $_GET['otdel'] + ) . '" AND `item_id` = "' . mysql_real_escape_string($_GET['itmid']) . '" AND `kolvo` > 0 LIMIT 1' + ); } } - $cl = mysql_query('SELECT + $cl = mysql_query( + 'SELECT `ish`.`price_4`,`im`.`id`,`im`.`name`,`im`.`img`,`im`.`type`,`im`.`inslot`,`im`.`2h`,`im`.`2too`,`im`.`iznosMAXi`,`im`.`inRazdel`,`im`.`price1`,`im`.`price2`,`im`.`pricerep`,`im`.`magic_chance`,`im`.`info`,`im`.`massa`,`im`.`level`,`im`.`magic_inci`,`im`.`overTypei`,`im`.`group`,`im`.`group_max`,`im`.`geni`,`im`.`ts`,`im`.`srok`,`im`.`class`,`im`.`class_point`,`im`.`anti_class`,`im`.`anti_class_point`,`im`.`max_text`,`im`.`useInBattle`,`im`.`lbtl`,`im`.`lvl_itm`,`im`.`lvl_exp`,`im`.`lvl_aexp`, `ish`.`iid`,`ish`.`item_id`,`ish`.`data2`,`ish`.`iznos`,`ish`.`pos`,`ish`.`cantBuy`,`ish`.`kolvo`,`ish`.`geniration`,`ish`.`magic_inc`,`ish`.`timeOver`,`ish`.`overType`,`ish`.`secret_id`,`ish`.`sid`,`ish`.`r`,`ish`.`price_1`,`ish`.`price_2`,`ish`.`price_3`,`ish`.`level`,`ish`.`tr_items`,`ish`.`max_buy`,`ish`.`real`,`ish`.`nozuby` - FROM `items_shop` AS `ish` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `ish`.`item_id`) WHERE `ish`.`sid` = "' . mysql_real_escape_string($sid) . '" AND `ish`.`r` = "' . mysql_real_escape_string($_GET['otdel']) . '" ORDER BY `ish`.`pos` ASC'); + FROM `items_shop` AS `ish` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `ish`.`item_id`) WHERE `ish`.`sid` = "' . mysql_real_escape_string( + $sid + ) . '" AND `ish`.`r` = "' . mysql_real_escape_string($_GET['otdel']) . '" ORDER BY `ish`.`pos` ASC' + ); $cr = 'c8c8c8'; $i = 0; @@ -3682,7 +4382,11 @@ ORDER BY `1price`ASC , inGroupCount DESC'); if ($pl['price_2'] < 0) { $pl['price_2'] = 0; } - $d = mysql_fetch_array(mysql_query('SELECT `id`,`items_id`,`data` FROM `items_main_data` WHERE `items_id` = "' . $pl['id'] . '" LIMIT 1')); + $d = mysql_fetch_array( + mysql_query( + 'SELECT `id`,`items_id`,`data` FROM `items_main_data` WHERE `items_id` = "' . $pl['id'] . '" LIMIT 1' + ) + ); $po = $this->lookStats($d['data']); if ($sid == 609) { @@ -3712,7 +4416,7 @@ ORDER BY `1price`ASC , inGroupCount DESC'); } //} - if ($pl['nozuby'] == 0 && $this->info['level'] > 0 && $this->info['level'] < 8 && $pl['level'] < 8 && $sid_zuby == 1 && $c['zuby']) { + if ($pl['nozuby'] == 0 && $this->info['level'] > 0 && $this->info['level'] < 8 && $pl['level'] < 8 && $sid_zuby == 1 && Config::get('zuby')) { $is1 .= '
    '; } } @@ -3758,12 +4462,16 @@ ORDER BY `1price`ASC , inGroupCount DESC'); // if ($this->info['admin'] > 0) { - $is2 .= '
      ' . $pl['pos'] . '  
    '; + $is2 .= '
      ' . $pl['pos'] . '  
    '; } $is2 .= '
    : '; - if ($this->stats['silver'] >= 1 && $sid == 1) { - $is2 .= ''; - } elseif ($this->stats['silver'] >= 5 && ($sid == 2 || $sid == 777)) { + if ($this->stats['silver'] >= 1 && $sid == 1 || $this->stats['silver'] >= 5 && ($sid == 2 || $sid == 777)) { $is2 .= ''; } if ($sid == 609) { @@ -3823,15 +4531,11 @@ ORDER BY `1price`ASC , inGroupCount DESC'); $is2 .= '     (: ' . $pl['kolvo'] . ')'; } - if ($pl['nozuby'] == 0 && $sid != 609 && $c['zuby'] == true) { - if ($this->info['level'] > 0 && $this->info['level'] < 8) { - if ($pl['level'] < 8 && $sid_zuby == 1) { - if ($this->stats['silver'] > 0 && $sid == 1) { - $is2 .= ' (' . ltrim($this->zuby(round($pl['price_1'] * 0.95, 2)), ' ') . ')'; - } else { - $is2 .= ' (' . ltrim($this->zuby($pl['price_1']), ' ') . ')'; - } - } + if ($pl['nozuby'] == 0 && $sid != 609 && Config::get('zuby') && $this->info['level'] > 0 && $this->info['level'] < 8 && $pl['level'] < 8 && $sid_zuby == 1) { + if ($this->stats['silver'] > 0 && $sid == 1) { + $is2 .= ' (' . ltrim($this->zuby(round($pl['price_1'] * 0.95, 2)), ' ') . ')'; + } else { + $is2 .= ' (' . ltrim($this->zuby($pl['price_1']), ' ') . ')'; } } @@ -3843,10 +4547,16 @@ ORDER BY `1price`ASC , inGroupCount DESC'); while ($j < count($tims2)) { $tims = explode('=', $tims2[$j]); if ($tims[0] > 0 && $tims[1] > 0) { - $tis = mysql_fetch_array(mysql_query('SELECT `id`,`name`,`img`,`type`,`inslot`,`2h`,`2too`,`iznosMAXi`,`inRazdel`,`price1`,`price2`,`price3`,`magic_chance`,`info`,`massa`,`level`,`magic_inci`,`overTypei`,`group`,`group_max`,`geni`,`ts`,`srok`,`class`,`class_point`,`anti_class`,`anti_class_point`,`max_text`,`useInBattle`,`lbtl`,`lvl_itm`,`lvl_exp`,`lvl_aexp` FROM `items_main` WHERE `id` = "' . $tims[0] . '" LIMIT 1')); + $tis = mysql_fetch_array( + mysql_query( + 'SELECT `id`,`name`,`img`,`type`,`inslot`,`2h`,`2too`,`iznosMAXi`,`inRazdel`,`price1`,`price2`,`price3`,`magic_chance`,`info`,`massa`,`level`,`magic_inci`,`overTypei`,`group`,`group_max`,`geni`,`ts`,`srok`,`class`,`class_point`,`anti_class`,`anti_class_point`,`max_text`,`useInBattle`,`lbtl`,`lvl_itm`,`lvl_exp`,`lvl_aexp` FROM `items_main` WHERE `id` = "' . $tims[0] . '" LIMIT 1' + ) + ); if (isset($tis['id'])) { $num_rows = 0; - $s1p = mysql_query('SELECT `id`,`item_id`,`1price`,`2price`,`3price`,`uid`,`use_text`,`data`,`inOdet`,`inShop`,`delete`,`iznosNOW`,`iznosMAX`,`gift`,`gtxt1`,`gtxt2`,`kolvo`,`geniration`,`magic_inc`,`maidin`,`lastUPD`,`timeOver`,`overType`,`secret_id`,`time_create`,`inGroup`,`dn_delete`,`inTransfer`,`post_delivery`,`lbtl_`,`bexp`,`so`,`blvl` FROM `items_users` WHERE `item_id` = "' . ((int)$tims[0]) . '" AND `uid` = "' . $this->info['id'] . '" AND (`delete` = "0" OR `delete` = "1000") AND `inShop` = "0" AND `inOdet` = "0"'); + $s1p = mysql_query( + 'SELECT `id`,`item_id`,`1price`,`2price`,`3price`,`uid`,`use_text`,`data`,`inOdet`,`inShop`,`delete`,`iznosNOW`,`iznosMAX`,`gift`,`gtxt1`,`gtxt2`,`kolvo`,`geniration`,`magic_inc`,`maidin`,`lastUPD`,`timeOver`,`overType`,`secret_id`,`time_create`,`inGroup`,`dn_delete`,`inTransfer`,`post_delivery`,`lbtl_`,`bexp`,`so`,`blvl` FROM `items_users` WHERE `item_id` = "' . ((int)$tims[0]) . '" AND `uid` = "' . $this->info['id'] . '" AND (`delete` = "0" OR `delete` = "1000") AND `inShop` = "0" AND `inOdet` = "0"' + ); while ($p1l = mysql_fetch_array($s1p)) { $num_rows++; } @@ -3858,7 +4568,7 @@ ORDER BY `1price`ASC , inGroupCount DESC'); } $j++; } - if ($c['noitembuy'] == true) { + if (Config::get('noitembuy')) { $trn = 1; $ttmm = ''; } @@ -3906,7 +4616,11 @@ ORDER BY `1price`ASC , inGroupCount DESC'); // : if ((int)$pl['magic_inci'] > 0) { - $efi = mysql_fetch_array(mysql_query('SELECT `id2`,`mname`,`type1`,`img`,`mdata`,`actionTime`,`type2`,`type3`,`onlyOne`,`oneType`,`noAce`,`see`,`info`,`overch`,`bp`,`noch` FROM `eff_main` WHERE `id2` = "' . ((int)$pl['magic_inci']) . '" LIMIT 1')); + $efi = mysql_fetch_array( + mysql_query( + 'SELECT `id2`,`mname`,`type1`,`img`,`mdata`,`actionTime`,`type2`,`type3`,`onlyOne`,`oneType`,`noAce`,`see`,`info`,`overch`,`bp`,`noch` FROM `eff_main` WHERE `id2` = "' . ((int)$pl['magic_inci']) . '" LIMIT 1' + ) + ); if (isset($efi['id2']) && $efi['actionTime'] > 0) { $is2 .= '
    : ' . $this->timeOut($efi['actionTime']); } @@ -3935,7 +4649,9 @@ ORDER BY `1price`ASC , inGroupCount DESC'); $tr .= '
    '; if ($n == 'rep') { $temp = explode('::', $po['tr_' . $n]); - $tr .= $this->is[$n] . ' ' . ucfirst(str_replace('city', ' city', $temp[1])) . ': ' . $temp[0]; + $tr .= $this->is[$n] . ' ' . ucfirst( + str_replace('city', ' city', $temp[1]) + ) . ': ' . $temp[0]; unset($temp); } elseif ($n != 'align') { if ($n == 'sex') { @@ -4081,7 +4797,11 @@ ORDER BY `1price`ASC , inGroupCount DESC'); if ($pl['magic_inc'] == '') { $pl['magic_inc'] = $pl['magic_inci']; } - $mgi = mysql_fetch_array(mysql_query('SELECT * FROM `eff_main` WHERE `id2` = "' . $pl['magic_inc'] . '" AND `type1` = "12345" LIMIT 1')); + $mgi = mysql_fetch_array( + mysql_query( + 'SELECT * FROM `eff_main` WHERE `id2` = "' . $pl['magic_inc'] . '" AND `type1` = "12345" LIMIT 1' + ) + ); if (isset($mgi['id2'])) { $is2 .= '
    ' . $mgi['minfo'] . '
    '; } @@ -4097,7 +4817,9 @@ ORDER BY `1price`ASC , inGroupCount DESC'); if (isset($po['complect'])) { // $com1 = ['name' => ' ', 'x' => 0, 'text' => '']; - $spc = mysql_query('SELECT `id`,`com`,`name`,`x`,`data` FROM `complects` WHERE `com` = "' . $po['complect'] . '" ORDER BY `x` ASC LIMIT 20'); + $spc = mysql_query( + 'SELECT `id`,`com`,`name`,`x`,`data` FROM `complects` WHERE `com` = "' . $po['complect'] . '" ORDER BY `x` ASC LIMIT 20' + ); while ($plc = mysql_fetch_array($spc)) { $com1['name'] = $plc['name']; $com1['text'] .= '    • ' . $plc['x'] . ': '; @@ -4196,7 +4918,10 @@ ORDER BY `1price`ASC , inGroupCount DESC'); $crd = ''; if ($this->info['admin'] > 0) { - $crd = '  
    '; + $crd = '  
    '; } echo '
    '; @@ -4219,58 +4944,6 @@ ORDER BY `1price`ASC , inGroupCount DESC'); return $vl; } - public function testBagStats() - { - $st = $this->lookStats($this->info['stats']); - $n1 = $this->info['ability']; - $i = 1; - while ($i <= 10) { - $n1 += $st['s' . $i]; - $i++; - } - $n2 = $this->info['skills']; - $i = 1; - while ($i <= 7) { - $n2 += $st['a' . $i] + $st['mg' . $i]; - $i++; - } - - $n01 = 12; - $n02 = 1; - $ll = 0; - $lvl = mysql_query('SELECT `bprice`,`upLevel`,`nextLevel`,`exp`,`money`,`money_bonus1`,`money_bonus2`,`ability`,`skills`,`nskills`,`sskills`,`expBtlMax`,`hpRegen`,`mpRegen`,`money2` FROM `levels` WHERE `upLevel` < "' . $this->info['upLevel'] . '"'); - while ($pl = mysql_fetch_array($lvl)) { - $n01 += $pl['ability']; - $n02 += $pl['skills']; - if ($ll < $pl['nextLevel']) { - $n01 += 1; // - if ($this->info['level'] >= 9) { - $n01 += 1; - } - if ($this->info['level'] >= 10) { - $n01 += 2; - } - if ($this->info['level'] >= 11) { - $n01 += 4; - } - $ll++; - } - } - - if ($n1 - $n01 != 3 || $n2 != $n02) { - if ($this->info['bagStats'] != $bg) { - $bg = '[' . $n1 . '|' . $n01 . '|' . $n2 . '|' . $n02 . ']'; - mysql_query('UPDATE `stats` SET `bagStats` = "' . $bg . '" WHERE `id` = "' . $this->info['id'] . '" LIMIT 1'); - $this->info['bagStats'] = $bg; - } - } else { - if ($this->info['bagStats'] != '0') { - mysql_query('UPDATE `stats` SET `bagStats` = "0" WHERE `id` = "' . $this->info['id'] . '" LIMIT 1'); - $this->info['bagStats'] = 0; - } - } - } - public function wipe() { if ($this->info['wipe'] > 0 && $this->info['battle'] == 0) { @@ -4330,7 +5003,9 @@ ORDER BY `1price`ASC , inGroupCount DESC'); } // $st = $this->impStats($st); - $upd = mysql_query('UPDATE `stats` SET `wipe`="0",`stats`="' . $st . '",`ability`="' . $n1 . '",`skills`="' . $n2 . '",`sskills`="' . $n3 . '",`nskills`="' . $n4 . '" WHERE `id` = "' . $this->info['id'] . '" LIMIT 1'); + $upd = mysql_query( + 'UPDATE `stats` SET `wipe`="0",`stats`="' . $st . '",`ability`="' . $n1 . '",`skills`="' . $n2 . '",`sskills`="' . $n3 . '",`nskills`="' . $n4 . '" WHERE `id` = "' . $this->info['id'] . '" LIMIT 1' + ); if ($upd) { $this->info['stats'] = $st; $this->info['ability'] = $n1; @@ -4372,10 +5047,14 @@ ORDER BY `1price`ASC , inGroupCount DESC'); public function freeStatsMod($id, $s, $uid) { - $itm = mysql_fetch_array(mysql_query('SELECT + $itm = mysql_fetch_array( + mysql_query( + 'SELECT `im`.`id`,`im`.`name`,`im`.`img`,`im`.`type`,`im`.`inslot`,`im`.`2h`,`im`.`2too`,`im`.`iznosMAXi`,`im`.`inRazdel`,`im`.`price1`,`im`.`price2`,`im`.`pricerep`,`im`.`magic_chance`,`im`.`info`,`im`.`massa`,`im`.`level`,`im`.`magic_inci`,`im`.`overTypei`,`im`.`group`,`im`.`group_max`,`im`.`geni`,`im`.`ts`,`im`.`srok`,`im`.`class`,`im`.`class_point`,`im`.`anti_class`,`im`.`anti_class_point`,`im`.`max_text`,`im`.`useInBattle`,`im`.`lbtl`,`im`.`lvl_itm`,`im`.`lvl_exp`,`im`.`lvl_aexp`, `iu`.`id`,`iu`.`item_id`,`iu`.`1price`,`iu`.`2price`,`iu`.`uid`,`iu`.`use_text`,`iu`.`data`,`iu`.`inOdet`,`iu`.`inShop`,`iu`.`delete`,`iu`.`iznosNOW`,`iu`.`iznosMAX`,`iu`.`gift`,`iu`.`gtxt1`,`iu`.`gtxt2`,`iu`.`kolvo`,`iu`.`geniration`,`iu`.`magic_inc`,`iu`.`maidin`,`iu`.`lastUPD`,`iu`.`timeOver`,`iu`.`overType`,`iu`.`secret_id`,`iu`.`time_create`,`iu`.`time_sleep`,`iu`.`inGroup`,`iu`.`dn_delete`,`iu`.`inTransfer`,`iu`.`post_delivery`,`iu`.`lbtl_`,`iu`.`bexp`,`iu`.`so`,`iu`.`blvl` - FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.`item_id`) WHERE `iu`.`id` = "' . ((int)$id) . '" AND `iu`.`uid` = "' . $uid . '" AND `iu`.`delete` = "0" AND `iu`.`inShop` = "0" AND `iu`.`inOdet` = "0" LIMIT 1')); + FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.`item_id`) WHERE `iu`.`id` = "' . ((int)$id) . '" AND `iu`.`uid` = "' . $uid . '" AND `iu`.`delete` = "0" AND `iu`.`inShop` = "0" AND `iu`.`inOdet` = "0" LIMIT 1' + ) + ); if (isset($itm['id'])) { $po = $this->lookStats($itm['data']); @@ -4387,7 +5066,9 @@ ORDER BY `1price`ASC , inGroupCount DESC'); $po['add_' . $_GET['mf']] += 1; $po = $this->impStats($po); - mysql_query('UPDATE `items_users` SET `data` = "' . $po . '" WHERE `id` = "' . $itm['id'] . '" LIMIT 1'); + mysql_query( + 'UPDATE `items_users` SET `data` = "' . $po . '" WHERE `id` = "' . $itm['id'] . '" LIMIT 1' + ); } } elseif ($_GET['mf'] == 'm1' || $_GET['mf'] == 'm2' || $_GET['mf'] == 'm4' || $_GET['mf'] == 'm5') { if (isset($po['mf_mod']) && $po['mf_mod'] > 0 && isset($po['add_' . $_GET['mf']])) { @@ -4396,7 +5077,9 @@ ORDER BY `1price`ASC , inGroupCount DESC'); $po['add_' . $_GET['mf']] += 1; $po = $this->impStats($po); - mysql_query('UPDATE `items_users` SET `data` = "' . $po . '" WHERE `id` = "' . $itm['id'] . '" LIMIT 1'); + mysql_query( + 'UPDATE `items_users` SET `data` = "' . $po . '" WHERE `id` = "' . $itm['id'] . '" LIMIT 1' + ); } } elseif ($_GET['mf'] == 'mib1' || $_GET['mf'] == 'mib2' || $_GET['mf'] == 'mib3' || $_GET['mf'] == 'mib4') { $s = $_GET['mf']; @@ -4413,7 +5096,9 @@ ORDER BY `1price`ASC , inGroupCount DESC'); } $po = $this->impStats($po); - mysql_query('UPDATE `items_users` SET `data` = "' . $po . '" WHERE `id` = "' . $itm['id'] . '" LIMIT 1'); + mysql_query( + 'UPDATE `items_users` SET `data` = "' . $po . '" WHERE `id` = "' . $itm['id'] . '" LIMIT 1' + ); } } } @@ -4421,10 +5106,14 @@ ORDER BY `1price`ASC , inGroupCount DESC'); public function freeStatsItem($id, $s, $uid) { - $itm = mysql_fetch_array(mysql_query('SELECT + $itm = mysql_fetch_array( + mysql_query( + 'SELECT `im`.`id`,`im`.`name`,`im`.`img`,`im`.`type`,`im`.`inslot`,`im`.`2h`,`im`.`2too`,`im`.`iznosMAXi`,`im`.`inRazdel`,`im`.`price1`,`im`.`price2`,`im`.`pricerep`,`im`.`magic_chance`,`im`.`info`,`im`.`massa`,`im`.`level`,`im`.`magic_inci`,`im`.`overTypei`,`im`.`group`,`im`.`group_max`,`im`.`geni`,`im`.`ts`,`im`.`srok`,`im`.`class`,`im`.`class_point`,`im`.`anti_class`,`im`.`anti_class_point`,`im`.`max_text`,`im`.`useInBattle`,`im`.`lbtl`,`im`.`lvl_itm`,`im`.`lvl_exp`,`im`.`lvl_aexp`, `iu`.`id`,`iu`.`item_id`,`iu`.`1price`,`iu`.`2price`,`iu`.`uid`,`iu`.`use_text`,`iu`.`data`,`iu`.`inOdet`,`iu`.`inShop`,`iu`.`delete`,`iu`.`iznosNOW`,`iu`.`iznosMAX`,`iu`.`gift`,`iu`.`gtxt1`,`iu`.`gtxt2`,`iu`.`kolvo`,`iu`.`geniration`,`iu`.`magic_inc`,`iu`.`maidin`,`iu`.`lastUPD`,`iu`.`timeOver`,`iu`.`overType`,`iu`.`secret_id`,`iu`.`time_create`,`iu`.`time_sleep`,`iu`.`inGroup`,`iu`.`dn_delete`,`iu`.`inTransfer`,`iu`.`post_delivery`,`iu`.`lbtl_`,`iu`.`bexp`,`iu`.`so`,`iu`.`blvl` - FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.`item_id`) WHERE `iu`.`id` = "' . ((int)$id) . '" AND `iu`.`uid` = "' . $uid . '" AND `iu`.`delete` = "0" AND `iu`.`inShop` = "0" AND `iu`.`inOdet` = "0" LIMIT 1')); + FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.`item_id`) WHERE `iu`.`id` = "' . ((int)$id) . '" AND `iu`.`uid` = "' . $uid . '" AND `iu`.`delete` = "0" AND `iu`.`inShop` = "0" AND `iu`.`inOdet` = "0" LIMIT 1' + ) + ); if (isset($itm['id']) && ($s == 1 || $s == 2 || $s == 3 || $s == 5)) { $po = $this->lookStats($itm['data']); if (isset($po['free_stats']) && $po['free_stats'] > 0) { @@ -4444,10 +5133,14 @@ ORDER BY `1price`ASC , inGroupCount DESC'); public function freeStats2Item($id, $s, $uid, $tp) { - $itm = mysql_fetch_array(mysql_query('SELECT + $itm = mysql_fetch_array( + mysql_query( + 'SELECT `im`.`id`,`im`.`name`,`im`.`img`,`im`.`type`,`im`.`inslot`,`im`.`2h`,`im`.`2too`,`im`.`iznosMAXi`,`im`.`inRazdel`,`im`.`price1`,`im`.`price2`,`im`.`pricerep`,`im`.`magic_chance`,`im`.`info`,`im`.`massa`,`im`.`level`,`im`.`magic_inci`,`im`.`overTypei`,`im`.`group`,`im`.`group_max`,`im`.`geni`,`im`.`ts`,`im`.`srok`,`im`.`class`,`im`.`class_point`,`im`.`anti_class`,`im`.`anti_class_point`,`im`.`max_text`,`im`.`useInBattle`,`im`.`lbtl`,`im`.`lvl_itm`,`im`.`lvl_exp`,`im`.`lvl_aexp`, `iu`.`id`,`iu`.`item_id`,`iu`.`1price`,`iu`.`2price`,`iu`.`uid`,`iu`.`use_text`,`iu`.`data`,`iu`.`inOdet`,`iu`.`inShop`,`iu`.`delete`,`iu`.`iznosNOW`,`iu`.`iznosMAX`,`iu`.`gift`,`iu`.`gtxt1`,`iu`.`gtxt2`,`iu`.`kolvo`,`iu`.`geniration`,`iu`.`magic_inc`,`iu`.`maidin`,`iu`.`lastUPD`,`iu`.`timeOver`,`iu`.`overType`,`iu`.`secret_id`,`iu`.`time_create`,`iu`.`time_sleep`,`iu`.`inGroup`,`iu`.`dn_delete`,`iu`.`inTransfer`,`iu`.`post_delivery`,`iu`.`lbtl_`,`iu`.`bexp`,`iu`.`so`,`iu`.`blvl` - FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.`item_id`) WHERE `iu`.`id` = "' . ((int)$id) . '" AND `iu`.`uid` = "' . $uid . '" AND `iu`.`delete` = "0" AND `iu`.`inShop` = "0" AND `iu`.`inOdet` = "0" LIMIT 1')); + FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.`item_id`) WHERE `iu`.`id` = "' . ((int)$id) . '" AND `iu`.`uid` = "' . $uid . '" AND `iu`.`delete` = "0" AND `iu`.`inShop` = "0" AND `iu`.`inOdet` = "0" LIMIT 1' + ) + ); if (isset($itm['id'])) { $po = $this->lookStats($itm['data']); if ($itm['so'] > 0) { @@ -4518,25 +5211,37 @@ ORDER BY `1price`ASC , inGroupCount DESC'); } } $po = $this->impStats($po); - mysql_query('UPDATE `items_users` SET `data` = "' . $po . '",`so` = "' . $itm['so'] . '" WHERE `id` = "' . $itm['id'] . '" LIMIT 1'); + mysql_query( + 'UPDATE `items_users` SET `data` = "' . $po . '",`so` = "' . $itm['so'] . '" WHERE `id` = "' . $itm['id'] . '" LIMIT 1' + ); } } public function obj_addItem($id) { - $itm = mysql_fetch_array(mysql_query('SELECT `im`.`id`,`im`.`name`,`im`.`img`,`im`.`type`,`im`.`inslot`,`im`.`2h`,`im`.`2too`,`im`.`iznosMAXi`,`im`.`inRazdel`,`im`.`price1`,`im`.`price2`,`im`.`pricerep`,`im`.`magic_chance`,`im`.`info`,`im`.`massa`,`im`.`level`,`im`.`magic_inci`,`im`.`overTypei`,`im`.`group`,`im`.`group_max`,`im`.`geni`,`im`.`ts`,`im`.`srok`,`im`.`class`,`im`.`class_point`,`im`.`anti_class`,`im`.`anti_class_point`,`im`.`max_text`,`im`.`useInBattle`,`im`.`lbtl`,`im`.`lvl_itm`,`im`.`lvl_exp`,`im`.`lvl_aexp`,`iu`.`id`,`iu`.`item_id`,`iu`.`1price`,`iu`.`2price`,`iu`.`uid`,`iu`.`use_text`,`iu`.`data`,`iu`.`inOdet`,`iu`.`inShop`,`iu`.`delete`,`iu`.`iznosNOW`,`iu`.`iznosMAX`,`iu`.`gift`,`iu`.`gtxt1`,`iu`.`gtxt2`,`iu`.`kolvo`,`iu`.`geniration`,`iu`.`magic_inc`,`iu`.`maidin`,`iu`.`lastUPD`,`iu`.`timeOver`,`iu`.`overType`,`iu`.`secret_id`,`iu`.`time_create`,`iu`.`time_sleep`,`iu`.`inGroup`,`iu`.`dn_delete`,`iu`.`inTransfer`,`iu`.`post_delivery`,`iu`.`lbtl_`,`iu`.`bexp`,`iu`.`so`,`iu`.`blvl` FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.`item_id`) WHERE `iu`.`uid`="' . $this->info['id'] . '" AND `iu`.`delete`="0" AND `iu`.`inOdet`="0" AND `iu`.`inShop`="0" AND `iu`.`id` = "' . ((int)$id) . '" LIMIT 1')); + $itm = mysql_fetch_array( + mysql_query( + 'SELECT `im`.`id`,`im`.`name`,`im`.`img`,`im`.`type`,`im`.`inslot`,`im`.`2h`,`im`.`2too`,`im`.`iznosMAXi`,`im`.`inRazdel`,`im`.`price1`,`im`.`price2`,`im`.`pricerep`,`im`.`magic_chance`,`im`.`info`,`im`.`massa`,`im`.`level`,`im`.`magic_inci`,`im`.`overTypei`,`im`.`group`,`im`.`group_max`,`im`.`geni`,`im`.`ts`,`im`.`srok`,`im`.`class`,`im`.`class_point`,`im`.`anti_class`,`im`.`anti_class_point`,`im`.`max_text`,`im`.`useInBattle`,`im`.`lbtl`,`im`.`lvl_itm`,`im`.`lvl_exp`,`im`.`lvl_aexp`,`iu`.`id`,`iu`.`item_id`,`iu`.`1price`,`iu`.`2price`,`iu`.`uid`,`iu`.`use_text`,`iu`.`data`,`iu`.`inOdet`,`iu`.`inShop`,`iu`.`delete`,`iu`.`iznosNOW`,`iu`.`iznosMAX`,`iu`.`gift`,`iu`.`gtxt1`,`iu`.`gtxt2`,`iu`.`kolvo`,`iu`.`geniration`,`iu`.`magic_inc`,`iu`.`maidin`,`iu`.`lastUPD`,`iu`.`timeOver`,`iu`.`overType`,`iu`.`secret_id`,`iu`.`time_create`,`iu`.`time_sleep`,`iu`.`inGroup`,`iu`.`dn_delete`,`iu`.`inTransfer`,`iu`.`post_delivery`,`iu`.`lbtl_`,`iu`.`bexp`,`iu`.`so`,`iu`.`blvl` FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.`item_id`) WHERE `iu`.`uid`="' . $this->info['id'] . '" AND `iu`.`delete`="0" AND `iu`.`inOdet`="0" AND `iu`.`inShop`="0" AND `iu`.`id` = "' . ((int)$id) . '" LIMIT 1' + ) + ); if ($this->info['transfers'] < 1) { $this->error = ' .'; } elseif (isset($itm['id'])) { if (isset($itm['inGroup']) and $itm['inGroup'] > 0) { $col = $this->itemsX($itm['id']); if ($col > 1) { - $upd = mysql_query('UPDATE `items_users` SET `inShop` = 1 WHERE `item_id`="' . $itm['item_id'] . '" AND `inShop` != "30" AND `uid`="' . $itm['uid'] . '" AND `inGroup` = "' . $itm['inGroup'] . '" LIMIT ' . $col . ''); + $upd = mysql_query( + 'UPDATE `items_users` SET `inShop` = 1 WHERE `item_id`="' . $itm['item_id'] . '" AND `inShop` != "30" AND `uid`="' . $itm['uid'] . '" AND `inGroup` = "' . $itm['inGroup'] . '" LIMIT ' . $col . '' + ); } else { - $upd = mysql_query('UPDATE `items_users` SET `inShop` = 1 WHERE `uid` = "' . $this->info['id'] . '" AND `inShop` != "30" AND `id` = "' . $itm['id'] . '" AND `inOdet` = "0" AND `delete` = "0" '); + $upd = mysql_query( + 'UPDATE `items_users` SET `inShop` = 1 WHERE `uid` = "' . $this->info['id'] . '" AND `inShop` != "30" AND `id` = "' . $itm['id'] . '" AND `inOdet` = "0" AND `delete` = "0" ' + ); } } else { - $upd = mysql_query('UPDATE `items_users` SET `inShop` = 1 WHERE `uid` = "' . $this->info['id'] . '" AND `inShop` != "30" AND `id` = "' . $id . '" AND `inOdet` = "0" AND `delete` = "0" '); + $upd = mysql_query( + 'UPDATE `items_users` SET `inShop` = 1 WHERE `uid` = "' . $this->info['id'] . '" AND `inShop` != "30" AND `id` = "' . $id . '" AND `inOdet` = "0" AND `delete` = "0" ' + ); } } else { $this->error = ' '; @@ -4545,20 +5250,30 @@ ORDER BY `1price`ASC , inGroupCount DESC'); public function obj_takeItem($id) { - $itm = mysql_fetch_array(mysql_query('SELECT `im`.`id`,`im`.`name`,`im`.`img`,`im`.`type`,`im`.`inslot`,`im`.`2h`,`im`.`2too`,`im`.`iznosMAXi`,`im`.`inRazdel`,`im`.`price1`,`im`.`price2`,`im`.`pricerep`,`im`.`magic_chance`,`im`.`info`,`im`.`massa`,`im`.`level`,`im`.`magic_inci`,`im`.`overTypei`,`im`.`group`,`im`.`group_max`,`im`.`geni`,`im`.`ts`,`im`.`srok`,`im`.`class`,`im`.`class_point`,`im`.`anti_class`,`im`.`anti_class_point`,`im`.`max_text`,`im`.`useInBattle`,`im`.`lbtl`,`im`.`lvl_itm`,`im`.`lvl_exp`,`im`.`lvl_aexp`,`iu`.`id`,`iu`.`item_id`,`iu`.`1price`,`iu`.`2price`,`iu`.`uid`,`iu`.`use_text`,`iu`.`data`,`iu`.`inOdet`,`iu`.`inShop`,`iu`.`delete`,`iu`.`iznosNOW`,`iu`.`iznosMAX`,`iu`.`gift`,`iu`.`gtxt1`,`iu`.`gtxt2`,`iu`.`kolvo`,`iu`.`geniration`,`iu`.`magic_inc`,`iu`.`maidin`,`iu`.`lastUPD`,`iu`.`timeOver`,`iu`.`overType`,`iu`.`secret_id`,`iu`.`time_create`,`iu`.`time_sleep`,`iu`.`inGroup`,`iu`.`dn_delete`,`iu`.`inTransfer`,`iu`.`post_delivery`,`iu`.`lbtl_`,`iu`.`bexp`,`iu`.`so`,`iu`.`blvl` -FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.`item_id`) WHERE `iu`.`uid`="' . $this->info['id'] . '" AND `iu`.`delete`="0" AND `iu`.`inOdet`="0" AND `iu`.`inShop`="1" AND `iu`.`id` = "' . ((int)$id) . '" LIMIT 1')); + $itm = mysql_fetch_array( + mysql_query( + 'SELECT `im`.`id`,`im`.`name`,`im`.`img`,`im`.`type`,`im`.`inslot`,`im`.`2h`,`im`.`2too`,`im`.`iznosMAXi`,`im`.`inRazdel`,`im`.`price1`,`im`.`price2`,`im`.`pricerep`,`im`.`magic_chance`,`im`.`info`,`im`.`massa`,`im`.`level`,`im`.`magic_inci`,`im`.`overTypei`,`im`.`group`,`im`.`group_max`,`im`.`geni`,`im`.`ts`,`im`.`srok`,`im`.`class`,`im`.`class_point`,`im`.`anti_class`,`im`.`anti_class_point`,`im`.`max_text`,`im`.`useInBattle`,`im`.`lbtl`,`im`.`lvl_itm`,`im`.`lvl_exp`,`im`.`lvl_aexp`,`iu`.`id`,`iu`.`item_id`,`iu`.`1price`,`iu`.`2price`,`iu`.`uid`,`iu`.`use_text`,`iu`.`data`,`iu`.`inOdet`,`iu`.`inShop`,`iu`.`delete`,`iu`.`iznosNOW`,`iu`.`iznosMAX`,`iu`.`gift`,`iu`.`gtxt1`,`iu`.`gtxt2`,`iu`.`kolvo`,`iu`.`geniration`,`iu`.`magic_inc`,`iu`.`maidin`,`iu`.`lastUPD`,`iu`.`timeOver`,`iu`.`overType`,`iu`.`secret_id`,`iu`.`time_create`,`iu`.`time_sleep`,`iu`.`inGroup`,`iu`.`dn_delete`,`iu`.`inTransfer`,`iu`.`post_delivery`,`iu`.`lbtl_`,`iu`.`bexp`,`iu`.`so`,`iu`.`blvl` +FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.`item_id`) WHERE `iu`.`uid`="' . $this->info['id'] . '" AND `iu`.`delete`="0" AND `iu`.`inOdet`="0" AND `iu`.`inShop`="1" AND `iu`.`id` = "' . ((int)$id) . '" LIMIT 1' + ) + ); if ($this->info['transfers'] < 1) { $this->error = ' .'; } elseif (isset($itm['id'])) { if (isset($itm['inGroup']) && $itm['inGroup'] > 0) { $col = $this->itemsX($itm['id']); if ($col > 1) { - $upd = mysql_query('UPDATE `items_users` SET `inShop` = 0 WHERE `uid` = "' . $this->info['id'] . '" AND ( `id` = "' . $itm['id'] . '" OR `inGroup` = "' . $itm['inGroup'] . '") AND `inShop` != "30" AND `inOdet` = "0" AND `delete` = "0" '); + $upd = mysql_query( + 'UPDATE `items_users` SET `inShop` = 0 WHERE `uid` = "' . $this->info['id'] . '" AND ( `id` = "' . $itm['id'] . '" OR `inGroup` = "' . $itm['inGroup'] . '") AND `inShop` != "30" AND `inOdet` = "0" AND `delete` = "0" ' + ); } else { - $upd = mysql_query('UPDATE `items_users` SET `inShop` = 0 WHERE `uid` = "' . $this->info['id'] . '" AND `id` = "' . $itm['id'] . '" AND `inShop` != "30" AND `inOdet` = "0" AND `delete` = "0" '); + $upd = mysql_query( + 'UPDATE `items_users` SET `inShop` = 0 WHERE `uid` = "' . $this->info['id'] . '" AND `id` = "' . $itm['id'] . '" AND `inShop` != "30" AND `inOdet` = "0" AND `delete` = "0" ' + ); } } else { - $upd = mysql_query('UPDATE `items_users` SET `inShop` = 0 WHERE `uid` = "' . $this->info['id'] . '" AND `id` = "' . $id . '" AND `inShop` != "30" AND `inOdet` = "0" AND `delete` = "0" '); + $upd = mysql_query( + 'UPDATE `items_users` SET `inShop` = 0 WHERE `uid` = "' . $this->info['id'] . '" AND `id` = "' . $id . '" AND `inShop` != "30" AND `inOdet` = "0" AND `delete` = "0" ' + ); } } else { $this->error = ' '; @@ -4567,61 +5282,65 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` public function itemsSmSave($id, $s, $uid) { - $itm = mysql_fetch_array(mysql_query('SELECT + $itm = mysql_fetch_array( + mysql_query( + 'SELECT `im`.`id`,`im`.`name`,`im`.`img`,`im`.`type`,`im`.`inslot`,`im`.`2h`,`im`.`2too`,`im`.`iznosMAXi`,`im`.`inRazdel`,`im`.`price1`,`im`.`price2`,`im`.`pricerep`,`im`.`magic_chance`,`im`.`info`,`im`.`massa`,`im`.`level`,`im`.`magic_inci`,`im`.`overTypei`,`im`.`group`,`im`.`group_max`,`im`.`geni`,`im`.`ts`,`im`.`srok`,`im`.`class`,`im`.`class_point`,`im`.`anti_class`,`im`.`anti_class_point`,`im`.`max_text`,`im`.`useInBattle`,`im`.`lbtl`,`im`.`lvl_itm`,`im`.`lvl_exp`,`im`.`lvl_aexp`, `iu`.`id`,`iu`.`item_id`,`iu`.`1price`,`iu`.`2price`,`iu`.`uid`,`iu`.`use_text`,`iu`.`data`,`iu`.`inOdet`,`iu`.`inShop`,`iu`.`delete`,`iu`.`iznosNOW`,`iu`.`iznosMAX`,`iu`.`gift`,`iu`.`gtxt1`,`iu`.`gtxt2`,`iu`.`kolvo`,`iu`.`geniration`,`iu`.`magic_inc`,`iu`.`maidin`,`iu`.`lastUPD`,`iu`.`timeOver`,`iu`.`overType`,`iu`.`secret_id`,`iu`.`time_create`,`iu`.`time_sleep`,`iu`.`inGroup`,`iu`.`dn_delete`,`iu`.`inTransfer`,`iu`.`post_delivery`,`iu`.`lbtl_`,`iu`.`bexp`,`iu`.`so`,`iu`.`blvl` - FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.`item_id`) WHERE `iu`.`id` = "' . ((int)$id) . '" AND `iu`.`uid` = "' . $uid . '" AND `iu`.`delete` = "0" AND `iu`.`inShop` = "0" AND `iu`.`inOdet` = "0" LIMIT 1')); - if (isset($itm['id'])) { - $s = (int)$s; - $po = $this->lookStats($itm['data']); - if (!isset($po['sudba']) || $po['sudba'] != '0') { - if (isset($po['sm_skill']) && $s > 100) { - $mx2 = 1; - $mx1 = 0; - $mx3 = $this->lookStats($this->info['stats']); - while ($mx2 <= 7) { - $mx1 += ($mx3['a' . $mx2] + $mx3['mg' . $mx2]) - ($po['add_a' . $mx2] + $po['add_mg' . $mx2]); - $mx2++; - } - $mx1 += $this->info['skills']; - if ($mx1 > 0) { - // - $s = $s - 100; - if ($s > 5 && $s <= 12) { - // - $po['add_mg' . ($s - 5)]++; - } elseif ($s > 0) { - // - $po['add_a' . $s]++; - } - } - } elseif (isset($po['sm_abil']) && $s < 11 && $s > 0) { - $mx2 = 1; - $mx1 = 0; - $mx3 = $this->lookStats($this->info['stats']); - while ($mx2 <= 7) { - $mx1 += $mx3['s' . $mx2] - $po['add_s' . $mx2]; - $mx2++; - } - $mx1 += $this->info['ability']; - if ($mx1 > 0) { - $po['add_s' . $s]++; - } + FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.`item_id`) WHERE `iu`.`id` = "' . ((int)$id) . '" AND `iu`.`uid` = "' . $uid . '" AND `iu`.`delete` = "0" AND `iu`.`inShop` = "0" AND `iu`.`inOdet` = "0" LIMIT 1' + ) + ); + if (!isset($itm['id'])) { + return; + } + $s = (int)$s; + $po = $this->lookStats($itm['data']); + if (isset($po['sudba']) && $po['sudba'] == '0') { + return; + } + if (isset($po['sm_skill']) && $s > 100) { + $mx2 = 1; + $mx1 = 0; + $mx3 = $this->lookStats($this->info['stats']); + while ($mx2 <= 7) { + $mx1 += ($mx3['a' . $mx2] + $mx3['mg' . $mx2]) - ($po['add_a' . $mx2] + $po['add_mg' . $mx2]); + $mx2++; + } + $mx1 += $this->info['skills']; + if ($mx1 > 0) { + // + $s = $s - 100; + if ($s > 5 && $s <= 12) { + // + $po['add_mg' . ($s - 5)]++; + } elseif ($s > 0) { + // + $po['add_a' . $s]++; } - - $po = $this->impStats($po); - mysql_query('UPDATE `items_users` SET `data` = "' . $po . '" WHERE `id` = "' . $itm['id'] . '" LIMIT 1'); - - unset($mx1, $mx2, $mx3, $po); + } + } elseif (isset($po['sm_abil']) && $s < 11 && $s > 0) { + $mx2 = 1; + $mx1 = 0; + $mx3 = $this->lookStats($this->info['stats']); + while ($mx2 <= 7) { + $mx1 += $mx3['s' . $mx2] - $po['add_s' . $mx2]; + $mx2++; + } + $mx1 += $this->info['ability']; + if ($mx1 > 0) { + $po['add_s' . $s]++; } } + + $po = $this->impStats($po); + mysql_query('UPDATE `items_users` SET `data` = "' . $po . '" WHERE `id` = "' . $itm['id'] . '" LIMIT 1'); + + unset($mx1, $mx2, $mx3, $po); } public function runeItem($id, $name = 0, $ruid = 0) { - if ($id == null) { - if ($ruid < 1 && isset($_GET['use_rune'])) { $ruid = $_GET['use_rune']; echo " @@ -4631,11 +5350,15 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` "; } - $rune = mysql_fetch_array(mysql_query('SELECT + $rune = mysql_fetch_array( + mysql_query( + 'SELECT `i`.`id`,`i`.`item_id`,`i`.`1price`,`i`.`2price`,`i`.`uid`,`i`.`use_text`,`i`.`data`,`i`.`inOdet`,`i`.`inShop`,`i`.`delete`,`i`.`iznosNOW`,`i`.`iznosMAX`,`i`.`gift`,`i`.`gtxt1`,`i`.`gtxt2`,`i`.`kolvo`,`i`.`geniration`,`i`.`magic_inc`,`i`.`maidin`,`i`.`lastUPD`,`i`.`timeOver`,`i`.`overType`,`i`.`secret_id`,`i`.`time_create`,`i`.`inGroup`,`i`.`dn_delete`,`i`.`inTransfer`,`i`.`post_delivery`,`i`.`lbtl_`,`i`.`bexp`,`i`.`so`,`i`.`blvl` ,`m`.`name`,`m`.`type`,`m`.`level` FROM `items_users` AS `i` LEFT JOIN `items_main` AS `m` ON `i`.`item_id` = `m`.`id` WHERE `i`.`id` = "' . mysql_real_escape_string($ruid) . '" - AND `i`.`uid` = "' . $this->info['id'] . '" AND `i`.`delete` = "0" AND `i`.`inShop` = "0" LIMIT 1')); + AND `i`.`uid` = "' . $this->info['id'] . '" AND `i`.`delete` = "0" AND `i`.`inShop` = "0" LIMIT 1' + ) + ); $it_type = 0; if (isset($_GET['item_rune'])) { @@ -4644,17 +5367,22 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` $vi = 0; $vid = ''; if (isset($_GET['item_rune_id'])) { - $sp = mysql_query('SELECT + $sp = mysql_query( + 'SELECT `i`.`id`,`i`.`item_id`,`i`.`1price`,`i`.`2price`,`i`.`uid`,`i`.`use_text`,`i`.`data`,`i`.`inOdet`,`i`.`inShop`,`i`.`delete`,`i`.`iznosNOW`,`i`.`iznosMAX`,`i`.`gift`,`i`.`gtxt1`,`i`.`gtxt2`,`i`.`kolvo`,`i`.`geniration`,`i`.`magic_inc`,`i`.`maidin`,`i`.`lastUPD`,`i`.`timeOver`,`i`.`overType`,`i`.`secret_id`,`i`.`time_create`,`i`.`inGroup`,`i`.`dn_delete`,`i`.`inTransfer`,`i`.`post_delivery`,`i`.`lbtl_`,`i`.`bexp`,`i`.`so`,`i`.`blvl` ,`m`.`type`,`m`.`2h`,`m`.`inslot`,`m`.`name`,`m`.`img` FROM `items_users` AS `i` LEFT JOIN `items_main` AS `m` ON (`i`.`item_id` = `m`.`id`) WHERE `i`.`inShop` = "0" AND ( (`m`.`inslot` > 0 AND `m`.`inslot` < 18) OR "' . $rune['type'] . '" = "37" OR `m`.`inslot` = "51" ) - AND `i`.`delete` = "0" AND `i`.`inOdet` = "0" AND `i`.`id` = "' . mysql_real_escape_string($_GET['item_rune_id']) . '" AND `i`.`uid` = "' . mysql_real_escape_string($this->info['id']) . '"'); + AND `i`.`delete` = "0" AND `i`.`inOdet` = "0" AND `i`.`id` = "' . mysql_real_escape_string( + $_GET['item_rune_id'] + ) . '" AND `i`.`uid` = "' . mysql_real_escape_string($this->info['id']) . '"' + ); $vi = -1; } else { - $sp = mysql_query('SELECT + $sp = mysql_query( + 'SELECT `i`.`id`,`i`.`item_id`,`i`.`1price`,`i`.`2price`,`i`.`uid`,`i`.`use_text`,`i`.`data`,`i`.`inOdet`,`i`.`inShop`,`i`.`delete`,`i`.`iznosNOW`,`i`.`iznosMAX`,`i`.`gift`,`i`.`gtxt1`,`i`.`gtxt2`,`i`.`kolvo`,`i`.`geniration`,`i`.`magic_inc`,`i`.`maidin`,`i`.`lastUPD`,`i`.`timeOver`,`i`.`overType`,`i`.`secret_id`,`i`.`time_create`,`i`.`inGroup`,`i`.`dn_delete`,`i`.`inTransfer`,`i`.`post_delivery`,`i`.`lbtl_`,`i`.`bexp`,`i`.`so`,`i`.`blvl` ,`m`.`type`,`m`.`2h`,`m`.`inslot`,`m`.`name`,`m`.`img` FROM `items_users` AS `i` LEFT JOIN `items_main` AS `m` ON (`i`.`item_id` = `m`.`id`) @@ -4662,17 +5390,18 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` ( (`m`.`inslot` > 0 AND `m`.`inslot` < 18) OR "' . $rune['type'] . '" = "37" OR `m`.`inslot` = "51" ) AND - `i`.`inShop` = "0" AND `i`.`delete` = "0" AND `i`.`inOdet` = "0" AND `m`.`name` LIKE "%' . mysql_real_escape_string(str_replace('"', '"', $name)) . '%" AND `i`.`uid` = "' . mysql_real_escape_string($this->info['id']) . '"'); + `i`.`inShop` = "0" AND `i`.`delete` = "0" AND `i`.`inOdet` = "0" AND `m`.`name` LIKE "%' . mysql_real_escape_string( + str_replace('"', '"', $name) + ) . '%" AND `i`.`uid` = "' . mysql_real_escape_string($this->info['id']) . '"' + ); } while ($pl = mysql_fetch_array($sp)) { $vibor .= '
    '; if (!isset($id['id'])) { - //if($pl['type']!=4 && $pl['type']!=2 && $pl['type']!=7 ) { $dt = $this->lookStats($pl['data']); $id = []; $id = $pl; $id_type = $pl['type']; - //} } if ($vi != -1) { $vi++; @@ -4683,7 +5412,9 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` if ($vi > 0) { $itm_inv = $this->genInv(80, ' ' . rtrim($vid, 'OR') . ' '); - echo ' "' . $rune['name'] . '":

    ' . $is1 . ' ' . $crd . '' . $is2 . '
    ' . $itm_inv[2] . '
    '; + echo ' "' . $rune['name'] . '":

    ' . $itm_inv[2] . '
    '; die(); } else { unset($rune); @@ -4697,9 +5428,15 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` $idtrue = false; - $rune = mysql_fetch_array(mysql_query('SELECT + $rune = mysql_fetch_array( + mysql_query( + 'SELECT `i`.`id`,`i`.`item_id`,`i`.`1price`,`i`.`2price`,`i`.`uid`,`i`.`use_text`,`i`.`data`,`i`.`inOdet`,`i`.`inShop`,`i`.`delete`,`i`.`iznosNOW`,`i`.`iznosMAX`,`i`.`gift`,`i`.`gtxt1`,`i`.`gtxt2`,`i`.`kolvo`,`i`.`geniration`,`i`.`magic_inc`,`i`.`maidin`,`i`.`lastUPD`,`i`.`timeOver`,`i`.`overType`,`i`.`secret_id`,`i`.`time_create`,`i`.`inGroup`,`i`.`dn_delete`,`i`.`inTransfer`,`i`.`post_delivery`,`i`.`lbtl_`,`i`.`bexp`,`i`.`so`,`i`.`blvl` - ,`m`.`name`,`m`.`type`,`m`.`level` FROM `items_users` AS `i` LEFT JOIN `items_main` AS `m` ON `i`.`item_id` = `m`.`id` WHERE `i`.`id` = "' . mysql_real_escape_string($ruid) . '" AND `i`.`uid` = "' . $this->info['id'] . '" AND `i`.`delete` = "0" AND `i`.`inShop` = "0" LIMIT 1')); + ,`m`.`name`,`m`.`type`,`m`.`level` FROM `items_users` AS `i` LEFT JOIN `items_main` AS `m` ON `i`.`item_id` = `m`.`id` WHERE `i`.`id` = "' . mysql_real_escape_string( + $ruid + ) . '" AND `i`.`uid` = "' . $this->info['id'] . '" AND `i`.`delete` = "0" AND `i`.`inShop` = "0" LIMIT 1' + ) + ); if ($rune['level'] > $this->info['level'] && $rune['type'] == 31) { $this->error = ' '; } elseif ($rune['type'] == 31) { @@ -4724,11 +5461,8 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` '' => 1, // '' => 3, // '' => 6, // - '' => 8 // + '' => 8, // ]; - if ($rune['type'] == 5) { - $type_rune[''] = 5; - } $type_rune = $type_rune[substr($rune['name'], -2, 2)]; if ($type_rune != $id['type'] && $type_rune != '') { @@ -4742,16 +5476,22 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` '' => '', // '' => '', // '' => '', // - '' => '' // + '' => '', // ]; - $this->error = ' ' . $type_rune2[substr($rune['name'], -2, 2)] . ' ( : ' . $id['type'] . '. : ' . $type_rune . ')'; + $this->error = ' ' . $type_rune2[substr( + $rune['name'], -2, 2 + )] . ' ( : ' . $id['type'] . '. : ' . $type_rune . ')'; } elseif (isset($data['nomodif'])) { $this->error = ' '; } elseif (isset($data['art']) && $data['tr_lvl'] < 0) { $this->error = ' 10- '; } else { if (isset($data['rune']) && $data['rune'] > 0) { - $ritm = mysql_fetch_array(mysql_query('SELECT * FROM `items_main_data` WHERE `items_id` = "' . $data['rune_id'] . '" LIMIT 1')); + $ritm = mysql_fetch_array( + mysql_query( + 'SELECT * FROM `items_main_data` WHERE `items_id` = "' . $data['rune_id'] . '" LIMIT 1' + ) + ); $j = 0; $data_r = $this->lookStats($ritm['data']); while ($j < count($this->items['add'])) { @@ -4776,21 +5516,36 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` } $data = $this->impStats($data); - mysql_query('UPDATE `items_users` SET `delete` = "' . time() . '" WHERE `id` = "' . $rune['id'] . '" AND `uid` = "' . $this->info['id'] . '" LIMIT 1'); - mysql_query('UPDATE `items_users` SET `data` = "' . $data . '" WHERE `id` = "' . $id['id'] . '" AND `uid` = "' . $this->info['id'] . '" LIMIT 1'); + mysql_query( + 'UPDATE `items_users` SET `delete` = "' . time( + ) . '" WHERE `id` = "' . $rune['id'] . '" AND `uid` = "' . $this->info['id'] . '" LIMIT 1' + ); + mysql_query( + 'UPDATE `items_users` SET `data` = "' . $data . '" WHERE `id` = "' . $id['id'] . '" AND `uid` = "' . $this->info['id'] . '" LIMIT 1' + ); $this->error = ' '; } } else { - $rune = mysql_fetch_array(mysql_query('SELECT + $rune = mysql_fetch_array( + mysql_query( + 'SELECT `i`.`id`,`i`.`item_id`,`i`.`1price`,`i`.`2price`,`i`.`uid`,`i`.`use_text`,`i`.`data`,`i`.`inOdet`,`i`.`inShop`,`i`.`delete`,`i`.`iznosNOW`,`i`.`iznosMAX`,`i`.`gift`,`i`.`gtxt1`,`i`.`gtxt2`,`i`.`kolvo`,`i`.`geniration`,`i`.`magic_inc`,`i`.`maidin`,`i`.`lastUPD`,`i`.`timeOver`,`i`.`overType`,`i`.`secret_id`,`i`.`time_create`,`i`.`inGroup`,`i`.`dn_delete`,`i`.`inTransfer`,`i`.`post_delivery`,`i`.`lbtl_`,`i`.`bexp`,`i`.`so`,`i`.`blvl` - ,`m`.`name`,`m`.`level`,`m`.`type` FROM `items_users` AS `i` LEFT JOIN `items_main` AS `m` ON `i`.`item_id` = `m`.`id` WHERE `i`.`id` = "' . mysql_real_escape_string($ruid) . '" AND `i`.`uid` = "' . $this->info['id'] . '" AND `i`.`delete` = "0" AND `i`.`inShop` = "0" LIMIT 1')); + ,`m`.`name`,`m`.`level`,`m`.`type` FROM `items_users` AS `i` LEFT JOIN `items_main` AS `m` ON `i`.`item_id` = `m`.`id` WHERE `i`.`id` = "' . mysql_real_escape_string( + $ruid + ) . '" AND `i`.`uid` = "' . $this->info['id'] . '" AND `i`.`delete` = "0" AND `i`.`inShop` = "0" LIMIT 1' + ) + ); if (!isset($rune['id'])) { $this->error = ' '; } elseif ($rune['type'] == 62 && $rune['item_id'] == 6167) { //----------------------------------------------- - $idt = mysql_fetch_array(mysql_query('SELECT `id`,`name`,`img`,`type`,`inslot`,`2h`,`2too`,`iznosMAXi`,`inRazdel`,`price1`,`price2`,`price3`,`magic_chance`,`info`,`massa`,`level`,`magic_inci`,`overTypei`,`group`,`group_max`,`geni`,`ts`,`srok`,`class`,`class_point`,`anti_class`,`anti_class_point`,`max_text`,`useInBattle`,`lbtl`,`lvl_itm`,`lvl_exp`,`lvl_aexp` FROM `items_main` WHERE `id` = "' . $id['item_id'] . '" LIMIT` 1')); + $idt = mysql_fetch_array( + mysql_query( + 'SELECT `id`,`name`,`img`,`type`,`inslot`,`2h`,`2too`,`iznosMAXi`,`inRazdel`,`price1`,`price2`,`price3`,`magic_chance`,`info`,`massa`,`level`,`magic_inci`,`overTypei`,`group`,`group_max`,`geni`,`ts`,`srok`,`class`,`class_point`,`anti_class`,`anti_class_point`,`max_text`,`useInBattle`,`lbtl`,`lvl_itm`,`lvl_exp`,`lvl_aexp` FROM `items_main` WHERE `id` = "' . $id['item_id'] . '" LIMIT` 1' + ) + ); $data = $this->lookStats($id['data']); $add = $this->lookStats($rune['data']); @@ -4864,8 +5619,13 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` // $data = $this->impStats($data); unset($srune, $irun, $nrune, $ntrune, $addrune, $addrunes); - $tid = mysql_query('UPDATE `items_users` SET `delete` = "' . time() . '" WHERE `id` = "' . $rune['id'] . '" AND `uid` = "' . $this->info['id'] . '" LIMIT 1'); - mysql_query('UPDATE `items_users` SET `data` = "' . $data . '" WHERE `id` = "' . $id['id'] . '" AND `uid` = "' . $this->info['id'] . '" LIMIT 1'); + $tid = mysql_query( + 'UPDATE `items_users` SET `delete` = "' . time( + ) . '" WHERE `id` = "' . $rune['id'] . '" AND `uid` = "' . $this->info['id'] . '" LIMIT 1' + ); + mysql_query( + 'UPDATE `items_users` SET `data` = "' . $data . '" WHERE `id` = "' . $id['id'] . '" AND `uid` = "' . $this->info['id'] . '" LIMIT 1' + ); if (isset($tid)) { $this->error = ' !'; } else { @@ -4877,7 +5637,11 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` } elseif ($rune['type'] == 62) { - $idt = mysql_fetch_array(mysql_query('SELECT `id`,`name`,`img`,`type`,`inslot`,`2h`,`2too`,`iznosMAXi`,`inRazdel`,`price1`,`price2`,`price3`,`magic_chance`,`info`,`massa`,`level`,`magic_inci`,`overTypei`,`group`,`group_max`,`geni`,`ts`,`srok`,`class`,`class_point`,`anti_class`,`anti_class_point`,`max_text`,`useInBattle`,`lbtl`,`lvl_itm`,`lvl_exp`,`lvl_aexp` FROM `items_main` WHERE `id` = "' . $id['item_id'] . '" LIMIT` 1')); + $idt = mysql_fetch_array( + mysql_query( + 'SELECT `id`,`name`,`img`,`type`,`inslot`,`2h`,`2too`,`iznosMAXi`,`inRazdel`,`price1`,`price2`,`price3`,`magic_chance`,`info`,`massa`,`level`,`magic_inci`,`overTypei`,`group`,`group_max`,`geni`,`ts`,`srok`,`class`,`class_point`,`anti_class`,`anti_class_point`,`max_text`,`useInBattle`,`lbtl`,`lvl_itm`,`lvl_exp`,`lvl_aexp` FROM `items_main` WHERE `id` = "' . $id['item_id'] . '" LIMIT` 1' + ) + ); if ($idt['type'] == 7) { $idt['type'] = 6; } @@ -4895,8 +5659,6 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` $this->error = ' '; } elseif (isset($data['art']) && $data['tr_lvl'] < 0) { $this->error = ' 10- '; - /*}elseif(isset($data['spell_id']) && $data['spell_id'] == 6167) { - $this->error = ' ';*/ } elseif (isset($add['onimposed'])) { // // @@ -4916,7 +5678,7 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` $imposed = [ 'imposed' => 1, 'imposed_name' => $add['onSpellName'], - 'bm_a1' => $add['onSpellFile'] + 'bm_a1' => $add['onSpellFile'], ]; if (!isset($add['onSpellFile'])) { @@ -4934,8 +5696,13 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` $data = array_merge($data, $imposed); $data = $this->impStats($data); - mysql_query('UPDATE `items_users` SET `delete` = "' . time() . '" WHERE `id` = "' . $rune['id'] . '" AND `uid` = "' . $this->info['id'] . '" LIMIT 1'); - mysql_query('UPDATE `items_users` SET `data` = "' . $data . '" WHERE `id` = "' . $id['id'] . '" AND `uid` = "' . $this->info['id'] . '" LIMIT 1'); + mysql_query( + 'UPDATE `items_users` SET `delete` = "' . time( + ) . '" WHERE `id` = "' . $rune['id'] . '" AND `uid` = "' . $this->info['id'] . '" LIMIT 1' + ); + mysql_query( + 'UPDATE `items_users` SET `data` = "' . $data . '" WHERE `id` = "' . $id['id'] . '" AND `uid` = "' . $this->info['id'] . '" LIMIT 1' + ); $this->error = ' "' . $add['onSpellName'] . '" "' . $id['name'] . '"'; } else { $this->error = ' "' . $id['name'] . '" .,.'; @@ -4943,7 +5710,11 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` } else { if (isset($data['spell']) && $data['spell'] > 0) { // - $litm = mysql_fetch_array(mysql_query('SELECT * FROM `items_main_data` WHERE `items_id` = "' . $id['item_id'] . '" LIMIT 1')); + $litm = mysql_fetch_array( + mysql_query( + 'SELECT * FROM `items_main_data` WHERE `items_id` = "' . $id['item_id'] . '" LIMIT 1' + ) + ); $data_l = $this->lookStats($litm['data']); $pvr = [ @@ -4951,7 +5722,7 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` 'spell' => [], 'rune' => [], 'atack' => [], - 'podgon' => [] + 'podgon' => [], ]; if (isset($data['podgon'])) { @@ -4964,7 +5735,11 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` $pvr['podgon']['hpAll'] += $data['addspell_hpAll']; } if (isset($data['rune_id']) && $data['rune_id'] > 0) { - $ritm = mysql_fetch_array(mysql_query('SELECT * FROM `items_main_data` WHERE `items_id` = "' . $data['rune_id'] . '" LIMIT 1')); + $ritm = mysql_fetch_array( + mysql_query( + 'SELECT * FROM `items_main_data` WHERE `items_id` = "' . $data['rune_id'] . '" LIMIT 1' + ) + ); $j = 0; $data_r = $this->lookStats($ritm['data']); while ($j < count($this->items['add'])) { @@ -5019,8 +5794,16 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` while ($i < count($utp)) { if ($utp[$i] == $id['type']) { // . - $itm_twohand = mysql_fetch_array(mysql_query('SELECT `2h` FROM `items_main` WHERE `id` = "' . $id['item_id'] . '" LIMIT 1')); - if (isset($itm_twohand['2h']) && $itm_twohand['2h'] == 1) $tw = '2'; else $tw = ''; + $itm_twohand = mysql_fetch_array( + mysql_query( + 'SELECT `2h` FROM `items_main` WHERE `id` = "' . $id['item_id'] . '" LIMIT 1' + ) + ); + if (isset($itm_twohand['2h']) && $itm_twohand['2h'] == 1) { + $tw = '2'; + } else { + $tw = ''; + } $j = 0; while ($j < count($this->items['add'])) { if (isset($add[$tw . 'add' . $utp[$i] . '_' . $this->items['add'][$j]])) { @@ -5036,10 +5819,14 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` 'imposed_name' => $rune['name'], // , 'imposed_level' => $rune['level'], // . : 0; 'bm_a1' => $add['imposed'], // . - 'sudba' => $this->info['login'] // . : 0; + 'sudba' => $this->info['login'], // . : 0; ]; - if (isset($add['imposed_name'])) $imposed['imposed_name'] = $add['imposed_name']; - if (isset($add['imposed_level'])) $imposed['imposed_level'] = $add['imposed_level']; + if (isset($add['imposed_name'])) { + $imposed['imposed_name'] = $add['imposed_name']; + } + if (isset($add['imposed_level'])) { + $imposed['imposed_level'] = $add['imposed_level']; + } $rnda[0] = 1; } if (count($rnda) >= 0) { @@ -5052,8 +5839,13 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` $data = array_merge($data, $imposed); $data = $this->impStats($data); - mysql_query('UPDATE `items_users` SET `delete` = "' . time() . '" WHERE `id` = "' . $rune['id'] . '" AND `uid` = "' . $this->info['id'] . '" LIMIT 1'); - mysql_query('UPDATE `items_users` SET `data` = "' . $data . '" WHERE `id` = "' . $id['id'] . '" AND `uid` = "' . $this->info['id'] . '" LIMIT 1'); + mysql_query( + 'UPDATE `items_users` SET `delete` = "' . time( + ) . '" WHERE `id` = "' . $rune['id'] . '" AND `uid` = "' . $this->info['id'] . '" LIMIT 1' + ); + mysql_query( + 'UPDATE `items_users` SET `data` = "' . $data . '" WHERE `id` = "' . $id['id'] . '" AND `uid` = "' . $this->info['id'] . '" LIMIT 1' + ); $this->error = ' "' . $imposed['imposed_name'] . '" "' . $id['name'] . '"'; } elseif (!isset($this->is[$rnda]) @@ -5064,7 +5856,9 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` } else { $data['add_' . $rnda] += $add[$tw . 'add' . $utp[$i] . '_' . $rnda]; if ($rnda == 'mab1' || $rnda == 'mab2' || $rnda == 'mab3' || $rnda == 'mab4') { - $data['add_' . str_replace('mab', 'mib', $rnda)] += $add[$tw . 'add' . $utp[$i] . '_' . $rnda]; + $data['add_' . str_replace( + 'mab', 'mib', $rnda + )] += $add[$tw . 'add' . $utp[$i] . '_' . $rnda]; } $data['spell'] = $rune['id']; @@ -5075,7 +5869,9 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` if (isset($data['spell_st_name'])) { $data['add_' . $data['spell_st_name']] -= $data['spell_st_val']; if ($data['spell_st_name'] == 'mab1' || $data['spell_st_name'] == 'mab2' || $data['spell_st_name'] == 'mab3' || $data['spell_st_name'] == 'mab4') { - $data['add_' . str_replace('mab', 'mib', $data['spell_st_name'])] -= $data['spell_st_val']; + $data['add_' . str_replace( + 'mab', 'mib', $data['spell_st_name'] + )] -= $data['spell_st_val']; } if ($data['add_' . $data['spell_st_name']] == 0) { @@ -5105,8 +5901,13 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` unset($this->is['mab1'], $this->is['mab2'], $this->is['mab3'], $this->is['mab4']); - mysql_query('UPDATE `items_users` SET `delete` = "' . time() . '" WHERE `id` = "' . $rune['id'] . '" AND `uid` = "' . $this->info['id'] . '" LIMIT 1'); - mysql_query('UPDATE `items_users` SET `data` = "' . $data . '" WHERE `id` = "' . $id['id'] . '" AND `uid` = "' . $this->info['id'] . '" LIMIT 1'); + mysql_query( + 'UPDATE `items_users` SET `delete` = "' . time( + ) . '" WHERE `id` = "' . $rune['id'] . '" AND `uid` = "' . $this->info['id'] . '" LIMIT 1' + ); + mysql_query( + 'UPDATE `items_users` SET `data` = "' . $data . '" WHERE `id` = "' . $id['id'] . '" AND `uid` = "' . $this->info['id'] . '" LIMIT 1' + ); } } else { $this->error = '- , '; @@ -5129,8 +5930,13 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` if ($id['iznosNOW'] < 0) { $id['iznosNOW'] = 0; } - mysql_query('UPDATE `items_users` SET `iznosNOW` = "' . $id['iznosNOW'] . '" WHERE `id` = "' . $id['id'] . '" AND `uid` = "' . $this->info['id'] . '" LIMIT 1'); - mysql_query('UPDATE `items_users` SET `delete` = "' . time() . '" WHERE `id` = "' . $rune['id'] . '" AND `uid` = "' . $this->info['id'] . '" LIMIT 1'); + mysql_query( + 'UPDATE `items_users` SET `iznosNOW` = "' . $id['iznosNOW'] . '" WHERE `id` = "' . $id['id'] . '" AND `uid` = "' . $this->info['id'] . '" LIMIT 1' + ); + mysql_query( + 'UPDATE `items_users` SET `delete` = "' . time( + ) . '" WHERE `id` = "' . $rune['id'] . '" AND `uid` = "' . $this->info['id'] . '" LIMIT 1' + ); $this->error = ' ' . $id['name'] . ' .'; } else { $this->error = ' ...'; @@ -5139,7 +5945,11 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` $this->error = ' ...'; } } elseif ($rune['type'] == 46) { - $idt = mysql_fetch_array(mysql_query('SELECT `id`,`name`,`img`,`type`,`inslot`,`2h`,`2too`,`iznosMAXi`,`inRazdel`,`price1`,`price2`,`price3`,`magic_chance`,`info`,`massa`,`level`,`magic_inci`,`overTypei`,`group`,`group_max`,`geni`,`ts`,`srok`,`class`,`class_point`,`anti_class`,`anti_class_point`,`max_text`,`useInBattle`,`lbtl`,`lvl_itm`,`lvl_exp`,`lvl_aexp` FROM `items_main` WHERE `id` = "' . $id['item_id'] . '" LIMIT` 1')); + $idt = mysql_fetch_array( + mysql_query( + 'SELECT `id`,`name`,`img`,`type`,`inslot`,`2h`,`2too`,`iznosMAXi`,`inRazdel`,`price1`,`price2`,`price3`,`magic_chance`,`info`,`massa`,`level`,`magic_inci`,`overTypei`,`group`,`group_max`,`geni`,`ts`,`srok`,`class`,`class_point`,`anti_class`,`anti_class_point`,`max_text`,`useInBattle`,`lbtl`,`lvl_itm`,`lvl_exp`,`lvl_aexp` FROM `items_main` WHERE `id` = "' . $id['item_id'] . '" LIMIT` 1' + ) + ); if ($idt['type'] == 5) { $idt['type'] = 6; } @@ -5155,7 +5965,9 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` if ($data['srok'] + $id['time_create'] - time() > 86400 + 30) { $this->error = ' 30 .'; } elseif ($id['inslot'] > 0 && $id['inslot'] < 20) { - $this->error = ' "' . $id['name'] . '" ' . $this->timeOut($add['uptimeitem']) . '.'; + $this->error = ' "' . $id['name'] . '" ' . $this->timeOut( + $add['uptimeitem'] + ) . '.'; if (isset($data['sleep_moroz'])) { unset($data['sleep_moroz']); @@ -5163,8 +5975,15 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` $data = $this->impStats($data); - mysql_query('UPDATE `items_users` SET `delete` = "' . time() . '" WHERE `id` = "' . $rune['id'] . '" AND `uid` = "' . $this->info['id'] . '" LIMIT 1'); - mysql_query('UPDATE `items_users` SET `data` = "' . $data . '",`time_create` = `time_create` + ' . floor($add['uptimeitem']) . ' WHERE `id` = "' . $id['id'] . '" AND `uid` = "' . $this->info['id'] . '" LIMIT 1'); + mysql_query( + 'UPDATE `items_users` SET `delete` = "' . time( + ) . '" WHERE `id` = "' . $rune['id'] . '" AND `uid` = "' . $this->info['id'] . '" LIMIT 1' + ); + mysql_query( + 'UPDATE `items_users` SET `data` = "' . $data . '",`time_create` = `time_create` + ' . floor( + $add['uptimeitem'] + ) . ' WHERE `id` = "' . $id['id'] . '" AND `uid` = "' . $this->info['id'] . '" LIMIT 1' + ); } else { $this->error = ' ...'; @@ -5188,19 +6007,18 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` } else { if (isset($data['upatack_id']) && $data['upatack_id'] > 0) { - $ritm = mysql_fetch_array(mysql_query('SELECT * FROM `items_main_data` WHERE `items_id` = "' . $data['upatack_id'] . '" LIMIT 1')); + $ritm = mysql_fetch_array( + mysql_query( + 'SELECT * FROM `items_main_data` WHERE `items_id` = "' . $data['upatack_id'] . '" LIMIT 1' + ) + ); $data_r = $this->lookStats($ritm['data']); if ($id_type == 22) { $data['add_m11'] -= $data_r['upatack']; //*2 - $data['sv_yron_min'] -= $data_r['upatack']; - $data['sv_yron_max'] -= $data_r['upatack']; - } elseif ($id['2h'] == 1) { - $data['sv_yron_min'] -= $data_r['upatack']; //*2 - $data['sv_yron_max'] -= $data_r['upatack']; //*2 - } else { - $data['sv_yron_min'] -= $data_r['upatack']; - $data['sv_yron_max'] -= $data_r['upatack']; } + $data['sv_yron_min'] -= $data_r['upatack']; + $data['sv_yron_max'] -= $data_r['upatack']; + } $data['upatack'] = $rune['id']; $data['upatack_id'] = $rune['item_id']; @@ -5220,12 +6038,21 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` $data['sv_yron_min'] += $add['upatack']; $data['sv_yron_max'] += $add['upatack']; - $this->addDelo(2, $this->info['id'], '"System.remont.upatack": "' . $data['upatack_name'] . '" "' . $id['name'] . '" [itm:' . $id['id'] . ']', time(), $this->info['city'], 'System.remont.upatack', 0, 0); + $this->addDelo( + 2, $this->info['id'], + '"System.remont.upatack": "' . $data['upatack_name'] . '" "' . $id['name'] . '" [itm:' . $id['id'] . ']', + time(), $this->info['city'], 'System.remont.upatack', 0, 0 + ); $data = $this->impStats($data); - mysql_query('UPDATE `items_users` SET `delete` = "' . time() . '" WHERE `id` = "' . $rune['id'] . '" AND `uid` = "' . $this->info['id'] . '" LIMIT 1'); - mysql_query('UPDATE `items_users` SET `1price` = "' . $id['1price'] . '",`2price` = "' . $id['2price'] . '",`data` = "' . $data . '" WHERE `id` = "' . $id['id'] . '" AND `uid` = "' . $this->info['id'] . '" LIMIT 1'); + mysql_query( + 'UPDATE `items_users` SET `delete` = "' . time( + ) . '" WHERE `id` = "' . $rune['id'] . '" AND `uid` = "' . $this->info['id'] . '" LIMIT 1' + ); + mysql_query( + 'UPDATE `items_users` SET `1price` = "' . $id['1price'] . '",`2price` = "' . $id['2price'] . '",`data` = "' . $data . '" WHERE `id` = "' . $id['id'] . '" AND `uid` = "' . $this->info['id'] . '" LIMIT 1' + ); $this->error = ' "' . $id['name'] . '" '; } } @@ -5273,11 +6100,20 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` } - $this->addDelo(2, $this->info['id'], '"System.remont.upatack": "' . $data['upatack_name'] . '" "' . $id['name'] . '" [itm:' . $id['id'] . ']', time(), $this->info['city'], 'System.remont.upatack', 0, 0); + $this->addDelo( + 2, $this->info['id'], + '"System.remont.upatack": "' . $data['upatack_name'] . '" "' . $id['name'] . '" [itm:' . $id['id'] . ']', + time(), $this->info['city'], 'System.remont.upatack', 0, 0 + ); $this->error = ' "' . $id['name'] . '" ! :' . $data['tya1'] . ' :' . $data['tya2'] . ' :' . $data['tya3'] . ' :' . $data['tya4'] . ' '; $data = $this->impStats($data); - mysql_query('UPDATE `items_users` SET `delete` = "' . time() . '" WHERE `id` = "' . $rune['id'] . '" AND `uid` = "' . $this->info['id'] . '" LIMIT 1'); - mysql_query('UPDATE `items_users` SET `1price` = "' . $id['1price'] . '",`2price` = "' . $id['2price'] . '",`data` = "' . $data . '" WHERE `id` = "' . $id['id'] . '" AND `uid` = "' . $this->info['id'] . '" LIMIT 1'); + mysql_query( + 'UPDATE `items_users` SET `delete` = "' . time( + ) . '" WHERE `id` = "' . $rune['id'] . '" AND `uid` = "' . $this->info['id'] . '" LIMIT 1' + ); + mysql_query( + 'UPDATE `items_users` SET `1price` = "' . $id['1price'] . '",`2price` = "' . $id['2price'] . '",`data` = "' . $data . '" WHERE `id` = "' . $id['id'] . '" AND `uid` = "' . $this->info['id'] . '" LIMIT 1' + ); } } elseif ($rune['type'] == 50) { @@ -5287,11 +6123,20 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` if ($id['iznosNOW'] > 0) { $id['iznosNOW']--; - $this->error = ' "' . $id['name'] . '" ! [' . round($id['iznosNOW']) . '/' . round($id['iznosMAX']) . ']'; - mysql_query('UPDATE `items_users` SET `delete` = "' . time() . '" WHERE `id` = "' . $rune['id'] . '" AND `uid` = "' . $this->info['id'] . '" LIMIT 1'); - mysql_query('UPDATE `items_users` SET `iznosNOW` = "' . $id['iznosNOW'] . '" WHERE `id` = "' . $id['id'] . '" AND `uid` = "' . $this->info['id'] . '" LIMIT 1'); + $this->error = ' "' . $id['name'] . '" ! [' . round( + $id['iznosNOW'] + ) . '/' . round($id['iznosMAX']) . ']'; + mysql_query( + 'UPDATE `items_users` SET `delete` = "' . time( + ) . '" WHERE `id` = "' . $rune['id'] . '" AND `uid` = "' . $this->info['id'] . '" LIMIT 1' + ); + mysql_query( + 'UPDATE `items_users` SET `iznosNOW` = "' . $id['iznosNOW'] . '" WHERE `id` = "' . $id['id'] . '" AND `uid` = "' . $this->info['id'] . '" LIMIT 1' + ); } else { - $this->error = ' "' . $id['name'] . '" ! [' . round($id['iznosNOW']) . '/' . round($id['iznosMAX']) . ']'; + $this->error = ' "' . $id['name'] . '" ! [' . round( + $id['iznosNOW'] + ) . '/' . round($id['iznosMAX']) . ']'; } } else { $this->error = ' !!'; @@ -5299,7 +6144,11 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` } elseif ($rune['type'] == 68) { - $idt = mysql_fetch_array(mysql_query('SELECT `id`,`name`,`img`,`type`,`inslot`,`2h`,`2too`,`iznosMAXi`,`inRazdel`,`price1`,`price2`,`price3`,`magic_chance`,`info`,`massa`,`level`,`magic_inci`,`overTypei`,`group`,`group_max`,`geni`,`ts`,`srok`,`class`,`class_point`,`anti_class`,`anti_class_point`,`max_text`,`useInBattle`,`lbtl`,`lvl_itm`,`lvl_exp`,`lvl_aexp` FROM `items_main` WHERE `id` = "' . $id['item_id'] . '" LIMIT` 1')); + $idt = mysql_fetch_array( + mysql_query( + 'SELECT `id`,`name`,`img`,`type`,`inslot`,`2h`,`2too`,`iznosMAXi`,`inRazdel`,`price1`,`price2`,`price3`,`magic_chance`,`info`,`massa`,`level`,`magic_inci`,`overTypei`,`group`,`group_max`,`geni`,`ts`,`srok`,`class`,`class_point`,`anti_class`,`anti_class_point`,`max_text`,`useInBattle`,`lbtl`,`lvl_itm`,`lvl_exp`,`lvl_aexp` FROM `items_main` WHERE `id` = "' . $id['item_id'] . '" LIMIT` 1' + ) + ); if ($idt['type'] == 5) { $idt['type'] = 6; } @@ -5323,13 +6172,20 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` $data = $this->impStats($data); - mysql_query('UPDATE `items_users` SET `delete` = "' . time() . '" WHERE `id` = "' . $rune['id'] . '" AND `uid` = "' . $this->info['id'] . '" LIMIT 1'); - mysql_query('UPDATE `items_users` SET `data` = "' . $data . '" WHERE `id` = "' . $id['id'] . '" AND `uid` = "' . $this->info['id'] . '" LIMIT 1'); + mysql_query( + 'UPDATE `items_users` SET `delete` = "' . time( + ) . '" WHERE `id` = "' . $rune['id'] . '" AND `uid` = "' . $this->info['id'] . '" LIMIT 1' + ); + mysql_query( + 'UPDATE `items_users` SET `data` = "' . $data . '" WHERE `id` = "' . $id['id'] . '" AND `uid` = "' . $this->info['id'] . '" LIMIT 1' + ); $this->error = ' "' . $id['name'] . '" '; } } elseif ($rune['type'] == 37) { - $idt = mysql_fetch_array(mysql_query('SELECT * FROM `items_main` WHERE `id` = "' . $id['item_id'] . '" LIMIT 1')); + $idt = mysql_fetch_array( + mysql_query('SELECT * FROM `items_main` WHERE `id` = "' . $id['item_id'] . '" LIMIT 1') + ); if ($idt['type'] != 37) { // $data = $this->lookStats($id['data']); @@ -5352,8 +6208,12 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` $add['nosale'] = 1; $add = $this->impStats($add); // - mysql_query('UPDATE `items_users` SET `inGroup` = 0,`data` = "' . $add . '" WHERE `id` = "' . $rune['id'] . '" LIMIT 1'); - mysql_query('UPDATE `items_users` SET `uid` = -1 WHERE `id` = "' . $id['id'] . '" LIMIT 1'); + mysql_query( + 'UPDATE `items_users` SET `inGroup` = 0,`data` = "' . $add . '" WHERE `id` = "' . $rune['id'] . '" LIMIT 1' + ); + mysql_query( + 'UPDATE `items_users` SET `uid` = -1 WHERE `id` = "' . $id['id'] . '" LIMIT 1' + ); // $this->error = ' "' . $idt['name'] . '" .'; // @@ -5386,7 +6246,11 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` if ($id == 0) { $r = false; } else { - $btla = mysql_fetch_array(mysql_query('SELECT `id`,`team_win` FROM `battle` WHERE `id` = "' . mysql_real_escape_string($id) . '" LIMIT 1')); + $btla = mysql_fetch_array( + mysql_query( + 'SELECT `id`,`team_win` FROM `battle` WHERE `id` = "' . mysql_real_escape_string($id) . '" LIMIT 1' + ) + ); if (isset($btla['id']) && $btla['team_win'] > -1) { $r = false; } @@ -5394,9 +6258,11 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` return $r; } - public function testVipItems($slot_new) + public function testVipItems($slot_new): bool { - $sp = mysql_query('SELECT `i`.`id`,`m`.`type`,`i`.`2price`,`m`.`price2` FROM `items_users` AS `i` LEFT JOIN `items_main` AS `m` ON `m`.`id` = `i`.`item_id` WHERE `i`.`uid` = "' . $this->info['id'] . '" AND `i`.`delete` = "0" AND `i`.`data` LIKE "%vip_sale%" LIMIT 20'); + $sp = mysql_query( + 'SELECT `i`.`id`,`m`.`type`,`i`.`2price`,`m`.`price2` FROM `items_users` AS `i` LEFT JOIN `items_main` AS `m` ON `m`.`id` = `i`.`item_id` WHERE `i`.`uid` = "' . $this->info['id'] . '" AND `i`.`delete` = "0" AND `i`.`data` LIKE "%vip_sale%" LIMIT 20' + ); $itm = []; $slot = []; $j = 0; @@ -5411,7 +6277,9 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` $slot[$pl['type']][] = $j; $j++; } - $l = count($slot[18]) + count($slot[19]) + count($slot[20]) + count($slot[21]) + count($slot[22]) + count($slot[23]) + count($slot[24]) + count($slot[25]) + count($slot[26]) + count($slot[27]) + count($slot[28]); + $l = count($slot[18]) + count($slot[19]) + count($slot[20]) + count($slot[21]) + count($slot[22]) + count( + $slot[23] + ) + count($slot[24]) + count($slot[25]) + count($slot[26]) + count($slot[27]) + count($slot[28]); $v = count($slot[9]) + count($slot[10]) + count($slot[11]); $a = count($itm) - $l - $v; if ($this->stats['silver'] == 2) { @@ -5433,21 +6301,12 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` return $r; } - public function berezCena() + public function berezCena(): float { - global $c; - $r = 0; - if ($this->stats['silver'] > 0) { - $r = 50 + (($this->stats['silver'] - 1) * 5); - $r = $r / 100; - } - $r = $c['shop_type2']; - //$r = 1; // 100% - $r = round(($r / 100), 2); - return $r; + return round((Config::get('shop_type2') / 100), 2); } - public function genInv($type, $sort) + public function genInv($type, $sort): array { global $c, $code; @@ -5457,24 +6316,26 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` $rt = [0 => 0, 1 => 0, 2 => '']; // ? $clr = [0 => 'c8c8c8', 1 => 'd4d4d4']; // $sort = explode('ORDER BY', $sort); - if (isset($sort[0], $sort[1])) { - $where = $sort[0]; - if ($sort[1] != '') $sort = $sort[1] . ''; else $sort = ''; - } else { - $where = $sort[0]; - $sort = ' `lastUPD` DESC'; - } - $cl = mysql_query('SELECT count(`iu`.item_id) as inGroupCount, `im`.`id`,`im`.`name`,`im`.`img`,`im`.`type`,`im`.`inslot`,`im`.`2h`,`im`.`2too`,`im`.`iznosMAXi`,`im`.`inRazdel`,`im`.`price1`,`im`.`price2`,`im`.`pricerep`,`im`.`magic_chance`,`im`.`info`,`im`.`massa`,`im`.`level`,`im`.`magic_inci`,`im`.`overTypei`,`im`.`group`,`im`.`group_max`,`im`.`geni`,`im`.`ts`,`im`.`srok`,`im`.`class`,`im`.`class_point`,`im`.`anti_class`,`im`.`anti_class_point`,`im`.`max_text`,`im`.`useInBattle`,`im`.`lbtl`,`im`.`lvl_itm`,`im`.`lvl_exp`,`im`.`lvl_aexp`,`iu`.`so`,`iu`.`id`,`iu`.`item_id`,`iu`.`1price`,`iu`.`2price`,`iu`.`uid`,`iu`.`use_text`,`iu`.`data`,`iu`.`inOdet`,`iu`.`inShop`,`iu`.`delete`,`iu`.`iznosNOW`,`iu`.`iznosMAX`,`iu`.`gift`,`iu`.`gtxt1`,`iu`.`gtxt2`,`iu`.`kolvo`,`iu`.`geniration`,`iu`.`magic_inc`,`iu`.`maidin`,`iu`.`lastUPD`,`iu`.`timeOver`,`iu`.`overType`,`iu`.`secret_id`,`iu`.`time_create`,`iu`.`time_sleep`,`iu`.`inGroup`,`iu`.`dn_delete`,`iu`.`inTransfer`,`iu`.`post_delivery`,`iu`.`lbtl_`,`iu`.`bexp`,`iu`.`so`,`iu`.`blvl` FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.`item_id`) WHERE ' . $where . ' GROUP BY `im`.id,`iu`.item_id, `iu`.inGroup HAVING `iu`.inGroup > 0 UNION ALL SELECT count(`iu`.item_id) as inGroupCount, `im`.`id`,`im`.`name`,`im`.`img`, `im`.`type`,`im`.`inslot`,`im`.`2h`,`im`.`2too`, `im`.`iznosMAXi`,`im`.`inRazdel`, `im`.`price1`,`im`.`price2`, `im`.`pricerep`,`im`.`magic_chance`, `im`.`info`,`im`.`massa`,`im`.`level`,`im`.`magic_inci`, `im`.`overTypei`,`im`.`group`,`im`.`group_max`,`im`.`geni`, `im`.`ts`,`im`.`srok`,`im`.`class`, `im`.`class_point`,`im`.`anti_class`, `im`.`anti_class_point`,`im`.`max_text`,`im`.`useInBattle`,`im`.`lbtl`, `im`.`lvl_itm`,`im`.`lvl_exp`,`im`.`lvl_aexp`,`iu`.`so`,`iu`.`id`,`iu`.`item_id`, `iu`.`1price`,`iu`.`2price`,`iu`.`uid`, `iu`.`use_text`,`iu`.`data`,`iu`.`inOdet`, `iu`.`inShop`,`iu`.`delete`,`iu`.`iznosNOW`,`iu`.`iznosMAX`, `iu`.`gift`,`iu`.`gtxt1`,`iu`.`gtxt2`,`iu`.`kolvo`,`iu`.`geniration`, `iu`.`magic_inc`, `iu`.`maidin`,`iu`.`lastUPD`, `iu`.`timeOver`, `iu`.`overType`, `iu`.`secret_id`, `iu`.`time_create`, `iu`.`time_sleep`,`iu`.`inGroup`,`iu`.`dn_delete`,`iu`.`inTransfer`, `iu`.`post_delivery`,`iu`.`lbtl_`,`iu`.`bexp`,`iu`.`so`,`iu`.`blvl` FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.`item_id`) WHERE `iu`.inGroup=0 AND ' . $where . ' GROUP BY `iu`.id, `iu`.item_id ORDER BY ' . $sort . ' -'); + $where = $sort[0]; + $sort = isset($sort[0], $sort[1]) ? ($sort[1] != '' ? $sort[1] : '') : ' `lastUPD` DESC'; + $cl = mysql_query( + 'SELECT count(`iu`.item_id) as inGroupCount, `im`.`id`,`im`.`name`,`im`.`img`,`im`.`type`,`im`.`inslot`,`im`.`2h`,`im`.`2too`,`im`.`iznosMAXi`,`im`.`inRazdel`,`im`.`price1`,`im`.`price2`,`im`.`pricerep`,`im`.`magic_chance`,`im`.`info`,`im`.`massa`,`im`.`level`,`im`.`magic_inci`,`im`.`overTypei`,`im`.`group`,`im`.`group_max`,`im`.`geni`,`im`.`ts`,`im`.`srok`,`im`.`class`,`im`.`class_point`,`im`.`anti_class`,`im`.`anti_class_point`,`im`.`max_text`,`im`.`useInBattle`,`im`.`lbtl`,`im`.`lvl_itm`,`im`.`lvl_exp`,`im`.`lvl_aexp`,`iu`.`so`,`iu`.`id`,`iu`.`item_id`,`iu`.`1price`,`iu`.`2price`,`iu`.`uid`,`iu`.`use_text`,`iu`.`data`,`iu`.`inOdet`,`iu`.`inShop`,`iu`.`delete`,`iu`.`iznosNOW`,`iu`.`iznosMAX`,`iu`.`gift`,`iu`.`gtxt1`,`iu`.`gtxt2`,`iu`.`kolvo`,`iu`.`geniration`,`iu`.`magic_inc`,`iu`.`maidin`,`iu`.`lastUPD`,`iu`.`timeOver`,`iu`.`overType`,`iu`.`secret_id`,`iu`.`time_create`,`iu`.`time_sleep`,`iu`.`inGroup`,`iu`.`dn_delete`,`iu`.`inTransfer`,`iu`.`post_delivery`,`iu`.`lbtl_`,`iu`.`bexp`,`iu`.`so`,`iu`.`blvl` FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.`item_id`) WHERE ' . $where . ' GROUP BY `im`.id,`iu`.item_id, `iu`.inGroup HAVING `iu`.inGroup > 0 UNION ALL SELECT count(`iu`.item_id) as inGroupCount, `im`.`id`,`im`.`name`,`im`.`img`, `im`.`type`,`im`.`inslot`,`im`.`2h`,`im`.`2too`, `im`.`iznosMAXi`,`im`.`inRazdel`, `im`.`price1`,`im`.`price2`, `im`.`pricerep`,`im`.`magic_chance`, `im`.`info`,`im`.`massa`,`im`.`level`,`im`.`magic_inci`, `im`.`overTypei`,`im`.`group`,`im`.`group_max`,`im`.`geni`, `im`.`ts`,`im`.`srok`,`im`.`class`, `im`.`class_point`,`im`.`anti_class`, `im`.`anti_class_point`,`im`.`max_text`,`im`.`useInBattle`,`im`.`lbtl`, `im`.`lvl_itm`,`im`.`lvl_exp`,`im`.`lvl_aexp`,`iu`.`so`,`iu`.`id`,`iu`.`item_id`, `iu`.`1price`,`iu`.`2price`,`iu`.`uid`, `iu`.`use_text`,`iu`.`data`,`iu`.`inOdet`, `iu`.`inShop`,`iu`.`delete`,`iu`.`iznosNOW`,`iu`.`iznosMAX`, `iu`.`gift`,`iu`.`gtxt1`,`iu`.`gtxt2`,`iu`.`kolvo`,`iu`.`geniration`, `iu`.`magic_inc`, `iu`.`maidin`,`iu`.`lastUPD`, `iu`.`timeOver`, `iu`.`overType`, `iu`.`secret_id`, `iu`.`time_create`, `iu`.`time_sleep`,`iu`.`inGroup`,`iu`.`dn_delete`,`iu`.`inTransfer`, `iu`.`post_delivery`,`iu`.`lbtl_`,`iu`.`bexp`,`iu`.`so`,`iu`.`blvl` FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.`item_id`) WHERE `iu`.inGroup=0 AND ' . $where . ' GROUP BY `iu`.id, `iu`.item_id ORDER BY ' . $sort . ' +' + ); if ($type == 15) { - $anm = mysql_fetch_array(mysql_query('SELECT `id`,`type`,`name`,`uid`,`delete`,`inBattle`,`eda`,`exp`,`obraz`,`stats`,`level`,`sex`,`levelUp`,`pet_in_cage`,`max_exp`,`priems`,`bonus` FROM `users_animal` WHERE `id` = "' . $this->info['animal'] . '" AND `pet_in_cage` = 0 AND `delete` = "0" LIMIT 1')); + $anm = mysql_fetch_array( + mysql_query( + 'SELECT `id`,`type`,`name`,`uid`,`delete`,`inBattle`,`eda`,`exp`,`obraz`,`stats`,`level`,`sex`,`levelUp`,`pet_in_cage`,`max_exp`,`priems`,`bonus` FROM `users_animal` WHERE `id` = "' . $this->info['animal'] . '" AND `pet_in_cage` = 0 AND `delete` = "0" LIMIT 1' + ) + ); } while ($pl = mysql_fetch_array($cl)) { if ($type == 30) { $ChSudba = $this->lookStats($pl['data']); - if (isset($ChSudba['sudba']) || $ChSudba['sudba'] != 0 || $ChSudba['nosale'] == 1) + if (isset($ChSudba['sudba']) || $ChSudba['sudba'] != 0 || $ChSudba['nosale'] == 1) { continue; + } } if ($pl['1price'] > 0) { $pl['price1'] = $pl['1price']; @@ -5680,7 +6541,9 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` } } if ($pl['pricerep'] > 0) { - $is2 .= ' (' . round($pl['pricerep'] * $col, 2) . ' )'; + $is2 .= ' (' . round( + $pl['pricerep'] * $col, 2 + ) . ' )'; } if ($pl['iznosMAX'] > 0) { // $izcol = ''; @@ -5690,7 +6553,9 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` if ($pl['iznosMAXi'] == 999999999) { $is2 .= '
    : '; } else { - $is2 .= '
    : ' . floor($pl['iznosNOW']) . '/' . ceil($pl['iznosMAX']) . ''; + $is2 .= '
    : ' . floor( + $pl['iznosNOW'] + ) . '/' . ceil($pl['iznosMAX']) . ''; } } if ($po['battleUseZd'] > 0) { @@ -5700,13 +6565,19 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` $pl['srok'] = $po['srok']; } if ($pl['srok'] > 0) { // - $is2 .= '
    : ' . $this->timeOut($pl['srok']) . ' ( ' . date('d.m.Y H:i', $pl['time_create'] + $pl['srok']) . ')'; + $is2 .= '
    : ' . $this->timeOut($pl['srok']) . ' ( ' . date( + 'd.m.Y H:i', $pl['time_create'] + $pl['srok'] + ) . ')'; } if ($pl['magic_chance'] > 0) { $is2 .= '
    : ' . min([$pl['magic_chance'], 100]) . '%'; } if ((int)$pl['magic_inci'] > 0) { // : - $efi = mysql_fetch_array(mysql_query('SELECT `id2`,`mname`,`type1`,`img`,`mdata`,`actionTime`,`type2`,`type3`,`onlyOne`,`oneType`,`noAce`,`see`,`info`,`overch`,`bp`,`noch` FROM `eff_main` WHERE `id2` = "' . ((int)$pl['magic_inci']) . '" LIMIT 1')); + $efi = mysql_fetch_array( + mysql_query( + 'SELECT `id2`,`mname`,`type1`,`img`,`mdata`,`actionTime`,`type2`,`type3`,`onlyOne`,`oneType`,`noAce`,`see`,`info`,`overch`,`bp`,`noch` FROM `eff_main` WHERE `id2` = "' . ((int)$pl['magic_inci']) . '" LIMIT 1' + ) + ); if (isset($efi['id2']) && $efi['actionTime'] > 0) { $is2 .= '
    : ' . $this->timeOut($efi['actionTime']); } @@ -5716,7 +6587,6 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` if (isset($po['sudba']) && $po['sudba'] != '0' && $po['sudba'] != $this->info['login']) { $notr++; } - // : $tr = ''; $t = $this->items['tr']; $x = 0; @@ -5746,7 +6616,9 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` } elseif ($n == 'align_bs' && $this->info['inTurnir'] > 0 && ($pal = false || $tar = false)) { $tr .= ''; $notr++; - } elseif ($n != 'align' && $n != 'align_bs' || floor($this->info['align']) != $po['tr_' . $n]) { + } elseif ($n != 'align' && $n != 'align_bs' || floor( + $this->info['align'] + ) != $po['tr_' . $n]) { $tr .= ''; $notr++; } @@ -5754,7 +6626,9 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` $tr .= '
    '; if ($n == 'rep') { $temp = explode('::', $po['tr_' . $n]); - $tr .= $this->is[$n] . ' ' . ucfirst(str_replace('city', ' city', $temp[1])) . ': ' . $temp[0]; + $tr .= $this->is[$n] . ' ' . ucfirst( + str_replace('city', ' city', $temp[1]) + ) . ': ' . $temp[0]; unset($temp); } elseif ($n != 'align' && $n != 'align_bs') { if ($n == 'sex') { @@ -5776,7 +6650,9 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` } elseif ($po['tr_' . $n] > $this->stats[$n]) { if ($n == 'align_bs' && $this->info['inTurnir'] > 0 && ($pal = false || $tar = false)) { $tr .= '
    '; - } elseif ($n != 'align' && $n != 'align_bs' || floor($this->info['align']) != $po['tr_' . $n]) { + } elseif ($n != 'align' && $n != 'align_bs' || floor( + $this->info['align'] + ) != $po['tr_' . $n]) { $tr .= '
    '; } } @@ -5896,13 +6772,17 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` $d[2] = 0; } // - $tr = ''; + // if ($pl['magic_inci'] != '' || $pl['magic_inc'] != '') { if ($pl['magic_inc'] == '') { $pl['magic_inc'] = $pl['magic_inci']; } - $mgi = mysql_fetch_array(mysql_query('SELECT * FROM `eff_main` WHERE `id2` = "' . $pl['magic_inc'] . '" AND `type1` = "12345" LIMIT 1')); + $mgi = mysql_fetch_array( + mysql_query( + 'SELECT * FROM `eff_main` WHERE `id2` = "' . $pl['magic_inc'] . '" AND `type1` = "12345" LIMIT 1' + ) + ); if (isset($mgi['id2'])) { $is2 .= '
    ' . $mgi['minfo'] . '
    '; } @@ -6048,7 +6928,9 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` if (isset($po['complect'])) { // $com1 = ['name' => ' ', 'x' => 0, 'text' => '']; - $spc = mysql_query('SELECT `id`,`com`,`name`,`x`,`data` FROM `complects` WHERE `com` = "' . $po['complect'] . '" ORDER BY `x` ASC LIMIT 20'); + $spc = mysql_query( + 'SELECT `id`,`com`,`name`,`x`,`data` FROM `complects` WHERE `com` = "' . $po['complect'] . '" ORDER BY `x` ASC LIMIT 20' + ); while ($plc = mysql_fetch_array($spc)) { $com1['name'] = $plc['name']; $com1['text'] .= '    • ' . $plc['x'] . ': '; @@ -6082,7 +6964,9 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` if (isset($po['complect2'])) { // $com1 = ['name' => ' ', 'x' => 0, 'text' => '']; - $spc = mysql_query('SELECT `id`,`com`,`name`,`x`,`data` FROM `complects` WHERE `com` = "' . $po['complect2'] . '" ORDER BY `x` ASC LIMIT 20'); + $spc = mysql_query( + 'SELECT `id`,`com`,`name`,`x`,`data` FROM `complects` WHERE `com` = "' . $po['complect2'] . '" ORDER BY `x` ASC LIMIT 20' + ); while ($plc = mysql_fetch_array($spc)) { $com1['name'] = $plc['name']; $com1['text'] .= '    • ' . $plc['x'] . ': '; @@ -6116,13 +7000,17 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` if ($pl['max_text'] > 0) { // - $sm_sp = mysql_query('SELECT `id`,`item_id`,`time`,`login`,`type`,`text`,`city`,`x` FROM `items_text` WHERE `item_id` = "' . $pl['id'] . '" ORDER BY `id` ASC LIMIT 500'); + $sm_sp = mysql_query( + 'SELECT `id`,`item_id`,`time`,`login`,`type`,`text`,`city`,`x` FROM `items_text` WHERE `item_id` = "' . $pl['id'] . '" ORDER BY `id` ASC LIMIT 500' + ); $sma = 0; $smt = ''; $ixi = 0; while ($sm_pl = mysql_fetch_array($sm_sp)) { if ($sm_pl['type'] == 0) { - $smt .= '' . date('d.m.Y H:i', $sm_pl['time']) . ' ' . $sm_pl['login'] . '. ' . $sm_pl['text'] . '
    '; + $smt .= '' . date( + 'd.m.Y H:i', $sm_pl['time'] + ) . ' ' . $sm_pl['login'] . '. ' . $sm_pl['text'] . '
    '; } else { $smt .= $sm_pl['text'] . '
    '; } @@ -6173,10 +7061,16 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` if (isset($po['toclan'])) { $po['toclan1'] = explode('#', $po['toclan']); - $clpo = mysql_fetch_array(mysql_query('SELECT * FROM `clan` WHERE `id` = "' . $po['toclan1'][0] . '" LIMIT 1')); + $clpo = mysql_fetch_array( + mysql_query('SELECT * FROM `clan` WHERE `id` = "' . $po['toclan1'][0] . '" LIMIT 1') + ); if (isset($clpo['id'])) { $is2 .= '
    ' . $clpo['name'] . ''; - $plpo = mysql_fetch_array(mysql_query('SELECT `id`,`login`,`cityreg` FROM `users` WHERE `id` = "' . $po['toclan1'][1] . '" LIMIT 1')); + $plpo = mysql_fetch_array( + mysql_query( + 'SELECT `id`,`login`,`cityreg` FROM `users` WHERE `id` = "' . $po['toclan1'][1] . '" LIMIT 1' + ) + ); if (isset($plpo['id'])) { $is2 .= ' ( ' . $plpo['login'] . ')'; if ($plpo['login'] == $this->info['login']) { @@ -6185,7 +7079,11 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` $pl['uid'] = $plpo['id']; unset($po['toclan1'], $po['toclan']); $pl['data'] = $this->impStats($po); - mysql_query('UPDATE `items_users` SET `data` = "' . mysql_real_escape_string($pl['data']) . '",`inOdet` = 0,`uid` = "' . $pl['uid'] . '" WHERE `id` = "' . $pl['id'] . '" LIMIT 1'); + mysql_query( + 'UPDATE `items_users` SET `data` = "' . mysql_real_escape_string( + $pl['data'] + ) . '",`inOdet` = 0,`uid` = "' . $pl['uid'] . '" WHERE `id` = "' . $pl['id'] . '" LIMIT 1' + ); } $is2 .= '
    ( : )'; } @@ -6220,15 +7118,21 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` if ($this->stats['slvtm'] > time() && $this->stats['silver'] > 1) { if ($pl['time_create'] != $this->stats['slvtm']) { $pl['time_create'] = $this->stats['slvtm']; - mysql_query('UPDATE `items_users` SET `time_create` = "' . $pl['time_create'] . '" WHERE `id` = "' . $pl['id'] . '" LIMIT 1'); + mysql_query( + 'UPDATE `items_users` SET `time_create` = "' . $pl['time_create'] . '" WHERE `id` = "' . $pl['id'] . '" LIMIT 1' + ); } - $is2 .= '
    ' . $this->timeOut($pl['time_create'] - time()) . '
    '; + $is2 .= '
    ' . $this->timeOut( + $pl['time_create'] - time() + ) . '
    '; } else { $is2 .= '
    , VIP
    '; if (($pl['time_create'] - time() + 86400 * 30) < 1) { $is2 .= '
    ...
    '; } else { - $is2 .= '
    ' . $this->timeOut($pl['time_create'] - time() + 86400 * 30) . '
    '; + $is2 .= '
    ' . $this->timeOut( + $pl['time_create'] - time() + 86400 * 30 + ) . '
    '; } } } @@ -6265,16 +7169,21 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` if ($type == 81) { - $is1 .= ' '; + $is1 .= ' '; } elseif ($type == 80) { - //$this->lookStats($itm['data']); //$pl['id'] - $itemrun = mysql_fetch_array(mysql_query('SELECT * FROM `items_users` WHERE `id` ="' . $pl['id'] . '" LIMIT 1')); + $itemrun = mysql_fetch_array( + mysql_query('SELECT * FROM `items_users` WHERE `id` ="' . $pl['id'] . '" LIMIT 1') + ); $it = $this->lookStats($itemrun['data']); if (!isset($it['rune_name']) || $_GET['otdel'] == 2) // 2() { - $is1 .= ' '; + $is1 .= ' '; } else { $is1 .= ':
    ' . $it['rune_name'] . '
    '; } @@ -6297,14 +7206,22 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` } $is1 .= ''; } elseif ($type == 67) { - $is1 .= ' ' . (round(1 + $pl['price1'] / 100 * 7) * $col) . ' .'; + $is1 .= ' ' . (round( + 1 + $pl['price1'] / 100 * 7 + ) * $col) . ' .'; } elseif ($type == 66) { $pos = explode('#', $po['toclan']); $us_1 = $pos[1]; if ($pl['uid'] < 1) { $is1 .= ' '; } else { - $yui = mysql_fetch_array(mysql_query('SELECT `id`,`login`,`cityreg` FROM `users` WHERE `id` = "' . mysql_real_escape_string($pl['uid']) . '" LIMIT 1')); + $yui = mysql_fetch_array( + mysql_query( + 'SELECT `id`,`login`,`cityreg` FROM `users` WHERE `id` = "' . mysql_real_escape_string( + $pl['uid'] + ) . '" LIMIT 1' + ) + ); $is1 .= '
    ' . $yui['login'] . '
    '; if ($this->info['tt'][14][0] == 1 || ($this->info['id'] == $us_1)) { $is1 .= '
    '; @@ -6317,7 +7234,9 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` $is1 .= ''; } } elseif ($type == 62) { - $upgitm = mysql_fetch_array(mysql_query('SELECT * FROM `items_upgrade` WHERE `iid` = "' . $pl['item_id'] . '" LIMIT 1')); + $upgitm = mysql_fetch_array( + mysql_query('SELECT * FROM `items_upgrade` WHERE `iid` = "' . $pl['item_id'] . '" LIMIT 1') + ); if (!isset($upgitm['id'])) { $is1 .= ' '; } else { @@ -6381,10 +7300,8 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` if ($po['tr_lvl'] > $pl['level']) { $pl['level'] = $po['tr_lvl']; } - //$prpod = $pl['level']*200; $prpod = 250; $prpod_ekr = $pl['level'] * 0.25; - //$is1 .= ' '.$prpod.' .'; if ($this->stats['repair_z'] >= 1) { $is1 .= ' '; @@ -6396,7 +7313,6 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` if ($po['tr_lvl'] > $pl['level']) { $pl['level'] = $po['tr_lvl']; } - //$prpod = 50*$pl['level']+200; $prpod = 2500; $prpod_ekr = $pl['level'] * 0.15; if ($this->stats['repair_r'] >= 1) { @@ -6495,7 +7411,9 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` } $date1 = $pl['delete'] - time(); $is1 .= '
    -


    (' . date("j . H .", $date1) . ' )
    '; +


    (' . date( + "j . H .", $date1 + ) . ' )
    '; } elseif ($type == 4) { // $r1 = round($pl['price1'] * 0.1 / 100, 2); @@ -6522,13 +7440,19 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` $is1 .= ' 10 . ' . $r2 . ' .
    '; } $is1 .= ' ' . $r3 . ' .'; - if ($c['zuby'] == true) { + if (Config::get('zuby') == true) { if ($this->info['level'] < 8) { - $is1 .= '
    1 . ' . $this->zuby($r1) . '
    '; + $is1 .= '
    1 . ' . $this->zuby( + $r1 + ) . '
    '; if ($pl['iznosNOW'] >= 10) { - $is1 .= ' 10 . ' . $this->zuby($r2) . '
    '; + $is1 .= ' 10 . ' . $this->zuby( + $r2 + ) . '
    '; } - $is1 .= ' ' . $this->zuby($r3) . '
    '; + $is1 .= ' ' . $this->zuby( + $r3 + ) . '
    '; } } } elseif ($type == 3) { @@ -6575,10 +7499,14 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` } else { $d_s = true; } - if ($d_s == true) { // + if ($d_s) { // $is1 .= ' ' . $shpCena . ' .'; if ($pl['pricerep'] > 0) { - $is1 .= '
    ' . floor($pl['pricerep'] * $pl['kolvo'] / 2) . ' c. '; + $is1 .= '
    ' . floor( + $pl['pricerep'] * $pl['kolvo'] / 2 + ) . ' c. '; } } else { $is1 .= ' .'; @@ -6607,12 +7535,7 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` if ($pl['iznosMAX'] > 0 && $pl['iznosMAXi'] > 0 && $pl['iznosMAXi'] > $pl['iznosMAX']) { $shpCena = $shpCena / 100 * ($pl['iznosMAX'] / $pl['iznosMAXi'] * 100); } - //$shpCena = $this->round2($shpCena*0.5); // - if (isset($po['art'])) { - $shpCena = $this->round2($shpCena * $this->berezCena()); // - } else { - $shpCena = $this->round2($shpCena * $this->berezCena()); // - } + $shpCena = $this->round2($shpCena * $this->berezCena()); if ($shpCena < 0) { $shpCena = 0; } @@ -6627,7 +7550,7 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` } else { $d_s = true; } - if ($d_s == true) { + if ($d_s) { $is1 .= ' ' . $shpCena . ' .'; } else { $is1 .= ' .'; @@ -6636,15 +7559,11 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` if (isset($po['toclan'])) { $po['toclan1'] = explode('#', $po['toclan']); $us_1 = $po['toclan1'][1]; - if ($us_1 != $this->info['id']) { - $d_s = false; - } else { - $d_s = true; - } + $d_s = !($us_1 != $this->info['id']); } else { $d_s = true; } - if ($d_s == true) { + if ($d_s) { $is1 .= '
    '; } else { $is1 .= ' .'; @@ -6697,13 +7616,12 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` } } - if ($d[0] == 1 && $pl['type'] != 30 && $pl['type'] != 31 && (($pl['type'] != 38 && $pl['type'] != 39 && $pl['type'] != 37) || $pl['gift'] != '')) {// - if (!isset($po['noodet']) && $pl['inslot'] > 0) { - if ($d[2] == 1) { - $is1 .= '
    '; - } - $is1 .= ''; + // + if ($d[0] == 1 && $pl['type'] != 30 && $pl['type'] != 31 && (($pl['type'] != 38 && $pl['type'] != 39 && $pl['type'] != 37) || $pl['gift'] != '') && !isset($po['noodet']) && $pl['inslot'] > 0) { + if ($d[2] == 1) { + $is1 .= '
    '; } + $is1 .= ''; } if (isset($po['open']) && $d[0] == 1) { if ($d[2] == 1) { @@ -6724,7 +7642,9 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` } if ($this->itemsX($pl['id']) > 1) { $is1 .= ' ' . $script; } } @@ -6736,13 +7656,16 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` } } - $is1 .= ' '; + $is1 .= ' '; if ($d[1] == 1) { // if (!isset($po['nodelete'])) { - $is1 .= ' '; + $is1 .= ' '; } - //$is1 .= ' '; } } @@ -6760,14 +7683,21 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` public function itemsX($id, $uid = null, $item_id = null) { - $item = mysql_fetch_array(mysql_query('SELECT `iu`.`id`,`iu`.`item_id`,`iu`.`uid`,`iu`.`inGroup`,`iu`.`inShop` FROM `items_users` AS `iu` WHERE `iu`.`delete` = "0" AND `iu`.`id` = "' . ((int)$id) . '" LIMIT 1 ')); + $item = mysql_fetch_array( + mysql_query( + 'SELECT `iu`.`id`,`iu`.`item_id`,`iu`.`uid`,`iu`.`inGroup`,`iu`.`inShop` FROM `items_users` AS `iu` WHERE `iu`.`delete` = "0" AND `iu`.`id` = "' . ((int)$id) . '" LIMIT 1 ' + ) + ); if ($item['inGroup'] == 0) { $grp = ' LIMIT 1'; } else { $grp = ' LIMIT 1000'; } - //$grp = ' LIMIT 1'; - $r = mysql_num_rows(mysql_query('SELECT `iu`.`id` FROM `items_users` AS `iu` WHERE `iu`.`inShop` = "' . $item['inShop'] . '" AND `iu`.`item_id` = "' . $item['item_id'] . '" AND `iu`.`uid` = "' . ($item['uid']) . '" AND `iu`.`delete` = "0" AND `iu`.`inGroup` = "' . ($item['inGroup']) . '" ' . $grp . ' ')); + $r = mysql_num_rows( + mysql_query( + 'SELECT `iu`.`id` FROM `items_users` AS `iu` WHERE `iu`.`inShop` = "' . $item['inShop'] . '" AND `iu`.`item_id` = "' . $item['item_id'] . '" AND `iu`.`uid` = "' . ($item['uid']) . '" AND `iu`.`delete` = "0" AND `iu`.`inGroup` = "' . ($item['inGroup']) . '" ' . $grp . ' ' + ) + ); unset($item); return $r; } @@ -6778,9 +7708,13 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` $i = 0; do { $i++; - $gr = mysql_fetch_array(mysql_query('SELECT `iu`.id, `iu`.inGroup, `iu`.`item_id` FROM `items_users` AS `iu` + $gr = mysql_fetch_array( + mysql_query( + 'SELECT `iu`.id, `iu`.inGroup, `iu`.`item_id` FROM `items_users` AS `iu` WHERE `iu`.`uid`="' . $uid . '" AND `iu`.`delete`="0"AND `iu`.`inGroup`="' . $i . '" AND `iu`.item_id="' . $item . '" - LIMIT 1')); + LIMIT 1' + ) + ); if (empty($gr['inGroup'])) { $g = 1; } @@ -6792,38 +7726,62 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` { global $c, $code; $where = ''; - $itm = mysql_fetch_array(mysql_query('SELECT + $itm = mysql_fetch_array( + mysql_query( + 'SELECT `im`.`id`,`im`.`name`,`im`.`img`,`im`.`type`,`im`.`inslot`,`im`.`2h`,`im`.`2too`,`im`.`iznosMAXi`,`im`.`inRazdel`,`im`.`price1`,`im`.`price2`,`im`.`pricerep`,`im`.`magic_chance`,`im`.`info`,`im`.`massa`,`im`.`level`,`im`.`magic_inci`,`im`.`overTypei`,`im`.`group`,`im`.`group_max`,`im`.`geni`,`im`.`ts`,`im`.`srok`,`im`.`class`,`im`.`class_point`,`im`.`anti_class`,`im`.`anti_class_point`,`im`.`max_text`,`im`.`useInBattle`,`im`.`lbtl`,`im`.`lvl_itm`,`im`.`lvl_exp`,`im`.`lvl_aexp`,`iu`.`id`,`iu`.`item_id`,`iu`.`1price`,`iu`.`2price`,`iu`.`uid`,`iu`.`use_text`,`iu`.`data`,`iu`.`inOdet`,`iu`.`inShop`,`iu`.`delete`,`iu`.`iznosNOW`,`iu`.`iznosMAX`,`iu`.`gift`,`iu`.`gtxt1`,`iu`.`gtxt2`,`iu`.`kolvo`,`iu`.`geniration`,`iu`.`magic_inc`,`iu`.`maidin`,`iu`.`lastUPD`,`iu`.`timeOver`,`iu`.`overType`,`iu`.`secret_id`,`iu`.`time_create`,`iu`.`time_sleep`,`iu`.`inGroup`,`iu`.`dn_delete`,`iu`.`inTransfer`,`iu`.`post_delivery`,`iu`.`lbtl_`,`iu`.`bexp`,`iu`.`so`,`iu`.`blvl`, count(`iuu`.id) as inGroupCount FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.`item_id`) LEFT JOIN `items_users` as `iuu` ON (`iuu`.inGroup = `iu`.inGroup AND `iuu`.item_id = `im`.id AND `iuu`.inShop = 0) - WHERE `iu`.`id` = "' . mysql_real_escape_string((int)$id) . '" AND `iu`.`uid` = "' . $this->info['id'] . '" AND `iuu`.`uid` = "' . $this->info['id'] . '" AND `iu`.`delete` = "0" AND `iu`.`inOdet` = "0" AND `iu`.`inShop` = "0" AND `im`.`group` = "1" LIMIT 1')); + WHERE `iu`.`id` = "' . mysql_real_escape_string( + (int)$id + ) . '" AND `iu`.`uid` = "' . $this->info['id'] . '" AND `iuu`.`uid` = "' . $this->info['id'] . '" AND `iu`.`delete` = "0" AND `iu`.`inOdet` = "0" AND `iu`.`inShop` = "0" AND `im`.`group` = "1" LIMIT 1' + ) + ); if (isset($itm['id']) && $itm['iznosNOW'] == 0) { // // if ($itm['inGroup'] == 0) { // , . - $items = mysql_num_rows(mysql_query('SELECT `iu`.id, `iu`.inGroup, `iu`.`item_id` FROM `items_users` AS `iu` WHERE `iu`.`uid`="' . $this->info['id'] . '" AND `iu`.`delete`="0"AND `iu`.`inGroup`="0" AND `iu`.item_id="' . $itm['item_id'] . '"')); + $items = mysql_num_rows( + mysql_query( + 'SELECT `iu`.id, `iu`.inGroup, `iu`.`item_id` FROM `items_users` AS `iu` WHERE `iu`.`uid`="' . $this->info['id'] . '" AND `iu`.`delete`="0"AND `iu`.`inGroup`="0" AND `iu`.item_id="' . $itm['item_id'] . '"' + ) + ); $items = ceil($items / $itm['group_max']); } else { // , inGroup == 0 - $curG = mysql_num_rows(mysql_query('SELECT `iu`.id, `iu`.inGroup, `iu`.`item_id` FROM `items_users` AS `iu` WHERE `iu`.`uid`="' . $this->info['id'] . '" AND `iu`.`delete`="0"AND `iu`.`inGroup`="' . $itm['inGroup'] . '" AND `iu`.item_id="' . $itm['item_id'] . '"')); // - $curNG = mysql_num_rows(mysql_query('SELECT `iu`.id, `iu`.inGroup, `iu`.`item_id` FROM `items_users` AS `iu` WHERE `iu`.`uid`="' . $this->info['id'] . '" AND `iu`.`delete`="0"AND `iu`.`inGroup`="0" AND `iu`.item_id="' . $itm['item_id'] . '"')); // + $curG = mysql_num_rows( + mysql_query( + 'SELECT `iu`.id, `iu`.inGroup, `iu`.`item_id` FROM `items_users` AS `iu` WHERE `iu`.`uid`="' . $this->info['id'] . '" AND `iu`.`delete`="0"AND `iu`.`inGroup`="' . $itm['inGroup'] . '" AND `iu`.item_id="' . $itm['item_id'] . '"' + ) + ); // + $curNG = mysql_num_rows( + mysql_query( + 'SELECT `iu`.id, `iu`.inGroup, `iu`.`item_id` FROM `items_users` AS `iu` WHERE `iu`.`uid`="' . $this->info['id'] . '" AND `iu`.`delete`="0"AND `iu`.`inGroup`="0" AND `iu`.item_id="' . $itm['item_id'] . '"' + ) + ); // $needG = $itm['group_max'] - $curG; // , 0 - if ($needG > 0 and $curNG == 0) { - $curItem = mysql_fetch_array(mysql_query('SELECT `iu`.id, `iu`.inGroup, count(`iu`.inGroup) as itemsInGroup, `iu`.`item_id` FROM `items_users` AS `iu` WHERE `iu`.`inGroup`!="' . $itm['inGroup'] . '" AND `iu`.`uid`="' . $this->info['id'] . '" AND `iu`.`delete`="0" AND `iu`.item_id="' . $itm['item_id'] . '" GROUP BY `iu`.inGroup HAVING itemsInGroup <= "' . $needG . '" ORDER BY itemsInGroup DESC LIMIT 1')); + if ($needG > 0 && $curNG == 0) { + $curItem = mysql_fetch_array( + mysql_query( + 'SELECT `iu`.id, `iu`.inGroup, count(`iu`.inGroup) as itemsInGroup, `iu`.`item_id` FROM `items_users` AS `iu` WHERE `iu`.`inGroup`!="' . $itm['inGroup'] . '" AND `iu`.`uid`="' . $this->info['id'] . '" AND `iu`.`delete`="0" AND `iu`.item_id="' . $itm['item_id'] . '" GROUP BY `iu`.inGroup HAVING itemsInGroup <= "' . $needG . '" ORDER BY itemsInGroup DESC LIMIT 1' + ) + ); if (isset($curItem['id'])) { $where = ' `iu`.`inGroup` = "' . $curItem['inGroup'] . '" AND '; } - $itm['group_max'] = $needG; - } else { - $itm['group_max'] = $needG; } + $itm['group_max'] = $needG; $items = 1; } $s = 0; do { - if (!isset($curG) and $curNG == 0) $itm['inGroup'] = $this->stackGroupCheck($this->info['id'], $itm['inGroup'], $itm['item_id']); - $sp = mysql_query('SELECT `im`.`id`,`im`.`name`,`im`.`img`,`im`.`type`,`im`.`inslot`,`im`.`2h`,`im`.`2too`,`im`.`iznosMAXi`,`im`.`inRazdel`,`im`.`price1`,`im`.`price2`,`im`.`pricerep`,`im`.`magic_chance`,`im`.`info`,`im`.`massa`,`im`.`level`,`im`.`magic_inci`,`im`.`overTypei`,`im`.`group`,`im`.`group_max`,`im`.`geni`,`im`.`ts`,`im`.`srok`,`im`.`class`,`im`.`class_point`,`im`.`anti_class`,`im`.`anti_class_point`,`im`.`max_text`,`im`.`useInBattle`,`im`.`lbtl`,`im`.`lvl_itm`,`im`.`lvl_exp`,`im`.`lvl_aexp`,`iu`.`id`,`iu`.`item_id`,`iu`.`1price`,`iu`.`2price`,`iu`.`uid`,`iu`.`use_text`,`iu`.`data`,`iu`.`inOdet`,`iu`.`inShop`,`iu`.`delete`,`iu`.`iznosNOW`,`iu`.`iznosMAX`,`iu`.`gift`,`iu`.`gtxt1`,`iu`.`gtxt2`,`iu`.`kolvo`,`iu`.`geniration`,`iu`.`magic_inc`,`iu`.`maidin`,`iu`.`lastUPD`,`iu`.`timeOver`,`iu`.`overType`,`iu`.`secret_id`,`iu`.`time_create`,`iu`.`time_sleep`,`iu`.`inGroup`,`iu`.`dn_delete`,`iu`.`inTransfer`,`iu`.`post_delivery`,`iu`.`lbtl_`,`iu`.`bexp`,`iu`.`so`,`iu`.`blvl` FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.`item_id`) WHERE ' . $where . ' `iu`.`kolvo` = "1" AND `iu`.`item_id` = "' . $itm['item_id'] . '" AND `iu`.`uid` = "' . $this->info['id'] . '" AND `iu`.`delete` = "0" AND `iu`.`inOdet` = "0" AND `iu`.`inShop` = "0" AND `im`.`group` = "1" ORDER BY `iu`.`inGroup` ASC LIMIT ' . $itm['group_max'] . ''); + if (!isset($curG) && $curNG == 0) { + $itm['inGroup'] = $this->stackGroupCheck($this->info['id'], $itm['inGroup'], $itm['item_id']); + } + $sp = mysql_query( + 'SELECT `im`.`id`,`im`.`name`,`im`.`img`,`im`.`type`,`im`.`inslot`,`im`.`2h`,`im`.`2too`,`im`.`iznosMAXi`,`im`.`inRazdel`,`im`.`price1`,`im`.`price2`,`im`.`pricerep`,`im`.`magic_chance`,`im`.`info`,`im`.`massa`,`im`.`level`,`im`.`magic_inci`,`im`.`overTypei`,`im`.`group`,`im`.`group_max`,`im`.`geni`,`im`.`ts`,`im`.`srok`,`im`.`class`,`im`.`class_point`,`im`.`anti_class`,`im`.`anti_class_point`,`im`.`max_text`,`im`.`useInBattle`,`im`.`lbtl`,`im`.`lvl_itm`,`im`.`lvl_exp`,`im`.`lvl_aexp`,`iu`.`id`,`iu`.`item_id`,`iu`.`1price`,`iu`.`2price`,`iu`.`uid`,`iu`.`use_text`,`iu`.`data`,`iu`.`inOdet`,`iu`.`inShop`,`iu`.`delete`,`iu`.`iznosNOW`,`iu`.`iznosMAX`,`iu`.`gift`,`iu`.`gtxt1`,`iu`.`gtxt2`,`iu`.`kolvo`,`iu`.`geniration`,`iu`.`magic_inc`,`iu`.`maidin`,`iu`.`lastUPD`,`iu`.`timeOver`,`iu`.`overType`,`iu`.`secret_id`,`iu`.`time_create`,`iu`.`time_sleep`,`iu`.`inGroup`,`iu`.`dn_delete`,`iu`.`inTransfer`,`iu`.`post_delivery`,`iu`.`lbtl_`,`iu`.`bexp`,`iu`.`so`,`iu`.`blvl` FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.`item_id`) WHERE ' . $where . ' `iu`.`kolvo` = "1" AND `iu`.`item_id` = "' . $itm['item_id'] . '" AND `iu`.`uid` = "' . $this->info['id'] . '" AND `iu`.`delete` = "0" AND `iu`.`inOdet` = "0" AND `iu`.`inShop` = "0" AND `im`.`group` = "1" ORDER BY `iu`.`inGroup` ASC LIMIT ' . $itm['group_max'] . '' + ); $i = 0; $j = 0; while ($pl = mysql_fetch_array($sp)) { @@ -6833,15 +7791,21 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` $itm['data'] = $this->lookStats($itm['data']); unset($itm['data']['frompisher']); $itm['data'] = $this->impStats($itm['data']); - if ($pl['data'] == $itm['data'] && $pl['name'] == $itm['name'] && $itm['iznosMAX'] == $pl['iznosMAX'] && $pl['iznosNOW'] == 0 && ($pl['timeOver'] == 0 || $pl['timeOver'] > time()) && $pl['gift'] == $itm['gift']) { - $upd = mysql_query('UPDATE `items_users` SET `lastUPD` = "' . time() . '", `inGroup` = "' . $itm['inGroup'] . '" WHERE `id` = "' . $pl['id'] . '" LIMIT 1'); + if ($pl['data'] == $itm['data'] && $pl['name'] == $itm['name'] && $itm['iznosMAX'] == $pl['iznosMAX'] && $pl['iznosNOW'] == 0 && ($pl['timeOver'] == 0 || $pl['timeOver'] > time( + )) && $pl['gift'] == $itm['gift']) { + $upd = mysql_query( + 'UPDATE `items_users` SET `lastUPD` = "' . time( + ) . '", `inGroup` = "' . $itm['inGroup'] . '" WHERE `id` = "' . $pl['id'] . '" LIMIT 1' + ); if ($upd) { $j++; } $i++; } } - mysql_query('UPDATE `items_users` SET `lastUPD` = "' . time() . '" WHERE `id` = "' . $itm['id'] . '" LIMIT 1'); + mysql_query( + 'UPDATE `items_users` SET `lastUPD` = "' . time() . '" WHERE `id` = "' . $itm['id'] . '" LIMIT 1' + ); $s++; } while ($s < $items); } @@ -6850,11 +7814,17 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.` public function unstack($id, $x = null) { $id = (int)$id; - $itm = mysql_fetch_array(mysql_query('SELECT `iu`.id, `iu`.inGroup, `im`.`id` as item_id,`im`.`name`, count(`iuu`.id) as inGroupCount + $itm = mysql_fetch_array( + mysql_query( + 'SELECT `iu`.id, `iu`.inGroup, `im`.`id` as item_id,`im`.`name`, count(`iuu`.id) as inGroupCount FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.`item_id`) LEFT JOIN `items_users` as `iuu` ON (`iuu`.inGroup = `iu`.inGroup AND `iuu`.item_id = `im`.id ) -WHERE `iuu`.`uid`="' . $this->info['id'] . '" AND `iu`.`uid`="' . $this->info['id'] . '" AND `iu`.`delete`="0" AND `im`.`group` = "1" AND `iu`.`inOdet`="0" AND `iu`.`inShop`="0" AND `iu`.id=' . mysql_real_escape_string((int)$id) . ' +WHERE `iuu`.`uid`="' . $this->info['id'] . '" AND `iu`.`uid`="' . $this->info['id'] . '" AND `iu`.`delete`="0" AND `im`.`group` = "1" AND `iu`.`inOdet`="0" AND `iu`.`inShop`="0" AND `iu`.id=' . mysql_real_escape_string( + (int)$id + ) . ' ORDER BY `iu`.lastUPD DESC -LIMIT 1')); +LIMIT 1' + ) + ); if (isset($itm['id']) && $itm['inGroup'] > 0 && $itm['inGroupCount'] > 0) { if ($x == 0 or $x == null) { $x = $this->itemsX($itm['id']); //- @@ -6864,27 +7834,38 @@ LIMIT 1')); } else { $inGroup = 0; } - $sp = mysql_query('SELECT `im`.`id`,`im`.`name`,`im`.`img`,`im`.`type`,`im`.`inslot`,`im`.`2h`,`im`.`2too`,`im`.`iznosMAXi`,`im`.`inRazdel`,`im`.`price1`,`im`.`price2`,`im`.`pricerep`,`im`.`magic_chance`,`im`.`info`,`im`.`massa`,`im`.`level`,`im`.`magic_inci`,`im`.`overTypei`,`im`.`group`,`im`.`group_max`,`im`.`geni`,`im`.`ts`,`im`.`srok`,`im`.`class`,`im`.`class_point`,`im`.`anti_class`,`im`.`anti_class_point`,`im`.`max_text`,`im`.`useInBattle`,`im`.`lbtl`,`im`.`lvl_itm`,`im`.`lvl_exp`,`im`.`lvl_aexp`,`iu`.`id`,`iu`.`item_id`,`iu`.`1price`,`iu`.`2price`,`iu`.`uid`,`iu`.`use_text`,`iu`.`data`,`iu`.`inOdet`,`iu`.`inShop`,`iu`.`delete`,`iu`.`iznosNOW`,`iu`.`iznosMAX`,`iu`.`gift`,`iu`.`gtxt1`,`iu`.`gtxt2`,`iu`.`kolvo`,`iu`.`geniration`,`iu`.`magic_inc`,`iu`.`maidin`,`iu`.`lastUPD`,`iu`.`timeOver`,`iu`.`overType`,`iu`.`secret_id`,`iu`.`time_create`,`iu`.`time_sleep`,`iu`.`inGroup`,`iu`.`dn_delete`,`iu`.`inTransfer`,`iu`.`post_delivery`,`iu`.`lbtl_`,`iu`.`bexp`,`iu`.`so`,`iu`.`blvl` FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.`item_id`) WHERE `iu`.`uid` = "' . $this->info['id'] . '" AND `iu`.`delete` = "0" AND `iu`.`inGroup` = "' . $itm['inGroup'] . '" AND `iu`.`item_id` = "' . $itm['item_id'] . '" AND `iu`.`inOdet` = "0" AND `iu`.`inShop` = "0" AND `im`.`group` = "1" LIMIT ' . $x . ''); + $sp = mysql_query( + 'SELECT `im`.`id`,`im`.`name`,`im`.`img`,`im`.`type`,`im`.`inslot`,`im`.`2h`,`im`.`2too`,`im`.`iznosMAXi`,`im`.`inRazdel`,`im`.`price1`,`im`.`price2`,`im`.`pricerep`,`im`.`magic_chance`,`im`.`info`,`im`.`massa`,`im`.`level`,`im`.`magic_inci`,`im`.`overTypei`,`im`.`group`,`im`.`group_max`,`im`.`geni`,`im`.`ts`,`im`.`srok`,`im`.`class`,`im`.`class_point`,`im`.`anti_class`,`im`.`anti_class_point`,`im`.`max_text`,`im`.`useInBattle`,`im`.`lbtl`,`im`.`lvl_itm`,`im`.`lvl_exp`,`im`.`lvl_aexp`,`iu`.`id`,`iu`.`item_id`,`iu`.`1price`,`iu`.`2price`,`iu`.`uid`,`iu`.`use_text`,`iu`.`data`,`iu`.`inOdet`,`iu`.`inShop`,`iu`.`delete`,`iu`.`iznosNOW`,`iu`.`iznosMAX`,`iu`.`gift`,`iu`.`gtxt1`,`iu`.`gtxt2`,`iu`.`kolvo`,`iu`.`geniration`,`iu`.`magic_inc`,`iu`.`maidin`,`iu`.`lastUPD`,`iu`.`timeOver`,`iu`.`overType`,`iu`.`secret_id`,`iu`.`time_create`,`iu`.`time_sleep`,`iu`.`inGroup`,`iu`.`dn_delete`,`iu`.`inTransfer`,`iu`.`post_delivery`,`iu`.`lbtl_`,`iu`.`bexp`,`iu`.`so`,`iu`.`blvl` FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.`item_id`) WHERE `iu`.`uid` = "' . $this->info['id'] . '" AND `iu`.`delete` = "0" AND `iu`.`inGroup` = "' . $itm['inGroup'] . '" AND `iu`.`item_id` = "' . $itm['item_id'] . '" AND `iu`.`inOdet` = "0" AND `iu`.`inShop` = "0" AND `im`.`group` = "1" LIMIT ' . $x . '' + ); $i = 0; $j = 0; while ($pl = mysql_fetch_array($sp)) { - $upd = mysql_query('UPDATE `items_users` SET `inGroup` = "' . $inGroup . '", `lastUPD` = "' . time() . '" WHERE `id` = "' . $pl['id'] . '" LIMIT 1'); + $upd = mysql_query( + 'UPDATE `items_users` SET `inGroup` = "' . $inGroup . '", `lastUPD` = "' . time( + ) . '" WHERE `id` = "' . $pl['id'] . '" LIMIT 1' + ); if ($upd) { $j++; } $i++; } if ($this->itemsX($itm['id']) == 1) { - mysql_query('UPDATE `items_users` SET `inGroup` = "0", `lastUPD` = "' . time() . '" WHERE `id` = "' . $itm['id'] . '" LIMIT 1'); + mysql_query( + 'UPDATE `items_users` SET `inGroup` = "0", `lastUPD` = "' . time( + ) . '" WHERE `id` = "' . $itm['id'] . '" LIMIT 1' + ); } if ($this->itemsX($pl['id']) == 1) { - mysql_query('UPDATE `items_users` SET `inGroup` = "0", `lastUPD` = "' . time() . '" WHERE `id` = "' . $pl['id'] . '" LIMIT 1'); + mysql_query( + 'UPDATE `items_users` SET `inGroup` = "0", `lastUPD` = "' . time( + ) . '" WHERE `id` = "' . $pl['id'] . '" LIMIT 1' + ); } } } - public function lookStats($m) + public function lookStats($m): array { $ist = []; $di = explode('|', $m); @@ -6909,9 +7890,15 @@ LIMIT 1')); $st = false; $rt = false; if ($uid != $this->info['id']) { - $u = mysql_fetch_array(mysql_query('SELECT `u`.`align`,`u`.`align2`,`u`.`battle`,`u`.`clan`,`u`.`animal`,`u`.`id`,`u`.`level`,`u`.`login`,`u`.`sex`,`u`.`design`,`u`.`autospell`,`u`.`noplaw`,`u`.`obraz`, + $u = mysql_fetch_array( + mysql_query( + 'SELECT `u`.`align`,`u`.`align2`,`u`.`battle`,`u`.`clan`,`u`.`animal`,`u`.`id`,`u`.`level`,`u`.`login`,`u`.`sex`,`u`.`autospell`,`u`.`noplaw`,`u`.`obraz`, `st`.`id`,`st`.`lider`,`st`.`btl_cof`,`st`.`last_hp`,`st`.`last_pr`,`st`.`smena`,`st`.`stats`,`st`.`hpAll`,`st`.`mpAll`,`st`.`hpNow`,`st`.`mpNow`,`st`.`enNow`,`st`.`transfers`,`st`.`regHP`,`st`.`regMP`,`st`.`showmenu`,`st`.`prmenu`,`st`.`ability`,`st`.`skills`,`st`.`sskills`,`st`.`nskills`,`st`.`exp`,`st`.`minHP`,`st`.`minMP`,`st`.`zv`,`st`.`dn`,`st`.`dnow`,`st`.`team`,`st`.`battle_yron`,`st`.`battle_exp`,`st`.`enemy`,`st`.`last_a`,`st`.`last_b`,`st`.`battle_text`,`st`.`upLevel`,`st`.`wipe`,`st`.`bagStats`,`st`.`timeGo`,`st`.`timeGoL`,`st`.`nextAct`,`st`.`active`,`st`.`bot`,`st`.`lastAlign`,`st`.`tactic1`,`st`.`tactic2`,`st`.`tactic3`,`st`.`tactic4`,`st`.`tactic5`,`st`.`tactic6`,`st`.`tactic7`,`st`.`x`,`st`.`y`,`st`.`s`,`st`.`battleEnd`,`st`.`priemslot`,`st`.`priems`,`st`.`priems_z`,`st`.`bet`,`st`.`clone`,`st`.`atack`,`st`.`bbexp`,`st`.`ref_data`,`st`.`res_x`,`st`.`res_y`,`st`.`res_s`,`st`.`bn_capitalcity`,`st`.`bn_demonscity` - FROM `users` AS `u` LEFT JOIN `stats` AS `st` ON (`u`.`id` = `st`.`id`) WHERE `u`.`id`="' . mysql_real_escape_string($uid) . '" OR `u`.`login`="' . mysql_real_escape_string($uid) . '" LIMIT 1')); + FROM `users` AS `u` LEFT JOIN `stats` AS `st` ON (`u`.`id` = `st`.`id`) WHERE `u`.`id`="' . mysql_real_escape_string( + $uid + ) . '" OR `u`.`login`="' . mysql_real_escape_string($uid) . '" LIMIT 1' + ) + ); if ($sn == 0) { $sn = $this->getStats($uid, $i1); } @@ -6919,20 +7906,21 @@ LIMIT 1')); $u = $this->info; if (isset($this->stats['hpAll'])) { $sn = $this->stats; - } elseif ($sn != 0) { - - } else { + } elseif ($sn == 0) { $sn = $this->getStats($uid, $i1); } } if (isset($u['id'])) { $snIt = 0; // - $cl = mysql_query('SELECT + $cl = mysql_query( + 'SELECT `iu`.`id` AS `iduid`, `iu`.`time_sleep`,`im`.`id`,`im`.`name`,`im`.`img`,`im`.`type`,`im`.`inslot`,`im`.`2h`,`im`.`2too`,`im`.`iznosMAXi`,`im`.`inRazdel`,`im`.`price1`,`im`.`price2`,`im`.`pricerep`,`im`.`magic_chance`,`im`.`info`,`im`.`massa`,`im`.`level`,`im`.`magic_inci`,`im`.`overTypei`,`im`.`group`,`im`.`group_max`,`im`.`geni`,`im`.`ts`,`im`.`srok`,`im`.`class`,`im`.`class_point`,`im`.`anti_class`,`im`.`anti_class_point`,`im`.`max_text`,`im`.`useInBattle`,`im`.`lbtl`,`im`.`lvl_itm`,`im`.`lvl_exp`,`im`.`lvl_aexp`, `iu`.`id`,`iu`.`item_id`,`iu`.`1price`,`iu`.`2price`,`iu`.`uid`,`iu`.`use_text`,`iu`.`data`,`iu`.`inOdet`,`iu`.`inShop`,`iu`.`delete`,`iu`.`iznosNOW`,`iu`.`iznosMAX`,`iu`.`gift`,`iu`.`gtxt1`,`iu`.`gtxt2`,`iu`.`kolvo`,`iu`.`geniration`,`iu`.`magic_inc`,`iu`.`maidin`,`iu`.`lastUPD`,`iu`.`timeOver`,`iu`.`overType`,`iu`.`secret_id`,`iu`.`time_create`,`iu`.`time_sleep`,`iu`.`inGroup`,`iu`.`dn_delete`,`iu`.`inTransfer`,`iu`.`post_delivery`,`iu`.`lbtl_`,`iu`.`bexp`,`iu`.`so`,`iu`.`blvl` - FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.`item_id`) WHERE (`iu`.`inOdet`!="0" OR `iu`.`data` LIKE "%srok%" OR `iu`.`data` LIKE "%vip_sale%" OR `iu`.`data` LIKE "%sudba=1%" OR ( `iu`.`data` LIKE "%zazuby=%" AND `iu`.`data` NOT LIKE "%srok=%" ) OR `iu`.`iznosNOW` > 0 OR `im`.`srok` > 0 OR (`iu`.`timeOver`<' . time() . ' AND `iu`.`timeOver`!="0")) AND `iu`.`uid`="' . $u['id'] . '" AND (`iu`.`delete`="0" OR `iu`.`delete`="1000")'); + FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.`item_id`) WHERE (`iu`.`inOdet`!="0" OR `iu`.`data` LIKE "%srok%" OR `iu`.`data` LIKE "%vip_sale%" OR `iu`.`data` LIKE "%sudba=1%" OR ( `iu`.`data` LIKE "%zazuby=%" AND `iu`.`data` NOT LIKE "%srok=%" ) OR `iu`.`iznosNOW` > 0 OR `im`.`srok` > 0 OR (`iu`.`timeOver`<' . time( + ) . ' AND `iu`.`timeOver`!="0")) AND `iu`.`uid`="' . $u['id'] . '" AND (`iu`.`delete`="0" OR `iu`.`delete`="1000")' + ); while ($itm = mysql_fetch_array($cl)) { $po = []; $po = $this->lookStats($itm['data']); @@ -6977,25 +7965,30 @@ LIMIT 1')); if (isset($po['sudba']) && $po['sudba'] == 1) { $po['sudba'] = $u['login']; $itm['data'] = $this->impStats($po); - mysql_query('UPDATE `items_users` SET `data` = "' . $itm['data'] . '" WHERE `id` = "' . $itm['iduid'] . '" AND `uid` = "' . $u['id'] . '" LIMIT 1'); + mysql_query( + 'UPDATE `items_users` SET `data` = "' . $itm['data'] . '" WHERE `id` = "' . $itm['iduid'] . '" AND `uid` = "' . $u['id'] . '" LIMIT 1' + ); } if (isset($po['zazuby']) && !isset($po['srok']) && ($itm['type'] == 29 || $itm['type'] == 30 || $itm['type'] == 36 || $itm['type'] == 49 || $itm['type'] == 46 || $itm['type'] == 34)) { // $po['srok'] = 86400 * 7; $itm['data'] = $this->impStats($po); - mysql_query('UPDATE `items_users` SET `data` = "' . $itm['data'] . '" WHERE `id` = "' . $itm['iduid'] . '" AND `uid` = "' . $u['id'] . '" LIMIT 1'); + mysql_query( + 'UPDATE `items_users` SET `data` = "' . $itm['data'] . '" WHERE `id` = "' . $itm['iduid'] . '" AND `uid` = "' . $u['id'] . '" LIMIT 1' + ); } if (isset($po['srok']) && $po['srok'] > 0) { $itm['srok'] = $po['srok']; } - if (isset($po['vip_sale'])) { - if ($sn['silver'] < 2 && ($itm['time_create'] - time()) < 0) { - if ($itm['item_id'] == 4704) { - $po['musor2'] = 4708; - } - $this->isport($itm['id'], $itm['timeOver'], $itm['overType'], $u['id'], (int)$po['musor2'], $itm['type'], $itm['name'], $po['zazuby']); - $notr++; + if (isset($po['vip_sale']) && $sn['silver'] < 2 && ($itm['time_create'] - time()) < 0) { + if ($itm['item_id'] == 4704) { + $po['musor2'] = 4708; } + $this->isport( + $itm['id'], $itm['timeOver'], $itm['overType'], $u['id'], (int)$po['musor2'], $itm['type'], + $itm['name'], $po['zazuby'] + ); + $notr++; } if ($itm['iznosNOW'] >= ceil($itm['iznosMAX']) && $itm['iznosMAXi'] != 999999999) { $notr++; @@ -7023,7 +8016,10 @@ LIMIT 1')); if ($itm['item_id'] == 4704) { $po['musor2'] = 4708; } - $this->isport($itm['id'], $itm['timeOver'], $itm['overType'], $u['id'], (int)$po['musor2'], $itm['type'], $itm['name'], $po['zazuby']); + $this->isport( + $itm['id'], $itm['timeOver'], $itm['overType'], $u['id'], (int)$po['musor2'], $itm['type'], + $itm['name'], $po['zazuby'] + ); } elseif ($itm['time_create'] + $itm['srok'] <= time() && $itm['srok'] > 0) { echo 'test'; } @@ -7047,9 +8043,15 @@ LIMIT 1')); } else { $uid2 = ''; } - $upd = mysql_query('UPDATE `items_users` SET `delete`="' . time() . '" WHERE `id` = "' . $id . '" ' . $uid2 . ' LIMIT 1'); + $upd = mysql_query( + 'UPDATE `items_users` SET `delete`="' . time() . '" WHERE `id` = "' . $id . '" ' . $uid2 . ' LIMIT 1' + ); if ($upd) { - $this->addDelo(2, $uid, '"System.inventory": [itm:' . $it . '] .', time(), $this->info['city'], 'System.inventory', 0, 0); + $this->addDelo( + 2, $uid, + '"System.inventory": [itm:' . $it . '] .', + time(), $this->info['city'], 'System.inventory', 0, 0 + ); if ($id2 > 1) { // $this->addItem($id2, $uid, 'noodet=1|noremont=1'); @@ -7069,10 +8071,20 @@ LIMIT 1')); } else { $uid2 = ''; } - $upd = mysql_query('UPDATE `items_users` SET `delete`="' . time() . '",`timeOver`="1" WHERE `id` = "' . $it . '" ' . $uid2 . ' LIMIT 1'); + $upd = mysql_query( + 'UPDATE `items_users` SET `delete`="' . time( + ) . '",`timeOver`="1" WHERE `id` = "' . $it . '" ' . $uid2 . ' LIMIT 1' + ); if ($upd) { - $upd = mysql_query('UPDATE `items_users` SET `inGroup`="0",`timeOver`="' . time() . '" WHERE `inGroup` = "' . $it . '" ' . $uid2 . ''); - $this->addDelo(2, $uid, '"System.inventory": ' . $name . ' [itm:' . $it . '] .', time(), $this->info['city'], 'System.inventory', 0, 0); + $upd = mysql_query( + 'UPDATE `items_users` SET `inGroup`="0",`timeOver`="' . time( + ) . '" WHERE `inGroup` = "' . $it . '" ' . $uid2 . '' + ); + $this->addDelo( + 2, $uid, + '"System.inventory": ' . $name . ' [itm:' . $it . '] .', + time(), $this->info['city'], 'System.inventory', 0, 0 + ); if ($tp != 0) { // , $zzba = ''; @@ -7120,7 +8132,11 @@ LIMIT 1')); } $vl = 'style="cursor:pointer" onclick="' . $useUrl . '"'; } - $sv[$this->stats['items'][$i]['inOdet'] - 39] = ''; + $sv[$this->stats['items'][$i]['inOdet'] - 39] = ''; } $i++; } @@ -7185,7 +8201,7 @@ LIMIT 1')); return $r; } - public function getInfoItemInfo($pl) + public function getInfoItemInfo($pl): string { $lvar = ''; $td = $this->lookStats($pl['data']); @@ -7299,7 +8315,7 @@ LIMIT 1')); } - public function getInfoPers($uid, $i1, $sn = 0, $ivv = 0) + public function getInfoPers($uid, $i1, $sn = 0, $ivv = 0): array { global $c, $code; @@ -7307,9 +8323,15 @@ LIMIT 1')); $rt = false; $type_info = 1; if ($uid != $this->info['id']) { - $u = mysql_fetch_array(mysql_query('SELECT `u`.`inTurnir`,`u`.`allLock`,`u`.`battle`,`u`.`zag`,`u`.`banned`,`u`.`align`,`u`.`align2`,`u`.`clan`,`u`.`animal`,`u`.`id`,`u`.`level`,`u`.`login`,`u`.`sex`,`u`.`design`,`u`.`autospell`,`u`.`noplaw`,`u`.`obraz`,`u`.`vip`, + $u = mysql_fetch_array( + mysql_query( + 'SELECT `u`.`inTurnir`,`u`.`allLock`,`u`.`battle`,`u`.`zag`,`u`.`banned`,`u`.`align`,`u`.`align2`,`u`.`clan`,`u`.`animal`,`u`.`id`,`u`.`level`,`u`.`login`,`u`.`sex`,`u`.`autospell`,`u`.`noplaw`,`u`.`obraz`,`u`.`vip`, `st`.`id`,`st`.`lider`,`st`.`btl_cof`,`st`.`last_hp`,`st`.`last_pr`,`st`.`smena`,`st`.`stats`,`st`.`hpAll`,`st`.`mpAll`,`st`.`hpNow`,`st`.`mpNow`,`st`.`enNow`,`st`.`transfers`,`st`.`regHP`,`st`.`regMP`,`st`.`showmenu`,`st`.`prmenu`,`st`.`ability`,`st`.`skills`,`st`.`sskills`,`st`.`nskills`,`st`.`exp`,`st`.`minHP`,`st`.`minMP`,`st`.`zv`,`st`.`dn`,`st`.`dnow`,`st`.`team`,`st`.`battle_yron`,`st`.`battle_exp`,`st`.`enemy`,`st`.`last_a`,`st`.`last_b`,`st`.`battle_text`,`st`.`upLevel`,`st`.`wipe`,`st`.`bagStats`,`st`.`timeGo`,`st`.`timeGoL`,`st`.`nextAct`,`st`.`active`,`st`.`bot`,`st`.`lastAlign`,`st`.`tactic1`,`st`.`tactic2`,`st`.`tactic3`,`st`.`tactic4`,`st`.`tactic5`,`st`.`tactic6`,`st`.`tactic7`,`st`.`x`,`st`.`y`,`st`.`s`,`st`.`battleEnd`,`st`.`priemslot`,`st`.`priems`,`st`.`priems_z`,`st`.`bet`,`st`.`clone`,`st`.`atack`,`st`.`bbexp`,`st`.`ref_data`,`st`.`res_x`,`st`.`res_y`,`st`.`res_s`,`st`.`bn_capitalcity`,`st`.`bn_demonscity` - FROM `users` AS `u` LEFT JOIN `stats` AS `st` ON (`u`.`id` = `st`.`id`) WHERE `u`.`id`="' . mysql_real_escape_string($uid) . '" OR `u`.`login`="' . mysql_real_escape_string($uid) . '" LIMIT 1')); + FROM `users` AS `u` LEFT JOIN `stats` AS `st` ON (`u`.`id` = `st`.`id`) WHERE `u`.`id`="' . mysql_real_escape_string( + $uid + ) . '" OR `u`.`login`="' . mysql_real_escape_string($uid) . '" LIMIT 1' + ) + ); if ($sn == 0) { $sn = $this->getStats($uid, $i1); } @@ -7317,8 +8339,7 @@ LIMIT 1')); $u = $this->info; if (isset($this->stats['hpAll'])) { $sn = $this->stats; - } elseif ($sn != 0) { - } else { + } elseif ($sn == 0) { $sn = $this->getStats($uid, $i1); } } @@ -7337,13 +8358,10 @@ LIMIT 1')); 9 => 14, 8 => 15, 11 => 17, // 2 - 12 => 18 // 3 + 12 => 18, // 3 ]; if (isset($u['id'], $u['stats'])) { - //if( $u['inTurnir'] > 0 ) { - // $type_info = 2; - //} $rt = [0 => '', 1 => []]; $st = []; $st['id'] = $u['id']; @@ -7373,10 +8391,12 @@ LIMIT 1')); $witm[56] = ''; $witm[57] = ''; $witm[58] = ''; - $cl = mysql_query('SELECT + $cl = mysql_query( + 'SELECT `im`.`id`,`im`.`name`,`im`.`img`,`im`.`type`,`im`.`inslot`,`im`.`2h`,`im`.`2too`,`im`.`iznosMAXi`,`im`.`inRazdel`,`im`.`price1`,`im`.`price2`,`im`.`pricerep`,`im`.`magic_chance`,`im`.`info`,`im`.`massa`,`im`.`level`,`im`.`magic_inci`,`im`.`overTypei`,`im`.`group`,`im`.`group_max`,`im`.`geni`,`im`.`ts`,`im`.`srok`,`im`.`class`,`im`.`class_point`,`im`.`anti_class`,`im`.`anti_class_point`,`im`.`max_text`,`im`.`useInBattle`,`im`.`lbtl`,`im`.`lvl_itm`,`im`.`lvl_exp`,`im`.`lvl_aexp`, `iu`.`id`,`iu`.`item_id`,`iu`.`1price`,`iu`.`2price`,`iu`.`uid`,`iu`.`use_text`,`iu`.`data`,`iu`.`inOdet`,`iu`.`inShop`,`iu`.`delete`,`iu`.`iznosNOW`,`iu`.`iznosMAX`,`iu`.`gift`,`iu`.`gtxt1`,`iu`.`gtxt2`,`iu`.`kolvo`,`iu`.`geniration`,`iu`.`magic_inc`,`iu`.`maidin`,`iu`.`lastUPD`,`iu`.`timeOver`,`iu`.`overType`,`iu`.`secret_id`,`iu`.`time_create`,`iu`.`time_sleep`,`iu`.`inGroup`,`iu`.`dn_delete`,`iu`.`inTransfer`,`iu`.`post_delivery`,`iu`.`lbtl_`,`iu`.`bexp`,`iu`.`so`,`iu`.`blvl` - FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.`item_id`) WHERE `iu`.`inOdet`!="0" AND `iu`.`uid`="' . $u['id'] . '" AND `iu`.`delete`="0"'); + FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.`item_id`) WHERE `iu`.`inOdet`!="0" AND `iu`.`uid`="' . $u['id'] . '" AND `iu`.`delete`="0"' + ); $wj = [1 => false, 2 => false, 4 => false, 5 => false, 6 => false]; $b1 = '
    '; @@ -7450,8 +8470,8 @@ LIMIT 1')); //, $wj1i = ''; $br = '
    '; - if ($wj[1] != false) { - if ($wj[52] != false) { + if ($wj[1]) { + if ($wj[52]) { $wj1i .= $br; } $td = []; @@ -7461,7 +8481,7 @@ LIMIT 1')); $wj1i .= $this->getInfoItemInfo($wj[1]); } - if (isset($wj[52]) && $wj[52] != false) { + if (isset($wj[52]) && $wj[52]) { $td = $this->lookStats($wj[52]['data']); $wj[52]['name'] = $this->nameItemMf($wj[52], $td); @@ -7475,29 +8495,29 @@ LIMIT 1')); //,, $wj4idd = $wj[5]['item_id']; $wj4i = ''; - if ($wj[6] != false) { + if ($wj[6]) { $td = []; $td = $this->lookStats($wj[6]['data']); $wj[6]['name'] = $this->nameItemMf($wj[6], $td); $wj4i .= '' . $wj[6]['name'] . ''; $wj4i .= $this->getInfoItemInfo($wj[6]); - if ($wj[5] != false || $wj[4] != false) { + if ($wj[5] || $wj[4]) { $wj4i .= $br; } } - if ($wj[5] != false) { + if ($wj[5]) { $td = []; $td = $this->lookStats($wj[5]['data']); $wj[5]['name'] = $this->nameItemMf($wj[5], $td); $wj4i .= '' . $wj[5]['name'] . ''; $wj4i .= $this->getInfoItemInfo($wj[5]); - if ($wj[4] != false) { + if ($wj[4]) { $wj4i .= $br; } } - if ($wj[4] != false) { + if ($wj[4]) { $td = []; $td = $this->lookStats($wj[4]['data']); $wj[4]['name'] = $this->nameItemMf($wj[4], $td); @@ -7506,24 +8526,24 @@ LIMIT 1')); $wj4i .= $this->getInfoItemInfo($wj[4]); } - if ( /*$i1 == 1 &&*/ (($this->info['noplaw'] == 1 && !isset($_GET['hide_plaw'])) || ($this->info['noplaw'] == 0 && isset($_GET['hide_plaw'])))) { - if ($wj[5] != false) { + if ($this->info['noplaw'] == 1 && !isset($_GET['hide_plaw']) || ($this->info['noplaw'] == 0 && isset($_GET['hide_plaw']))) { + if ($wj[5]) { $wj[4]['img'] = $wj[5]['img']; $wj[4]['id'] = $wj[5]['id']; $wj[4]['inRazdel'] = $wj[5]['inRazdel']; } } else { - if ($wj[6] != false) { + if ($wj[6]) { $wj[4]['img'] = $wj[6]['img']; $wj[4]['id'] = $wj[6]['id']; $wj[4]['inRazdel'] = $wj[6]['inRazdel']; - } elseif ($wj[5] != false) { + } elseif ($wj[5]) { $wj[4]['img'] = $wj[5]['img']; $wj[4]['id'] = $wj[5]['id']; $wj[4]['inRazdel'] = $wj[5]['inRazdel']; } } - if ($wj[1] != false || $wj[2] != false) { + if ($wj[1] || $wj[2]) { if (isset($sn['items_img'][$tp_img[1]])) { $uimg = 'rimg/r' . $sn['items_img'][$tp_img[1]]; } else { @@ -7536,7 +8556,7 @@ LIMIT 1')); $witm[1] = '' . $witm[1] . ''; } } - if ($wj[4] != false || $wj[5] != false || $wj[6] != false) { + if ($wj[4] || $wj[5] || $wj[6]) { if (isset($sn['items_img'][$tp_img[5]])) { $uimg = 'rimg/r' . $sn['items_img'][$tp_img[5]]; } else { @@ -7573,7 +8593,7 @@ LIMIT 1')); 4 => 'demon', 5 => 'dog', 6 => 'pig', - 7 => 'dragon' + 7 => 'dragon', ]; $anan2 = [ 1 => '', @@ -7582,17 +8602,25 @@ LIMIT 1')); 4 => '', 5 => 'ϸ', 6 => '', - 7 => '' + 7 => '', ]; $anml = ''; if ($u['animal'] > 0) { - $an = mysql_fetch_array(mysql_query('SELECT `id`,`type`,`name`,`uid`,`delete`,`inBattle`,`eda`,`exp`,`obraz`,`stats`,`level`,`sex`,`levelUp`,`pet_in_cage`,`max_exp`,`priems`,`bonus` FROM `users_animal` WHERE `id` = "' . $u['animal'] . '" AND `pet_in_cage` = 0 AND `delete` = "0" LIMIT 1')); + $an = mysql_fetch_array( + mysql_query( + 'SELECT `id`,`type`,`name`,`uid`,`delete`,`inBattle`,`eda`,`exp`,`obraz`,`stats`,`level`,`sex`,`levelUp`,`pet_in_cage`,`max_exp`,`priems`,`bonus` FROM `users_animal` WHERE `id` = "' . $u['animal'] . '" AND `pet_in_cage` = 0 AND `delete` = "0" LIMIT 1' + ) + ); if (isset($an['id'])) { - $petimg = mysql_fetch_array(mysql_query('SELECT `id`,`img` FROM `obraz_pet` WHERE `uid` = "' . $u['id'] . '" AND `use` = 1 LIMIT 1')); + $petimg = mysql_fetch_array( + mysql_query( + 'SELECT `id`,`img` FROM `obraz_pet` WHERE `uid` = "' . $u['id'] . '" AND `use` = 1 LIMIT 1' + ) + ); if (isset($petimg['id'])) { - $anml = ''; + $anml = ''; } else { - $anml = ''; + $anml = ''; } } } @@ -7629,10 +8657,15 @@ LIMIT 1')); $hpmp = ''; $eff = ''; //-------- - $efs = mysql_query('SELECT + $efs = mysql_query( + 'SELECT `eu`.`id`,`eu`.`id_eff`,`eu`.`uid`,`eu`.`tr_life_user`,`eu`.`name`,`eu`.`data`,`eu`.`overType`,`eu`.`timeUse`,`eu`.`timeAce`,`eu`.`user_use`,`eu`.`delete`,`eu`.`v1`,`eu`.`v2`,`eu`.`img2`,`eu`.`x`,`eu`.`hod`,`eu`.`bj`,`eu`.`sleeptime`,`eu`.`no_Ace`, `em`.`id2`,`em`.`mname`,`em`.`type1`,`em`.`img`,`em`.`mdata`,`em`.`actionTime`,`em`.`type2`,`em`.`type3`,`em`.`onlyOne`,`em`.`oneType`,`em`.`noAce`,`em`.`see`,`em`.`info`,`em`.`overch`,`em`.`bp`,`em`.`noch` - FROM `eff_users` AS `eu` LEFT JOIN `eff_main` AS `em` ON (`eu`.`id_eff` = `em`.`id2`) WHERE `eu`.`uid`="' . mysql_real_escape_string($u['id']) . '" AND `delete`="0" AND `deactiveTime` < "' . time() . '" ORDER BY `deactiveTime` DESC,`timeUse` ASC'); + FROM `eff_users` AS `eu` LEFT JOIN `eff_main` AS `em` ON (`eu`.`id_eff` = `em`.`id2`) WHERE `eu`.`uid`="' . mysql_real_escape_string( + $u['id'] + ) . '" AND `delete`="0" AND `deactiveTime` < "' . time( + ) . '" ORDER BY `deactiveTime` DESC,`timeUse` ASC' + ); while ($e = mysql_fetch_array($efs)) { $esee = 1; if ($e['see'] == 0 && $i1 == 1) { @@ -7759,86 +8792,64 @@ LIMIT 1')); } // - if ($type_info == 1) { - $hptop = 0; - $lh = [0 => 'hp_none', 1 => 1]; - $lh[1] = floor((0 + $sn['hpNow']) / (0 + $sn['hpAll']) * 120); - if ($lh[1] > 0) { - $lh[0] = 'hp_1'; + + $hptop = 0; + $lh = [0 => 'hp_none', 1 => 1]; + $lh[1] = floor((0 + $sn['hpNow']) / (0 + $sn['hpAll']) * 120); + if ($lh[1] > 0) { + $lh[0] = 'hp_1'; + } + if ($lh[1] > 32) { + $lh[0] = 'hp_2'; + } + if ($lh[1] > 65) { + $lh[0] = 'hp_3'; + } + if ($sn['mpAll'] > 0) { + // + $lm = [0 => 'hp_none', 1 => 1]; + $lm[1] = floor($sn['mpNow'] / $sn['mpAll'] * 120); + if ($lm[1] > 0) { + $lm[0] = 'hp_mp'; } - if ($lh[1] > 32) { - $lh[0] = 'hp_2'; - } - if ($lh[1] > 65) { - $lh[0] = 'hp_3'; - } - if ($sn['mpAll'] > 0) { - // - $lm = [0 => 'hp_none', 1 => 1]; - $lm[1] = floor($sn['mpNow'] / $sn['mpAll'] * 120); - if ($lm[1] > 0) { - $lm[0] = 'hp_mp'; - } - $hpmp .= '
    ' . floor($sn['mpNow']) . '/' . (0 + $sn['mpAll']) . '
    + $hpmp .= '
    ' . floor( + $sn['mpNow'] + ) . '/' . (0 + $sn['mpAll']) . '
    '; - } else { - $hptop = 5; - } - $hpmp = '
    ' . floor($sn['hpNow']) . '/' . (0 + $sn['hpAll']) . '
    + } else { + $hptop = 5; + } + $hpmp = '
    ' . floor( + $sn['hpNow'] + ) . '/' . (0 + $sn['hpAll']) . '
    ' . $hpmp; - // - $hpmp = '
    ' . $hpmp . '
    '; - } elseif ($type_info == 2) { - $hptop = 0; - $lh = [0 => 'hp_none', 1 => 1]; - $lh[1] = floor((0 + $sn['hpNow']) / (0 + $sn['hpAll']) * 200); - if ($lh[1] > 0) { - $lh[0] = 'hp_1'; - } - if ($lh[1] > 32) { - $lh[0] = 'hp_2'; - } - if ($lh[1] > 65) { - $lh[0] = 'hp_3'; - } - if ($sn['mpAll'] > 0) { + // + $hpmp = '
    ' . $hpmp . '
    '; - // - $lm = [0 => 'hp_none', 1 => 1]; - $lm[1] = floor($sn['mpNow'] / $sn['mpAll'] * 200); - if ($lm[1] > 0) { - $lm[0] = 'hp_mp'; - } - $hpmp .= '
    ' . floor($sn['mpNow']) . '/' . (0 + $sn['mpAll']) . '
    -
    -
    -
    '; - } else { - $hptop = 5; - } - $hpmp = '
    ' . floor($sn['hpNow']) . '/' . (0 + $sn['hpAll']) . '
    -
    -
    -
    ' . $hpmp; - // - $hpmp = '
    ' . $hpmp . '
    '; - } $lgn = '' . $u['login'] . ' [' . $u['level'] . ']'; if ($u['clan'] != 0) { - $pc = mysql_fetch_array(mysql_query('SELECT `id`,`name`,`name_mini`,`align`,`type_m`,`money1`,`exp` FROM `clan` WHERE `id`="' . $u['clan'] . '" LIMIT 1')); + $pc = mysql_fetch_array( + mysql_query( + 'SELECT `id`,`name`,`name_mini`,`align`,`type_m`,`money1`,`exp` FROM `clan` WHERE `id`="' . $u['clan'] . '" LIMIT 1' + ) + ); $pc['img'] = $pc['name_mini'] . '.gif'; $lgn = '' . $lgn; } if ($u['align2'] > 0) { - $lgn = '' . $lgn; + $lgn = '' . $lgn; } if ($u['align'] > 0) { - $lgn = '' . $lgn; + $lgn = '' . $lgn; } $pb = ''; if ($u['banned'] > 0) { @@ -7917,12 +8928,11 @@ LIMIT 1')); } } - //
    - if ($type_info == 1) { - if ($pb != '') { - $pb = '
    ' . $pb . '
    '; - } - $rt[0] .= '
    ' . $lgn . '
    ' . $pb . ' + + if ($pb != '') { + $pb = '
    ' . $pb . '
    '; + } + $rt[0] .= '
    ' . $lgn . '
    ' . $pb . '
    @@ -7956,46 +8966,52 @@ LIMIT 1')); + $rt[0] .= ' @@ -8035,96 +9051,12 @@ LIMIT 1'));
    '; - if ($zag == '') { - if ($i1 == 0) { - if (!isset($_GET['inv'])) { - $invg = [0 => 'main.php?inv=1', 1 => '']; - } else { - $invg = [0 => 'main.php?skills=1', 1 => '']; - } + if ($zag == '') { + if ($i1 == 0) { + if (!isset($_GET['inv'])) { + $invg = [0 => 'main.php?inv=1', 1 => '']; } else { - $o = mysql_fetch_array(mysql_query('SELECT `id` FROM `obraz` WHERE `img` = "' . mysql_real_escape_string($this->info['obraz']) . '" AND `sex` = "' . $this->info['sex'] . '" LIMIT 1')); - $invg = [0 => 'https://new-combats.com/shadow/' . $o['id'] . '" target="_blank', 1 => ' ']; + $invg = [0 => 'main.php?skills=1', 1 => '']; } - $uobr = 'i/obraz/' . $u['sex'] . '/' . $u['obraz'] . ''; - if (isset($sn['items_img'][1])) { - $uobr = 'rimg/r' . $sn['items_img'][1]; - } - $rt[0] .= '
    + } else { + $o = mysql_fetch_array( + mysql_query( + 'SELECT `id` FROM `obraz` WHERE `img` = "' . mysql_real_escape_string( + $this->info['obraz'] + ) . '" AND `sex` = "' . $this->info['sex'] . '" LIMIT 1' + ) + ); + $invg = [0 => 'https://new-combats.com/shadow/' . $o['id'] . '" target="_blank', 1 => ' ']; + } + $uobr = 'i/obraz/' . $u['sex'] . '/' . $u['obraz'] . ''; + if (isset($sn['items_img'][1])) { + $uobr = 'rimg/r' . $sn['items_img'][1]; + } + $rt[0] .= '
    ' . $eff . '
    ' . $anml . '
    '; - } else { - if ($i1 == 0) { - if (!isset($_GET['inv'])) { - $invg = [0 => 'main.php?inv=1', 1 => '']; - } else { - $invg = [0 => 'main.php?skills=1', 1 => '']; - } + } else { + if ($i1 == 0) { + if (!isset($_GET['inv'])) { + $invg = [0 => 'main.php?inv=1', 1 => '']; } else { - $invg = [0 => 'https://lib.new-combats.com/obraz.php?namez=' . $u['zag'] . '" target="_blank', 1 => ' ']; + $invg = [0 => 'main.php?skills=1', 1 => '']; } - $rt[0] .= '
    + } else { + $invg = [0 => 'https://lib.new-combats.com/obraz.php?namez=' . $u['zag'] . '" target="_blank', 1 => ' ']; + } + $rt[0] .= '
    ' . $eff . '
    ' . $anml . '
    '; - } + } - unset($invg); + unset($invg); - $rt[0] .= '
    ' . $msl . '
    ' . $witmg . '
    '; - } elseif ($type_info == 2) { - $rt[0] .= '
    ' . $lgn . '
    -
    -
    ' . $pb . '
    -
    - - ' . $hpmp . ' - -
    - - - - - - -
    - - - - - - - - - - - - - - - - -
    ' . $zag . '' . $witm[8] . '
    ' . $witm[9] . '
    ' . $witm[3] . '
    ' . $witm[4] . '
    - - - - - -
    ' . $witm[10] . '' . $witm[11] . '' . $witm[12] . '
    -
    - - - - -
    '; - if ($zag == '') { - if ($i1 == 0) { - if (!isset($_GET['inv'])) { - $invg = [0 => 'main.php?inv=1', 1 => '']; - } else { - $invg = [0 => 'main.php?skills=1', 1 => '']; - } - } else { - $invg = [0 => 'https://lib.new-combats.com/obraz.php?name=' . $u['obraz'] . '" target="_blank', 1 => ' ']; - } - $u['obraz'] = '0.gif'; - $uobr = 'i/obraz/' . $u['sex'] . '/old/' . $u['obraz'] . ''; - if (isset($sn['items_img'][1])) { - $uobr = 'rimg/r' . $sn['items_img'][1]; - } - $rt[0] .= '
    - -
    -
    ' . $eff . '
    ' . $anml . ' -
    '; - } - unset($invg); - - $rt[0] .= '
    -
    - - - - - - - - - - - - - -
    ' . $witm[1] . '
    ' . $witm[13] . '
    ' . $witm[14] . '
    ' . $witm[17] . '
    -
    ' . $witmg . '
    '; - } if ($i1 == 0 && $u['battle'] == 0) { - $rt[0] .= ''; + $rt[0] .= ''; } if ($ivv == 0 && $i1 == 0) { $rt[0] .= $this->info_remont(); @@ -8133,23 +9065,39 @@ LIMIT 1')); return $rt; } - public function endEffect($id, $u, $test = null) + public function endEffect($id, $u, $test = null): int { - if ($test == false) { + if (!$test) { $test = 0; } - $e = mysql_fetch_array(mysql_query('SELECT + $e = mysql_fetch_array( + mysql_query( + 'SELECT `eu`.`id`,`eu`.`tr_life_user`,`eu`.`id_eff`,`eu`.`uid`,`eu`.`name`,`eu`.`data`,`eu`.`overType`,`eu`.`timeUse`,`eu`.`timeAce`,`eu`.`user_use`,`eu`.`delete`,`eu`.`v1`,`eu`.`v2`,`eu`.`img2`,`eu`.`x`,`eu`.`hod`,`eu`.`bj`,`eu`.`sleeptime`,`eu`.`no_Ace`, `em`.`id2`,`em`.`mname`,`em`.`type1`,`em`.`img`,`em`.`mdata`,`em`.`actionTime`,`em`.`type2`,`em`.`type3`,`em`.`onlyOne`,`em`.`oneType`,`em`.`noAce`,`em`.`see`,`em`.`info`,`em`.`overch`,`em`.`bp`,`em`.`noch` - FROM `eff_users` AS `eu` LEFT JOIN `eff_main` AS `em` ON (`eu`.`id_eff` = `em`.`id2`) WHERE `eu`.`id`="' . mysql_real_escape_string($id) . '" AND `delete`="0" AND `deactiveTime` < "' . time() . '"')); + FROM `eff_users` AS `eu` LEFT JOIN `eff_main` AS `em` ON (`eu`.`id_eff` = `em`.`id2`) WHERE `eu`.`id`="' . mysql_real_escape_string( + $id + ) . '" AND `delete`="0" AND `deactiveTime` < "' . time() . '"' + ) + ); if (isset($e['id'])) { $sleep = $this->testAction('`vars` = "sleep" AND `uid` = "' . $e['uid'] . '" LIMIT 1', 1); if ($e['id_eff'] == 2) { // - $ev = mysql_fetch_array(mysql_query('SELECT `id` FROM `items_main` WHERE `name` = "' . mysql_real_escape_string(str_replace(': ', '', $e['name'])) . '" LIMIT 1')); - $et = mysql_fetch_array(mysql_query('SELECT `id` FROM `actions` WHERE `uid` = "' . $e['uid'] . '" AND `vars` LIKE "%read%" AND `vals` = "' . $ev['id'] . '" LIMIT 1')); + $ev = mysql_fetch_array( + mysql_query( + 'SELECT `id` FROM `items_main` WHERE `name` = "' . mysql_real_escape_string( + str_replace(': ', '', $e['name']) + ) . '" LIMIT 1' + ) + ); + $et = mysql_fetch_array( + mysql_query( + 'SELECT `id` FROM `actions` WHERE `uid` = "' . $e['uid'] . '" AND `vars` LIKE "%read%" AND `vals` = "' . $ev['id'] . '" LIMIT 1' + ) + ); if (isset($et['id'])) { if ($et['time'] < time()) { $et = false; @@ -8162,8 +9110,10 @@ LIMIT 1')); } else { $et = false; } - if ($et == false && $e['sleeptime'] == 0 && $sleep['vars'] != 'sleep') { - $upd = mysql_query('UPDATE `eff_users` SET `delete`="' . time() . '" WHERE `id` = "' . $e['id'] . '" LIMIT 1'); + if (!$et && $e['sleeptime'] == 0 && $sleep['vars'] != 'sleep') { + $upd = mysql_query( + 'UPDATE `eff_users` SET `delete`="' . time() . '" WHERE `id` = "' . $e['id'] . '" LIMIT 1' + ); if ($upd) { $po = $this->lookStats($e['data']); if (isset($po['finish_file'])) { @@ -8176,15 +9126,25 @@ LIMIT 1')); } if (isset($u['id']) && ($e['type1'] < 11 || ($e['type1'] > 16 && $e['type1'] < 23)) && $e['noch'] == 0) { $text = ' "' . $e['name'] . '"'; - mysql_query("INSERT INTO `chat` (`city`,`room`,`login`,`to`,`text`,`time`,`type`,`toChat`,`new`) VALUES ('" . $u['city'] . "','" . $u['room'] . "','','" . $u['login'] . "','" . $text . "','-1','6','0',1)"); + mysql_query( + "INSERT INTO `chat` (`city`,`room`,`login`,`to`,`text`,`time`,`type`,`toChat`,`new`) VALUES ('" . $u['city'] . "','" . $u['room'] . "','','" . $u['login'] . "','" . $text . "','-1','6','0',1)" + ); if ($u['battle'] > 0) { - $lastHOD = mysql_fetch_array(mysql_query('SELECT `id`,`time`,`battle`,`id_hod`,`text`,`vars`,`zona1`,`zonb1`,`zona2`,`zonb2`,`type` FROM `battle_logs` WHERE `battle` = "' . $u['battle'] . '" ORDER BY `id_hod` DESC LIMIT 1')); + $lastHOD = mysql_fetch_array( + mysql_query( + 'SELECT `id`,`time`,`battle`,`id_hod`,`text`,`vars`,`zona1`,`zonb1`,`zona2`,`zonb2`,`type` FROM `battle_logs` WHERE `battle` = "' . $u['battle'] . '" ORDER BY `id_hod` DESC LIMIT 1' + ) + ); if (isset($lastHOD['id'])) { $id_hod = $lastHOD['id_hod']; if ($lastHOD['type'] != 6) { $id_hod++; } - mysql_query('INSERT INTO `battle_logs` (`time`,`battle`,`id_hod`,`text`,`vars`,`zona1`,`zonb1`,`zona2`,`zonb2`,`type`) VALUES ("' . time() . '","' . $u['battle'] . '","' . ($id_hod) . '","{tm1} ' . $text . ' {u1}.","login1=' . $u['login'] . '||t1=' . $u['team'] . '||time1=' . time() . '","","","","","6")'); + mysql_query( + 'INSERT INTO `battle_logs` (`time`,`battle`,`id_hod`,`text`,`vars`,`zona1`,`zonb1`,`zona2`,`zonb2`,`type`) VALUES ("' . time( + ) . '","' . $u['battle'] . '","' . ($id_hod) . '","{tm1} ' . $text . ' {u1}.","login1=' . $u['login'] . '||t1=' . $u['team'] . '||time1=' . time( + ) . '","","","","","6")' + ); } } } @@ -8200,24 +9160,33 @@ LIMIT 1')); } } - public function snatItem($id, $uid) + public function snatItem(int $id, int $uid): int { if ($uid != 0) { - $au = 'AND `iu`.`uid`="' . mysql_real_escape_string($uid) . '"'; + $au = 'AND `iu`.`uid`="' . $uid . '"'; } else { $au = ''; } - $itm = mysql_fetch_array($cl = mysql_query('SELECT + $itm = mysql_fetch_array( + $cl = mysql_query( + 'SELECT `im`.`id`,`im`.`name`,`im`.`img`,`im`.`type`,`im`.`inslot`,`im`.`2h`,`im`.`2too`,`im`.`iznosMAXi`,`im`.`inRazdel`,`im`.`price1`,`im`.`price2`,`im`.`pricerep`,`im`.`magic_chance`,`im`.`info`,`im`.`massa`,`im`.`level`,`im`.`magic_inci`,`im`.`overTypei`,`im`.`group`,`im`.`group_max`,`im`.`geni`,`im`.`ts`,`im`.`srok`,`im`.`class`,`im`.`class_point`,`im`.`anti_class`,`im`.`anti_class_point`,`im`.`max_text`,`im`.`useInBattle`,`im`.`lbtl`,`im`.`lvl_itm`,`im`.`lvl_exp`,`im`.`lvl_aexp`, `iu`.`id`,`iu`.`item_id`,`iu`.`1price`,`iu`.`2price`,`iu`.`uid`,`iu`.`use_text`,`iu`.`data`,`iu`.`inOdet`,`iu`.`inShop`,`iu`.`delete`,`iu`.`iznosNOW`,`iu`.`iznosMAX`,`iu`.`gift`,`iu`.`gtxt1`,`iu`.`gtxt2`,`iu`.`kolvo`,`iu`.`geniration`,`iu`.`magic_inc`,`iu`.`maidin`,`iu`.`lastUPD`,`iu`.`timeOver`,`iu`.`overType`,`iu`.`secret_id`,`iu`.`time_create`,`iu`.`time_sleep`,`iu`.`inGroup`,`iu`.`dn_delete`,`iu`.`inTransfer`,`iu`.`post_delivery`,`iu`.`lbtl_`,`iu`.`bexp`,`iu`.`so`,`iu`.`blvl` - FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.`item_id`) WHERE `iu`.`id`="' . mysql_real_escape_string($id) . '" AND `iu`.`inOdet`!="0" ' . $au . ' AND `iu`.`delete`="0" LIMIT 1 FOR UPDATE')); + FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.`item_id`) WHERE `iu`.`id`="' . $id . '" AND `iu`.`inOdet`!="0" ' . $au . ' AND `iu`.`delete`="0" LIMIT 1 FOR UPDATE' + ) + ); if (isset($itm['id'])) { - $upd = mysql_query('UPDATE `items_users` SET `lastUPD`="' . time() . '",`inOdet`="0" WHERE `id`="' . $itm['id'] . '" LIMIT 1'); + $upd = mysql_query( + 'UPDATE `items_users` SET `lastUPD`="' . time( + ) . '",`inOdet`="0" WHERE `id`="' . $itm['id'] . '" LIMIT 1' + ); if ($upd) { if (isset($_GET['remitem']) || isset($_GET['sid'])) { $this->info['autospell'] = 1; - mysql_query('UPDATE `users` SET `autospell` = "1" WHERE `id` = "' . $this->info['id'] . '" LIMIT 1'); + mysql_query( + 'UPDATE `users` SET `autospell` = "1" WHERE `id` = "' . $this->info['id'] . '" LIMIT 1' + ); } return 1; } else { @@ -8228,17 +9197,15 @@ LIMIT 1')); } } - public function snatItemAll($uid) + public function snatItemAll(int $uid): int { - $upd = mysql_query('UPDATE `items_users` SET `lastUPD`="' . time() . '",`inOdet`="0" WHERE `uid`="' . $uid . '" AND `inOdet`!="0" AND `delete`="0" LIMIT 100'); - if ($upd) { - return 1; - } else { - return 0; - } + $upd = mysql_query( + 'UPDATE `items_users` SET `lastUPD`= unix_timestamp(),`inOdet`=0 WHERE `uid`=' . $uid . ' AND `inOdet`!= 0 AND `delete`= 0 LIMIT 100' + ); + return $upd ? 1 : 0; } - public function impStats($m) + public function impStats($m): string { $i = 0; if (array_keys($m)) { @@ -8253,27 +9220,28 @@ LIMIT 1')); } $i++; } - $d = rtrim($d, '|'); - return $d; + return rtrim($d, '|'); } - public function odetItem($id, $uid) + public function odetItem(int $id, int $uid) { if ($uid != 0) { - $au = 'AND `iu`.`uid` = "' . mysql_real_escape_string($uid) . '"'; + $au = 'AND `iu`.`uid` = "' . $uid . '"'; } else { $au = ''; } - $itm = mysql_fetch_array(mysql_query('SELECT + $itm = mysql_fetch_array( + mysql_query( + 'SELECT `im`.`id`,`im`.`name`,`im`.`img`,`im`.`type`,`im`.`inslot`,`im`.`2h`,`im`.`2too`,`im`.`iznosMAXi`,`im`.`inRazdel`,`im`.`price1`,`im`.`price2`,`im`.`pricerep`,`im`.`magic_chance`,`im`.`info`,`im`.`massa`,`im`.`level`,`im`.`magic_inci`,`im`.`overTypei`,`im`.`group`,`im`.`group_max`,`im`.`geni`,`im`.`ts`,`im`.`srok`,`im`.`class`,`im`.`class_point`,`im`.`anti_class`,`im`.`anti_class_point`,`im`.`max_text`,`im`.`useInBattle`,`im`.`lbtl`,`im`.`lvl_itm`,`im`.`lvl_exp`,`im`.`lvl_aexp`, `iu`.`id`,`iu`.`item_id`,`iu`.`1price`,`iu`.`2price`,`iu`.`uid`,`iu`.`use_text`,`iu`.`data`,`iu`.`inOdet`,`iu`.`inShop`,`iu`.`delete`,`iu`.`iznosNOW`,`iu`.`iznosMAX`,`iu`.`gift`,`iu`.`gtxt1`,`iu`.`gtxt2`,`iu`.`kolvo`,`iu`.`geniration`,`iu`.`magic_inc`,`iu`.`maidin`,`iu`.`lastUPD`,`iu`.`timeOver`,`iu`.`overType`,`iu`.`secret_id`,`iu`.`time_create`,`iu`.`time_sleep`,`iu`.`inGroup`,`iu`.`dn_delete`,`iu`.`inTransfer`,`iu`.`post_delivery`,`iu`.`lbtl_`,`iu`.`bexp`,`iu`.`so`,`iu`.`blvl` - FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.`item_id`) WHERE `iu`.`id`="' . mysql_real_escape_string($id) . '" AND `iu`.`inOdet`="0" AND `iu`.`inShop`="0" ' . $au . ' AND `iu`.`delete`="0" LIMIT 1')); + FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.`item_id`) WHERE `iu`.`id`=' . $id . ' AND `iu`.`inOdet`="0" AND `iu`.`inShop`="0" ' . $au . ' AND `iu`.`delete`="0" LIMIT 1' + ) + ); if (isset($itm['id'])) { - if ($itm['group'] == 1) { - if ($this->itemsX($itm['id']) > 1) { - $this->unstack($itm['id'], 1); - } + if ($itm['group'] == 1 && $this->itemsX($itm['id']) > 1) { + $this->unstack($itm['id'], 1); } @@ -8281,7 +9249,11 @@ LIMIT 1')); $notr = $this->trItem($tr); $msb = ''; if (isset($tr['maks_itm_one']) && $tr['maks_itm_one'] > 0) { - $test = mysql_fetch_array(mysql_query('SELECT `id` FROM `items_users` WHERE `uid` = "' . $this->info['id'] . '" AND `inOdet` > 0 AND `delete` = 0 AND `data` LIKE "%maks_itm_one=' . $tr['maks_itm_one'] . '%" LIMIT 1')); + $test = mysql_fetch_array( + mysql_query( + 'SELECT `id` FROM `items_users` WHERE `uid` = "' . $this->info['id'] . '" AND `inOdet` > 0 AND `delete` = 0 AND `data` LIKE "%maks_itm_one=' . $tr['maks_itm_one'] . '%" LIMIT 1' + ) + ); if (isset($test['id'])) { $this->error = ' !'; $notr++; @@ -8340,7 +9312,10 @@ LIMIT 1')); } elseif (isset($tr['open']) && isset($_GET['open']) && isset($tr['items_in_file'])) { $io = ''; if ($itm['inGroup'] > 0) { - mysql_query('UPDATE `items_users` SET `lastUPD` = "' . time() . '",`inGroup` = "0", `delete` = "0" WHERE `id` = "' . $itm['id'] . '" LIMIT 1'); + mysql_query( + 'UPDATE `items_users` SET `lastUPD` = "' . time( + ) . '",`inGroup` = "0", `delete` = "0" WHERE `id` = "' . $itm['id'] . '" LIMIT 1' + ); } if (file_exists('_incl_data/class/magic/' . $tr['items_in_file'] . '.php')) { require('_incl_data/class/magic/' . $tr['items_in_file'] . '.php'); @@ -8362,9 +9337,12 @@ LIMIT 1')); if ($itm['type'] == 37) { // - $io = ''; - $itmin = mysql_fetch_array(mysql_query('SELECT * FROM `items_users` WHERE `id` = "' . $tr['item_inbox'] . '" LIMIT 1')); - $itmmn = mysql_fetch_array(mysql_query('SELECT * FROM `items_main` WHERE `id` = "' . $itmin['item_id'] . '" LIMIT 1')); + $itmin = mysql_fetch_array( + mysql_query('SELECT * FROM `items_users` WHERE `id` = "' . $tr['item_inbox'] . '" LIMIT 1') + ); + $itmmn = mysql_fetch_array( + mysql_query('SELECT * FROM `items_main` WHERE `id` = "' . $itmin['item_id'] . '" LIMIT 1') + ); // if ($itm['gift'] == '' || $itm['gift'] == '0') { $this->error = ' , !'; @@ -8379,7 +9357,9 @@ LIMIT 1')); $this->error = ' . .'; } elseif ($itmin['item_id'] == 4868) { // - mysql_query('UPDATE `stats` SET `hpNow` = 1,`mpNow` = 1 WHERE `id` = "' . $this->info['id'] . '" LIMIT 1'); + mysql_query( + 'UPDATE `stats` SET `hpNow` = 1,`mpNow` = 1 WHERE `id` = "' . $this->info['id'] . '" LIMIT 1' + ); $this->deleteItem($itm['id'], $this->info['id']); $this->deleteItem($itmin['id'], $this->info['id']); $this->error = ' HP...'; @@ -8390,18 +9370,27 @@ LIMIT 1')); } else { $this->info['molch1'] = time() + 3600; } - mysql_query('UPDATE `users` SET `molch1` = "' . $this->info['molch1'] . '" WHERE `id` = "' . $this->info['id'] . '" LIMIT 1'); + mysql_query( + 'UPDATE `users` SET `molch1` = "' . $this->info['molch1'] . '" WHERE `id` = "' . $this->info['id'] . '" LIMIT 1' + ); $this->deleteItem($itm['id'], $this->info['id']); $this->deleteItem($itmin['id'], $this->info['id']); $this->error = ' ...'; } elseif ($itmin['item_id'] == 4873) { // - $a = mysql_fetch_array(mysql_query('SELECT `id`,`type`,`name`,`uid`,`delete`,`inBattle`,`eda`,`exp`,`obraz`,`stats`,`level`,`sex`,`levelUp`,`pet_in_cage`,`max_exp`,`priems`,`bonus` FROM `users_animal` WHERE `uid` = "' . $this->info['id'] . '" AND `id` = "' . $this->info['animal'] . '" AND `pet_in_cage` = "0" AND `delete` = "0" LIMIT 1')); + $a = mysql_fetch_array( + mysql_query( + 'SELECT `id`,`type`,`name`,`uid`,`delete`,`inBattle`,`eda`,`exp`,`obraz`,`stats`,`level`,`sex`,`levelUp`,`pet_in_cage`,`max_exp`,`priems`,`bonus` FROM `users_animal` WHERE `uid` = "' . $this->info['id'] . '" AND `id` = "' . $this->info['animal'] . '" AND `pet_in_cage` = "0" AND `delete` = "0" LIMIT 1' + ) + ); $this->deleteItem($itm['id'], $this->info['id']); $this->deleteItem($itmin['id'], $this->info['id']); if (isset($a['id'])) { $this->error = ' "' . $a['name'] . '" ...'; - mysql_query('UPDATE `users_animal` SET `eda` = 0, `yad` = "' . (time() + 86400 * 7) . '" WHERE `id` = "' . $a['id'] . '" LIMIT 1'); + mysql_query( + 'UPDATE `users_animal` SET `eda` = 0, `yad` = "' . (time( + ) + 86400 * 7) . '" WHERE `id` = "' . $a['id'] . '" LIMIT 1' + ); } else { $this->error = '- , :)'; } @@ -8409,69 +9398,92 @@ LIMIT 1')); // ( 1 ) $this->deleteItem($itm['id'], $this->info['id']); $this->deleteItem($itmin['id'], $this->info['id']); - mysql_query('INSERT INTO `eff_users` + mysql_query( + 'INSERT INTO `eff_users` (`overType`,`timeUse`,`hod`,`name`,`data`,`uid`, `id_eff`, `img2`, `timeAce`, `v1`) VALUES ( "0","' . (time() + 3600) . '","-1", - " ","add_s' . rand(1, 3) . '=-' . rand(5, 15) . '","' . $this->info['id'] . '", + " ","add_s' . rand(1, 3) . '=-' . rand( + 5, 15 + ) . '","' . $this->info['id'] . '", "4", "bad_present_travma1.gif","0", "1" - )'); + )' + ); $this->error = ' . ...'; } elseif ($itmin['item_id'] == 4872) { // ( 1 ) $this->deleteItem($itm['id'], $this->info['id']); $this->deleteItem($itmin['id'], $this->info['id']); - mysql_query('INSERT INTO `eff_users` + mysql_query( + 'INSERT INTO `eff_users` (`overType`,`timeUse`,`hod`,`name`,`data`,`uid`, `id_eff`, `img2`, `timeAce`, `v1`) VALUES ( "0","' . (time() + 3600) . '","-1", - " ","add_s' . rand(1, 3) . '=-' . rand(16, 25) . '","' . $this->info['id'] . '", + " ","add_s' . rand(1, 3) . '=-' . rand( + 16, 25 + ) . '","' . $this->info['id'] . '", "4", "bad_present_travma2.gif","0", "2" - )'); + )' + ); $this->error = ' . ...'; } elseif ($itmin['item_id'] == 4876) { // ( 1 ) $this->deleteItem($itm['id'], $this->info['id']); $this->deleteItem($itmin['id'], $this->info['id']); - mysql_query('INSERT INTO `eff_users` + mysql_query( + 'INSERT INTO `eff_users` (`overType`,`timeUse`,`hod`,`name`,`data`,`uid`, `id_eff`, `img2`, `timeAce`, `v1`) VALUES ( "0","' . (time() + 3600) . '","-1", - " ","add_s' . rand(1, 3) . '=-' . rand(26, 35) . '","' . $this->info['id'] . '", + " ","add_s' . rand(1, 3) . '=-' . rand( + 26, 35 + ) . '","' . $this->info['id'] . '", "4", "bad_present_travma3.gif","0", "3" - )'); + )' + ); $this->error = ' . ...'; } elseif ($itmin['item_id'] == 4878) { // (add_puti=7200) $this->deleteItem($itm['id'], $this->info['id']); $this->deleteItem($itmin['id'], $this->info['id']); - mysql_query('INSERT INTO `eff_users` + mysql_query( + 'INSERT INTO `eff_users` (`overType`,`timeUse`,`hod`,`name`,`data`,`uid`, `id_eff`, `img2`, `timeAce`, `v1`) VALUES ( "0","' . (time() + 7200) . '","-1", "","add_puti=1","' . $this->info['id'] . '", "4", "bad_present_chains.gif","0", "3" - )'); + )' + ); $this->error = ' ...'; } elseif ($itmin['item_id'] == 4874) { // $this->deleteItem($itm['id'], $this->info['id']); $this->deleteItem($itmin['id'], $this->info['id']); - mysql_query('INSERT INTO `eff_users` + mysql_query( + 'INSERT INTO `eff_users` (`overType`,`timeUse`,`hod`,`name`,`data`,`uid`, `id_eff`, `img2`, `timeAce`, `v1`) VALUES ( "0","' . (time() + 3600) . '","-1", " ","add_s5=-50","' . $this->info['id'] . '", "4", "bad_present_dmage.gif","0", "3" - )'); + )' + ); $this->error = ' ...'; } elseif ($itmin['item_id'] == 4871) { // $this->deleteItem($itm['id'], $this->info['id']); $this->deleteItem($itmin['id'], $this->info['id']); - mysql_query('INSERT INTO `eff_users` + mysql_query( + 'INSERT INTO `eff_users` (`overType`,`timeUse`,`hod`,`name`,`data`,`uid`, `id_eff`, `img2`, `timeAce`, `v1`) VALUES ( "0","' . (time() + 3600) . '","-1", " ","add_s1=-50","' . $this->info['id'] . '", "4", "bad_present_dfighter.gif","0", "3" - )'); + )' + ); $this->error = ' ...'; - } elseif (mysql_query('UPDATE `items_users` SET `uid` = "' . $this->info['id'] . '",`lastUPD` = "' . time() . '",`gift` = "' . $itm['gift'] . '",`gtxt1` = "' . $itm['gtxt1'] . '",`gtxt2` = " . : ' . date('d.m.Y H:i:s', $itmin['time_create']) . '" WHERE `id` = "' . $itmin['id'] . '" LIMIT 1')) { + } elseif (mysql_query( + 'UPDATE `items_users` SET `uid` = "' . $this->info['id'] . '",`lastUPD` = "' . time( + ) . '",`gift` = "' . $itm['gift'] . '",`gtxt1` = "' . $itm['gtxt1'] . '",`gtxt2` = " . : ' . date( + 'd.m.Y H:i:s', $itmin['time_create'] + ) . '" WHERE `id` = "' . $itmin['id'] . '" LIMIT 1' + )) { // $this->deleteItem($itm['id'], $this->info['id']); $this->error = ' "' . $itm['name'] . '", :
    ' . $io . '...'; @@ -8489,13 +9501,20 @@ LIMIT 1')); $itms[$i] = explode('*', $itms[$i]); $x += (int)$itms[$i][1]; $itms[$i] = $itms[$i][0]; - $s = mysql_fetch_array(mysql_query('SELECT `id`,`name`,`img`,`type`,`inslot`,`2h`,`2too`,`iznosMAXi`,`inRazdel`,`price1`,`price2`,`price3`,`magic_chance`,`info`,`massa`,`level`,`magic_inci`,`overTypei`,`group`,`group_max`,`geni`,`ts`,`srok`,`class`,`class_point`,`anti_class`,`anti_class_point`,`max_text`,`useInBattle`,`lbtl`,`lvl_itm`,`lvl_exp`,`lvl_aexp` FROM `items_main` WHERE `id`="' . ((int)$itms[$i]) . '" LIMIT 1')); + $s = mysql_fetch_array( + mysql_query( + 'SELECT `id`,`name`,`img`,`type`,`inslot`,`2h`,`2too`,`iznosMAXi`,`inRazdel`,`price1`,`price2`,`price3`,`magic_chance`,`info`,`massa`,`level`,`magic_inci`,`overTypei`,`group`,`group_max`,`geni`,`ts`,`srok`,`class`,`class_point`,`anti_class`,`anti_class_point`,`max_text`,`useInBattle`,`lbtl`,`lvl_itm`,`lvl_exp`,`lvl_aexp` FROM `items_main` WHERE `id`="' . ((int)$itms[$i]) . '" LIMIT 1' + ) + ); if (isset($s['id'])) { $j = 1; while ($j <= $x) { $pid = $this->addItem($s['id'], $this->info['id']); if ($pid > 0) { - mysql_query('UPDATE `items_users` SET `lastUPD` = "' . time() . '",`gift` = "' . $itm['gift'] . '" WHERE `id` = "' . $pid . '" AND `uid` = "' . $this->info['id'] . '" LIMIT 1'); + mysql_query( + 'UPDATE `items_users` SET `lastUPD` = "' . time( + ) . '",`gift` = "' . $itm['gift'] . '" WHERE `id` = "' . $pid . '" AND `uid` = "' . $this->info['id'] . '" LIMIT 1' + ); } $j++; } @@ -8505,14 +9524,19 @@ LIMIT 1')); $i++; } if ($itm['inGroup'] > 0) { - mysql_query('UPDATE `items_users` SET `lastUPD` = "' . time() . '",`inGroup` = "0", `delete` = "0" WHERE `id` = "' . $itm['id'] . '" LIMIT 1'); + mysql_query( + 'UPDATE `items_users` SET `lastUPD` = "' . time( + ) . '",`inGroup` = "0", `delete` = "0" WHERE `id` = "' . $itm['id'] . '" LIMIT 1' + ); } $this->deleteItem($itm['id'], $this->info['id']); $this->error = ' "' . $itm['name'] . '", :
    ' . $io . '...'; } } else { $inSlot = $itm['inslot']; - $s = mysql_query('SELECT `iu`.`id`,`iu`.`inOdet` FROM `items_users` AS `iu` WHERE `iu`.`inOdet`!="0" AND `iu`.`uid`="' . $uid . '" AND `iu`.`delete`="0"'); + $s = mysql_query( + 'SELECT `iu`.`id`,`iu`.`inOdet` FROM `items_users` AS `iu` WHERE `iu`.`inOdet`!="0" AND `iu`.`uid`="' . $uid . '" AND `iu`.`delete`="0"' + ); $d = []; while ($p = mysql_fetch_array($s)) { $d[$p['inOdet']] = $p['id']; @@ -8582,18 +9606,22 @@ LIMIT 1')); } - $upd = mysql_query('UPDATE `items_users` SET `lastUPD` = "' . time() . '", `inOdet` = "' . $inSlot . '"' . $msb . ' WHERE `id` = "' . $itm['id'] . '" LIMIT 1'); + $upd = mysql_query( + 'UPDATE `items_users` SET `lastUPD` = "' . time( + ) . '", `inOdet` = "' . $inSlot . '"' . $msb . ' WHERE `id` = "' . $itm['id'] . '" LIMIT 1' + ); if ($itm['inGroup'] > 0) { - mysql_query('UPDATE `items_users` SET `lastUPD` = "' . time() . '", `inGroup` = 0, `delete` = 0 WHERE `id` = "' . $itm['id'] . '" LIMIT 1'); + mysql_query( + 'UPDATE `items_users` SET `lastUPD` = "' . time( + ) . '", `inGroup` = 0, `delete` = 0 WHERE `id` = "' . $itm['id'] . '" LIMIT 1' + ); } if ($upd) { // - //if($itm['']) - //{ - // - //} $this->info['autospell'] = 1; - mysql_query('UPDATE `users` SET `autospell` = "1" WHERE `id` = "' . $this->info['id'] . '" LIMIT 1'); + mysql_query( + 'UPDATE `users` SET `autospell` = "1" WHERE `id` = "' . $this->info['id'] . '" LIMIT 1' + ); return 1; } else { $this->error = '(!) '; @@ -8613,29 +9641,53 @@ LIMIT 1')); } else { $au = ''; } - $itm = mysql_fetch_array(mysql_query('SELECT `im`.*,`iu`.* - FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.`item_id`) WHERE `iu`.`id`="' . mysql_real_escape_string($id) . '" AND `iu`.`inOdet`="0" AND `iu`.`inShop`="0" ' . $au . ' AND (`iu`.`delete`="0" OR `iu`.`delete`="1000") LIMIT 1')); + $itm = mysql_fetch_array( + mysql_query( + 'SELECT `im`.*,`iu`.* + FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.`item_id`) WHERE `iu`.`id`="' . mysql_real_escape_string( + $id + ) . '" AND `iu`.`inOdet`="0" AND `iu`.`inShop`="0" ' . $au . ' AND (`iu`.`delete`="0" OR `iu`.`delete`="1000") LIMIT 1' + ) + ); if (isset($itm['id'])) { if ($coldel == 0) { // - $upd = mysql_query('UPDATE `items_users` SET `lastUPD`="' . time() . '",`delete`="' . time() . '" WHERE `id`="' . $itm['id'] . '" LIMIT 1'); + $upd = mysql_query( + 'UPDATE `items_users` SET `lastUPD`="' . time() . '",`delete`="' . time( + ) . '" WHERE `id`="' . $itm['id'] . '" LIMIT 1' + ); $col = $this->itemsX($itm['id']); if ($col > 0) { - mysql_query('UPDATE `items_users` SET `lastUPD`="' . time() . '",`delete`="' . time() . '",`inGroup` = "0" WHERE `inGroup`="' . $itm['id'] . '" LIMIT ' . $col); + mysql_query( + 'UPDATE `items_users` SET `lastUPD`="' . time() . '",`delete`="' . time( + ) . '",`inGroup` = "0" WHERE `inGroup`="' . $itm['id'] . '" LIMIT ' . $col + ); } } else { // - $col = $this->itemsX($itm['id']); if ($col > 1) { if ($col <= $coldel) { - $upd = mysql_query('UPDATE `items_users` SET `lastUPD`="' . time() . '",`delete`="' . time() . '" WHERE `id`="' . $itm['id'] . '" LIMIT 1'); + $upd = mysql_query( + 'UPDATE `items_users` SET `lastUPD`="' . time() . '",`delete`="' . time( + ) . '" WHERE `id`="' . $itm['id'] . '" LIMIT 1' + ); } - $upd = mysql_query('UPDATE `items_users` SET `lastUPD`="' . time() . '",`delete`="' . time() . '",`inGroup` = "0" WHERE `inGroup`="' . $itm['id'] . '" AND `delete` = "1000" LIMIT ' . $coldel); + $upd = mysql_query( + 'UPDATE `items_users` SET `lastUPD`="' . time() . '",`delete`="' . time( + ) . '",`inGroup` = "0" WHERE `inGroup`="' . $itm['id'] . '" AND `delete` = "1000" LIMIT ' . $coldel + ); } else { // - $upd = mysql_query('UPDATE `items_users` SET `lastUPD`="' . time() . '",`delete`="' . time() . '" WHERE `id`="' . $itm['id'] . '" LIMIT 1'); - $upd = mysql_query('UPDATE `items_users` SET `lastUPD`="' . time() . '",`delete`="' . time() . '",`inGroup` = "0" WHERE `inGroup`="' . $itm['id'] . '" AND `delete` = "1000" LIMIT ' . $col); + $upd = mysql_query( + 'UPDATE `items_users` SET `lastUPD`="' . time() . '",`delete`="' . time( + ) . '" WHERE `id`="' . $itm['id'] . '" LIMIT 1' + ); + $upd = mysql_query( + 'UPDATE `items_users` SET `lastUPD`="' . time() . '",`delete`="' . time( + ) . '",`inGroup` = "0" WHERE `inGroup`="' . $itm['id'] . '" AND `delete` = "1000" LIMIT ' . $col + ); } } if ($upd) { @@ -8645,14 +9697,29 @@ LIMIT 1')); if (isset($st['frompisher'])) { $whr .= 'AND `data` LIKE "%frompisher=' . $st['frompisher'] . '%"'; } - $col = mysql_fetch_array(mysql_query('SELECT COUNT(*) FROM `items_users` WHERE `item_id`="' . $itm['item_id'] . '" AND `inOdet` = 0 AND `delete` < 100000 AND `uid` = "' . $itm['uid'] . '" AND `data` NOT LIKE "%nodelete%"' . $whr)); + $col = mysql_fetch_array( + mysql_query( + 'SELECT COUNT(*) FROM `items_users` WHERE `item_id`="' . $itm['item_id'] . '" AND `inOdet` = 0 AND `delete` < 100000 AND `uid` = "' . $itm['uid'] . '" AND `data` NOT LIKE "%nodelete%"' . $whr + ) + ); $col = $col[0]; - mysql_query('UPDATE `items_users` SET `lastUPD`="' . time() . '",`delete`="' . time() . '" WHERE `item_id`="' . $itm['item_id'] . '" AND `inOdet` = 0 AND `delete` < 100000 AND `uid` = "' . $itm['uid'] . '" AND `data` NOT LIKE "%nodelete%"' . $whr); + mysql_query( + 'UPDATE `items_users` SET `lastUPD`="' . time() . '",`delete`="' . time( + ) . '" WHERE `item_id`="' . $itm['item_id'] . '" AND `inOdet` = 0 AND `delete` < 100000 AND `uid` = "' . $itm['uid'] . '" AND `data` NOT LIKE "%nodelete%"' . $whr + ); $this->error = ' "' . $itm['name'] . ' (x' . ($col + 1) . ')" '; - $this->addDelo(1, $uid, '"System.inventory": "' . $itm['name'] . ' (x' . $col . ')" [itm:' . $itm['id'] . '=' . time() . '] .', time(), $this->info['city'], 'System.inventory', 0, 0); + $this->addDelo( + 1, $uid, + '"System.inventory": "' . $itm['name'] . ' (x' . $col . ')" [itm:' . $itm['id'] . '=' . time( + ) . '] .', time(), $this->info['city'], 'System.inventory', 0, 0 + ); } else { $this->error = ' "' . $itm['name'] . '" '; - $this->addDelo(1, $uid, '"System.inventory": "' . $itm['name'] . '" [itm:' . $itm['id'] . '] .', time(), $this->info['city'], 'System.inventory', 0, 0); + $this->addDelo( + 1, $uid, + '"System.inventory": "' . $itm['name'] . '" [itm:' . $itm['id'] . '] .', + time(), $this->info['city'], 'System.inventory', 0, 0 + ); } return 1; } else { @@ -8663,45 +9730,21 @@ LIMIT 1')); } } - public function return_btn() - { - return false; - } - - public function get_battle_cache($uid, $battle) - { - $r = false; - if ($uid > 0 && $battle > 0) { - $r = mysql_fetch_array(mysql_query('SELECT * FROM `battle_cache` WHERE `battle` = "' . mysql_real_escape_string($battle) . '" AND `uid` = "' . mysql_real_escape_string($uid) . '" ORDER BY `id` DESC LIMIT 1')); - if (!isset($r['id'])) { - $r = false; - } else { - $r = json_decode($r['data'], true); - } - } - return $r; - } - - public function clear_battle_cache($uid) - { - mysql_query('DELETE FROM `battle_cache` WHERE `uid` = "' . mysql_real_escape_string($uid) . '"'); - } - public function getStats($uid, $i1 = null, $res = 0, $reimg = false, $btl_cache = false, $minimal = false) { global $c; - if (count($uid) > 1) { + if (is_array($uid)) { $u = $uid; } elseif ($uid != $this->info['id'] || $res == 1) { - if ($minimal == true) { - $u = mysql_fetch_array(mysql_query('SELECT `u`.`twink`,`u`.`swin`,`u`.`slose`,`u`.`stopexp`,`u`.`battle`,`u`.`id`,`u`.`no_ip`,`u`.`level`,`u`.`login`,`u`.`clan`,`u`.`vip`, - `st`.`id`,`st`.`lider`,`st`.`btl_cof`,`st`.`last_hp`,`st`.`last_pr`,`st`.`smena`,`st`.`stats`,`st`.`hpAll`,`st`.`mpAll`,`st`.`hpNow`,`st`.`mpNow`,`st`.`enNow`,`st`.`transfers`,`st`.`regHP`,`st`.`regMP`,`st`.`showmenu`,`st`.`prmenu`,`st`.`ability`,`st`.`skills`,`st`.`sskills`,`st`.`nskills`,`st`.`exp`,`st`.`minHP`,`st`.`minMP`,`st`.`zv`,`st`.`dn`,`st`.`dnow`,`st`.`team`,`st`.`battle_yron`,`st`.`battle_exp`,`st`.`enemy`,`st`.`last_a`,`st`.`last_b`,`st`.`battle_text`,`st`.`upLevel`,`st`.`wipe`,`st`.`bagStats`,`st`.`timeGo`,`st`.`timeGoL`,`st`.`nextAct`,`st`.`active`,`st`.`bot`,`st`.`lastAlign`,`st`.`tactic1`,`st`.`tactic2`,`st`.`tactic3`,`st`.`tactic4`,`st`.`tactic5`,`st`.`tactic6`,`st`.`tactic7`,`st`.`x`,`st`.`y`,`st`.`s`,`st`.`battleEnd`,`st`.`priemslot`,`st`.`priems`,`st`.`priems_z`,`st`.`bet`,`st`.`clone`,`st`.`atack`,`st`.`bbexp`,`st`.`ref_data`,`st`.`res_x`,`st`.`res_y`,`st`.`res_s`,`st`.`bn_capitalcity`,`st`.`bn_demonscity` - FROM `users` AS `u` LEFT JOIN `stats` AS `st` ON (`u`.`id` = `st`.`id`) WHERE `u`.`id`="' . mysql_real_escape_string($uid) . '" OR `u`.`login`="' . mysql_real_escape_string($uid) . '" LIMIT 1')); - } else { - $u = mysql_fetch_array(mysql_query('SELECT `u`.`twink`,`u`.`swin`,`u`.`slose`,`u`.`stopexp`,`u`.`battle`,`u`.`id`,`u`.`no_ip`,`u`.`level`,`u`.`login`,`u`.`clan`,`u`.`vip`, - `st`.`id`,`st`.`lider`,`st`.`btl_cof`,`st`.`last_hp`,`st`.`last_pr`,`st`.`smena`,`st`.`stats`,`st`.`hpAll`,`st`.`mpAll`,`st`.`hpNow`,`st`.`mpNow`,`st`.`enNow`,`st`.`transfers`,`st`.`regHP`,`st`.`regMP`,`st`.`showmenu`,`st`.`prmenu`,`st`.`ability`,`st`.`skills`,`st`.`sskills`,`st`.`nskills`,`st`.`exp`,`st`.`minHP`,`st`.`minMP`,`st`.`zv`,`st`.`dn`,`st`.`dnow`,`st`.`team`,`st`.`battle_yron`,`st`.`battle_exp`,`st`.`enemy`,`st`.`last_a`,`st`.`last_b`,`st`.`battle_text`,`st`.`upLevel`,`st`.`wipe`,`st`.`bagStats`,`st`.`timeGo`,`st`.`timeGoL`,`st`.`nextAct`,`st`.`active`,`st`.`bot`,`st`.`lastAlign`,`st`.`tactic1`,`st`.`tactic2`,`st`.`tactic3`,`st`.`tactic4`,`st`.`tactic5`,`st`.`tactic6`,`st`.`tactic7`,`st`.`x`,`st`.`y`,`st`.`s`,`st`.`battleEnd`,`st`.`priemslot`,`st`.`priems`,`st`.`priems_z`,`st`.`bet`,`st`.`clone`,`st`.`atack`,`st`.`bbexp`,`st`.`ref_data`,`st`.`res_x`,`st`.`res_y`,`st`.`res_s`,`st`.`bn_capitalcity`,`st`.`bn_demonscity` - FROM `users` AS `u` LEFT JOIN `stats` AS `st` ON (`u`.`id` = `st`.`id`) WHERE `u`.`id`="' . mysql_real_escape_string($uid) . '" OR `u`.`login`="' . mysql_real_escape_string($uid) . '" LIMIT 1')); - } + $u = mysql_fetch_array( + mysql_query( + 'SELECT `u`.`twink`,`u`.`swin`,`u`.`slose`,`u`.`stopexp`,`u`.`battle`,`u`.`id`,`u`.`no_ip`,`u`.`level`,`u`.`login`,`u`.`clan`,`u`.`vip`, + `st`.`id`,`st`.`lider`,`st`.`btl_cof`,`st`.`last_hp`,`st`.`last_pr`,`st`.`smena`,`st`.`stats`,`st`.`hpAll`,`st`.`mpAll`,`st`.`hpNow`,`st`.`mpNow`,`st`.`enNow`,`st`.`transfers`,`st`.`regHP`,`st`.`regMP`,`st`.`showmenu`,`st`.`prmenu`,`st`.`ability`,`st`.`skills`,`st`.`sskills`,`st`.`nskills`,`st`.`exp`,`st`.`minHP`,`st`.`minMP`,`st`.`zv`,`st`.`dn`,`st`.`dnow`,`st`.`team`,`st`.`battle_yron`,`st`.`battle_exp`,`st`.`enemy`,`st`.`last_a`,`st`.`last_b`,`st`.`battle_text`,`st`.`upLevel`,`st`.`wipe`,`st`.`bagStats`,`st`.`timeGo`,`st`.`timeGoL`,`st`.`nextAct`,`st`.`active`,`st`.`bot`,`st`.`lastAlign`,`st`.`tactic1`,`st`.`tactic2`,`st`.`tactic3`,`st`.`tactic4`,`st`.`tactic5`,`st`.`tactic6`,`st`.`tactic7`,`st`.`x`,`st`.`y`,`st`.`s`,`st`.`battleEnd`,`st`.`priemslot`,`st`.`priems`,`st`.`priems_z`,`st`.`bet`,`st`.`clone`,`st`.`atack`,`st`.`bbexp`,`st`.`ref_data`,`st`.`res_x`,`st`.`res_y`,`st`.`res_s`,`st`.`bn_capitalcity`,`st`.`bn_demonscity` + FROM `users` AS `u` LEFT JOIN `stats` AS `st` ON (`u`.`id` = `st`.`id`) WHERE `u`.`id`="' . mysql_real_escape_string( + $uid + ) . '" OR `u`.`login`="' . mysql_real_escape_string($uid) . '" LIMIT 1' + ) + ); } else { $u = $this->info; } @@ -8712,7 +9755,13 @@ LIMIT 1')); $s_v = []; $u['clanpos'] = 0; if ($u['clan'] > 0) { - $r1 = mysql_fetch_array(mysql_query('SELECT `pos` FROM `aaa_clan_reting_list` WHERE `clan` = "' . $u['clan'] . '" AND `date` = "' . date('dmY') . '" LIMIT 1')); + $r1 = mysql_fetch_array( + mysql_query( + 'SELECT `pos` FROM `aaa_clan_reting_list` WHERE `clan` = "' . $u['clan'] . '" AND `date` = "' . date( + 'dmY' + ) . '" LIMIT 1' + ) + ); if (isset($r1['pos'])) { $st['clanpos'] = $r1['pos']; } @@ -8721,7 +9770,11 @@ LIMIT 1')); if (!isset($cache_items)) { - $lvl = mysql_fetch_array(mysql_query('SELECT `bprice`,`upLevel`,`nextLevel`,`exp`,`money`,`money_bonus1`,`money_bonus2`,`ability`,`skills`,`nskills`,`sskills`,`expBtlMax`,`hpRegen`,`mpRegen`,`money2` FROM `levels` WHERE `upLevel` = "' . $u['upLevel'] . '" LIMIT 1')); + $lvl = mysql_fetch_array( + mysql_query( + 'SELECT `bprice`,`upLevel`,`nextLevel`,`exp`,`money`,`money_bonus1`,`money_bonus2`,`ability`,`skills`,`nskills`,`sskills`,`expBtlMax`,`hpRegen`,`mpRegen`,`money2` FROM `levels` WHERE `upLevel` = "' . $u['upLevel'] . '" LIMIT 1' + ) + ); if (isset($lvl['upLevel'])) { $st['levels'] = $lvl; } else { @@ -8763,7 +9816,8 @@ LIMIT 1')); } if ($u['admin'] > 0) { - mysql_query('UPDATE `stats` SET + mysql_query( + 'UPDATE `stats` SET `tactic1` = 25, `tactic2` = 25, `tactic3` = 25, @@ -8773,27 +9827,38 @@ LIMIT 1')); `tactic7` = 25, `priems_z` = "0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|" WHERE `id` = "' . $u['id'] . '" LIMIT 1 - '); + ' + ); } // if ($this->info['id'] == $u['id'] || $reimg != false) { - $sp_img = mysql_query('SELECT * FROM `items_img` WHERE `uid` = "' . $u['id'] . '" AND `img_id` != "0" LIMIT 16'); + $sp_img = mysql_query( + 'SELECT * FROM `items_img` WHERE `uid` = "' . $u['id'] . '" AND `img_id` != "0" LIMIT 16' + ); while ($pl_img = mysql_fetch_array($sp_img)) { - $pl_img_r = mysql_fetch_array(mysql_query('SELECT * FROM `reimage` WHERE ((`uid` = "' . $u['id'] . '" AND `clan` = "0") OR (`clan` = "' . $u['clan'] . '" AND ' . $u['clan'] . ' > 0)) AND `good` > 0 AND `bad` = "0" AND `id` = "' . $pl_img['img_id'] . '" LIMIT 1')); + $pl_img_r = mysql_fetch_array( + mysql_query( + 'SELECT * FROM `reimage` WHERE ((`uid` = "' . $u['id'] . '" AND `clan` = "0") OR (`clan` = "' . $u['clan'] . '" AND ' . $u['clan'] . ' > 0)) AND `good` > 0 AND `bad` = "0" AND `id` = "' . $pl_img['img_id'] . '" LIMIT 1' + ) + ); if (isset($pl_img_r['id'])) { $st['items_img'][$pl_img['type']] = $pl_img_r['id'] . '.' . $pl_img_r['format']; } else { - mysql_query('UPDATE `items_img` SET `img_id` = "0" WHERE `id` = "' . $pl_img['id'] . '" LIMIT 1'); + mysql_query( + 'UPDATE `items_img` SET `img_id` = "0" WHERE `id` = "' . $pl_img['id'] . '" LIMIT 1' + ); } } } // // tr_lvl - $cl = mysql_query('SELECT + $cl = mysql_query( + 'SELECT `im`.`id`,`im`.`name`,`im`.`img`,`im`.`type`,`im`.`inslot`,`im`.`2h`,`im`.`2too`,`im`.`iznosMAXi`,`im`.`inRazdel`,`im`.`price1`,`im`.`price2`,`im`.`pricerep`,`im`.`magic_chance`,`im`.`info`,`im`.`massa`,`im`.`level`,`im`.`magic_inci`,`im`.`overTypei`,`im`.`group`,`im`.`group_max`,`im`.`geni`,`im`.`ts`,`im`.`srok`,`im`.`class`,`im`.`class_point`,`im`.`anti_class`,`im`.`anti_class_point`,`im`.`max_text`,`im`.`useInBattle`,`im`.`lbtl`,`im`.`lvl_itm`,`im`.`lvl_exp`,`im`.`lvl_aexp`, `iu`.`id`,`iu`.`item_id`,`iu`.`1price`,`iu`.`2price`,`iu`.`uid`,`iu`.`use_text`,`iu`.`data`,`iu`.`inOdet`,`iu`.`inShop`,`iu`.`delete`,`iu`.`iznosNOW`,`iu`.`iznosMAX`,`iu`.`gift`,`iu`.`gtxt1`,`iu`.`gtxt2`,`iu`.`kolvo`,`iu`.`geniration`,`iu`.`magic_inc`,`iu`.`maidin`,`iu`.`lastUPD`,`iu`.`timeOver`,`iu`.`overType`,`iu`.`secret_id`,`iu`.`time_create`,`iu`.`time_sleep`,`iu`.`inGroup`,`iu`.`dn_delete`,`iu`.`inTransfer`,`iu`.`post_delivery`,`iu`.`lbtl_`,`iu`.`bexp`,`iu`.`so`,`iu`.`blvl` - FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.`item_id`) WHERE `iu`.`inOdet`!="0" AND `iu`.`uid`="' . $u['id'] . '" AND `iu`.`delete`="0" LIMIT 250'); + FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.`item_id`) WHERE `iu`.`inOdet`!="0" AND `iu`.`uid`="' . $u['id'] . '" AND `iu`.`delete`="0" LIMIT 250' + ); $ia = $this->items['add']; $h = 0; $hnd1 = 0; @@ -8807,13 +9872,13 @@ LIMIT 1')); 1 => [0, 0], 2 => [0, 0], 3 => [0, 0], - 4 => [0, 0] + 4 => [0, 0], ]; // $ozm = [ 1 => [0, 0], 2 => [0, 0], 3 => [0, 0], - 4 => [0, 0] + 4 => [0, 0], ]; // $itmslvl = 0; @@ -8856,23 +9921,21 @@ LIMIT 1')); $i++; } - if (!isset($sti['zazuby']) && !isset($sti['frompisher'])) { - if ($pl['inOdet'] < 18 && $pl['inOdet'] > 0) { + if (!isset($sti['zazuby']) && !isset($sti['frompisher']) && $pl['inOdet'] < 18 && $pl['inOdet'] > 0) { - if ($pl['2price'] == 0 && $pl['price2'] == 0) { - if ($pl['1price'] > 0) { - $st['prckr'] += $pl['1price']; - } else { - $st['prckr'] += $pl['price1']; - } + if ($pl['2price'] == 0 && $pl['price2'] == 0) { + if ($pl['1price'] > 0) { + $st['prckr'] += $pl['1price']; } else { - if ($pl['2price'] > 0) { - $st['prckr'] += $pl['2price'] * 200; - $st['preckr'] += $pl['2price']; - } else { - $st['prckr'] += $pl['price2'] * 200; - $st['preckr'] += $pl['price2']; - } + $st['prckr'] += $pl['price1']; + } + } else { + if ($pl['2price'] > 0) { + $st['prckr'] += $pl['2price'] * 200; + $st['preckr'] += $pl['2price']; + } else { + $st['prckr'] += $pl['price2'] * 200; + $st['preckr'] += $pl['price2']; } } } @@ -8986,7 +10049,6 @@ LIMIT 1')); $ko++; } - //if( $sti['tr_lvl'] == $u['level'] ) { if ($pl['inOdet'] <= 18) { $itmslvl++; } @@ -8997,7 +10059,6 @@ LIMIT 1')); $itmsCfc += ($sti['tr_lvl'] / $u['level']) / 4; } } - //} if (isset($sti['art'])) { if (!isset($st['art'])) { @@ -9058,43 +10119,38 @@ LIMIT 1')); if (!isset($sti['restart_stats'])) { $i = 0; while ($i < count($ia)) { - if (isset($ia[$i])) { + // ( ) + if (isset($ia[$i]) && isset($sti['add_' . $ia[$i]])) { - // ( ) - if (isset($sti['add_' . $ia[$i]])) { - - if ($ia[$i] != 'zmproc' && $ia[$i] != 'zaproc') { - if (!isset($st[$ia[$i]])) { - $st[$ia[$i]] = 0; - } - $st[$ia[$i]] += intval($sti['add_' . $ia[$i]]); - } else { - if (!isset($st[$ia[$i]])) { - $st[$ia[$i]] = 0; - } - $st[$ia[$i]] = 100 - $st[$ia[$i]]; - $st[$ia[$i]] = $st[$ia[$i]] - $st[$ia[$i]] / 100 * intval($sti['add_' . $ia[$i]]); - $st[$ia[$i]] = 100 - $st[$ia[$i]]; + if ($ia[$i] != 'zmproc' && $ia[$i] != 'zaproc') { + if (!isset($st[$ia[$i]])) { + $st[$ia[$i]] = 0; } - + $st[$ia[$i]] += intval($sti['add_' . $ia[$i]]); + } else { + if (!isset($st[$ia[$i]])) { + $st[$ia[$i]] = 0; + } + $st[$ia[$i]] = 100 - $st[$ia[$i]]; + $st[$ia[$i]] = $st[$ia[$i]] - $st[$ia[$i]] / 100 * intval($sti['add_' . $ia[$i]]); + $st[$ia[$i]] = 100 - $st[$ia[$i]]; } + } $i++; } } else { - $reitm[count($reitm)] = $sti; + $reitm[] = $sti; } $i = 0; while ($i < count($ia)) { - if (isset($ia[$i])) { - if (isset($sti['sv_' . $ia[$i]])) { - if (!isset($s_v[$ia[$i]])) { - $s_v[$ia[$i]] = 0; - $s_v['z'][$pl['inOdet']][$ia[$i]] = 0; - } - $s_v[$ia[$i]] += intval($sti['sv_' . $ia[$i]]); - $s_v['z'][$pl['inOdet']][$ia[$i]] += intval($sti['sv_' . $ia[$i]]); + if (isset($ia[$i]) && isset($sti['sv_' . $ia[$i]])) { + if (!isset($s_v[$ia[$i]])) { + $s_v[$ia[$i]] = 0; + $s_v['z'][$pl['inOdet']][$ia[$i]] = 0; } + $s_v[$ia[$i]] += intval($sti['sv_' . $ia[$i]]); + $s_v['z'][$pl['inOdet']][$ia[$i]] += intval($sti['sv_' . $ia[$i]]); } $i++; } @@ -9132,7 +10188,11 @@ LIMIT 1')); } // - $efs = mysql_query('SELECT * FROM `users_ico` WHERE `uid`="' . mysql_real_escape_string($u['id']) . '" AND (`endTime` > "' . time() . '" OR `endTime` = 0)'); + $efs = mysql_query( + 'SELECT * FROM `users_ico` WHERE `uid`="' . mysql_real_escape_string( + $u['id'] + ) . '" AND (`endTime` > "' . time() . '" OR `endTime` = 0)' + ); while ($e = mysql_fetch_array($efs)) { $sts = $this->lookStats($e['bonus']); $i = 0; @@ -9158,43 +10218,54 @@ LIMIT 1')); } } - // - //if( $this->info['id'] != $u['id'] ) { if ($u['battle'] > 0) { - $test_btl_info = mysql_fetch_array(mysql_query('SELECT `id`,`noeff` FROM `battle` WHERE `id` = "' . $u['battle'] . '" LIMIT 1')); - $test_noef = mysql_fetch_array(mysql_query('SELECT `id` FROM `battle_actions` WHERE `uid` = "' . $u['id'] . '" AND `vars` = "noeffectbattle1" AND `btl` = "' . $u['battle'] . '" LIMIT 1')); + $test_btl_info = mysql_fetch_array( + mysql_query('SELECT `id`,`noeff` FROM `battle` WHERE `id` = "' . $u['battle'] . '" LIMIT 1') + ); + $test_noef = mysql_fetch_array( + mysql_query( + 'SELECT `id` FROM `battle_actions` WHERE `uid` = "' . $u['id'] . '" AND `vars` = "noeffectbattle1" AND `btl` = "' . $u['battle'] . '" LIMIT 1' + ) + ); } - //} // $h = 0; $nbs = []; $prsu = []; if (!isset($test_noef['id'])) { - $efs = mysql_query('SELECT + $efs = mysql_query( + 'SELECT `eu`.`id`,`eu`.`id_eff`,`eu`.`tr_life_user`,`eu`.`uid`,`eu`.`name`,`eu`.`data`,`eu`.`overType`,`eu`.`timeUse`,`eu`.`timeAce`,`eu`.`user_use`,`eu`.`delete`,`eu`.`v1`,`eu`.`v2`,`eu`.`img2`,`eu`.`x`,`eu`.`hod`,`eu`.`bj`,`eu`.`sleeptime`,`eu`.`no_Ace`, - `em`.`id2`,`em`.`mname`,`em`.`type1`,`em`.`img`,`em`.`mdata`,`em`.`actionTime`,`em`.`type2`,`em`.`type3`,`em`.`onlyOne`,`em`.`oneType`,`em`.`noAce`,`em`.`see`,`em`.`info`,`em`.`overch`,`em`.`bp`,`em`.`noch` FROM `eff_users` AS `eu` LEFT JOIN `eff_main` AS `em` ON (`eu`.`id_eff` = `em`.`id2`) WHERE `eu`.`uid`="' . mysql_real_escape_string($u['id']) . '" AND `eu`.`delete`="0" AND `eu`.`deactiveTime` < "' . time() . '" AND `eu`.`v1`!="priem" ORDER BY `eu`.`id` DESC LIMIT 50'); + `em`.`id2`,`em`.`mname`,`em`.`type1`,`em`.`img`,`em`.`mdata`,`em`.`actionTime`,`em`.`type2`,`em`.`type3`,`em`.`onlyOne`,`em`.`oneType`,`em`.`noAce`,`em`.`see`,`em`.`info`,`em`.`overch`,`em`.`bp`,`em`.`noch` FROM `eff_users` AS `eu` LEFT JOIN `eff_main` AS `em` ON (`eu`.`id_eff` = `em`.`id2`) WHERE `eu`.`uid`="' . mysql_real_escape_string( + $u['id'] + ) . '" AND `eu`.`delete`="0" AND `eu`.`deactiveTime` < "' . time( + ) . '" AND `eu`.`v1`!="priem" ORDER BY `eu`.`id` DESC LIMIT 50' + ); while ($e = mysql_fetch_array($efs)) { if ($u['dnow'] == 0) { if ($u['battle'] == 0) { - mysql_query('DELETE FROM `eff_users` WHERE `id_eff` = "' . $e['id_eff'] . '" AND `uid` = "' . $u['id'] . '" AND `id` != "' . $e['id'] . '" ORDER BY `id` ASC'); + mysql_query( + 'DELETE FROM `eff_users` WHERE `id_eff` = "' . $e['id_eff'] . '" AND `uid` = "' . $u['id'] . '" AND `id` != "' . $e['id'] . '" ORDER BY `id` ASC' + ); // - if ($e['v1'] != 'priem') { - if ($e['hod'] != -1) { - mysql_query('UPDATE `eff_users` SET `hod` = "-1",`timeUse` = "' . (time() + ($e['hod'] * $c['effz']) - $e['actionTime']) . '" WHERE `id` = "' . $e['id'] . '" LIMIT 1'); - } + if ($e['v1'] != 'priem' && $e['hod'] != -1) { + mysql_query( + 'UPDATE `eff_users` SET `hod` = "-1",`timeUse` = "' . (time( + ) + ($e['hod'] * Config::get('effz')) - $e['actionTime']) . '" WHERE `id` = "' . $e['id'] . '" LIMIT 1' + ); } } else { - if ($e['v1'] != 'priem' && $c['effz'] > 0) { - if ($e['hod'] == -1) { - $efzz = round(($e['timeUse'] + $e['actionTime'] + $e['timeAce']) - time()); - if ($efzz > 0) { - mysql_query('UPDATE `eff_users` SET `hod` = "' . ($efzz / $c['effz']) . '" WHERE `id` = "' . $e['id'] . '" LIMIT 1'); - } + if ($e['v1'] != 'priem' && Config::get('effz') > 0 && $e['hod'] == -1) { + $efzz = round(($e['timeUse'] + $e['actionTime'] + $e['timeAce']) - time()); + if ($efzz > 0) { + mysql_query( + 'UPDATE `eff_users` SET `hod` = "' . ($efzz / Config::get('effz')) . '" WHERE `id` = "' . $e['id'] . '" LIMIT 1' + ); } } } } - if (($e['timeUse'] + $e['timeAce'] + $e['actionTime'] > time() || $e['timeUse'] == 77)) { + if ($e['timeUse'] + $e['timeAce'] + $e['actionTime'] > time() || $e['timeUse'] == 77) { if ($e['v1'] == 'priem') { $prsu[$e['v2']] = 0 + $prsu['x']; } @@ -9230,7 +10301,9 @@ LIMIT 1')); $st[$ia[$i]] = 0; } $st[$ia[$i]] = 100 - $st[$ia[$i]]; - $st[$ia[$i]] = $st[$ia[$i]] - $st[$ia[$i]] / 100 * intval($sts['add_' . $ia[$i]]); + $st[$ia[$i]] = $st[$ia[$i]] - $st[$ia[$i]] / 100 * intval( + $sts['add_' . $ia[$i]] + ); $st[$ia[$i]] = 100 - $st[$ia[$i]]; } } @@ -9255,7 +10328,7 @@ LIMIT 1')); } $i++; } - } elseif ($e['timeUse'] != 77) { + } else { // if ($e['img2'] != 'tz.gif' || $u['id'] == $this->info['id']) { if ($e['sleeptime'] == 0) { @@ -9270,7 +10343,6 @@ LIMIT 1')); } // - //$st['items_img'][$pl_img['type']] = $pl_img_r['id'].'.'.$pl_img_r['format']; if ($nbs[4899] > 0) { // $st['items_img'][8] = 'robe_illusion4.gif'; @@ -9347,14 +10419,21 @@ LIMIT 1')); if ($u['battle'] > 0) { // - $efs = mysql_query('SELECT `eu`.`id`,`eu`.`id_eff`,`eu`.`uid`,`eu`.`name`,`eu`.`data`,`eu`.`overType`,`eu`.`timeUse`,`eu`.`timeAce`,`eu`.`user_use`,`eu`.`tr_life_user`,`eu`.`delete`,`eu`.`v1`,`eu`.`v2`,`eu`.`img2`,`eu`.`x`,`eu`.`hod`,`eu`.`bj`,`eu`.`sleeptime`,`eu`.`no_Ace` FROM `eff_users` AS `eu` WHERE `eu`.`uid`="' . mysql_real_escape_string($u['id']) . '" AND `eu`.`delete`="0" AND `eu`.`deactiveTime` < "' . time() . '" AND `eu`.`v1` = "priem" ORDER BY `eu`.`id` ASC'); + $efs = mysql_query( + 'SELECT `eu`.`id`,`eu`.`id_eff`,`eu`.`uid`,`eu`.`name`,`eu`.`data`,`eu`.`overType`,`eu`.`timeUse`,`eu`.`timeAce`,`eu`.`user_use`,`eu`.`tr_life_user`,`eu`.`delete`,`eu`.`v1`,`eu`.`v2`,`eu`.`img2`,`eu`.`x`,`eu`.`hod`,`eu`.`bj`,`eu`.`sleeptime`,`eu`.`no_Ace` FROM `eff_users` AS `eu` WHERE `eu`.`uid`="' . mysql_real_escape_string( + $u['id'] + ) . '" AND `eu`.`delete`="0" AND `eu`.`deactiveTime` < "' . time( + ) . '" AND `eu`.`v1` = "priem" ORDER BY `eu`.`id` ASC' + ); $st['set_pog'] = []; $st['set_pog2'] = []; while ($e = mysql_fetch_array($efs)) { $e['type1'] = 14; $e['img'] = $e['img2']; if ($e['tr_life_user'] > 0) { - $trlu = mysql_fetch_array(mysql_query('SELECT `hpNow` FROM `stats` WHERE `id` = "' . $e['tr_life_user'] . '" LIMIT 1')); + $trlu = mysql_fetch_array( + mysql_query('SELECT `hpNow` FROM `stats` WHERE `id` = "' . $e['tr_life_user'] . '" LIMIT 1') + ); if (floor($trlu['hpNow']) < 1) { $this->endEffect($e['id'], $u); $st['act'] = 1; @@ -9394,47 +10473,45 @@ LIMIT 1')); } $i = 0; while ($i < count($ia)) { - if (isset($ia[$i])) { - if (isset($sts['add_' . $ia[$i]])) { - if ($ia[$i] != 'zaproc' && $ia[$i] != 'zmproc') { - if (!isset($sti[$ia[$i]])) { - $sti[$ia[$i]] = 0; - } - $sti[$ia[$i]] += intval($sts['add_' . $ia[$i]]); - if (!isset($st[$ia[$i]])) { - $st[$ia[$i]] = 0; - } - $st[$ia[$i]] += intval($sts['add_' . $ia[$i]]); - } else { - $sti[$ia[$i]] = 100 - $sti[$ia[$i]]; - $sti[$ia[$i]] = $sti[$ia[$i]] - $sti[$ia[$i]] / 100 * intval($sts['add_' . $ia[$i]]); - $sti[$ia[$i]] = 100 - $sti[$ia[$i]]; - - $st[$ia[$i]] = 100 - $st[$ia[$i]]; - $st[$ia[$i]] = $st[$ia[$i]] - $st[$ia[$i]] / 100 * intval($sts['add_' . $ia[$i]]); - $st[$ia[$i]] = 100 - $st[$ia[$i]]; + if (isset($ia[$i]) && isset($sts['add_' . $ia[$i]])) { + if ($ia[$i] != 'zaproc' && $ia[$i] != 'zmproc') { + if (!isset($sti[$ia[$i]])) { + $sti[$ia[$i]] = 0; } + $sti[$ia[$i]] += intval($sts['add_' . $ia[$i]]); + if (!isset($st[$ia[$i]])) { + $st[$ia[$i]] = 0; + } + $st[$ia[$i]] += intval($sts['add_' . $ia[$i]]); + } else { + $sti[$ia[$i]] = 100 - $sti[$ia[$i]]; + $sti[$ia[$i]] = $sti[$ia[$i]] - $sti[$ia[$i]] / 100 * intval( + $sts['add_' . $ia[$i]] + ); + $sti[$ia[$i]] = 100 - $sti[$ia[$i]]; + + $st[$ia[$i]] = 100 - $st[$ia[$i]]; + $st[$ia[$i]] = $st[$ia[$i]] - $st[$ia[$i]] / 100 * intval($sts['add_' . $ia[$i]]); + $st[$ia[$i]] = 100 - $st[$ia[$i]]; } } $i++; } $i = 0; while ($i < count($ia)) { - if (isset($ia[$i])) { - if (isset($sts['add_' . $ia[$i]])) { - if (!isset($s_vi[$ia[$i]])) { - $s_vi[$ia[$i]] = 0; - } - $s_vi[$ia[$i]] += intval($sts['sv_' . $ia[$i]]); - if (!isset($s_v[$ia[$i]])) { - $s_v[$ia[$i]] = 0; - } - $s_v[$ia[$i]] += intval($sts['sv_' . $ia[$i]]); + if (isset($ia[$i]) && isset($sts['add_' . $ia[$i]])) { + if (!isset($s_vi[$ia[$i]])) { + $s_vi[$ia[$i]] = 0; } + $s_vi[$ia[$i]] += intval($sts['sv_' . $ia[$i]]); + if (!isset($s_v[$ia[$i]])) { + $s_v[$ia[$i]] = 0; + } + $s_v[$ia[$i]] += intval($sts['sv_' . $ia[$i]]); } $i++; } - } elseif ($e['timeUse'] != 77) { + } else { // $this->endEffect($e['id'], $u); $st['act'] = 1; @@ -9530,32 +10607,40 @@ LIMIT 1')); // $i = 0; - while ($i <= count(@$coms['new'])) { - if (@isset($coms['new'][$i])) { - //$coms[$i]['id'] - id , $j - - - $j = @$coms['com'][$coms['new'][$i]]; - $com = mysql_fetch_array(mysql_query('SELECT `id`,`com`,`name`,`x`,`data` FROM `complects` WHERE `com` = "' . ((int)$coms['new'][$i]) . '" AND `x` <= ' . ((int)$j) . ' ORDER BY `x` DESC LIMIT 1')); - if (isset($com['id'])) { - // - $ij = 0; - $sti = $this->lookStats($com['data']); - while ($ij < count($ia)) { - if (isset($ia[$ij]) && isset($sti[$ia[$ij]])) { - $st[$ia[$ij]] += $sti[$ia[$ij]]; + if (is_array($coms['new'])) { + while ($i <= count($coms['new'])) { + if (isset($coms['new'][$i])) { + //$coms[$i]['id'] - id , $j - - + $j = $coms['com'][$coms['new'][$i]]; + $com = mysql_fetch_array( + mysql_query( + 'SELECT `id`,`com`,`name`,`x`,`data` FROM `complects` WHERE `com` = "' . ((int)$coms['new'][$i]) . '" AND `x` <= ' . ((int)$j) . ' ORDER BY `x` DESC LIMIT 1' + ) + ); + if (isset($com['id'])) { + // + $ij = 0; + $sti = $this->lookStats($com['data']); + while ($ij < count($ia)) { + if (isset($ia[$ij]) && isset($sti[$ia[$ij]])) { + $st[$ia[$ij]] += $sti[$ia[$ij]]; + } + $ij++; } - $ij++; } } + $i++; } - $i++; } // // - if ($u['autospell'] != '' && $u['autospell'] != 0 && $u['battle'] == 0) { + if ($u['autospell'] != 0 && $u['battle'] == 0) { // $splink = ''; - $spi = mysql_query('SELECT `id`,`item_id`,`inOdet` FROM `items_users` WHERE `inOdet` >= 40 AND `inOdet` <= 50 AND `uid` = "' . $u['id'] . '" AND `delete` = 0 ORDER BY `item_id` DESC LIMIT 20'); + $spi = mysql_query( + 'SELECT `id`,`item_id`,`inOdet` FROM `items_users` WHERE `inOdet` >= 40 AND `inOdet` <= 50 AND `uid` = "' . $u['id'] . '" AND `delete` = 0 ORDER BY `item_id` DESC LIMIT 20' + ); while ($pli = mysql_fetch_array($spi)) { $splink .= $pli['item_id'] . '-' . $pli['inOdet'] . ','; } @@ -9564,7 +10649,9 @@ LIMIT 1')); // if ($u['autospell'] == 1) { $u['autospell'] = $splink; - mysql_query('UPDATE `users` SET `autospell` = "' . $splink . '" WHERE `id` = "' . $u['id'] . '" LIMIT 1'); + mysql_query( + 'UPDATE `users` SET `autospell` = "' . $splink . '" WHERE `id` = "' . $u['id'] . '" LIMIT 1' + ); } // , @@ -9590,9 +10677,15 @@ LIMIT 1')); while ($i <= 50) { if ($spe1g[$i] != $spe2g[$i] && $spe1g[$i] == 0) { //echo '['.$spe2g[$i].'->'.$i.']'; - $splu = mysql_fetch_array(mysql_query('SELECT * FROM `items_users` WHERE `item_id` = "' . $spe2g[$i] . '" AND `inOdet` = 0 AND `delete` = 0 AND `inTransfer` = 0 AND `inShop` = 0 AND `uid` = "' . $u['id'] . '" AND `inGroup` = 0 LIMIT 1')); + $splu = mysql_fetch_array( + mysql_query( + 'SELECT * FROM `items_users` WHERE `item_id` = "' . $spe2g[$i] . '" AND `inOdet` = 0 AND `delete` = 0 AND `inTransfer` = 0 AND `inShop` = 0 AND `uid` = "' . $u['id'] . '" AND `inGroup` = 0 LIMIT 1' + ) + ); if (isset($splu['id'])) { - mysql_query('UPDATE `items_users` SET `inOdet` = "' . $i . '" WHERE `id` = "' . $splu['id'] . '" LIMIT 1'); + mysql_query( + 'UPDATE `items_users` SET `inOdet` = "' . $i . '" WHERE `id` = "' . $splu['id'] . '" LIMIT 1' + ); } } $i++; @@ -10018,7 +11111,9 @@ LIMIT 1')); } // - $rep1 = mysql_fetch_array(mysql_query('SELECT + $rep1 = mysql_fetch_array( + mysql_query( + 'SELECT `add_slot`,`nu_sandcity`,`n_sandcity`, `dl1`,`id`,`rep1`,`rep2`,`repcapitalcity`,`repdemonscity`,`repangelscity`,`repabandonedplain`, `repdevilscity`,`repmooncity`,`repsuncity`,`repsandcity`,`repemeraldscity`,`repdreamscity`,`repizlom`, @@ -10026,7 +11121,9 @@ LIMIT 1')); `nu_capitalcity`,`nu_suncity`,`nu_devilscity`,`nu_dreamscity`,`add_stats`,`add_money`,`add_skills`,`add_skills2`, `rep3`,`rep3_buy`,`repdragonscity`,`n_dragonscity`,`nu_dragonscity`, (`repcapitalcity`+`repdemonscity`+`repangelscity`+`repsuncity`+`repdreamscity`+`repabandonedplain`+`repsandcity`+`repemeraldscity`+`repdevilscity`) as allrep, - (`nu_capitalcity`+`nu_demonscity`+`nu_angelscity`+`nu_suncity`+`nu_dreamscity`+`nu_abandonedplain`+`nu_sandcity`+`nu_emeraldscity`+`nu_devilscity`) as allnurep FROM `rep` WHERE `id` = "' . $u['id'] . '" LIMIT 1')); + (`nu_capitalcity`+`nu_demonscity`+`nu_angelscity`+`nu_suncity`+`nu_dreamscity`+`nu_abandonedplain`+`nu_sandcity`+`nu_emeraldscity`+`nu_devilscity`) as allnurep FROM `rep` WHERE `id` = "' . $u['id'] . '" LIMIT 1' + ) + ); if ($u['referals'] >= 3000) { $st['speedhp'] += 50; @@ -10101,7 +11198,9 @@ LIMIT 1')); if (@$st['btl_cof'] != @$st['prckr']) { $st['btl_cof'] = $st['prckr']; - mysql_query('UPDATE `stats` SET `btl_cof` = "' . $st['prckr'] . '" WHERE `id` = "' . $st['id'] . '" LIMIT 1'); + mysql_query( + 'UPDATE `stats` SET `btl_cof` = "' . $st['prckr'] . '" WHERE `id` = "' . $st['id'] . '" LIMIT 1' + ); } if ($st['hpAll'] < 1) { @@ -10114,13 +11213,17 @@ LIMIT 1')); if ($u['room'] == 411) { //, -25% - $shb = mysql_fetch_array(mysql_query('SELECT `id` FROM `items_users` WHERE `uid` = "' . $u['id'] . '" AND `item_id` = 4910 AND `delete` = 0 LIMIT 1')); + $shb = mysql_fetch_array( + mysql_query( + 'SELECT `id` FROM `items_users` WHERE `uid` = "' . $u['id'] . '" AND `item_id` = 4910 AND `delete` = 0 LIMIT 1' + ) + ); if (isset($shb['id'])) { $st['hpAll'] = round($st['hpAll'] / 100 * 75); } } - if (stristr($u['login'], '( ') == true || (stristr($u['login'], ' ') && $u['ip'] == '0')) { + if (stristr($u['login'], '( ') || (stristr($u['login'], ' ') && $u['ip'] == '0')) { $st['this_animal'] = 1; } else { $st['this_animal'] = 0; @@ -10135,16 +11238,22 @@ LIMIT 1')); } if ($u['hpAll'] != $st['hpAll'] || $u['mpAll'] != $st['mpAll']) { - mysql_query('UPDATE `stats` SET `hpAll` = "' . $st['hpAll'] . '",`mpAll` = "' . $st['mpAll'] . '" WHERE `id` = "' . $u['id'] . '" LIMIT 1'); + mysql_query( + 'UPDATE `stats` SET `hpAll` = "' . $st['hpAll'] . '",`mpAll` = "' . $st['mpAll'] . '" WHERE `id` = "' . $u['id'] . '" LIMIT 1' + ); } - if ($btl_cache == true && $cache == false) { + if ($btl_cache && !$cache) { $dataca = [ 'st' => $st, - 'st2' => $st2 + 'st2' => $st2, ]; $dataca = json_encode($dataca); - mysql_query('INSERT INTO `battle_cache` (`uid`,`battle`,`data`,`time`) VALUES ("' . $u['id'] . '","' . $u['battle'] . '","' . mysql_real_escape_string($dataca) . '","' . time() . '")'); + mysql_query( + 'INSERT INTO `battle_cache` (`uid`,`battle`,`data`,`time`) VALUES ("' . $u['id'] . '","' . $u['battle'] . '","' . mysql_real_escape_string( + $dataca + ) . '","' . time() . '")' + ); } } @@ -10159,38 +11268,40 @@ LIMIT 1')); return $rt; } - public function send($color, $room, $city, $from, $to, $text, $time, $type, $toChat, $spam, $sound, $new = 1, $typeTime = 0, $global = 0) - { - mysql_query("INSERT INTO `chat` (`global`,`typeTime`,`new`,`sound`,`color`,`city`,`room`,`login`,`to`,`text`,`time`,`type`,`toChat`,`spam`) VALUES - ('" . $global . "','" . $typeTime . "','" . $new . "','" . $sound . "','" . $color . "','" . $city . "','" . $room . "','" . $from . "','" . $to . "','" . $text . "','" . $time . "','" . $type . "','" . $toChat . "','" . $spam . "')"); - $msg_id = mysql_insert_id(); - return $msg_id; + public function send( + $color, $room, $city, $from, $to, $text, $time, $type, $toChat, $spam, $sound, $new = 1, $typeTime = 0, + $global = 0 + ) { + mysql_query( + "INSERT INTO `chat` (`global`,`typeTime`,`new`,`sound`,`color`,`city`,`room`,`login`,`to`,`text`,`time`,`type`,`toChat`,`spam`) VALUES + ('" . $global . "','" . $typeTime . "','" . $new . "','" . $sound . "','" . $color . "','" . $city . "','" . $room . "','" . $from . "','" . $to . "','" . $text . "','" . $time . "','" . $type . "','" . $toChat . "','" . $spam . "')" + ); + return mysql_insert_id(); } // public function testLevel() { - global $c; $rt = 0; - if ($this->info['expstopu'] > 2 && $this->info['exp'] > $c['expstopu']) { - $this->info['exp'] = $c['expstopu']; - mysql_query('UPDATE `stats` SET `exp` = "' . $c['expstopu'] . '" WHERE `id` = "' . $this->info['id'] . '" LIMIT 1'); - } elseif ($this->info['exp'] > $c['expstop'] && $this->info['expstopu'] < 3) { + if ($this->info['expstopu'] > 2 && $this->info['exp'] > Config::get('expstopu')) { + $this->info['exp'] = Config::get('expstopu'); + Db::sql('update stats set exp = ? where id = ?', [Config::get('expstopu'), $this->info['id']]); + } elseif ($this->info['exp'] > Config::get('expstop') && $this->info['expstopu'] < 3) { //upexpdate if ($this->info['upexpdate'] == 0) { $this->info['upexpdate'] = time(); - mysql_query('UPDATE `stats` SET `upexpdate` = "' . time() . '" WHERE `id` = "' . $this->info['id'] . '" LIMIT 1'); - } elseif (time() >= ($this->info['upexpdate'] + 400 * 60 * 60 * 24)) //4*60*60*24 - { + Db::sql('update stats set upexpdate = unix_timestamp() where id = ?)', [$this->info['id']]); + } elseif (time() >= ($this->info['upexpdate'] + 400 * 60 * 60 * 24)) { $this->info['upexpdate'] = time(); $this->info['expstopu'] = $this->info['expstopu'] + 1; - mysql_query('UPDATE `stats` SET `upexpdate` = "' . time() . '",`expstopu` = `expstopu`+1 WHERE `id` = "' . $this->info['id'] . '" LIMIT 1'); + Db::sql('update stats set upexpdate = unix_timestamp(), expstopu = expstopu + 1 where id = ?', [$this->info['id']]); } if ($this->info['expstopu'] < 3) { - $this->info['exp'] = $c['expstop']; - mysql_query('UPDATE `stats` SET `exp` = "' . $c['expstop'] . '" WHERE `id` = "' . $this->info['id'] . '" LIMIT 1'); + $this->info['exp'] = Config::get('expstop'); + Db::sql('update stats set exp = ? where id = ?', [Config::get('expstop'), $this->info['id']]); } } + if (isset($this->stats['levels']['upLevel'])) { $telvl = []; $sp = mysql_query('SELECT `upLevel`,`exp` FROM `levels`'); @@ -10198,36 +11309,58 @@ LIMIT 1')); $telvl[$pl['upLevel']] = $pl['exp']; } if ($this->info['exp'] >= $telvl[$this->info['upLevel']]) { - $lvl = mysql_fetch_array(mysql_query('SELECT `duh`,`vinos`,`bprice`,`upLevel`,`nextLevel`,`exp`,`money`,`money_bonus1`,`money_bonus2`,`ability`,`skills`,`nskills`,`sskills`,`expBtlMax`,`hpRegen`,`mpRegen`,`money2` FROM `levels` WHERE `upLevel`="' . $this->info['upLevel'] . '" LIMIT 1')); - $lvln = mysql_fetch_array(mysql_query('SELECT `duh`,`vinos`,`bprice`,`upLevel`,`nextLevel`,`exp`,`money`,`money_bonus1`,`money_bonus2`,`ability`,`skills`,`nskills`,`sskills`,`expBtlMax`,`hpRegen`,`mpRegen`,`money2` FROM `levels` WHERE `upLevel`="' . ($lvl['upLevel'] + 1) . '" LIMIT 1')); + $lvl = mysql_fetch_array( + mysql_query( + 'SELECT `duh`,`vinos`,`bprice`,`upLevel`,`nextLevel`,`exp`,`money`,`money_bonus1`,`money_bonus2`,`ability`,`skills`,`nskills`,`sskills`,`expBtlMax`,`hpRegen`,`mpRegen`,`money2` FROM `levels` WHERE `upLevel`="' . $this->info['upLevel'] . '" LIMIT 1' + ) + ); + $lvln = mysql_fetch_array( + mysql_query( + 'SELECT `duh`,`vinos`,`bprice`,`upLevel`,`nextLevel`,`exp`,`money`,`money_bonus1`,`money_bonus2`,`ability`,`skills`,`nskills`,`sskills`,`expBtlMax`,`hpRegen`,`mpRegen`,`money2` FROM `levels` WHERE `upLevel`="' . ($lvl['upLevel'] + 1) . '" LIMIT 1' + ) + ); // - if ($this->info['exp'] > 12499 && $this->info['level'] <= 5 && $c['infinity5level'] == true) { - $itm = mysql_fetch_array(mysql_query('SELECT `id`,`item_id`,`1price`,`2price`,`3price`,`uid`,`use_text`,`data`,`inOdet`,`inShop`,`delete`,`iznosNOW`,`iznosMAX`,`gift`,`gtxt1`,`gtxt2`,`kolvo`,`geniration`,`magic_inc`,`maidin`,`lastUPD`,`timeOver`,`overType`,`secret_id`,`time_create`,`inGroup`,`dn_delete`,`inTransfer`,`post_delivery`,`lbtl_`,`bexp`,`so`,`blvl` FROM `items_users` WHERE `item_id` = "1204" AND `delete` = "0" AND `uid` = "' . $this->info['id'] . '" AND `inShop` = "0" AND `inTransfer` = "0" LIMIT 1')); + if ($this->info['exp'] > 12499 && $this->info['level'] <= 5 && Config::get('infinity5level')) { + $itm = mysql_fetch_array( + mysql_query( + 'SELECT `id`,`item_id`,`1price`,`2price`,`3price`,`uid`,`use_text`,`data`,`inOdet`,`inShop`,`delete`,`iznosNOW`,`iznosMAX`,`gift`,`gtxt1`,`gtxt2`,`kolvo`,`geniration`,`magic_inc`,`maidin`,`lastUPD`,`timeOver`,`overType`,`secret_id`,`time_create`,`inGroup`,`dn_delete`,`inTransfer`,`post_delivery`,`lbtl_`,`bexp`,`so`,`blvl` FROM `items_users` WHERE `item_id` = "1204" AND `delete` = "0" AND `uid` = "' . $this->info['id'] . '" AND `inShop` = "0" AND `inTransfer` = "0" LIMIT 1' + ) + ); if (!isset($itm['id']) && $this->info['host_reg'] != 'noinfinity5' && $this->info['twink'] == 0) { $this->info['exp'] = 12499; - mysql_query('UPDATE `stats` SET `exp` = "12499" WHERE `id` = "' . $this->info['id'] . '" LIMIT 1'); - echo ''; + mysql_query( + 'UPDATE `stats` SET `exp` = "12499" WHERE `id` = "' . $this->info['id'] . '" LIMIT 1' + ); + echo ''; } else { - mysql_query('UPDATE `items_users` SET `delete` = "' . time() . '" WHERE `id` = "' . $itm['id'] . '" LIMIT 1'); + mysql_query( + 'UPDATE `items_users` SET `delete` = "' . time( + ) . '" WHERE `id` = "' . $itm['id'] . '" LIMIT 1' + ); $text = ' " [6]" .'; - echo ''; - //mysql_query("INSERT INTO `chat` (`new`,`city`,`room`,`login`,`to`,`text`,`time`,`type`,`toChat`) VALUES ('1',".$this->info['city']."','".$this->info['room']."','','".$this->info['login']."','".$text."','".time()."','6','0')"); + echo ''; } } - //**************** $i = 0; $ult = 0; - //mysql_query('LOCK TABLES users,stats,mults,bank,referal_bous,levels,chat WRITE'); while ($i != 1) { - if ($c['nolevel'] == true && $this->info['exp'] >= $lvl['exp'] && isset($lvln['upLevel'])) { - $tlus = mysql_fetch_array(mysql_query('SELECT COUNT(*) FROM `users` WHERE `real` = 1 AND `level` = "' . $this->info['level'] . '" LIMIT 1')); + if (Config::get('nolevel') && $this->info['exp'] >= $lvl['exp'] && isset($lvln['upLevel'])) { + $tlus = mysql_fetch_array( + mysql_query( + 'SELECT COUNT(*) FROM `users` WHERE `real` = 1 AND `level` = "' . $this->info['level'] . '" LIMIT 1' + ) + ); // , $lvln if ($tlus[0] < $this->info['level'] * 5) { // / 100 $this->info['exp'] = $lvl['exp'] - 1; - mysql_query('UPDATE `stats` SET `exp` = "' . $this->info['exp'] . '" WHERE `id` = "' . $this->info['id'] . '" LIMIT 1'); + mysql_query( + 'UPDATE `stats` SET `exp` = "' . $this->info['exp'] . '" WHERE `id` = "' . $this->info['id'] . '" LIMIT 1' + ); } } if ($this->info['exp'] >= $lvl['exp'] && isset($lvln['upLevel'])) { @@ -10254,15 +11387,33 @@ LIMIT 1')); $ult = 1; // - if ($this->info['twink'] == 0 && (round($this->info['host_reg']) > 0 && ($this->info['dieline'] == 0 || $this->info['dieline'] < $lvl['exp']))) { - $mtest = mysql_fetch_array(mysql_query('SELECT `id`,`uid`,`uid2`,`ip` FROM `mults` WHERE (`uid` = "' . $this->info['id'] . '" AND `uid2` = "' . ((int)$this->info['host_reg']) . '") OR (`uid2` = "' . $this->info['id'] . '" AND `uid` = "' . ((int)$this->info['host_reg']) . '") LIMIT 1')); - $rlog = mysql_fetch_array(mysql_query('SELECT `id`,`login`,`catch`,`host_reg` FROM `users` WHERE `id` = "' . ((int)$this->info['host_reg']) . '" LIMIT 1')); - $rlogs = mysql_fetch_array(mysql_query('SELECT `id`,`ref_data` FROM `stats` WHERE `id` = "' . ((int)$this->info['host_reg']) . '" LIMIT 1')); + if ($this->info['twink'] == 0 && (round( + $this->info['host_reg'] + ) > 0 && ($this->info['dieline'] == 0 || $this->info['dieline'] < $lvl['exp']))) { + $mtest = mysql_fetch_array( + mysql_query( + 'SELECT `id`,`uid`,`uid2`,`ip` FROM `mults` WHERE (`uid` = "' . $this->info['id'] . '" AND `uid2` = "' . ((int)$this->info['host_reg']) . '") OR (`uid2` = "' . $this->info['id'] . '" AND `uid` = "' . ((int)$this->info['host_reg']) . '") LIMIT 1' + ) + ); + $rlog = mysql_fetch_array( + mysql_query( + 'SELECT `id`,`login`,`catch`,`host_reg` FROM `users` WHERE `id` = "' . ((int)$this->info['host_reg']) . '" LIMIT 1' + ) + ); + $rlogs = mysql_fetch_array( + mysql_query( + 'SELECT `id`,`ref_data` FROM `stats` WHERE `id` = "' . ((int)$this->info['host_reg']) . '" LIMIT 1' + ) + ); if (!isset($mtest['id']) && isset($rlog['id'])) { $rtg = true; } else { - $rtg = mysql_fetch_array(mysql_query('SELECT * FROM `ref_mult` WHERE `uid1` = "' . $rlog['id'] . '" LIMIT 1')); + $rtg = mysql_fetch_array( + mysql_query( + 'SELECT * FROM `ref_mult` WHERE `uid1` = "' . $rlog['id'] . '" LIMIT 1' + ) + ); if (isset($rtg['id'])) { if ($this->info['id'] == $rtg['uid2']) { $rtg = true; @@ -10270,21 +11421,31 @@ LIMIT 1')); $rtg = false; } } else { - mysql_query('INSERT INTO `ref_mult` (`uid1`,`uid2`,`time`) VALUES ( + mysql_query( + 'INSERT INTO `ref_mult` (`uid1`,`uid2`,`time`) VALUES ( "' . $rlog['id'] . '" , "' . $this->info['id'] . '","' . time() . '" - )'); + )' + ); $rtg = true; } } - if (($rtg == true || !isset($mtest['id'])) && isset($rlog['id']) && $this->info['activ'] == 0) { + if (($rtg || !isset($mtest['id'])) && isset($rlog['id'])) { $rfs['data'] = explode('|', $rlogs['ref_data']); $ekr = '0.00'; - $bn = mysql_fetch_array(mysql_query('SELECT `id`,`type`,`level`,`add_bank`,`add_money`,`finish_battle`,`online`,`onlyOne`,`add_crystals` FROM `referal_bous` WHERE `type` = 1 AND `level` = "' . $lvl['nextLevel'] . '" LIMIT 1')); + $bn = mysql_fetch_array( + mysql_query( + 'SELECT `id`,`type`,`level`,`add_bank`,`add_money`,`finish_battle`,`online`,`onlyOne`,`add_crystals` FROM `referal_bous` WHERE `type` = 1 AND `level` = "' . $lvl['nextLevel'] . '" LIMIT 1' + ) + ); if (isset($bn['id']) && ($bn['add_bank'] > 0 || $bn['add_money'] > 0)) { $ekr = $bn['add_bank']; $kr = $bn['add_money']; - $up = mysql_query('UPDATE `users` SET `money` = `money` + ' . $kr . ',`money2` = `money2` + ' . $ekr . ' WHERE `id` = "' . mysql_real_escape_string($rlog['id']) . '" LIMIT 1'); + $up = mysql_query( + 'UPDATE `users` SET `money` = `money` + ' . $kr . ',`money2` = `money2` + ' . $ekr . ' WHERE `id` = "' . mysql_real_escape_string( + $rlog['id'] + ) . '" LIMIT 1' + ); if ($up) { // 1- @@ -10298,16 +11459,26 @@ LIMIT 1')); if ($ekr > 0) { $krtxt .= '' . $ekr . ' '; } - $this->send('', $this->info['room'], $this->info['city'], '', $rlog['login'], ' ' . $this->info['login'] . ' ' . $sex1 . ' ' . $lvl['nextLevel'] . '! ' . $krtxt, -1, 6, 0, 0, 0, 1); + $this->send( + '', $this->info['room'], $this->info['city'], '', $rlog['login'], + ' ' . $this->info['login'] . ' ' . $sex1 . ' ' . $lvl['nextLevel'] . '! ' . $krtxt, + -1, 6, 0, 0, 0, 1 + ); $rlog['catch'] += $bn['add_bank']; - mysql_query('UPDATE `users` SET `catch` = "' . $rlog['catch'] . '" WHERE `id` = "' . $rlog['id'] . '" LIMIT 1'); + mysql_query( + 'UPDATE `users` SET `catch` = "' . $rlog['catch'] . '" WHERE `id` = "' . $rlog['id'] . '" LIMIT 1' + ); // if ((int)$rlog['host_reg'] > 0) { // 2- $llogin = $rlog['login']; $ekr = round($bn['add_bank'] * 0.4, 2); $kr = round($bn['add_money'] * 0.4, 2); - $rlog = mysql_fetch_array(mysql_query('SELECT `id`,`login`,`catch`,`host_reg` FROM `users` WHERE `id` = "' . ((int)$rlog['host_reg']) . '" LIMIT 1')); + $rlog = mysql_fetch_array( + mysql_query( + 'SELECT `id`,`login`,`catch`,`host_reg` FROM `users` WHERE `id` = "' . ((int)$rlog['host_reg']) . '" LIMIT 1' + ) + ); if (isset($rlog['id'])) { $krtxt = ''; if ($kr > 0) { @@ -10319,16 +11490,27 @@ LIMIT 1')); if ($ekr > 0) { $krtxt .= '' . $ekr . ' '; } - $this->send('', $this->info['room'], $this->info['city'], '', $rlog['login'], ' ' . $this->info['login'] . ' (2- "' . $llogin . '" ) ' . $sex1 . ' ' . $lvl['nextLevel'] . '! ' . $krtxt, -1, 6, 0, 0, 0, 1); + $this->send( + '', $this->info['room'], $this->info['city'], '', + $rlog['login'], + ' ' . $this->info['login'] . ' (2- "' . $llogin . '" ) ' . $sex1 . ' ' . $lvl['nextLevel'] . '! ' . $krtxt, + -1, 6, 0, 0, 0, 1 + ); $rlog['catch'] += $bn['add_bank']; - mysql_query('UPDATE `users` SET `money` = `money` + ' . $kr . ',`money2` = `money2` + ' . $ekr . ' WHERE `id` = "' . $rlog['id'] . '" LIMIT 1'); + mysql_query( + 'UPDATE `users` SET `money` = `money` + ' . $kr . ',`money2` = `money2` + ' . $ekr . ' WHERE `id` = "' . $rlog['id'] . '" LIMIT 1' + ); // if ((int)$rlog['host_reg'] > 0) { // 3- $llogin2 = $rlog['login']; $ekr = round($bn['add_bank'] * 0.2, 2); $kr = round($bn['add_money'] * 0.2, 2); - $rlog = mysql_fetch_array(mysql_query('SELECT `id`,`login`,`catch`,`host_reg` FROM `users` WHERE `id` = "' . ((int)$rlog['host_reg']) . '" LIMIT 1')); + $rlog = mysql_fetch_array( + mysql_query( + 'SELECT `id`,`login`,`catch`,`host_reg` FROM `users` WHERE `id` = "' . ((int)$rlog['host_reg']) . '" LIMIT 1' + ) + ); if (isset($rlog['id'])) { $krtxt = ''; if ($kr > 0) { @@ -10340,9 +11522,16 @@ LIMIT 1')); if ($ekr > 0) { $krtxt .= '' . $ekr . ' '; } - $this->send('', $this->info['room'], $this->info['city'], '', $rlog['login'], ' ' . $this->info['login'] . ' (3- "' . $llogin2 . '" ( ' . $llogin . ') ) ' . $sex1 . ' ' . $lvl['nextLevel'] . '! ' . $krtxt, -1, 6, 0, 0, 0, 1); + $this->send( + '', $this->info['room'], $this->info['city'], '', + $rlog['login'], + ' ' . $this->info['login'] . ' (3- "' . $llogin2 . '" ( ' . $llogin . ') ) ' . $sex1 . ' ' . $lvl['nextLevel'] . '! ' . $krtxt, + -1, 6, 0, 0, 0, 1 + ); $rlog['catch'] += $bn['add_bank']; - mysql_query('UPDATE `users` SET `money` = `money` + ' . $kr . ',`money2` = `money2` + ' . $ekr . ' WHERE `id` = "' . $rlog['id'] . '" LIMIT 1'); + mysql_query( + 'UPDATE `users` SET `money` = `money` + ' . $kr . ',`money2` = `money2` + ' . $ekr . ' WHERE `id` = "' . $rlog['id'] . '" LIMIT 1' + ); // } } @@ -10351,14 +11540,26 @@ LIMIT 1')); } } else { - $this->send('', $this->info['room'], $this->info['city'], '', $rlog['login'], ' ' . $this->info['login'] . ' ' . $sex1 . ' ' . $lvl['nextLevel'] . '! ( , ) ' . $bnk . ' ' . $ekr . ' .', -1, 6, 0, 0, 0, 1); + $this->send( + '', $this->info['room'], $this->info['city'], '', $rlog['login'], + ' ' . $this->info['login'] . ' ' . $sex1 . ' ' . $lvl['nextLevel'] . '! ( , ) ' . $bnk . ' ' . $ekr . ' .', + -1, 6, 0, 0, 0, 1 + ); } } // - mysql_query("UPDATE `users` SET `referals` = `referals` + 5 WHERE `id` = '" . mysql_real_escape_string($rlog['id']) . "' LIMIT 1"); + mysql_query( + "UPDATE `users` SET `referals` = `referals` + 5 WHERE `id` = '" . mysql_real_escape_string( + $rlog['id'] + ) . "' LIMIT 1" + ); // } elseif (isset($rlog['id'])) { - $this->send('', $this->info['room'], $this->info['city'], '', $rlog['login'], ' ' . $this->info['login'] . ' ' . $sex1 . ' ' . $lvl['nextLevel'] . '! ( , IP! 1 !)', -1, 6, 0, 0, 0, 1); + $this->send( + '', $this->info['room'], $this->info['city'], '', $rlog['login'], + ' ' . $this->info['login'] . ' ' . $sex1 . ' ' . $lvl['nextLevel'] . '! ( , IP! 1 !)', + -1, 6, 0, 0, 0, 1 + ); } } } @@ -10377,10 +11578,13 @@ LIMIT 1')); if ($this->info['twink'] == 0) { $this->info['money'] = $lvl['money'] + $this->info['money']; $this->info['money2'] = $lvl['money2'] + $this->info['money2']; - //} } $lvl = $lvln; - $lvln = mysql_fetch_array(mysql_query('SELECT `bprice`,`upLevel`,`nextLevel`,`exp`,`money`,`money_bonus1`,`money_bonus2`,`ability`,`skills`,`nskills`,`sskills`,`expBtlMax`,`hpRegen`,`mpRegen`,`money2` FROM `levels` WHERE `upLevel`="' . ($lvl['upLevel'] + 1) . '" LIMIT 1')); + $lvln = mysql_fetch_array( + mysql_query( + 'SELECT `bprice`,`upLevel`,`nextLevel`,`exp`,`money`,`money_bonus1`,`money_bonus2`,`ability`,`skills`,`nskills`,`sskills`,`expBtlMax`,`hpRegen`,`mpRegen`,`money2` FROM `levels` WHERE `upLevel`="' . ($lvl['upLevel'] + 1) . '" LIMIT 1' + ) + ); $this->info['upLevel'] += 1; $rt++; } else { @@ -10390,25 +11594,30 @@ LIMIT 1')); if ($ult == 1) { if ($this->info['level'] == 4 || $this->info['level'] == 8) { // - mysql_query('DELETE FROM `actions` WHERE `uid` = "' . $this->info['id'] . '" AND `vars` LIKE "psh%"'); - $this->send('', $this->info['room'], $this->info['city'], '', $this->info['login'], ' !!!!!!!!!!!!!!!.', -1, 6, 0, 0, 0, 1); + mysql_query( + 'DELETE FROM `actions` WHERE `uid` = "' . $this->info['id'] . '" AND `vars` LIKE "psh%"' + ); + $this->send( + '', $this->info['room'], $this->info['city'], '', $this->info['login'], + ' !!!!!!!!!!!!!!!.', -1, 6, 0, 0, + 0, 1 + ); } - - // - $this->send('', $this->info['room'], $this->info['city'], '', '', '' . $this->info['login'] . ' ' . $sex1 . ' ' . $this->info['level'] . '!', time(), 6, 0, 0, 0, 1, 2); // - //} + $this->send( + '', $this->info['room'], $this->info['city'], '', '', + '' . $this->info['login'] . ' ' . $sex1 . ' ' . $this->info['level'] . '!', + time(), 6, 0, 0, 0, 1, 2 + ); // } - //mysql_query('UNLOCK TABLES'); if ($rt > 0) { - if ($this->info['level'] >= 11) { - //$this->info['stopexp'] = 1; // - $this->info['stopexp'] = 0; - } else { - $this->info['stopexp'] = 0; - } - $upd = mysql_query('UPDATE `users_twink` SET `stopexp` = "' . $this->info['stopexp'] . '" WHERE `uid` = "' . $this->info['id'] . '" LIMIT 1'); + $this->info['stopexp'] = 0; + $upd = mysql_query( + 'UPDATE `users_twink` SET `stopexp` = "' . $this->info['stopexp'] . '" WHERE `uid` = "' . $this->info['id'] . '" LIMIT 1' + ); if ($upd) { - mysql_query('UPDATE `stats` SET `ability` = "' . $this->info['ability'] . '",`skills` = "' . $this->info['skills'] . '",`nskills` = "' . $this->info['nskills'] . '",`sskills` = "' . $this->info['sskills'] . '",`stats` = "' . $this->info['stats'] . '",`upLevel` = "' . $this->info['upLevel'] . '" WHERE `id` = "' . $this->info['id'] . '" LIMIT 1'); + mysql_query( + 'UPDATE `stats` SET `ability` = "' . $this->info['ability'] . '",`skills` = "' . $this->info['skills'] . '",`nskills` = "' . $this->info['nskills'] . '",`sskills` = "' . $this->info['sskills'] . '",`stats` = "' . $this->info['stats'] . '",`upLevel` = "' . $this->info['upLevel'] . '" WHERE `id` = "' . $this->info['id'] . '" LIMIT 1' + ); $this->info['money'] = $this->r2($this->info['money']); } return 1; @@ -10419,7 +11628,11 @@ LIMIT 1')); /*------------*/ if ($this->info['animal'] > 0) { // - $a = mysql_fetch_array(mysql_query('SELECT `id`,`type`,`name`,`uid`,`delete`,`inBattle`,`eda`,`exp`,`obraz`,`stats`,`level`,`sex`,`levelUp`,`pet_in_cage`,`max_exp`,`priems`,`bonus` FROM `users_animal` WHERE `uid` = "' . $this->info['id'] . '" AND `id` = "' . $this->info['animal'] . '" AND `pet_in_cage` = "0" AND `delete` = "0" LIMIT 1')); + $a = mysql_fetch_array( + mysql_query( + 'SELECT `id`,`type`,`name`,`uid`,`delete`,`inBattle`,`eda`,`exp`,`obraz`,`stats`,`level`,`sex`,`levelUp`,`pet_in_cage`,`max_exp`,`priems`,`bonus` FROM `users_animal` WHERE `uid` = "' . $this->info['id'] . '" AND `id` = "' . $this->info['animal'] . '" AND `pet_in_cage` = "0" AND `delete` = "0" LIMIT 1' + ) + ); if (isset($a['id']) && $a['level'] < 12) { $ea = [ 0 => 0, @@ -10434,7 +11647,7 @@ LIMIT 1')); 9 => 3000000, 10 => 10000000, 11 => 50000000, - 12 => 150000000 + 12 => 150000000, ]; $mx = [ 0 => 140, @@ -10449,7 +11662,7 @@ LIMIT 1')); 9 => 16000, 10 => 24000, 11 => 40000, - 12 => 60000 + 12 => 60000, ]; $iz = 0; while ($iz != -1) { @@ -10459,10 +11672,20 @@ LIMIT 1')); $a['max_exp'] = $mx[$a['level']]; } else { if ($iz > 0) { - $a['stats'] = mysql_fetch_array(mysql_query('SELECT `id`,`type`,`exp`,`level`,`stats`,`bonus` FROM `levels_animal` WHERE `type` = "' . $a['type'] . '" AND `level` = "' . $a['level'] . '" LIMIT 1')); + $a['stats'] = mysql_fetch_array( + mysql_query( + 'SELECT `id`,`type`,`exp`,`level`,`stats`,`bonus` FROM `levels_animal` WHERE `type` = "' . $a['type'] . '" AND `level` = "' . $a['level'] . '" LIMIT 1' + ) + ); $a['stats'] = $a['stats']['stats']; - $this->send('', $this->info['room'], $this->info['city'], '', $this->info['login'], '' . $a['name'] . ' ' . $a['level'] . ' !', time(), 6, 0, 0, 0, 1); - mysql_query('UPDATE `users_animal` SET `stats` = "' . $a['stats'] . '",`level`="' . $a['level'] . '",`max_exp`="' . $a['max_exp'] . '" WHERE `id` = "' . $a['id'] . '" LIMIT 1'); + $this->send( + '', $this->info['room'], $this->info['city'], '', $this->info['login'], + '' . $a['name'] . ' ' . $a['level'] . ' !', time(), 6, 0, + 0, 0, 1 + ); + mysql_query( + 'UPDATE `users_animal` SET `stats` = "' . $a['stats'] . '",`level`="' . $a['level'] . '",`max_exp`="' . $a['max_exp'] . '" WHERE `id` = "' . $a['id'] . '" LIMIT 1' + ); } $iz = -2; } @@ -10473,13 +11696,12 @@ LIMIT 1')); } } } - /*------------*/ + } - public function r2($v) + public function r2($v): string { - $v = number_format($v, 2, '.', ' '); - return $v; + return number_format($v, 2, '.', ' '); } /** @@ -10490,11 +11712,15 @@ LIMIT 1')); * @param $i1 * @return array|int[] */ - public function regen($uid, $st, $i1) + public function regen($uid, $st, $i1): array { if ($uid != $this->info['id']) { - $where = is_numeric($uid)? "`u`.`id` = $uid" : "`u`.`login` = $uid"; - $u = mysql_fetch_array(mysql_query('SELECT `u`.`battle`, `st`.* FROM `users` AS `u` LEFT JOIN `stats` AS `st` ON (`u`.`id` = `st`.`id`) WHERE ' . $where)); + $where = is_numeric($uid) ? "`u`.`id` = $uid" : "`u`.`login` = $uid"; + $u = mysql_fetch_array( + mysql_query( + 'SELECT `u`.`battle`, `st`.* FROM `users` AS `u` LEFT JOIN `stats` AS `st` ON (`u`.`id` = `st`.`id`) WHERE ' . $where + ) + ); if (!isset($st['hpAll'])) { $st = $this->getStats($uid, $i1); } @@ -10511,8 +11737,6 @@ LIMIT 1')); $stm = $u['minMP']; // MP $st['speedhp'] = $st['speedhp'] ?: 0; $st['speedmp'] = $st['speedmp'] ?: 0; - #$sh = 0; // 1 . - #$sm = 0; // M 1 . // // @@ -10526,9 +11750,6 @@ LIMIT 1')); $st['hpNow'] += $sh * (time() - $u['regHP']); $st['hpNow'] = $st['hpNow'] > 0 ? min($st['hpNow'], $st['hpAll']) : 0; - // . ? - //$sh = $st['hpAll'] * (101 + $st['speedhp'] + $st['levels']['hpRegen']) / (6000 * $u['minHP']) - //mp $sm = ($st['mpAll'] / (60 * $stm)); $sm += ($sm / 100) * (1 + $st['speedmp'] + $st['levels']['mpRegen']); @@ -10539,12 +11760,14 @@ LIMIT 1')); // if ($u['hpNow'] < $st['hpAll'] || $u['mpNow'] < $st['mpAll']) { - Db::sql('update stats set - regHP = unix_timestamp(), - regMP = unix_timestamp(), - hpNow = ?, - mpNow = ? - where id = ?', [$st['hpNow'], $st['mpNow'], $u['id']]); + Db::sql( + 'update stats set + regHP = unix_timestamp(), + regMP = unix_timestamp(), + hpNow = ?, + mpNow = ? + where id = ?', [$st['hpNow'], $st['mpNow'], $u['id']] + ); } if ($this->info['id'] == $u['id']) { @@ -10556,9 +11779,13 @@ LIMIT 1')); return [$sh, $sm, 'hpNow' => $st['hpNow'], 'mpNow' => $st['mpNow']]; } - public function set_cl_item($id, $user, $cl) + public function set_cl_item($id, $user, $cl): string { - $item_ = mysql_fetch_array(mysql_query('SELECT `iu`.*, `im`.* FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON `iu`.`item_id` = `im`.`id` WHERE `iu`.`uid` = "' . $user['id'] . '" AND `iu`.`delete` = 0 AND `iu`.`inOdet` = 0 AND `iu`.`inShop` = 0 AND `im`.`inslot` > 0 AND `iu`.`gift` = "" AND `iu`.`data` NOT LIKE "%frompisher=%" AND `iu`.`id` = "' . $id . '" LIMIT 1')); + $item_ = mysql_fetch_array( + mysql_query( + 'SELECT `iu`.*, `im`.* FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON `iu`.`item_id` = `im`.`id` WHERE `iu`.`uid` = "' . $user['id'] . '" AND `iu`.`delete` = 0 AND `iu`.`inOdet` = 0 AND `iu`.`inShop` = 0 AND `im`.`inslot` > 0 AND `iu`.`gift` = "" AND `iu`.`data` NOT LIKE "%frompisher=%" AND `iu`.`id` = "' . $id . '" LIMIT 1' + ) + ); $res = mysql_fetch_array(mysql_query('SELECT * FROM `clan` WHERE `id` = "' . $cl . '" LIMIT 1')); if (isset($item_['id'])) { $po = $this->lookStats($item_['data']); @@ -10578,18 +11805,34 @@ LIMIT 1')); } elseif (!isset($po['toclan'])) { $po['toclan'] = $user['clan'] . '#' . $user['id']; $item_['data'] = $this->impStats($po); - if (mysql_query('UPDATE `items_users` SET `lastUPD` = "' . time() . '", `uid` = "-21' . $user['clan'] . '", `data` = "' . $item_['data'] . '" WHERE `id` = "' . $id . '" LIMIT 1')) { + if (mysql_query( + 'UPDATE `items_users` SET `lastUPD` = "' . time( + ) . '", `uid` = "-21' . $user['clan'] . '", `data` = "' . $item_['data'] . '" WHERE `id` = "' . $id . '" LIMIT 1' + )) { $r = ' "' . $item_['name'] . '"
    '; $col = $this->itemsX(((int)$id)); - $this->addDelo(2, $user['id'], '"System.transfer.MONEY": "' . $item_['name'] . '" (#id : "' . $id . '") (x' . $col . ') "' . $res['name'] . '" (' . $res['id'] . ').', time(), $user['city'], 'System.transfer.clan', 0, 0); - mysql_query('INSERT INTO `clan_operations` (`clan`, `time`, `type`, `text`, `val`, `uid`) VALUES ("' . $res['id'] . '", "' . time() . '", "4", "' . $user['login'] . '", "' . $item_['name'] . ' (x' . $col . ') : [' . $id . ']", "' . $user['id'] . '")'); + $this->addDelo( + 2, $user['id'], + '"System.transfer.MONEY": "' . $item_['name'] . '" (#id : "' . $id . '") (x' . $col . ') "' . $res['name'] . '" (' . $res['id'] . ').', + time(), $user['city'], 'System.transfer.clan', 0, 0 + ); + mysql_query( + 'INSERT INTO `clan_operations` (`clan`, `time`, `type`, `text`, `val`, `uid`) VALUES ("' . $res['id'] . '", "' . time( + ) . '", "4", "' . $user['login'] . '", "' . $item_['name'] . ' (x' . $col . ') : [' . $id . ']", "' . $user['id'] . '")' + ); } else { $r = ' ...
    '; } } else { - if (mysql_query('UPDATE `items_users` SET `lastUPD` = "' . time() . '", `uid` = "-21' . $user['clan'] . '" WHERE `id` = "' . $id . '" LIMIT 1')) { + if (mysql_query( + 'UPDATE `items_users` SET `lastUPD` = "' . time( + ) . '", `uid` = "-21' . $user['clan'] . '" WHERE `id` = "' . $id . '" LIMIT 1' + )) { $col = $this->itemsX(((int)$id)); - mysql_query('INSERT INTO `clan_operations` (`clan`, `time`, `type`, `text`, `val`, `uid`) VALUES ("' . $res['id'] . '", "' . time() . '", "3", "' . $user['login'] . '", "' . $item_['name'] . '" (x' . $col . ') : [' . $id . '], "' . $user['id'] . '")'); + mysql_query( + 'INSERT INTO `clan_operations` (`clan`, `time`, `type`, `text`, `val`, `uid`) VALUES ("' . $res['id'] . '", "' . time( + ) . '", "3", "' . $user['login'] . '", "' . $item_['name'] . '" (x' . $col . ') : [' . $id . '], "' . $user['id'] . '")' + ); $r = ' "' . $item_['name'] . '"
    '; } else { $r = ' ...
    '; @@ -10603,11 +11846,17 @@ LIMIT 1')); } - public function ungive_itm_cl($id, $user, $cl) + public function ungive_itm_cl($id, $user, $cl): string { - $itm_ = mysql_fetch_array(mysql_query('SELECT `iu`.*, `im`.* FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON `iu`.`item_id` = `im`.`id` WHERE `iu`.`uid` >= 0 AND `iu`.`delete` = 0 AND `iu`.`id` = "' . $id . '" LIMIT 1')); + $itm_ = mysql_fetch_array( + mysql_query( + 'SELECT `iu`.*, `im`.* FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON `iu`.`item_id` = `im`.`id` WHERE `iu`.`uid` >= 0 AND `iu`.`delete` = 0 AND `iu`.`id` = "' . $id . '" LIMIT 1' + ) + ); $res = mysql_fetch_array(mysql_query('SELECT * FROM `clan` WHERE `id` = "' . $cl . '" LIMIT 1')); - $user_itm = mysql_fetch_array(mysql_query('SELECT `id`,`bot`,`clone` FROM `stats` WHERE `id` = "' . $itm_['uid'] . '" LIMIT 1')); + $user_itm = mysql_fetch_array( + mysql_query('SELECT `id`,`bot`,`clone` FROM `stats` WHERE `id` = "' . $itm_['uid'] . '" LIMIT 1') + ); if ($user_itm['bot'] > 0 || $user_itm['clone'] > 0 || !isset($user_itm['id'])) { $r = ' ,
    '; } elseif (isset($itm_['id'])) { @@ -10619,8 +11868,14 @@ LIMIT 1')); } $r = ' "' . $itm_['name'] . '"
    '; $col = $this->itemsX(((int)$id)); - mysql_query('INSERT INTO `clan_operations` (`clan`, `time`, `type`, `text`, `val`, `uid`) VALUES ("' . $res['id'] . '", "' . time() . '", "6", "' . $user['login'] . '", "' . $itm_['name'] . ' (x' . $col . ') : [' . $id . '] | : [' . $itm_['uid'] . ']", "' . $user['id'] . '")'); - mysql_query('UPDATE `items_users` SET `lastUPD` = "' . time() . '", `uid` = "-21' . $res['id'] . '" ' . $o . ' WHERE `id` = "' . $id . '" LIMIT 1'); + mysql_query( + 'INSERT INTO `clan_operations` (`clan`, `time`, `type`, `text`, `val`, `uid`) VALUES ("' . $res['id'] . '", "' . time( + ) . '", "6", "' . $user['login'] . '", "' . $itm_['name'] . ' (x' . $col . ') : [' . $id . '] | : [' . $itm_['uid'] . ']", "' . $user['id'] . '")' + ); + mysql_query( + 'UPDATE `items_users` SET `lastUPD` = "' . time( + ) . '", `uid` = "-21' . $res['id'] . '" ' . $o . ' WHERE `id` = "' . $id . '" LIMIT 1' + ); } else { $r = ' .
    '; } @@ -10630,9 +11885,13 @@ LIMIT 1')); return $r; } - public function take_itm_cl($id, $user, $cl) + public function take_itm_cl($id, $user, $cl): string { - $itm_ = mysql_fetch_array(mysql_query('SELECT `iu`.*, `im`.* FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON `iu`.`item_id` = `im`.`id` WHERE `iu`.`uid` = "-21' . $user['clan'] . '" AND `iu`.`delete` = 0 AND `iu`.`id` = "' . $id . '" LIMIT 1')); + $itm_ = mysql_fetch_array( + mysql_query( + 'SELECT `iu`.*, `im`.* FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON `iu`.`item_id` = `im`.`id` WHERE `iu`.`uid` = "-21' . $user['clan'] . '" AND `iu`.`delete` = 0 AND `iu`.`id` = "' . $id . '" LIMIT 1' + ) + ); $res = mysql_fetch_array(mysql_query('SELECT * FROM `clan` WHERE `id` = "' . $cl . '" LIMIT 1')); if (isset($itm_['id'])) { $po = $this->lookStats($itm_['data']); @@ -10642,8 +11901,14 @@ LIMIT 1')); } if ($user['inTurnir'] == 0 && $user['inTurnirnew'] == 0) { $col = $this->itemsX(((int)$id)); - mysql_query('INSERT INTO `clan_operations` (`clan`, `time`, `type`, `text`, `val`, `uid`) VALUES ("' . $res['id'] . '", "' . time() . '", "5", "' . $user['login'] . '", "' . $itm_['name'] . ' (x' . $col . ') : [' . $id . '] : [' . $cls . ']", "' . $user['id'] . '")'); - mysql_query('UPDATE `items_users` SET `lastUPD` = "' . time() . '", `uid` = "' . $user['id'] . '" WHERE `id` = "' . $id . '" LIMIT 1'); + mysql_query( + 'INSERT INTO `clan_operations` (`clan`, `time`, `type`, `text`, `val`, `uid`) VALUES ("' . $res['id'] . '", "' . time( + ) . '", "5", "' . $user['login'] . '", "' . $itm_['name'] . ' (x' . $col . ') : [' . $id . '] : [' . $cls . ']", "' . $user['id'] . '")' + ); + mysql_query( + 'UPDATE `items_users` SET `lastUPD` = "' . time( + ) . '", `uid` = "' . $user['id'] . '" WHERE `id` = "' . $id . '" LIMIT 1' + ); $r = ' "' . $itm_['name'] . '"
    '; } else { $r = ' .
    '; @@ -10656,7 +11921,9 @@ LIMIT 1')); public function rem_itm_cl($user, $cl, $type) { - $itms = mysql_query('SELECT * FROM `items_users` WHERE (`uid` = "-21' . $user['clan'] . '" OR `data` LIKE "%toclan=' . $user['clan'] . '#%")'); + $itms = mysql_query( + 'SELECT * FROM `items_users` WHERE (`uid` = "-21' . $user['clan'] . '" OR `data` LIKE "%toclan=' . $user['clan'] . '#%")' + ); while ($pl = mysql_fetch_array($itms)) { $po = $this->lookStats($pl['data']); if (isset($po['toclan'])) { @@ -10672,37 +11939,52 @@ LIMIT 1')); unset($po['toclan']); $pl['data'] = $this->impStats($po); $col = $this->itemsX(((int)$pl['id'])); - $it_n = mysql_fetch_array(mysql_query('SELECT `name` FROM `items_main` WHERE `id` = "' . $pl['item_id'] . '"')); - mysql_query('UPDATE `items_users` SET `lastUPD` = "' . time() . '", `uid` = "' . $user['id'] . '", `data` = "' . $pl['data'] . '" WHERE `id` = "' . $pl['id'] . '"'); - mysql_query('INSERT INTO `clan_operations` (`clan`, `time`, `type`, `text`, `val`, `uid`) VALUES ("' . $res['id'] . '", "' . time() . '", "' . $type . '", "' . $user['login'] . '", "' . $it_n['name'] . ' (x' . $col . ') : [' . $pl['id'] . ']", "' . $user['id'] . '")'); - } elseif ($cls != $user['id'] && $pl['uid'] == $user['id']) { + $it_n = mysql_fetch_array( + mysql_query('SELECT `name` FROM `items_main` WHERE `id` = "' . $pl['item_id'] . '"') + ); + mysql_query( + 'UPDATE `items_users` SET `lastUPD` = "' . time( + ) . '", `uid` = "' . $user['id'] . '", `data` = "' . $pl['data'] . '" WHERE `id` = "' . $pl['id'] . '"' + ); + mysql_query( + 'INSERT INTO `clan_operations` (`clan`, `time`, `type`, `text`, `val`, `uid`) VALUES ("' . $res['id'] . '", "' . time( + ) . '", "' . $type . '", "' . $user['login'] . '", "' . $it_n['name'] . ' (x' . $col . ') : [' . $pl['id'] . ']", "' . $user['id'] . '")' + ); + } elseif ($pl['uid'] == $user['id']) { $col = $this->itemsX(((int)$pl['id'])); - $it_n = mysql_fetch_array(mysql_query('SELECT `name` FROM `items_main` WHERE `id` = "' . $pl['item_id'] . '"')); - mysql_query('UPDATE `items_users` SET `lastUPD` = "' . time() . '", `uid` = "-21' . $user['clan'] . '" WHERE `id` = "' . $pl['id'] . '"'); - mysql_query('INSERT INTO `clan_operations` (`clan`, `time`, `type`, `text`, `val`, `uid`) VALUES ("' . $res['id'] . '", "' . time() . '", "9", "' . $user['login'] . '", "' . $it_n['name'] . ' (x' . $col . ') : [' . $pl['id'] . ']", "' . $user['id'] . '")'); + $it_n = mysql_fetch_array( + mysql_query('SELECT `name` FROM `items_main` WHERE `id` = "' . $pl['item_id'] . '"') + ); + mysql_query( + 'UPDATE `items_users` SET `lastUPD` = "' . time( + ) . '", `uid` = "-21' . $user['clan'] . '" WHERE `id` = "' . $pl['id'] . '"' + ); + mysql_query( + 'INSERT INTO `clan_operations` (`clan`, `time`, `type`, `text`, `val`, `uid`) VALUES ("' . $res['id'] . '", "' . time( + ) . '", "9", "' . $user['login'] . '", "' . $it_n['name'] . ' (x' . $col . ') : [' . $pl['id'] . ']", "' . $user['id'] . '")' + ); } } } - public function roomInfo($id, $short = false) + public function roomInfo($id, $short = false): array { $select = $short ? ' `id`, `name`, `code`, `city`, `timeGO`, `level`,`roomGo` ' : ' * '; - $roomInfo = mysql_fetch_array(mysql_query('SELECT ' . $select . ' FROM `room` WHERE `id` = "' . $id . '" LIMIT 1')); - if ($roomInfo['roomGo']) $roomInfo['roomGo'] = explode(',', $roomInfo['roomGo']); - if ($roomInfo['level']) $roomInfo['level'] = explode('-', $roomInfo['level']); + $roomInfo = mysql_fetch_array( + mysql_query('SELECT ' . $select . ' FROM `room` WHERE `id` = "' . $id . '" LIMIT 1') + ); + if ($roomInfo['roomGo']) { + $roomInfo['roomGo'] = explode(',', $roomInfo['roomGo']); + } + if ($roomInfo['level']) { + $roomInfo['level'] = explode('-', $roomInfo['level']); + } return $roomInfo; } - public function showAbils() + public static function setOnline(int $uid): void { - $r = ''; - $sp = mysql_fetch_array(mysql_query('SELECT * FROM `abils_user` WHERE `uid` = "' . $this->info['id'] . '" LIMIT 1')); - if (isset($sp['id'])) { - $r .= ''; - } else { - mysql_query('INSERT INTO `abils_user` (`uid`) VALUES ("' . $this->info['id'] . '")'); - } - return $r; + Db::sql('update users set online = unix_timestamp() where id = ?', [$uid]); } } diff --git a/_incl_data/class/User/Confirmation.php b/_incl_data/class/User/Confirmation.php new file mode 100644 index 00000000..e16ab594 --- /dev/null +++ b/_incl_data/class/User/Confirmation.php @@ -0,0 +1,120 @@ +info. + * @param mixed $value + * @param ?int $code + * @param string $type . , . + * @return void + */ + public static function byEmail(array $userinfo, string $type, $value, ?int $code = null) + { + if ($type === 'pass2' && is_null($code)) { + self::pass2ByEmailCustom($userinfo, $value); + return; + } + $ip = UserIp::get(); + $date = date('d.m.y H:i'); + $https = Config::get('https'); + $support = Config::get('support'); + $activationLink = 'https://' . $userinfo['city'] . Config::get('host') . + "/confirm.php?id={$userinfo['id']}&code=$code"; + $fulllogin = $userinfo['login'] . "[{$userinfo['level']}]"; + Mail::send( + $userinfo['mail'], + << + $type + + $date
    + - IP: $ip $type $fulllogin.
    + .. email: {$userinfo['mail']}, .
    + login: {$userinfo['login']}
    + $type: $value

    + $type, :
    + $activationLink
    +
    --
    + $https
    + : $support
    + P.S. , . + + + HTML, + " $type $fulllogin" + ); + } + + private static function pass2ByEmailCustom(array $userinfo, string $pass2) + { + + $ip = UserIp::get(); + $fulllogin = $userinfo['login'] . "[{$userinfo['level']}]"; + Mail::send( + $userinfo['mail'], + << + $fulllogin. + + , IP - $ip, .
    + , .

    + ------------------------------------------------------------------
    + | {$userinfo['login']}
    + | ' . $pass2 . '
    + ------------------------------------------------------------------
    +

    .

    + + HTML, + " $fulllogin" + ); + } + + public static function byCode(int $uid, int $code): string + { + $status = ''; + + if ($uid <= 0 || $code <= 0) { + return $status; + } + + $codes = Db::getRow( + 'select * from emailconfirmation where id = ? and code = ? and (active = 1 or pass = 1 or email = 1)', + [$uid, $code] + ); + if (!$codes['id']) { + $status = ' !'; + } elseif ($codes['active'] === 1) { + Db::sql( + 'update users set emailconfirmation = 1, securetime = unix_timestamp() + 259200 where id = ?', + [$codes['id']] + ); + $status = " /email "; + } elseif ($codes['pass'] === 1) { + Db::sql( + 'update users as u inner join emailconfirmation as e on u.id = e.id set u.pass = e.pa_em, u.securetime = unix_timestamp() + 259200 where u.id = ?', + [$codes['id']] + ); + $status = " <"; + } elseif ($codes['email'] === 1) { + Db::sql( + 'update users as u inner join emailconfirmation as e on u.id = e.id set u.mail = e.pa_em, u.securetime = unix_timestamp() + 259200 where u.id = ?', + [$codes['id']] + ); + $status = " email"; + } + Db::sql('delete from emailconfirmation where id = ? and code = ?', [$_GET['id'], $_GET['code']]); + if ($status) { + $status = "

    $status

    "; + } + return $status; + } +} \ No newline at end of file diff --git a/_incl_data/class/User/Email.php b/_incl_data/class/User/Email.php new file mode 100644 index 00000000..a46c4897 --- /dev/null +++ b/_incl_data/class/User/Email.php @@ -0,0 +1,42 @@ +info = $userinfo ?? User::start()->info; + } + + public function change(string $old, string $new): string + { + if ($old === $new) { + return $this->info['mail']; + } + + if ($this->info['emailconfirmation'] === 1) { + $query = 'insert into emailconfirmation (id, code, pa_em, pass) values (?,?,?,1)'; + $args = [ + $this->info['id'], + PassGen::intCode(10), + $new + ]; + Confirmation::byEmail($this->info, 'email', $new, $args[1]); + } else { + $query = 'update users set mail = ?, securetime = unix_timestamp() + 259200 where id = ?'; + $args = [ + $new, + $this->info['id'] + ]; + } + Db::sql($query, $args); + return $new; + } +} \ No newline at end of file diff --git a/_incl_data/class/User/Password.php b/_incl_data/class/User/Password.php new file mode 100644 index 00000000..98abcbd4 --- /dev/null +++ b/_incl_data/class/User/Password.php @@ -0,0 +1,67 @@ +info = $userinfo ?? User::start()->info; + } + + public function changeFirst(string $old, string $new): string + { + if ($old === $new && password_verify($old, $this->info['pass'])) { + if ($this->info['emailconfirmation'] === 1) { + $query = 'insert into emailconfirmation (id, code, pa_em, pass) values (?,?,?,1)'; + $args = [ + $this->info['id'], + PassGen::intCode(10), + password_hash($new, PASSWORD_DEFAULT) + ]; + Confirmation::byEmail($this->info, '', $new, $args[1]); + $hashedPass = $args[2]; + } else { + $query = 'update users set pass = ?, repass = 0, securetime = unix_timestamp() + 259200 where id = ?'; + $args = [ + password_hash($new, PASSWORD_DEFAULT), + $this->info['id'] + ]; + $hashedPass = $args[0]; + } + Db::sql($query, $args); + return $hashedPass; + } + return $this->info['pass']; + } + + public function changeSecond(?int $passLength): array + { + if (in_array($passLength, [4,6,8])) { + $query = 'update users set pass2 = ? where id = ?'; + $pass2 = PassGen::intCode($passLength); + $args = [ + password_hash($pass2, PASSWORD_DEFAULT), + $this->info['id'] + ]; + Confirmation::byEmail($this->info, 'pass2', $pass2); + $hash = $args[0]; + } else { + $query = 'update users set pass2 = default where id = ?'; + $args = [$this->info['id']]; + } + + Db::sql($query, $args); + return [ + 'pass2' => $pass2 ?? '', + 'hash' => $hash ?? null, + ]; + } +} + diff --git a/_incl_data/class/UserIp.php b/_incl_data/class/UserIp.php new file mode 100644 index 00000000..37439f5b --- /dev/null +++ b/_incl_data/class/UserIp.php @@ -0,0 +1,16 @@ + 20) { + $error = ' 20 .'; + } + if (strlen($login) < 4) { + $error = ' 4 .'; + } + if ($this->hasMixedLatCur($login)) { + $error = ' . .'; + } + // + if (substr_count($login, ' ') + substr_count($login, '-') + substr_count($login, '_') > 2) { + $error = ' (, , ).'; + } + if (!empty($error)) { + $error .= '
    : , , xalop.
    : )))), kol)=-/.'; + + } + if ($isRegistered || $wasRegistered || $isRestricted) { + $error = ' ' . $login . ' , .'; + } + + return $error ?? ''; + } + + public function hasGoodEmail(string $email): string + { + $isRegistered = Db::getValue('select count(*) from users where mail = ?', [$email]); + $isBlocked = Db::getValue('select count(*) from ban_email where email = ?', [$email]); + if (!filter_var($email, FILTER_VALIDATE_EMAIL) || $isRegistered) { + $error = ' email.'; + } + if ($isBlocked) { + $error = ' .'; + } + + $allowedDomains = Db::getColumn('select email from trust_email'); + $domain = explode('@', $email)[1]; + + if (!in_array($domain, $allowedDomains)) { + $error = ' .'; + } + + return $error ?? ''; + } + + public function hasGoodEmailCode(string $email, int $code): string + { + $check = Db::getValue('select code from secure_code where email = ?', [$email]); + if ($code !== $check) { + return ' .'; + } + return ''; + } + + public function hasGoodPassword(string $password1, string $password2): string + { + if ($password1 !== $password2) { + $error = ' '; + } + if (strlen($password1 < 8)) { + $error = ' 8 '; + $error .= ' : ' . PassGen::new(); + } + return $error ?? ''; + } + + public static function new(string $login, string $password, string $email, $ref, $birthday, $sex): string + { + $password = password_hash($password, PASSWORD_DEFAULT); + $ip = UserIp::get(); + $sex = (int)$sex - 10; // 10\11, 0\1. + Db::sql( + 'insert into users (users.real,login,host_reg,pass,ip,ipreg,room,timereg,mail,bithday,sex,fnq,molch2,level,hobby,clan_zv) values (1,?,?,?,?,?,9,unix_timestamp(),?,?,?,0,unix_timestamp() + 86400,8,\'\',0)', + [ + $login, + $ref ?? '', + $password, + $ip, + $ip, + $email, + date('d.m.Y', strtotime($birthday)), + $sex, + ] + ); + + return Db::lastInsertId(); + } } diff --git a/_incl_data/class/UserStats.php b/_incl_data/class/UserStats.php index 4b3a5588..1e022f42 100644 --- a/_incl_data/class/UserStats.php +++ b/_incl_data/class/UserStats.php @@ -1,27 +1,25 @@ 0 and `delete` = 0 union all select data from eff_users where uid = ? and `delete` = 0'; - $iData = $db::getColumn($q, [$userId, $userId]); + $iData = Db::getColumn($q, [$userId, $userId]); $params = []; - $params2 = json_decode(str_replace(['=', '|'], ['":', ',"'], '{"' . $iData . '}'), true); foreach ($iData as $datum) { foreach (explode('|', $datum) as $inner) { - list($a, $b) = explode('=', $inner); + [$a, $b] = explode('=', $inner); if (strpos($a, 'add') !== false || strpos($a, 'sv') !== false || $showAll) { if (isset($params[$a])) { $params[$a] += $b; diff --git a/_incl_data/class/__battle.php-cleared b/_incl_data/class/__battle.php-cleared deleted file mode 100644 index 49474796..00000000 --- a/_incl_data/class/__battle.php-cleared +++ /dev/null @@ -1,8360 +0,0 @@ -db = $db; - } - - /** Priems. - * @param $u1 - * @param $u2 - * @param $type - * @return string - */ - public function maginfoattack($u1, $u2, $type) - { - /* - 1 - , - 2 - , - 3 - , - 4 - - */ - $v_l = str_replace(' ', ' ', $this->users[$this->uids[$u1]]['login']); - - // - $v_z = 0 + $this->stats[$this->uids[$u2]]['zm' . $type]; - // - $v_p = round(($this->stats[$this->uids[$u1]]['pzm' . $type] + $this->stats[$this->uids[$u1]]['pzm']) * 0.4); - // - $v_m = 0 + $this->stats[$this->uids[$u1]]['pm' . $type]; - - return - ' magelogin=' . $v_l . - ' onMouseOver=top.hi(this,maginfo(' . $v_z . ',' . $v_p . ',' . $v_m . ',this),event,3,1,1,1,null); onMouseOut=top.hic(); onMouseDown=top.hic(); '; - } - - /** $x - * @param $x - * @return array - */ - private function typeBattle($x) - { - $r = [0, 0, ' ', ' ']; - if ($x >= 50000 && $x < 100000) { - $r = [25, 50, ' ', ' ']; - } elseif ($x < 500000) { - $r = [50, 75, ' ', ' ']; - } elseif ($x < 1000000) { - $r = [75, 100, ' ', ' ']; - } elseif ($x < 2500000) { - $r = [100, 125, ' ', ' ']; - } elseif ($x >= 5000000) { - $r = [150, 150, ' ', ' ']; - } - return $r; - } - - ## - PRIEMS () - public $mncolor = [ - 1 => '006699', - 2 => '006699', - 3 => '006699', - 4 => '006699', - 5 => '006699', - 6 => '006699', - 7 => '006699', - ]; // - public $mcolor = [ - 1 => 'A00000', - 2 => '008080', - 3 => '0000FF', - 4 => 'A52A2A', - 5 => '006699', - 6 => '006699', - 7 => '006699', - ]; // - public $mname = [ - '' => 1, - '' => 2, - '' => 3, - '' => 4, - '' => 5, - '' => 6, - '' => 7, - ]; - - /** (?) - *
    act: - *
    1 - - *
    2 - - *
    type_of: - *
    1 - - *
    2 - - *
    3 - - *
    4 - - *
    5 - - * @var array[] - */ - private $prm = [ - 1 => ['name' => '', 'act' => 1, 'type_of' => 5], - 2 => ['name' => '', 'act' => 2, 'type_of' => 3], - 4 => ['name' => ' ', 'act' => 2, 'type_of' => 3], - 7 => ['name' => ' ', 'act' => 1, 'type_of' => 4], - - 290 => ['name' => ' ', 'act' => 1, 'type_of' => 4], - - // - //291 => array( 'name' => ' ', 'act' => 2, 'type_of' => 4 ), - - // - 294 => ['name' => ' ', 'act' => 2, 'type_of' => 0, 'moment' => 0, 'moment_end' => 3], - 295 => ['name' => '', 'act' => 2, 'type_of' => 0, 'moment' => 0, 'moment_end' => 3], - 296 => ['name' => ' ', 'act' => 2, 'type_of' => 0, 'moment' => 0, 'moment_end' => 3], - 297 => ['name' => '', 'act' => 2, 'type_of' => 0, 'moment' => 3], - 298 => ['name' => ' ', 'act' => 2, 'type_of' => 3], - - 141 => ['name' => ' ', 'act' => 2, 'type_of' => 4], - 147 => ['name' => ' ', 'act' => 2, 'type_of' => 4], - 148 => ['name' => ' ', 'act' => 2, 'type_of' => 4], - 149 => ['name' => ' ', 'act' => 2, 'type_of' => 4], - 150 => ['name' => ' ', 'act' => 2, 'type_of' => 4], - - 142 => ['name' => ' ', 'act' => 2, 'type_of' => 4], - 144 => ['name' => ' ', 'act' => 2, 'type_of' => 4], - 146 => ['name' => ' ', 'act' => 2, 'type_of' => 4], - 145 => ['name' => ' ', 'act' => 2, 'type_of' => 4], - - 8 => ['name' => ' ', 'act' => 1, 'type_of' => 1], - 9 => ['name' => ' ', 'act' => 2, 'type_of' => 3], - 10 => ['name' => '', 'act' => 1, 'type_of' => 1], - 11 => ['name' => ' ', 'act' => 2, 'type_of' => 3], - - 45 => ['name' => ' ', 'act' => 1, 'type_of' => 4], - - 47 => ['name' => ' ', 'act' => 2, 'type_of' => 2], - 48 => ['name' => ' ', 'act' => 1, 'type_of' => 1], - 49 => ['name' => ' ', 'act' => 1, 'type_of' => 1], - 138 => ['name' => ' ', 'act' => 2, 'type_of' => 3], - 140 => ['name' => ' ', 'act' => 1, 'type_of' => 4], - 193 => ['name' => ' ', 'act' => 2, 'type_of' => 3], - 204 => ['name' => '', 'act' => 2, 'type_of' => 0, 'moment' => 3], - 211 => ['name' => ' ', 'act' => 1, 'type_of' => 4], - 213 => ['name' => ' ', 'act' => 1, 'type_of' => 4], - 215 => ['name' => ' ', 'act' => 1, 'type_of' => 1], - 216 => ['name' => ' ', 'act' => 2, 'type_of' => 2], - 217 => ['name' => ' ', 'act' => 2, 'type_of' => 0, 'moment' => 3], - 219 => ['name' => ' ', 'act' => 2, 'type_of' => 3], - 220 => ['name' => ' ', 'act' => 2, 'type_of' => 0, 'moment' => 3], - 222 => ['name' => ' ', 'act' => 2, 'type_of' => 3], - 225 => ['name' => ' ', 'act' => 1, 'type_of' => 4], - 226 => ['name' => '', 'act' => 1, 'type_of' => 4], - 231 => ['name' => ' ', 'act' => 2, 'type_of' => 0, 'moment' => 3], - 234 => ['name' => '', 'act' => 2, 'type_of' => 4], - 235 => ['name' => ' ', 'act' => 2, 'type_of' => 3], - 342 => ['name' => ' ', 'act' => 0, 'type_of' => 0], - 343 => ['name' => '', 'act' => 0, 'type_of' => 0], - - 237 => ['name' => ' ', 'act' => 2, 'type_of' => 3 /*, 'moment' => 3*/], - - 239 => ['name' => ' ', 'act' => 2, 'type_of' => 3], - 240 => ['name' => ' ', 'act' => 2, 'type_of' => 5], - - // - 21 => ['name' => ' [4]', 'act' => 2, 'type_of' => 0, 'moment' => 0, 'moment_end' => 3], - 73 => ['name' => ' [5]', 'act' => 2, 'type_of' => 0, 'moment' => 0, 'moment_end' => 3], - 74 => ['name' => ' [6]', 'act' => 2, 'type_of' => 0, 'moment' => 0, 'moment_end' => 3], - 75 => ['name' => ' [7]', 'act' => 2, 'type_of' => 0, 'moment' => 0, 'moment_end' => 3], - 76 => ['name' => ' [8]', 'act' => 2, 'type_of' => 0, 'moment' => 0, 'moment_end' => 3], - 77 => ['name' => ' [9]', 'act' => 2, 'type_of' => 0, 'moment' => 0, 'moment_end' => 3], - 78 => ['name' => ' [10]', 'act' => 2, 'type_of' => 0, 'moment' => 0, 'moment_end' => 3], - 79 => ['name' => ' [11]', 'act' => 2, 'type_of' => 0, 'moment' => 0, 'moment_end' => 3], - - // - 22 => ['name' => ' [6]', 'act' => 2, 'type_of' => 0, 'moment' => 0, 'moment_end' => 3], - 80 => ['name' => ' [7]', 'act' => 2, 'type_of' => 0, 'moment' => 0, 'moment_end' => 3], - 81 => ['name' => ' [8]', 'act' => 2, 'type_of' => 0, 'moment' => 0, 'moment_end' => 3], - 82 => ['name' => ' [9]', 'act' => 2, 'type_of' => 0, 'moment' => 0, 'moment_end' => 3], - 83 => ['name' => ' [10]', 'act' => 2, 'type_of' => 0, 'moment' => 0, 'moment_end' => 3], - 84 => ['name' => ' [11]', 'act' => 2, 'type_of' => 0, 'moment' => 0, 'moment_end' => 3], - - // - 36 => ['name' => ' [5]', 'act' => 2, 'type_of' => 0, 'moment' => 0, 'moment_end' => 3], - 85 => ['name' => ' [6]', 'act' => 2, 'type_of' => 0, 'moment' => 0, 'moment_end' => 3], - 86 => ['name' => ' [7]', 'act' => 2, 'type_of' => 0, 'moment' => 0, 'moment_end' => 3], - 87 => ['name' => ' [8]', 'act' => 2, 'type_of' => 0, 'moment' => 0, 'moment_end' => 3], - 88 => ['name' => ' [9]', 'act' => 2, 'type_of' => 0, 'moment' => 0, 'moment_end' => 3], - 89 => ['name' => ' [10]', 'act' => 2, 'type_of' => 0, 'moment' => 0, 'moment_end' => 3], - 90 => ['name' => ' [11]', 'act' => 2, 'type_of' => 0, 'moment' => 0, 'moment_end' => 3], - - // - 23 => ['name' => ' [8]', 'act' => 2, 'type_of' => 0, 'moment' => 0, 'moment_end' => 3], - 70 => ['name' => ' [9]', 'act' => 2, 'type_of' => 0, 'moment' => 0, 'moment_end' => 3], - 71 => ['name' => ' [10]', 'act' => 2, 'type_of' => 0, 'moment' => 0, 'moment_end' => 3], - 72 => ['name' => ' [11]', 'act' => 2, 'type_of' => 0, 'moment' => 0, 'moment_end' => 3], - - // - 269 => ['name' => ' [8]', 'act' => 2, 'type_of' => 9], - 276 => ['name' => ' [9]', 'act' => 2, 'type_of' => 9], - 277 => ['name' => ' [10]', 'act' => 2, 'type_of' => 9], - - 270 => ['name' => ' ', 'act' => 2, 'type_of' => 5, 'type_sec' => 5], - 280 => ['name' => ' ', 'act' => 2, 'type_of' => 0, 'moment' => 0, 'moment_end' => 3], - 281 => ['name' => ' ', 'act' => 2, 'type_of' => 5], - 282 => ['name' => ' ', 'act' => 2, 'type_of' => 5], - - // - 24 => ['name' => '', 'act' => 2, 'type_of' => 0, 'moment' => 3], - - // - 210 => ['name' => ' [4]', 'act' => 2, 'type_of' => 8], - 209 => ['name' => ' [7]', 'act' => 2, 'type_of' => 8], - 208 => ['name' => ' [8]', 'act' => 2, 'type_of' => 8], - 207 => ['name' => ' [9]', 'act' => 2, 'type_of' => 8], - 206 => ['name' => ' [10]', 'act' => 2, 'type_of' => 8], - 284 => ['name' => ' [11]', 'act' => 2, 'type_of' => 8], - - // - 175 => ['name' => ' [7]', 'act' => 2, 'type_of' => 8], - 176 => ['name' => ' [8]', 'act' => 2, 'type_of' => 8], - 177 => ['name' => ' [9]', 'act' => 2, 'type_of' => 8], - 178 => ['name' => ' [10]', 'act' => 2, 'type_of' => 8], - 179 => ['name' => ' [11]', 'act' => 2, 'type_of' => 8], - - // - 42 => ['name' => ' [6]', 'act' => 2, 'type_of' => 0, 'moment' => 0, 'moment_end' => 3], - 121 => ['name' => ' [7]', 'act' => 2, 'type_of' => 0, 'moment' => 0, 'moment_end' => 3], - 122 => ['name' => ' [8]', 'act' => 2, 'type_of' => 0, 'moment' => 0, 'moment_end' => 3], - 123 => ['name' => ' [9]', 'act' => 2, 'type_of' => 0, 'moment' => 0, 'moment_end' => 3], - 124 => ['name' => ' [10]', 'act' => 2, 'type_of' => 0, 'moment' => 0, 'moment_end' => 3], - 125 => ['name' => ' [11]', 'act' => 2, 'type_of' => 0, 'moment' => 0, 'moment_end' => 3], - - 249 => ['name' => ' ', 'act' => 2, 'type_of' => 4], - 248 => ['name' => ' ', 'act' => 2, 'type_of' => 4], - 251 => ['name' => ': ', 'act' => 2, 'type_of' => 0, 'moment' => 0, 'moment_end' => 3], - 252 => ['name' => ': ', 'act' => 2, 'type_of' => 0, 'moment' => 0, 'moment_end' => 3], - - // - 273 => ['name' => ' [10]', 'act' => 1, 'type_of' => 4], - 286 => ['name' => ' [9]', 'act' => 1, 'type_of' => 4], - 287 => ['name' => ' [8]', 'act' => 1, 'type_of' => 4], - 288 => ['name' => ' [7]', 'act' => 1, 'type_of' => 4], - - 255 => ['name' => ' ', 'act' => 2, 'type_of' => 8], - - //// - 337 => ['name' => ' ', 'act' => 2, 'type_of' => 5], - - // - 33 => ['name' => ' [6]', 'act' => 2, 'type_of' => 0, 'moment' => 0, 'moment_end' => 3], - 56 => ['name' => ' [7]', 'act' => 2, 'type_of' => 0, 'moment' => 0, 'moment_end' => 3], - 57 => ['name' => ' [8]', 'act' => 2, 'type_of' => 0, 'moment' => 0, 'moment_end' => 3], - 58 => ['name' => ' [9]', 'act' => 2, 'type_of' => 0, 'moment' => 0, 'moment_end' => 3], - 59 => ['name' => ' [10]', 'act' => 2, 'type_of' => 0, 'moment' => 0, 'moment_end' => 3], - 60 => ['name' => ' [11]', 'act' => 2, 'type_of' => 0, 'moment' => 0, 'moment_end' => 3], - - // - 245 => ['name' => ' ', 'act' => 2, 'type_of' => 9], - - //// - 327 => ['name' => ' ', 'act' => 2, 'type_of' => 0, 'moment' => 3], - 328 => ['name' => ' ', 'act' => 2, 'type_of' => 0, 'moment' => 0, 'moment_end' => 3], - 329 => ['name' => ' ', 'act' => 2, 'type_of' => 0, 'moment' => 0, 'moment_end' => 3], - 330 => ['name' => ' ', 'act' => 2, 'type_of' => 0, 'moment' => 0, 'moment_end' => 3], - 331 => ['name' => ' ', 'act' => 2, 'type_of' => 0, 'moment' => 0, 'moment_end' => 3], - 332 => ['name' => ' ', 'act' => 2, 'type_of' => 0, 'moment' => 0, 'moment_end' => 3], - 333 => ['name' => ' ', 'act' => 2, 'type_of' => 0, 'moment' => 3], - 334 => ['name' => ' ', 'act' => 2, 'type_of' => 0, 'moment' => 0, 'moment_end' => 3], - 335 => ['name' => ' ', 'act' => 2, 'type_of' => 0, 'moment' => 0, 'moment_end' => 3,], - - //1 , - 299 => ['name' => ' ', 'act' => 2, 'type_of' => 0, 'moment' => 0, 'moment_end' => 3], - 300 => ['name' => ' ', 'act' => 2, 'type_of' => 0, 'moment' => 0, 'moment_end' => 3], - 301 => ['name' => ' ', 'act' => 2, 'type_of' => 0, 'moment' => 0, 'moment_end' => 3], - 302 => ['name' => '', 'act' => 2, 'type_of' => 0, 'moment' => 0, 'moment_end' => 3], - 303 => ['name' => ' ', 'act' => 2, 'type_of' => 4], - 304 => ['name' => ' !', 'act' => 2, 'type_of' => 0, 'moment' => 0, 'moment_end' => 3], - 305 => ['name' => '', 'act' => 2, 'type_of' => 0, 'moment' => 0, 'moment_end' => 3], - ]; - - /** - * @return void - */ - private function saveLogs() - { - mysql_query('INSERT INTO `battle_logs_save` SELECT `id`,`time`,`battle`,`id_hod`,`text`,`vars`,`zona1`,`zonb1`,`zona2`,`zonb2`,`type` FROM `battle_logs` WHERE `battle` = ' . $this->info['id'] . ' AND `id_hod` <= ' . $this->hodID); - mysql_query('DELETE FROM `battle_logs` WHERE `battle` = ' . $this->info['id'] . 'all'); - mysql_query('DELETE FROM `battle_stat` WHERE `battle` < ' . ($this->info['id'] - 100)); - mysql_query('DELETE FROM `battle_actions` WHERE `btl` = ' . $this->info['id']); - } - - /** Priems - * @param $uid - * @param $hp - * @param $false_t7 - * @return false|float - */ - public function hphe($uid, $hp, $false_t7 = false) - { - if (!isset($this->stats[$this->uids[$uid]])) { - echo 'WARNING! ! !'; - } else { - $hpnow = floor($this->stats[$this->uids[$uid]]['hpNow']); - $hpall = $this->stats[$this->uids[$uid]]['hpAll']; - if ($hp > 0) { - // - if ($hpnow + $hp > $hpall) { - $hpli = $hpnow + $hp - $hpall; - $hp -= $hpli; - } - if (isset($this->stats[$this->uids[$uid]]['min_heal_proc']) && $this->stats[$this->uids[$uid]]['min_heal_proc'] < -99) { - $hp = 0; - } else { - $hp = $hp / 100 * (100 + $this->stats[$this->uids[$uid]]['min_heal_proc']); - } - // - if (!$false_t7) { - if ($this->users[$this->uids[$uid]]['tactic7'] <= 0) { - $hp = 0; - $this->users[$this->uids[$uid]]['tactic7'] = 0; - $this->stats[$this->uids[$uid]]['tactic7'] = $this->users[$this->uids[$uid]]['tactic7']; - } else { - $gdhh = round($hp / $this->stats[$this->uids[$uid]]['hpAll'] * 10, 2); - if ($gdhh == 0) { - $gdhh = 0.01; - } - - $gdhd = round($this->users[$this->uids[$uid]]['tactic7'] / $gdhh * 100); - - $this->users[$this->uids[$uid]]['tactic7'] = round(($this->users[$this->uids[$uid]]['tactic7'] - $gdhh), - 2); - if ($this->users[$this->uids[$uid]]['tactic7'] < 0) { - $this->users[$this->uids[$uid]]['tactic7'] = 0; - } - $this->stats[$this->uids[$uid]]['tactic7'] = $this->users[$this->uids[$uid]]['tactic7']; - if ($gdhd < 100) { - $hp = floor($hp / 100 * $gdhd); - } - } - } - } elseif ($hp < 0) { - // - if ($hpnow + $hp < 0) { - $hpli = $hpnow + $hp; - $hp += -($hpli); - } - } - - if ($this->stats[$this->uids[$uid]]['hpNow'] < 1) { - $hp = 0; - } - - $this->stats[$this->uids[$uid]]['last_hp'] = -$hp; - mysql_query('UPDATE `stats` SET - `last_hp` = ' . $this->users[$this->uids[$uid]]['last_hp'] . ', - `tactic7` = ' . $this->users[$this->uids[$uid]]['tactic7'] . ' - WHERE `id` = ' . $uid); - } - - return floor($hp); - } - - public function deleffm($pid, $uid, $id) - { - if ($id > 0) { - if (!mysql_query('DELETE FROM `eff_users` WHERE `id` = ' . $id . ' AND `v1` = "priem" AND `v2` != 0')) { - echo '[* [' . $id . ',' . $pid . ',' . $uid . ']]'; - } - } else { - mysql_query('DELETE FROM `eff_users` WHERE `uid` = ' . $uid . ' AND `v1` = "priem" AND `v2` = ' . $pid); - } - } - - /** - * @var int - */ - private $na = 1; - - /** % - * @var int - */ - private $expCoef = 0; - - /** - * @var int - */ - private $aBexp = 0; - - /** uid - * $ga[ {id } ][ {id } ] - * @var array - */ - private $ag = []; - - /** ID - * @var array - */ - private $bots = []; - - /** i ??? - * @var array - */ - private $iBots = []; - - private $stnZbVs = 0; - private $stnZb = []; - - /** (?) [?] - * @var array - */ - private $uAtc = [ - 'id' => 0, - 'a' => [1 => 0, 2 => 0, 3 => 0, 4 => 0, 5 => 0], - 'b' => 0, - ]; - - /** - * @var string[][] - */ - private $lg_itm = [ - 0 => ['', ' ', '', '', '', ' ', ' ', ''], - 1 => ['', ' ', ' ', ' '], - 2 => [' ', '', ' ', '', ' '], - 3 => ['', '', ' ', '', ' ', ' '], - 4 => ['', '', '', ' ', ' ', ' ', ' ', ' ',], - 5 => [' ', '', ' ', ' ', ' '], - 22 => [''], - ]; - - /** - * @var string[][] - */ - private $lg_zon = [ - 1 => [' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ',], - 2 => [' ', ' ', ' ', ' ', ' '], - 3 => [' ', ' ', ' ', ' '], - 4 => [' < >', ' ', ' ', ' ', ' '], - 5 => [' ', ' ', ' ', ' ', ' '], - ]; - - /** () - * @var - */ - public $e; - - /** - * @var bool - */ - public $cached = false; - - /** : - *
    1 - , - *
    2 - , - *
    3 - . - * @var int - */ - public $mainStatus = 1; - - /** - * @var array - */ - public $info = []; - - /** - * @var array - */ - public $users = []; - - /** - * @var array - */ - public $stats = []; - - /** id stats users. - *
    id = 555 , $uids[555] users \ stats - * @var array - */ - public $uids = []; - - /** () - * @var array - */ - public $atacks = []; - - /** uid - *
    $ga[ {id } ][ {id } ] - * @var array - */ - public $ga = []; - public $hodID = 0; - - public $is = []; - public $items = []; - - private $uclearc = []; - private $ucleari = []; - private $user = []; - /** - * @param $uid - * @return void - */ - private function clear_cache($uid) - { - if ($uid > 0 && !isset($this->uclearc[$uid])) { - $this->uclearc[$uid] = true; - $this->ucleari[] = $uid; - } - } - - /** - * @return void - */ - public function clear_cache_start() - { - $q = 'delete from battle_cache where uid in (' . implode(', ', $this->ucleari) . ')'; - mysql_query($q); - } - - // - - /** . Priems. - *
    . - * @param $pid - * @param $u1 - * @param $u2 - * @param $hp - * @return mixed - */ - public function testYronPriemAttack($pid, $u1, $u2, $hp) - { - // 1 2 pid hp . - /* */ - // - - foreach ($this->stats[$this->uids[$u2]]['effects'] as $effect) { - if ( - isset($effect) && - $effect['id_eff'] == 22 && - $effect['v1'] == 'priem' && - in_array($effect['v2'], [45, 140, 211]) - ) { - // = 1 , 0 - $hp['y'] = -1; - $hp['r'] = 1; - $hp['k'] = 2; - $hp['m_y'] = 1; - $hp['m_k'] = 2; - } - } - return $hp; - } - - /** - * @param $y - * @param $s1 - * @param $s2 - * @param $id1 - * @param $id2 - * @return float|int - */ - private function testExp($y, $s1, $s2, $id1, $id2) - { - global $c; - // - $oplevel = [ // . - 0 => 1, - 1 => 1, - 2 => 1, - 3 => 1, - 4 => 2, - 5 => 2, - 6 => 2, - 7 => 2, - 8 => 3, - 9 => 4, - 10 => 5, - 11 => 6, - 12 => 7, - 13 => 50, - 14 => 75, - ]; - - if ($y < 0) { - $y = 0; - } - if ($s2['hpNow'] < 0) { - $y = 0; - } - if ($s2['hpNow'] < $y) { - $y = $s2['hpNow']; - } - if ($y < 0) { - $y = 0; - } - $addExp = (int)($y * $oplevel[$this->users[$this->uids[$s2['id']]]['level']]); - if ($s2['hpAll'] - $y <= 0) { - $addExp = 100; - } - - if ($addExp < 0) { - $addExp = 0; - } - if ($s2['levels'] != 'undefined' && $this->users[$this->uids[$s2['id']]]['pass'] != 'saintlucia') { - if ($this->info['razdel'] != 5 && $c['exp_limit_many']) { - $texp = mysql_fetch_array(mysql_query('SELECT COUNT(`a`.`id`) FROM `battle_users` AS `a` WHERE `a`.`uid` = ' . $id1 . ' AND `a`.`battle` IN ( SELECT `b`.`battle` FROM `battle_users` AS `b` WHERE `b`.`uid` = ' . $id2 . ' AND `b`.`team` != `a`.`team` AND `b`.`time` > ' . (time() - 86400) . ' ) LIMIT 1')); - $texp = $texp[0]; - // - if ($texp > 5) { - $addExp = $addExp * 0.00; - } elseif ($texp > 4) { - $addExp = $addExp * 0.50; - } elseif ($texp > 3) { - $addExp = $addExp * 0.75; - } elseif ($texp > 2) { - $addExp = $addExp * 1.00; - } elseif ($texp > 1) { - $addExp = $addExp * 1.00; - } else { - $addExp = $addExp * 1.00; - } - } - } else { - $addExp = 0; - } - - return $addExp; - } - - /** \ - * @param $id - * @param $y - * @param $id1 - * @param $id2 - * @param $mgregen - * @return void - */ - public function takeExp($id, $y, $id1, $id2, $mgregen = false) - { - global $u; - if (isset($this->users[$this->uids[$id]])) { - $s1 = $this->stats[$this->uids[$id1]]; - $s2 = $this->stats[$this->uids[$id2]]; - if ($id1 != $id2) { - $e = $this->testExp($y, $s1, $s2, $id1, $id2); - } else { - $e = 0; - } - - if ( - (int)$this->users[$this->uids[$id1]]['bot_id'] == 0 && - $this->users[$this->uids[$id1]]['dnow'] != 0 && - $this->info['dungeon'] != 1 - ) { - $dun_limitForLevel = [ // . - 4 => 750, - 5 => 1500, - 6 => 3500, - 7 => 8000, - 8 => 25000, - 9 => 50000, - 10 => 75000, - 11 => 125000, - 12 => 250000, - 13 => 500000, - 14 => 750000, - ]; - $dun_expFactor = [ // . - 4 => 5, - 5 => 5, - 6 => 5, - 7 => 5, - 8 => 5, - 9 => 3, - 10 => 1, - 11 => 1, - 12 => 1, - 13 => 1, - 14 => 1, - ]; - - if (isset($dun_expFactor[(int)$this->users[$this->uids[$id1]]['level']])) { - $e = $e * $dun_expFactor[(int)$this->users[$this->uids[$id1]]['level']]; - } - if ($this->info['dungeon'] > 1 && $this->users[$this->uids[$id1]]['battle'] > 0) { // - $dun_exp = []; // . - $rep = mysql_fetch_array(mysql_query('SELECT `dungeonexp`,`id` FROM `rep` WHERE `id` = ' . $this->users[$this->uids[$id1]]['id'])); - $rep = explode(',', $rep['dungeonexp']); - foreach ($rep as $key => $val) { - $val = explode('=', $val); - if (isset($val[0]) && isset($val[1]) && $val[0] != '' && $val[1] != 0) { - $dun_exp[(int)$val[0]] = (int)$val[1]; - } // - } - unset($rep); - - if (!isset($dun_exp[$this->info['dungeon']])) { - $dun_exp[$this->info['dungeon']] = 0; - } - if (!isset($dun_limitForLevel[(int)$this->users[$this->uids[$id1]]['level']])) { // , . - $e = 0; - } elseif ( - isset($dun_exp[$this->info['dungeon']]) && - $dun_exp[$this->info['dungeon']] >= $dun_limitForLevel[(int)$this->users[$this->uids[$id1]]['level']] - ) { // , . - $e = 0; - } elseif ( - isset($dun_exp[$this->info['dungeon']]) && - $dun_limitForLevel[(int)$this->users[$this->uids[$id1]]['level']] > $dun_exp[$this->info['dungeon']] - ) { // . - if (($dun_exp[$this->info['dungeon']] + $e) > $dun_limitForLevel[(int)$this->users[$this->uids[$id1]]['level']]) { - // , . - $e = abs($e - abs($dun_limitForLevel[(int)$this->users[$this->uids[$id1]]['level']] - ($e + $dun_exp[$this->info['dungeon']]))); - $dun_exp[$this->info['dungeon']] += $e; - } elseif ($dun_limitForLevel[(int)$this->users[$this->uids[$id1]]['level']] > ($dun_exp[$this->info['dungeon']] + $e)) { - // , . - $dun_exp[$this->info['dungeon']] += $e; - } else { - $e = 0; - } - } else { // . - $e = 0; - } - } else // . - { - if ($this->info['dungeon'] == 102) { - $e = floor($e * 0.002); - } - } - } - - $this->users[$this->uids[$id1]]['battle_exp'] += floor($e); - // - if (!$mgregen) { - $this->users[$this->uids[$id1]]['battle_yron'] += floor($y); - if ($this->stats[$this->uids[$id1]]['notactic'] != 1) { - if ($s2['hpAll'] <= 1000) { - if ($this->stats[$this->uids[$id2]]['this_animal'] == 0) { - $this->users[$this->uids[$id1]]['tactic6'] += round(0.1 * (floor($y) / $s2['hpAll'] * 100), - 10); - } else { - $this->users[$this->uids[$id1]]['tactic6'] += round(0.1 * (floor($y) / $s2['hpAll'] * 100), - 10) / 3; - } - } else { - if ($this->stats[$this->uids[$id2]]['this_animal'] == 0) { - $this->users[$this->uids[$id1]]['tactic6'] += round(0.1 * (floor($y) / 1000 * 100), 10); - } else { - $this->users[$this->uids[$id1]]['tactic6'] += round(0.1 * (floor($y) / 1000 * 100), 10) / 3; - } - } - } - } - - $upd = mysql_query('UPDATE `stats` SET `last_hp` = ' . $this->users[$this->uids[$id1]]['last_hp'] . ',`tactic6` = ' . $this->users[$this->uids[$id1]]['tactic6'] . ',`battle_yron` = ' . $this->users[$this->uids[$id1]]['battle_yron'] . ',`battle_exp` = ' . $this->users[$this->uids[$id1]]['battle_exp'] . ' WHERE `id` = ' . (int)$id1); - if (!$upd) { - echo '[ ]'; - } else { - $this->stats[$this->uids[$id1]]['battle_exp'] = $this->users[$this->uids[$id1]]['battle_exp']; - $this->clear_cache($id1); - $this->stats[$this->uids[$id1]]['tactic6'] = $this->users[$this->uids[$id1]]['tactic6']; - if ($id1 == $u->info['id']) { - $u->info['tactic6'] = $this->users[$this->uids[$id1]]['tactic6']; - $u->stats['tactic6'] = $this->users[$this->uids[$id1]]['tactic6']; - $u->info['battle_exp'] = $this->users[$this->uids[$id1]]['battle_exp']; - $u->info['battle_yron'] = $this->users[$this->uids[$id1]]['battle_yron']; - $u->info['notactic'] = $this->users[$this->uids[$id1]]['notactic']; - $u->stats['notactic'] = $this->users[$this->uids[$id1]]['notactic']; - } - } - unset($s1, $s2); - } - } - - /** . - * @param $uid - * @param $y - * @return void - * @todo Priems. - */ - public function takeYronNow($uid, $y) - { - global $u; - $this->users[$this->uids[$uid]]['battle_yron'] += floor($y); - $this->stats[$this->uids[$uid]]['battle_yron'] += floor($y); - if ($uid == $u->info['id']) { - $u->info['battle_yron'] += floor($y); - $u->stats['battle_yron'] += floor($y); - } - mysql_query('UPDATE `stats` SET `battle_yron` = `battle_yron` + ' . mysql_real_escape_string(floor($y)) . ' WHERE `id` = ' . (int)$uid); - } - - /** JS . , _battles.. - * @param $id - * @param $t - * @return false|string - */ - public function myInfo($id, $t) - { - global $u; - if (isset($this->users[$this->uids[$id]]) || $u->info['id'] == $id) { - if ($u->info['id'] == $id || ($u->info['enemy'] == $id && $id > 0)) { - // - $this->users[$this->uids[$id]] = mysql_fetch_array(mysql_query('SELECT - - `u`.`zag`,`u`.`id`,`u`.`login`,`u`.`login2`,`u`.`online`,`u`.`admin`,`u`.`city`,`u`.`cityreg`,`u`.`align`,`u`.`align_lvl`,`u`.`align_exp`,`u`.`clan`, - `u`.`level`,`u`.`money`,`u`.`money3`,`u`.`money2`,`u`.`money4`,`u`.`battle`,`u`.`sex`,`u`.`obraz`,`u`.`win`,`u`.`win_t`, - `u`.`lose`,`u`.`lose_t`,`u`.`nich`,`u`.`timeMain`,`u`.`invis`,`u`.`bot_id`,`u`.`animal`,`u`.`type_pers`, - `u`.`notrhod`,`u`.`bot_room`,`u`.`inUser`,`u`.`inTurnir`,`u`.`inTurnirnew`,`u`.`activ`,`u`.`stopexp`,`u`.`real`, - - `st`.* - - FROM `users` AS `u` LEFT JOIN `stats` AS `st` ON (`u`.`id` = `st`.`id`) WHERE `u`.`id` = "' . $id . '" LIMIT 1')); - $this->stats[$this->uids[$id]] = $u->getStats($this->users[$this->uids[$id]], 0, 0, false, false, true); - } - - $ur = $this->users[$this->uids[$id]]; - $st = $this->stats[$this->uids[$id]]; - $itm = $this->stats[$this->uids[$id]]['items']; - $eff = $this->stats[$this->uids[$id]]['effects']; - $ef = ''; - $i = 0; - if ($u->info['seff'] < 1) { - $ef .= '
    \',event,3,1,1,1,\'\');\" onmouseout=\"top.hic();\" onmousedown=\"top.hic();\">
    '; - - while ($i != -1) { - $nseef = 0; - if ($this->users[$this->uids[$ur['id']]]['id'] != $u->info['id'] && $ur['id'] != 0) { - if ($this->stats[$this->uids[$ur['id']]]['seeAllEff'] != 1) { - $nseef = 1; - if ($eff[$i]['v1'] == 'priem') { - $eff[$i]['priem'] = mysql_fetch_array(mysql_query('SELECT * FROM `priems` WHERE `id` = "' . $eff[$i]['v2'] . '" LIMIT 1')); - } - if (isset($eff[$i]['priem']['id']) && $eff[$i]['priem']['neg'] == 1) { - $nseef = 0; - } - } - } - - if (isset($eff[$i]) && $eff[$i] != 'delete') { - if ($nseef == 0) { - $ei = '' . $eff[$i]['name'] . ''; - if ($eff[$i]['x'] > 1) { - $ei .= ' x' . $eff[$i]['x'] . ' '; - } - if ($eff[$i]['type1'] > 0 && $eff[$i]['type1'] < 7) { - $ei .= ' ()'; - } elseif (($eff[$i]['type1'] > 6 && $eff[$i]['type1'] < 11) || $eff[$i]['type1'] == 16) { - $ei .= ' ()'; - } elseif ($eff[$i]['type1'] == 14) { - $ei .= ' ()'; - } elseif ($eff[$i]['type1'] == 15) { - $ei .= ' ()'; - } elseif ($eff[$i]['type1'] == 17) { - $ei .= ' ()'; - } elseif ($eff[$i]['type1'] == 18 || $eff[$i]['type1'] == 19) { - $ei .= ' ()'; - } elseif ($eff[$i]['type1'] == 20) { - $ei .= ' ()'; - } elseif ($eff[$i]['type1'] == 22) { - $ei .= ' ()'; - } else { - $ei .= ' ()'; - } - $ei .= '
    '; - - $out = ''; - $time_still = ($eff[$i]['timeUse'] + ($eff[$i]['timeAce'] - $eff[$i]['timeUse']) + $eff[$i]['actionTime']); - if ($eff[$i]['timeAce'] == 0) { - $time_still += $eff[$i]['timeUse']; - } - $time_still -= time(); - if ($eff[$i]['bp'] == 0 && $eff[$i]['timeUse'] != 77) { - if ($eff[$i]['type1'] != 13) { - $ei .= ': ' . $u->timeOut($time_still); - } - } else { - if ($eff[$i]['timeUse'] != 77 && $eff[$i]['hod'] < 1) { - $ei .= ': ' . $u->timeOut($time_still); - } elseif ($eff[$i]['hod'] >= 0) { - $ei .= ': ' . $eff[$i]['hod']; - } - } - - if ($eff[$i]['user_use'] != '') { - if ($this->users[$this->uids[$eff[$i]['user_use']]]['login2'] != '') { - $ei .= '
    : ' . $this->users[$this->uids[$eff[$i]['user_use']]]['login2'] . ''; - } elseif ($this->users[$this->uids[$eff[$i]['user_use']]]['login'] != '') { - $ei .= '
    : ' . $this->users[$this->uids[$eff[$i]['user_use']]]['login'] . ''; - } - } - - // - $tr = ''; - $ti = $u->items['add']; - $x = 0; - $ed = $this->lookStats($eff[$i]['data']); - while ($x < count($ti)) { - $n = $ti[$x]; - if (isset($ed['add_' . $n], $u->is[$n]) && $n != 'pog') { - $z = ''; - if ($ed['add_' . $n] > 0) { - $z = '+'; - } - $tr .= '
    ' . $u->is[$n] . ': ' . $z . $ed['add_' . $n]; - } - $x++; - } - - if ($ed['add_mib1'] != 0) { - if ($ed['add_mab1'] != 0) { - $tr .= '
    : ' . $ed['add_mib1'] . '-' . $ed['add_mab1']; - } else { - $m1l = $ed['add_mib1']; - if ($m1l > 0) { - $m1l = '+' . $m1l; - } - $tr .= '
    : ' . $m1l; - } - } - if ($ed['add_mib2'] != 0) { - if ($ed['add_mab2'] != 0) { - $tr .= '
    : ' . $ed['add_mib2'] . '-' . $ed['add_mab2']; - } else { - $m1l = $ed['add_mib2']; - if ($m1l > 0) { - $m1l = '+' . $m1l; - } - $tr .= '
    : ' . $m1l; - } - } - if ($ed['add_mib3'] != 0) { - if ($ed['add_mab3'] != 0) { - $tr .= '
    : ' . $ed['add_mib3'] . '-' . $ed['add_mab3']; - } else { - $m1l = $ed['add_mib3']; - if ($m1l > 0) { - $m1l = '+' . $m1l; - } - $tr .= '
    : ' . $m1l; - } - } - if ($ed['add_mib4'] != 0) { - if ($ed['add_mab4'] != 0) { - $tr .= '
    : ' . $ed['add_mib4'] . '-' . $ed['add_mab4']; - } else { - $m1l = $ed['add_mib4']; - if ($m1l > 0) { - $m1l = '+' . $m1l; - } - $tr .= '
    : ' . $m1l; - } - } - - $efix = 0; - if (isset($ed['add_pog2']) && $ed['add_pog2'] > 0) { - $efix = $ed['add_pog2']; - } - if (isset($ed['add_pog'])) { - $tr .= '
    ' . $ed['add_pog'] . ' . '; - } - if (isset($ed['add_pog2'])) { - $tr .= '
    ' . $ed['add_pog2'] . ' . (' . $ed['add_pog2p'] . '%)'; - } - - if ($tr != '') { - $ei .= $tr; - } - if ($eff[$i]['info'] != '') { - $ei .= '
    :
    ' . $eff[$i]['info']; - } - - $ef .= '
    '; - unset($efix); - } - } elseif ($eff[$i] != 'delete') { - $i = -2; - } - $i++; - } - } else { - $ef .= '
    \',event,3,1,1,1,\'\');\" onmouseout=\"top.hic();\" onmousedown=\"top.hic();\">
    '; - } - - $ca = ''; - if ($ur['clan'] > 0) { - $cl = mysql_fetch_array(mysql_query('SELECT * FROM `clan` WHERE `id` = ' . $ur['clan'])); - if (isset($cl['id'])) { - $ca = ''; - } - } - if ($ur['align'] > 0) { - $ca = '' . $ca; - } - if ($ur['login2'] == '') { - $ur['login2'] = $ur['login']; - } - if (floor($st['hpNow']) > $st['hpAll']) { - $st['hpNow'] = $st['hpAll']; - } - if (floor($st['mpNow']) > $st['mpAll']) { - $st['mpNow'] = $st['mpAll']; - } - $stsua = '' . $ur['login2'] . ''; - $stsua .= '
    : ' . $st['s1']; - $stsua .= '
    : ' . $st['s2']; - $stsua .= '
    : ' . $st['s3']; - $stsua .= '
    : ' . $st['s4']; - if ($st['s5'] != 0) { - $stsua .= '
    : ' . $st['s5']; - } - if ($st['s6'] != 0) { - $stsua .= '
    : ' . $st['s6']; - } - if ($st['s7'] != 0) { - $stsua .= '
    : ' . $st['s7']; - } - if ($u->info['admin'] > 0) { - $align = $ur['align']; - } - $tp_img = [ - 1 => 4, - 2 => 5, - 14 => 6, - 3 => 7, - 5 => 8, - 7 => 9, - 17 => 10, - 16 => 11, - 13 => 12, - 10 => 13, - 9 => 14, - 8 => 15, - 11 => 17, // 2 - 12 => 18 // 3 - ]; - $info = 'info_reflesh(' . $t . ',' . $ur['id'] . ',"' . $ca . '' . $ur['login2'] . ' [' . $ur['level'] . '] ","' . $ur['obraz'] . '",' . floor($st['hpNow']) . ',' . floor($st['hpAll']) . ',' . floor($st['mpNow']) . ',' . floor($st['mpAll']) . ',0,' . $ur['sex'] . ',"' . $ef . '","' . $stsua . '", "' . $align . '", "' . $ur['zag'] . '");shpb();'; - $i = 0; - while ($i < count($itm)) { - // - if (isset($st['items_img'][$tp_img[$itm[$i]['inOdet']]])) { - $itm[$i]['img'] = $st['items_img'][$tp_img[$itm[$i]['inOdet']]]; - } - // - $ttl = '' . $itm[$i]['name'] . ''; - $td = $this->lookStats($itm[$i]['data']); - $lvar = ''; - if ($td['add_hpAll'] > 0) { - $td['add_hpAll'] = '+' . $td['add_hpAll']; - $lvar .= '
    : ' . $td['add_hpAll']; - } - if ($td['sv_yron_max'] > 0 || $td['sv_yron_min'] > 0) { - $lvar .= '
    : ' . (0 + $td['sv_yron_min']) . '-' . (0 + $td['sv_yron_max']); - } - if ($td['add_mab1'] > 0) { - if ($td['add_mib1'] == $td['add_mab1'] && $pl['geniration'] == 1) { - $m1l = '+'; - $lvar .= '
    : ' . $m1l . (0 + $td['add_mab1']); - } else { - $lvar .= '
    : ' . (0 + $td['add_mib1']) . '-' . (0 + $td['add_mab1']); - } - } - if ($td['add_mab2'] > 0) { - if ($td['add_mib2'] == $td['add_mab2'] && $pl['geniration'] == 1) { - $m1l = '+'; - $lvar .= '
    : ' . $m1l . (0 + $td['add_mab2']); - } else { - $lvar .= '
    : ' . (0 + $td['add_mib2']) . '-' . (0 + $td['add_mab2']); - } - } - if ($td['add_mab3'] > 0) { - if ($td['add_mib3'] == $td['add_mab3'] && $pl['geniration'] == 1) { - $m1l = '+'; - $lvar .= '
    : ' . $m1l . (0 + $td['add_mab3']); - } else { - $lvar .= '
    : ' . (0 + $td['add_mib3']) . '-' . (0 + $td['add_mab3']); - } - } - if ($td['add_mab4'] > 0) { - if ($td['add_mib4'] == $td['add_mab4'] && $pl['geniration'] == 1) { - $m1l = '+'; - $lvar .= '
    : ' . $m1l . (0 + $td['add_mab4']); - } else { - $lvar .= '
    : ' . (0 + $td['add_mib4']) . '-' . (0 + $td['add_mab4']); - } - } - if ($itm[$i]['iznosMAX'] > 0) { - if ($itm[$i]['iznosMAXi'] == 999999999) { - $lvar .= '
    : '; - } else { - $lvar .= '
    : ' . floor($itm[$i]['iznosNOW']) . '/' . floor($itm[$i]['iznosMAX']); - } - } - $ttl .= $lvar; - $ccv = ''; - - if ($itm[$i]['magic_inci'] != '' || $itm[$i]['magic_inc'] != '') { - if ($itm[$i]['magic_inc'] == '') { - $itm[$i]['magic_inc'] = $itm[$i]['magic_inci']; - } - $temp01 = mysql_query('SELECT * FROM `eff_main` WHERE `id2` = ' . $itm[$i]['magic_inc'] . ' AND `type1` = 12345 LIMIT 1'); - if ($temp01) { - $mgi = mysql_fetch_array($temp01); - if (isset($mgi['id2'])) { - $ccv .= 'top.useMagicBattle(\'' . $mgi['mname'] . '\',' . $itm[$i]['id'] . ',\'' . $mgi['img'] . '\',1,2);'; - } - } - } - - $info .= 'abitms(' . (0 + $t) . ',' . (0 + $itm[$i]['uid']) . ',' . (0 + $itm[$i]['id']) . ',' . (0 + $itm[$i]['inOdet']) . ',"' . $itm[$i]['name'] . '","' . $ttl . '","' . $itm[$i]['img'] . '","' . $ccv . '");'; - $i++; - } - - return $info; - } else { - return false; - } - } - - // - public function testUsersLive() - { - $tl = 0; - for ($i = 0; $i < count($this->uids); $i++) { - if ($this->stats[$i]['id'] <= 0) { - continue; - } - if (isset($tml[$this->users[$i]['team']]) || floor($this->stats[$i]['hpNow']) < 1) { - continue; - } - $tml[$this->users[$i]['team']] = 1; - $tl++; - if ($tl > 1) { - break; - } - } - return $tl > 1; - } - - // - private function miniLogAdd(array $user, $text) - { - $time = time(); - $vLog = 'at1=00000||at2=00000||zb1=0||zb2=0||bl1=0||bl2=0||time1=' . $time . - '||time2=' . $time . - '||s1=' . $user['sex'] . - '||t1=' . $user['team'] . - '||login1=' . $user['login'] . - '||'; - $mas1 = [ - 'time' => $time, - 'battle' => $this->info['id'], - 'id_hod' => ($this->hodID + 1), - 'text' => $text, - 'vars' => $vLog, - 'zona1' => '', - 'zonb1' => '', - 'zona2' => '', - 'zonb2' => '', - 'type' => '1', - ]; - - $this->add_log($mas1); - } - - /** . - *
    [ ]: . - * @return void - */ - public function testFinish() - { - global $u; - // - mysql_query('START TRANSACTION;'); - // - $test = mysql_fetch_array(mysql_query('SELECT `id` FROM `battle` WHERE `id` = "' . $this->info['id'] . '" AND `team_win` = -1 LIMIT 1 FOR UPDATE')); - // - mysql_query('COMMIT;'); - // - if ($this->info['team_win'] == -1 && isset($test['id'])) { - $hp = []; - $tml = []; - $tmv = []; - $tl = 0; - $i = 0; - $j = 0; - while ($i < count($this->uids)) { - if ($this->stats[$i]['id'] > 0) { - if (floor($this->stats[$i]['hpNow']) < 1) { - $this->stats[$i]['hpNow'] = 0; - } - $hp[$this->users[$i]['team']] += floor($this->stats[$i]['hpNow']); - if (!isset($tml[$this->users[$i]['team']]) && floor($this->stats[$i]['hpNow']) >= 1) { - $tml[$this->users[$i]['team']] = 1; - $tmv[$j] = $this->users[$i]['team']; - $tl++; - } - } - $i++; - } - - if ($tl <= 1) { - //. - $tmHpNow = []; - $tmNow = []; - $sp = mysql_query('SELECT `u`.`login`,`u`.`id`,`u`.`battle`,`s`.`team`,`s`.`hpNow` FROM `users` AS `u` LEFT JOIN `stats` AS `s` ON `s`.`id` = `u`.`id` WHERE `u`.`battle` = "' . $this->info['id'] . '"'); - while ($pl = mysql_fetch_array($sp)) { - if (!isset($tmHpNow[$pl['team']])) { - $tmHpNow[$pl['team']] = 0; - $tmNow[] = $pl['team']; - } - $hpTm = floor($pl['hpNow']); - if ($hpTm < 0) { - $hpTm = 0; - } - if ($hpTm > 0) { - $tmHpNow[$pl['team']] += $pl['hpNow']; - } - } - $gdj = 0; - $i = 0; - while ($i < count($tmNow)) { - if (isset($tmNow[$i])) { - $j = $tmNow[$i]; - if ($tmHpNow[$j] > 0) { - $gdj++; - } - } - $i++; - } - if ($gdj > 1) { - $tl = $gdj; - echo ' ... ( )'; - } - } - - if ($tl <= 1) { - // , - , - - $i = 0; - $tmwin = 0; - while ($i < count($tmv)) { - if ($tmv[$i] >= 1 && $tml[$tmv[$i]] > 0) { - $tmwin = $tmv[$i]; - } - $i++; - } - - if ($this->info['izlom'] == 0) { - $rs = ''; - $ts = []; - $tsi = 0; - if ($this->info['id'] > 0) { - // - unset($this->users, $this->stats, $this->uids, $this->bots, $this->iBots); - $trl = mysql_query('SELECT `u`.`no_ip`,`u`.`id`,`u`.`notrhod`,`u`.`login`,`u`.`login2`,`u`.`sex`,`u`.`online`,`u`.`admin`,`u`.`align`,`u`.`align_lvl`,`u`.`align_exp`,`u`.`clan`,`u`.`level`,`u`.`battle`,`u`.`obraz`,`u`.`win`,`u`.`lose`,`u`.`nich`,`u`.`animal`,`st`.`stats`,`st`.`hpNow`,`st`.`mpNow`,`st`.`exp`,`st`.`dnow`,`st`.`team`,`st`.`battle_yron`,`st`.`battle_exp`,`st`.`enemy`,`st`.`battle_text`,`st`.`upLevel`,`st`.`timeGo`,`st`.`timeGoL`,`st`.`bot`,`st`.`lider`,`st`.`btl_cof`,`st`.`tactic1`,`st`.`tactic2`,`st`.`tactic3`,`st`.`tactic4`,`st`.`tactic5`,`st`.`tactic6`,`st`.`tactic7`,`st`.`x`,`st`.`y`,`st`.`battleEnd`,`st`.`priemslot`,`st`.`priems`,`st`.`priems_z`,`st`.`bet`,`st`.`clone`,`st`.`atack`,`st`.`bbexp`,`st`.`res_x`,`st`.`res_y`,`st`.`res_s`,`st`.`id`,`st`.`last_hp`,`st`.`last_pr`,`u`.`sex`,`u`.`money`,`u`.`money3`,`u`.`money2`,`u`.`bot_id` FROM `users` AS `u` LEFT JOIN `stats` AS `st` ON (`u`.`id` = `st`.`id`) WHERE `u`.`battle` = "' . $this->info['id'] . '" ORDER BY `st`.`bot` DESC'); - $ir = 0; - $bi = 0; - $this->users = null; - $this->stats = null; - $this->uids = null; - $this->bots = null; - $this->iBots = null; - while ($pl = mysql_fetch_array($trl)) { - // - if ($pl['login2'] == '') { - $pl['login2'] = $pl['login']; - } - $this->users[$ir] = $pl; - $this->uids[$pl['id']] = $ir; - if ($pl['bot'] > 0) { - $this->bots[$bi] = $pl['id']; - $this->iBots[$pl['id']] = $bi; - $bi++; - } - // - $this->stats[$ir] = $u->getStats($pl, 0, 0, false, false, true); - $ir++; - } - } - } elseif (!isset($this->uids[$u->info['id']])) { - $rs = ''; - $ts = []; - $tsi = 0; - if ($this->info['id'] > 0) { - // - $trl = mysql_query('SELECT `u`.`no_ip`,`u`.`id`,`u`.`notrhod`,`u`.`login`,`u`.`login2`,`u`.`sex`,`u`.`online`,`u`.`admin`,`u`.`align`,`u`.`align_lvl`,`u`.`align_exp`,`u`.`clan`,`u`.`level`,`u`.`battle`,`u`.`obraz`,`u`.`win`,`u`.`lose`,`u`.`nich`,`u`.`animal`,`st`.`stats`,`st`.`hpNow`,`st`.`mpNow`,`st`.`exp`,`st`.`dnow`,`st`.`team`,`st`.`battle_yron`,`st`.`battle_exp`,`st`.`enemy`,`st`.`battle_text`,`st`.`upLevel`,`st`.`timeGo`,`st`.`timeGoL`,`st`.`bot`,`st`.`lider`,`st`.`btl_cof`,`st`.`tactic1`,`st`.`tactic2`,`st`.`tactic3`,`st`.`tactic4`,`st`.`tactic5`,`st`.`tactic6`,`st`.`tactic7`,`st`.`x`,`st`.`y`,`st`.`battleEnd`,`st`.`priemslot`,`st`.`priems`,`st`.`priems_z`,`st`.`bet`,`st`.`clone`,`st`.`atack`,`st`.`bbexp`,`st`.`res_x`,`st`.`res_y`,`st`.`res_s`,`st`.`id`,`st`.`last_hp`,`st`.`last_pr`,`u`.`sex`,`u`.`money`,`u`.`bot_id`,`u`.`money3`,`u`.`money2` FROM `users` AS `u` LEFT JOIN `stats` AS `st` ON (`u`.`id` = `st`.`id`) WHERE `u`.`id` = "' . $this->info['id'] . '" LIMIT 1'); - $pl = mysql_fetch_array($trl); - // - if ($pl['login2'] == '') { - $pl['login2'] = $pl['login']; - } - $this->users[] = $pl; - $this->uids[$pl['id']] = $ir; - if ($pl['bot'] > 0) { - $this->bots[] = $pl['id']; - $this->iBots[$pl['id']] = $bi; - } - // - $this->stats[] = $u->getStats($pl, 0, 0, false, false, true); - } - } - - - if ($this->info['izlom'] > 0 && $tmwin == 1) { - // - $i = 0; - $dlt = ''; - $dlt2 = ''; - $sp = mysql_query('SELECT `users`.`id`,`stats`.`bot`,`stats`.`team` FROM `users`,`stats` WHERE `users`.`battle` = "' . $this->info['id'] . '" AND `stats`.`id` = `users`.`id` LIMIT 250'); - while ($pl = mysql_fetch_array($sp)) { - if ($pl['bot'] == 1 && $pl['team'] != $u->info['team']) { - $dlt .= ' `id`="' . $pl['id'] . '" OR'; - $dlt2 .= ' `uid`="' . $pl['id'] . '" OR'; - $i++; - } - } - - if ($i > 0) { - $dlt = trim($dlt, 'OR'); - $dlt2 = trim($dlt2, 'OR'); - mysql_query('DELETE FROM `users` WHERE ' . $dlt . ' LIMIT ' . $i); - mysql_query('DELETE FROM `stats` WHERE ' . $dlt . ' LIMIT ' . $i); - mysql_query('DELETE FROM `items_users` WHERE ' . $dlt2 . ' LIMIT ' . ($i * 100)); - mysql_query('DELETE FROM `eff_users` WHERE ' . $dlt2 . ' LIMIT ' . ($i * 100)); - } - - unset($i, $dlt, $dlt2); - - $j = 0; - $k = 0; - $obr = 0; - - // , - if ($this->get_chanse(20)) { - // - if ($this->info['izlomLvl'] == 8) { - $bots = [ - ' ', - ' ', - '', - ' ', - ' ', - ]; - //$bots = array( ' ' ); - } - $logins_bot = []; - // - echo '
    ...
    '; - // - $id2 = rand(0, (count($bots) - 1)); - $id = mysql_fetch_array(mysql_query('SELECT * FROM `test_bot` WHERE `login` = "' . $bots[$id2] . '" AND `pishera` != "" AND `active` = "1" ORDER BY `level` DESC LIMIT 1')); - $bot = $u->addNewbot($id['id'], null, null, $logins_bot, null, - round($this->info['izlomRoundSee'])); - if (isset($id['id']) && $bot) { - // - $btxt = ''; - if ($id['align'] > 0) { - $btxt = $btxt . ''; - } - if ($id['clan'] > 0) { - $btxt = $btxt . ''; - } - $btxt = $btxt . '{u1}[' . $id['level'] . ']'; - if ($id['sex'] == 1) { - $btxt = $btxt . ' .'; - } else { - $btxt = $btxt . ' .'; - } - $this->miniLogAdd([ - 'login' => $id['login'], - 'sex' => $id['sex'], - 'team' => 0, - ], '{tm1} ' . $btxt); - // - $logins_bot = $bot['logins_bot']; - mysql_query('UPDATE `users` SET `battle`="' . $this->info['id'] . '" WHERE `id` = "' . $bot['id'] . '" LIMIT 1'); - mysql_query('UPDATE `stats` SET `team`="2" WHERE `id` = "' . $bot['id'] . '" LIMIT 1'); - $u->addAction(time(), 'win_bot_' . $id['id'], '', $this->users[$i]['id']); - if (rand(0, 10000) < 1500) { - $obr++; - } - $j++; - } - } else { - // - if ($this->info['izlomLvl'] == 8) { - $bots = [ - '', - ' ', - ' ', - ' ', - ' ', - ' ', - ' ', - ]; - } - $logins_bot = []; - // - $id2 = rand(0, (count($bots) - 1)); - $id = mysql_fetch_array(mysql_query('SELECT * FROM `test_bot` WHERE `login` = "' . $bots[$id2] . '" AND `level` <= "' . $u->info['level'] . '" AND `pishera` != "" AND `active` = "1" ORDER BY `level` DESC LIMIT 1')); - $bot = $u->addNewbot($id['id'], null, null, $logins_bot, null, - ($this->info['izlomRoundSee'] * 2)); - if (isset($id['id']) && $bot) { - // - $btxt = ''; - if ($id['align'] > 0) { - $btxt = $btxt . ''; - } - if ($id['clan'] > 0) { - $btxt = $btxt . ''; - } - $btxt = $btxt . '{u1}[' . $id['level'] . ']'; - if ($id['sex'] == 1) { - $btxt = $btxt . ' .'; - } else { - $btxt = $btxt . ' .'; - } - $this->miniLogAdd([ - 'login' => $id['login'], - 'sex' => $id['sex'], - 'team' => 0, - ], '{tm1} ' . $btxt); - // - $logins_bot = $bot['logins_bot']; - mysql_query('UPDATE `users` SET `battle`="' . $this->info['id'] . '" WHERE `id` = "' . $bot['id'] . '" LIMIT 1'); - mysql_query('UPDATE `stats` SET `team`="2" WHERE `id` = "' . $bot['id'] . '" LIMIT 1'); - if (rand(0, 10000) < 1500) { - $obr++; - } - $j++; - } - // - $id2 = rand(0, (count($bots) - 1)); - $id = mysql_fetch_array(mysql_query('SELECT * FROM `test_bot` WHERE `login` = "' . $bots[$id2] . '" AND `level` <= "' . $u->info['level'] . '" AND `pishera` != "" AND `active` = "1" ORDER BY `level` DESC LIMIT 1')); - $bot = $u->addNewbot($id['id'], null, null, $logins_bot, null, $this->info['izlomRoundSee']); - if (isset($id['id']) && $bot) { - // - $btxt = ''; - if ($id['align'] > 0) { - $btxt = $btxt . ''; - } - if ($id['clan'] > 0) { - $btxt = $btxt . ''; - } - $btxt = $btxt . '{u1}[' . $id['level'] . ']'; - if ($id['sex'] == 1) { - $btxt = $btxt . ' .'; - } else { - $btxt = $btxt . ' .'; - } - $this->miniLogAdd([ - 'login' => $id['login'], - 'sex' => $id['sex'], - 'team' => 0, - ], '{tm1} ' . $btxt); - // - $logins_bot = $bot['logins_bot']; - mysql_query('UPDATE `users` SET `battle`="' . $this->info['id'] . '" WHERE `id` = "' . $bot['id'] . '" LIMIT 1'); - mysql_query('UPDATE `stats` SET `team`="2" WHERE `id` = "' . $bot['id'] . '" LIMIT 1'); - if (rand(0, 10000) < 1500) { - $obr++; - } - $j++; - } - // - if (rand(0, 100) < 70) { - $id2 = rand(0, (count($bots) - 1)); - $id = mysql_fetch_array(mysql_query('SELECT * FROM `test_bot` WHERE `login` = "' . $bots[$id2] . '" AND `level` <= "' . $u->info['level'] . '" AND `pishera` != "" AND `active` = "1" ORDER BY `level` DESC LIMIT 1')); - $bot = $u->addNewbot($id['id'], null, null, $logins_bot, null, - $this->info['izlomRoundSee']); - if (isset($id['id']) && $bot) { - // - $btxt = ''; - if ($id['align'] > 0) { - $btxt = $btxt . ''; - } - if ($id['clan'] > 0) { - $btxt = $btxt . ''; - } - $btxt = $btxt . '{u1}[' . $id['level'] . ']'; - if ($id['sex'] == 1) { - $btxt = $btxt . ' .'; - } else { - $btxt = $btxt . ' .'; - } - $this->miniLogAdd([ - 'login' => $id['login'], - 'sex' => $id['sex'], - 'team' => 0, - ], '{tm1} ' . $btxt); - // - $logins_bot = $bot['logins_bot']; - mysql_query('UPDATE `users` SET `battle`="' . $this->info['id'] . '" WHERE `id` = "' . $bot['id'] . '" LIMIT 1'); - mysql_query('UPDATE `stats` SET `team`="2" WHERE `id` = "' . $bot['id'] . '" LIMIT 1'); - if (rand(0, 10000) < 1500) { - $obr++; - } - $j++; - } - } - // 10 = +1 - $irb = floor($this->info['izlomRoundSee'] / 10); - while ($irb > 0) { - // - if (rand(0, 100) < 20) { - $id2 = rand(0, (count($bots) - 1)); - $id = mysql_fetch_array(mysql_query('SELECT * FROM `test_bot` WHERE `login` = "' . $bots[$id2] . '" AND `level` <= "' . $u->info['level'] . '" AND `pishera` != "" AND `active` = "1" ORDER BY `level` DESC LIMIT 1')); - $bot = $u->addNewbot($id['id'], null, null, $logins_bot, null, - $this->info['izlomRoundSee']); - if (isset($id['id']) && $bot) { - // - $btxt = ''; - if ($id['align'] > 0) { - $btxt = $btxt . ''; - } - if ($id['clan'] > 0) { - $btxt = $btxt . ''; - } - $btxt = $btxt . '{u1}[' . $id['level'] . ']'; - if ($id['sex'] == 1) { - $btxt = $btxt . ' .'; - } else { - $btxt = $btxt . ' .'; - } - $this->miniLogAdd([ - 'login' => $id['login'], - 'sex' => $id['sex'], - 'team' => 0, - ], '{tm1} ' . $btxt); - // - $logins_bot = $bot['logins_bot']; - mysql_query('UPDATE `users` SET `battle`="' . $this->info['id'] . '" WHERE `id` = "' . $bot['id'] . '" LIMIT 1'); - mysql_query('UPDATE `stats` SET `team`="2" WHERE `id` = "' . $bot['id'] . '" LIMIT 1'); - if (rand(0, 10000) < 1500) { - $obr++; - } - $j++; - } - } - $irb--; - } - } - // - unset($logins_bot); - if ($j == 0) { - // - $this->finishBattle($tml, $tmv, null, $tl); - $fin1 = mysql_query('INSERT INTO `izlom_rating` (`uid`,`time`,`voln`,`level`,`bots`,`rep`,`obr`,`btl`) VALUES ("' . $u->info['id'] . '","' . time() . '","' . $this->info['izlomRoundSee'] . '","' . $this->info['izlomLvl'] . '","0","0","' . ($this->info['izlomObr'] - $this->info['izlomObrNow']) . '","' . $this->info['id'] . '")'); - } else { - $this->info['izlomRound'] = $iz['round']; - mysql_query('UPDATE `battle` SET `izlomObrNow` = ' . $obr . ',`izlomObr` = `izlomObr` + ' . $obr . ',`timeout` = (`timeout`+5),`izlomRound` = "' . ($this->info['izlomRound'] + 1) . '",`izlomRoundSee` = `izlomRoundSee`+1 WHERE `id` = "' . $this->info['id'] . '" LIMIT 1'); - $this->stats[$this->uids[$u->info['id']]]['hpNow'] += $this->stats[$this->uids[$u->info['id']]]['hpAll'] * 0.25; - $this->stats[$this->uids[$u->info['id']]]['mpNow'] += $this->stats[$this->uids[$u->info['id']]]['mpAll'] * 0.25; - $this->users[$this->uids[$u->info['id']]]['hpNow'] = $this->stats[$this->uids[$u->info['id']]]['hpAll']; - $this->users[$this->uids[$u->info['id']]]['mpNow'] = $this->stats[$this->uids[$u->info['id']]]['mpAll']; - $vLog = 'at1=00000||at2=00000||zb1=' . $this->stats[$this->uids[$u1]]['zonb'] . '||zb2=' . $this->stats[$this->uids[$u2]]['zonb'] . '||bl1=' . $this->atacks[$id]['b' . $a] . '||bl2=' . $this->atacks[$id]['b' . $b] . '||time1=' . $this->atacks[$id]['time'] . '||time2=' . $this->atacks[$id]['time2'] . '||s2=' . $this->users[$this->uids[$u2]]['sex'] . '||s1=' . $this->users[$this->uids[$u1]]['sex'] . '||t2=' . $this->users[$this->uids[$u2]]['team'] . '||t1=' . $this->users[$this->uids[$u1]]['team'] . '||login1=' . $this->users[$this->uids[$u1]]['login2'] . '||login2=' . $this->users[$this->uids[$u2]]['login2'] . ''; - - $mas = [ - 'time' => time(), - 'battle' => $this->info['id'], - 'id_hod' => ($this->hodID + 1), - 'vars' => $vLog, - 'type' => 1, - ]; - if ($u->info['sex'] == 1) { - $mas['text'] = '' . date('H:i') . ' ' . $u->info['login'] . ' "".'; - } else { - $mas['text'] = '' . date('H:i') . ' ' . $u->info['login'] . ' "".'; - } - if ($u->stats['hpNow'] < $u->stats['hpAll']) { - $hpSks = floor(($u->stats['hpAll'] * ((rand(15, 25)) / 100))); - if ($hpSks > floor($u->stats['hpAll'] - $u->stats['hpNow'])) { - $hpSks = floor($u->stats['hpAll'] - $u->stats['hpNow']); - } - $mas['text'] .= ' +' . $hpSks . ''; - } else { - $hpSks = 0; - $mas['text'] .= ' --'; - } - $mas['text'] .= ' [' . floor($u->info['hpNow'] + $hpSks) . '/' . $u->stats['hpAll'] . ']'; - $this->add_log($mas); - - mysql_query('UPDATE `stats` SET `hpNow` = "' . ($u->info['hpNow'] + ($u->stats['hpAll'] * ((rand(15, - 25)) / 100))) . '",`mpNow` = "' . ($u->info['mpNow'] + ($u->stats['mpAll'] * 0.25)) . '" WHERE `id` = "' . $u->info['id'] . '" LIMIT 1'); - } - } else { - // - $this->finishBattle($tml, $tmv, null, $tl); - if ($this->info['izlom'] > 0) { - $fin1 = mysql_query('INSERT INTO `izlom_rating` (`uid`,`time`,`voln`,`level`,`bots`,`rep`,`obr`,`btl`) VALUES ("' . $u->info['id'] . '","' . time() . '","' . $this->info['izlomRoundSee'] . '","' . $this->info['izlomLvl'] . '","0","0","' . ($this->info['izlomObr'] - $this->info['izlomObrNow']) . '","' . $this->info['id'] . '")'); - } - } - if (isset($fin1)) { - mysql_query('INSERT INTO `eff_users` (`no_Ace`,`id_eff`,`overType`,`uid`,`name`,`data`,`timeUse`) VALUES ("1","31","23","' . $u->info['id'] . '"," ","nofastfinisheff=1","' . time() . '")'); - mysql_query("INSERT INTO `chat` (`new`,`city`,`room`,`login`,`to`,`text`,`time`,`type`,`toChat`) VALUES ('1','" . $u->info['city'] . "','" . $u->info['room'] . "','','" . $u->info['login'] . "',' ""x" . (($this->info['izlomObr'] - $this->info['izlomObrNow']) * 7) . "','" . time() . "','6','0')"); - $i01 = 1; - while ($i01 <= (($this->info['izlomObr'] - $this->info['izlomObrNow'])) * 7) { - $u->addItem(1226, $u->info['id'], '|sudba=' . $u->info['login']); - $i01++; - } - mysql_query('INSERT INTO `actions`(`uid`, `time`, `city`, `room`, `vars`, `ip`, `vals`, `val`) VALUES ("' . $u->info['id'] . '","' . time() . '","capitalcity","' . $u->info['room'] . '","izlom"," ","","")'); - unset($fin1); - } - } - } else { - mysql_query('START TRANSACTION;'); - $test = mysql_fetch_array(mysql_query('SELECT `id`,`team_win`, `testfinish` FROM `battle` WHERE `id` = "' . $this->info['id'] . '" AND `team_win` != -1 LIMIT 1 FOR UPDATE')); - mysql_query('COMMIT;'); - if (isset($test['id'])) { - $this->finishBattle(null, null, 10, $tl); - } - } - } - - - /** . - *
    ! Ѩ! - *
    . - * @param $t ??? - * @param $v ??? - * @param $nl ??? - * @param $tl [unused] ??? - * @return void - */ - private function finishBattle($t, $v, $nl, $tl) - { - global $u, $c; - mysql_query('LOCK TABLES users,stats,battle,battle_last,battle_end,chat WRITE'); - $frtu = false; - $test = mysql_fetch_array(mysql_query('SELECT `id`,`team_win`,`testfinish` FROM `battle` WHERE `id` = "' . $this->info['id'] . '" AND `team_win` != -1 LIMIT 1;')); - if ($test['testfinish'] != -1) { - $trtt = mysql_query('UPDATE `battle` SET `testfinish` = "-1" WHERE `id` = "' . $this->info['id'] . '" LIMIT 1'); - $relbf = $this->info['team_win']; - if ($nl != 10) { - $i = 0; - $dnr = 0; - if ($this->info['team_win'] == -1) { - $this->info['team_win'] = 0; - while ($i < count($v)) { - if ($v[$i] >= 1 && $t[$v[$i]] > 0) { - $this->info['team_win'] = $v[$i]; - } - $i++; - } - } - } - - - // - $t = mysql_query('SELECT `u`.`stopexp`,`u`.`twink`,`u`.`city`,`u`.`room`,`u`.`no_ip`,`u`.`pass`,`u`.`id`,`u`.`notrhod`,`u`.`login`,`u`.`login2`,`u`.`sex`,`u`.`online`,`u`.`admin`,`u`.`align`,`u`.`align_lvl`,`u`.`align_exp`,`u`.`clan`,`u`.`level`,`u`.`battle`,`u`.`obraz`,`u`.`win`,`u`.`lose`,`u`.`nich`,`u`.`animal`,`st`.`stats`,`st`.`hpNow`,`st`.`mpNow`,`st`.`exp`,`st`.`dnow`,`st`.`team`,`st`.`battle_yron`,`st`.`battle_exp`,`st`.`enemy`,`st`.`battle_text`,`st`.`upLevel`,`st`.`timeGo`,`st`.`timeGoL`,`st`.`bot`,`st`.`lider`,`st`.`btl_cof`,`st`.`tactic1`,`st`.`tactic2`,`st`.`tactic3`,`st`.`tactic4`,`st`.`tactic5`,`st`.`tactic6`,`st`.`tactic7`,`st`.`x`,`st`.`y`,`st`.`battleEnd`,`st`.`priemslot`,`st`.`priems`,`st`.`priems_z`,`st`.`bet`,`st`.`clone`,`st`.`atack`,`st`.`bbexp`,`st`.`res_x`,`st`.`res_y`,`st`.`res_s`,`st`.`id`,`st`.`last_hp`,`st`.`last_pr`,`u`.`sex`,`u`.`money`,`u`.`bot_id`,`u`.`money3`,`u`.`money2` FROM `users` AS `u` LEFT JOIN `stats` AS `st` ON (`u`.`id` = `st`.`id`) WHERE `u`.`battle` = "' . $this->info['id'] . '"'); - $i = 0; - $bi = 0; - while ($pl = mysql_fetch_array($t)) { - // - if ($pl['login2'] == '') { - $pl['login2'] = $pl['login']; - } - $this->users[$i] = $pl; - $this->uids[$pl['id']] = $i; - if ($pl['bot'] > 0) { - $this->bots[$bi] = $pl['id']; - $this->iBots[$pl['id']] = $bi; - $bi++; - } - // - $this->stats[$i] = $u->getStats($pl, 0, 0, false, false, true); - $i++; - } - unset($pl, $t); - - if ($this->info['time_over'] == 0) { - $tststrt = mysql_fetch_array(mysql_query('SELECT * FROM `battle` WHERE `id` = "' . $this->info['id'] . '" AND `time_over` = "0" LIMIT 1')); - if (isset($tststrt['id'])) { - if ($this->info['inTurnir'] == 0 || $this->info['type'] == 500) { - mysql_query('UPDATE `battle` SET `time_over` = "' . time() . '",`team_win` = "' . $this->info['team_win'] . '" WHERE `id` = "' . $this->info['id'] . '" LIMIT 1'); - } - mysql_query('UPDATE `battle_stat` SET `team_win` = "' . $this->info['team_win'] . '" WHERE `battle_id` = "' . $this->info['id'] . '"'); - // - $i = 0; - $vl = ''; - $vtvl = ''; - $relu = 0; - while ($i < count($this->users)) { - $vl .= '("' . $this->users[$i]['login'] . '","' . $this->users[$i]['city'] . '","' . $this->info['id'] . '","' . $this->users[$i]['id'] . '","' . time() . '","' . $this->users[$i]['team'] . '","' . $this->users[$i]['level'] . '","' . $this->users[$i]['align'] . '","' . $this->users[$i]['clan'] . '","' . $this->users[$i]['exp'] . '","' . $this->users[$i]['bot'] . '","' . $this->users[$i]['money'] . '","' . $this->users[$i]['money2'] . '","' . $this->users[$i]['money3'] . '"),'; - if ($this->users[$i]['team'] == $this->info['team_win'] && $this->info['team_win'] > 0) { - $vtvl .= '' . $this->users[$i]['login'] . ', '; - } - $i++; - } - - $this->info['players_c'] = mysql_fetch_array(mysql_query('SELECT COUNT(`id`) FROM `users` WHERE `login` NOT LIKE "%(%" AND `battle` = "' . $this->info['id'] . '" LIMIT 1')); - $this->info['players_c'] = $this->info['players_c'][0]; - - mysql_query('UPDATE `battle` SET `players_c` = "' . $this->info['players_c'] . '" WHERE `id` = "' . $this->info['id'] . '" LIMIT 1'); - - if ($vtvl != '') { - $vtvl = rtrim($vtvl, ', '); - $vtvl = str_replace('"', '\\\\\"', $vtvl); - $this->hodID++; - $vLog = 'time1=' . time(); - $mass = [ - 'time' => time(), - 'battle' => $this->info['id'], - 'id_hod' => $this->hodID, - 'text' => 'test', - 'vars' => $vLog, - 'zona1' => '', - 'zonb1' => '', - 'zona2' => '', - 'zonb2' => '', - 'type' => '1', - ]; - $vtvl = ' , ' . $vtvl . '.'; - } else { - $this->info['players_cc'] = mysql_fetch_array(mysql_query('SELECT COUNT(`u`.`id`) FROM `users` AS `u` LEFT JOIN `stats` AS `s` ON `s`.`id` = `u`.`id` WHERE `s`.`hpNow` > 0 AND `u`.`battle` = "' . $this->info['id'] . '" AND `s`.`team` != "' . $u->info['team'] . '" LIMIT 1')); - $this->info['players_cc'] = $this->info['players_cc'][0]; - $this->info['players_cc2'] = mysql_fetch_array(mysql_query('SELECT COUNT(`u`.`id`) FROM `users` AS `u` LEFT JOIN `stats` AS `s` ON `s`.`id` = `u`.`id` WHERE `s`.`hpNow` >= 1 AND `u`.`battle` = "' . $this->info['id'] . '" AND `s`.`team` != "' . $u->info['team'] . '" LIMIT 1')); - $this->info['players_cc2'] = $this->info['players_cc2'][0]; - $inf_test = ', users: ' . $this->info['players_cc'] . ' and ' . $this->info['players_cc2'] . ''; - $this->hodID++; - $vLog = 'time1=' . time(); - $mass = [ - 'time' => time(), - 'battle' => $this->info['id'], - 'id_hod' => $this->hodID, - 'text' => 'test', - 'vars' => $vLog, - 'zona1' => '', - 'zonb1' => '', - 'zona2' => '', - 'zonb2' => '', - 'type' => '1', - ]; - $vtvl = ' , .'; - } - $ins = mysql_query('INSERT INTO `battle_logs` (`time`,`battle`,`id_hod`,`text`,`vars`,`zona1`,`zonb1`,`zona2`,`zonb2`,`type`) VALUES ("' . $mass['time'] . '","' . $mass['battle'] . '","' . $mass['id_hod'] . '","' . $vtvl . '","' . $mass['vars'] . '","' . $mass['zona1'] . '","' . $mass['zonb1'] . '","' . $mass['zona2'] . '","' . $mass['zonb2'] . '","' . $mass['type'] . '")'); - - $this->saveLogs(); - - if ($this->info['type'] == 99) { - $vLog = 'time1=' . time(); - $mass = [ - 'time' => time(), - 'battle' => $this->info['id'], - 'id_hod' => $this->hodID, - 'text' => 'test', - 'vars' => $vLog, - 'zona1' => '', - 'zonb1' => '', - 'zona2' => '', - 'zonb2' => '', - 'type' => '1', - ]; - $vtvl = ' ...'; - $ins = mysql_query('INSERT INTO `battle_logs` (`time`,`battle`,`id_hod`,`text`,`vars`,`zona1`,`zonb1`,`zona2`,`zonb2`,`type`) VALUES ("' . $mass['time'] . '","' . $mass['battle'] . '","' . $mass['id_hod'] . '","' . $vtvl . '","' . $mass['vars'] . '","' . $mass['zona1'] . '","' . $mass['zonb1'] . '","' . $mass['zona2'] . '","' . $mass['zonb2'] . '","' . $mass['type'] . '")'); - $i = 0; - $vtvl = ''; - $tr_nm = [ - 1 => '', - 2 => '', - 3 => '', - 4 => '', - ]; - while ($i < count($this->users)) { - if ($this->users[$i]['team'] != $this->info['team_win']) { - $tr_pl = mysql_fetch_array(mysql_query('SELECT `id`,`v1` FROM `eff_users` WHERE `id_eff` = 4 AND `uid` = "' . $this->users[$i]['id'] . '" AND `delete` = "0" ORDER BY `v1` DESC LIMIT 1')); - if (!isset($tr_pl['id']) || $tr_pl['v1'] < 3) { - if ($this->info['smert'] == 1) { - $tr_tp = 4; - } else { - $tr_tp = rand(1, 3); - } - if (isset($tr_pl['id'])) { - $tr_tp = rand(($tr_pl['v1'] + 1), 3); - } - if ($this->users[$i]['sex'] == 1) { - $vtvl = '' . $this->users[$i]['login'] . ' : ' . $tr_nm[$tr_tp] . ' .
    ' . $vtvl; - } else { - $vtvl = '' . $this->users[$i]['login'] . ' : ' . $tr_nm[$tr_tp] . ' .
    ' . $vtvl; - } - $this->addTravm($this->users[$i]['id'], $tr_tp, rand(3, 5)); - } - } - $i++; - } - $ins = mysql_query('INSERT INTO `battle_logs` (`time`,`battle`,`id_hod`,`text`,`vars`,`zona1`,`zonb1`,`zona2`,`zonb2`,`type`) VALUES ("' . $mass['time'] . '","' . $mass['battle'] . '","' . $mass['id_hod'] . '","' . $vtvl . '","' . $mass['vars'] . '","' . $mass['zona1'] . '","' . $mass['zonb1'] . '","' . $mass['zona2'] . '","' . $mass['zonb2'] . '","' . $mass['type'] . '")'); - } - - if ($vl != '') { - $vl = rtrim($vl, ','); - mysql_query('INSERT INTO `battle_last` (`login`,`city`,`battle_id`,`uid`,`time`,`team`,`lvl`,`align`,`clan`,`exp`,`bot`,`money`,`money2`,`money3`) VALUES ' . $vl . ''); - } - mysql_query('INSERT INTO `battle_end` (`battle_id`,`city`,`time`,`team_win`) VALUES ("' . $this->info['id'] . '","' . $this->info['city'] . '","' . $this->info['time_start'] . '","' . $this->info['team_win'] . '")'); - } - - - $vLog = 'time1=' . time(); - $mass = [ - 'time' => time(), - 'battle' => $this->info['id'], - 'id_hod' => $this->hodID, - 'text' => 'test', - 'vars' => $vLog, - 'zona1' => '', - 'zonb1' => '', - 'zona2' => '', - 'zonb2' => '', - 'type' => '1', - ]; - $i = 0; - $vtvl = ''; - $tr_nm = [ - 1 => '', - 2 => '', - 3 => '', - 4 => '', - ]; - while ($i < count($this->users)) { - if ($this->users[$i]['team'] != $this->info['team_win'] && $this->info['team_win'] > 0) { - $tr_pl = mysql_fetch_array(mysql_query('SELECT * FROM `eff_users` WHERE `v1` = "priem" AND `v2` = 292 AND `uid` = "' . $this->users[$i]['id'] . '" AND `delete` = "0" LIMIT 1')); - - $ins = mysql_query('INSERT INTO `battle_logs` (`time`,`battle`,`id_hod`,`text`,`vars`,`zona1`,`zonb1`,`zona2`,`zonb2`,`type`) VALUES ("' . $mass['time'] . '","' . $mass['battle'] . '","' . $mass['id_hod'] . '","' . $vtvl2 . '","' . $mass['vars'] . '","' . $mass['zona1'] . '","' . $mass['zonb1'] . '","' . $mass['zona2'] . '","' . $mass['zonb2'] . '","' . $mass['type'] . '")'); - - if (isset($tr_pl['id'])) { - if (rand(0, 100) < $tr_pl['data']) { - $tr_tp = rand(($tr_pl['v1'] + 1), 3); - if ($this->users[$i]['sex'] == 1) { - $vtvl = '' . $this->users[$i]['login'] . ' (, : ' . $this->users[$this->uids[$tr_pl['user_use']]]['login'] . '): ' . $tr_nm[$tr_tp] . ' .
    ' . $vtvl; - } else { - $vtvl = '' . $this->users[$i]['login'] . ' (, : ' . $this->users[$this->uids[$tr_pl['user_use']]]['login'] . '): ' . $tr_nm[$tr_tp] . ' .
    ' . $vtvl; - } - $this->addTravm($this->users[$i]['id'], $tr_tp, rand(3, 5)); - } - } - } - $i++; - } - if ($vtvl != '') { - if ($this->info['type'] != 99) { - $vtvl2 = ' ...'; - $ins = mysql_query('INSERT INTO `battle_logs` (`time`,`battle`,`id_hod`,`text`,`vars`,`zona1`,`zonb1`,`zona2`,`zonb2`,`type`) VALUES ("' . $mass['time'] . '","' . $mass['battle'] . '","' . $mass['id_hod'] . '","' . $vtvl2 . '","' . $mass['vars'] . '","' . $mass['zona1'] . '","' . $mass['zonb1'] . '","' . $mass['zona2'] . '","' . $mass['zonb2'] . '","' . $mass['type'] . '")'); - } - $ins = mysql_query('INSERT INTO `battle_logs` (`time`,`battle`,`id_hod`,`text`,`vars`,`zona1`,`zonb1`,`zona2`,`zonb2`,`type`) VALUES ("' . $mass['time'] . '","' . $mass['battle'] . '","' . $mass['id_hod'] . '","' . $vtvl . '","' . $mass['vars'] . '","' . $mass['zona1'] . '","' . $mass['zonb1'] . '","' . $mass['zona2'] . '","' . $mass['zonb2'] . '","' . $mass['type'] . '")'); - } - - // - if ($this->info['inTurnir'] > 0 && $this->info['dungeon'] != 15 && $u->info['room'] != 413) { - $bs = mysql_fetch_array(mysql_query('SELECT * FROM `bs_turnirs` WHERE `id` = "' . $this->info['inTurnir'] . '" LIMIT 1')); - $i = 0; - $j = 0; - while ($i < count($this->users)) { - if ($this->stats[$i]['hpNow'] < 1 && $this->users[$i]['clone'] == 0 && $this->stats[$i]['clone'] == 0) { - // - if ($this->users[$i]['sex'] == 0) { - $text .= '{u1} '; - } else { - $text .= '{u1} '; - } - // - $spik = mysql_query('SELECT `id`,`item_id` FROM `items_users` WHERE `uid` = "' . $this->users[$i]['id'] . '" AND `delete` ="0"'); - while ($plik = mysql_fetch_array($spik)) { - /* - -1 - */ - mysql_query('INSERT INTO `dungeon_items` (`dn`,`item_id`,`time`,`x`,`y`) VALUES ( - "' . $this->users[$i]['dnow'] . '","' . $plik['item_id'] . '","' . (time() - 600) . '","' . $this->users[$i]['x'] . '","' . $this->users[$i]['y'] . '" - )'); - } - unset($spik, $plik); - // - $usrreal = ''; - $usr_real = mysql_fetch_array(mysql_query('SELECT `id`,`login`,`align`,`clan`,`battle`,`level` FROM `users` WHERE `login` = "' . $this->users[$i]['login'] . '" AND `inUser` = "' . $this->users[$i]['id'] . '" LIMIT 1')); - if (!isset($usr_real['id'])) { - $usr_real = $this->users[$i]; - } - if (isset($usr_real['id'])) { - if ($usr_real['align'] > 0) { - $usrreal .= ''; - } - if ($usr_real['clan'] > 0) { - $usrreal .= ''; - } - $usrreal .= '' . $usr_real['login'] . '[' . $usr_real['level'] . ']'; - } else { - $mereal = '[??]'; - } - $text = str_replace('{u1}', $usrreal, $text); - mysql_query('INSERT INTO `bs_logs` (`type`,`text`,`time`,`id_bs`,`count_bs`,`city`,`m`,`u`) VALUES ( - "1", "' . mysql_real_escape_string($text) . '", "' . time() . '", "' . $bs['id'] . '", "' . $bs['count'] . '", "' . $bs['city'] . '", - "' . round($bs['money'] * 0.85, 2) . '","' . $i . '" - )'); - // - // - mysql_query('DELETE FROM `users` WHERE `id` = "' . $this->users[$i]['id'] . '" LIMIT 1'); - mysql_query('DELETE FROM `stats` WHERE `id` = "' . $this->users[$i]['id'] . '" LIMIT 1'); - mysql_query('DELETE FROM `actions` WHERE `uid` = "' . $this->users[$i]['id'] . '"'); - mysql_query('DELETE FROM `items_users` WHERE `uid` = "' . $this->users[$i]['id'] . '"'); - mysql_query('DELETE FROM `eff_users` WHERE `uid` = "' . $this->users[$i]['id'] . '"'); - mysql_query('DELETE FROM `users_delo` WHERE `uid` = "' . $this->users[$i]['id'] . '"'); - // - mysql_query('UPDATE `users` SET `inUser` = "0" WHERE `login` = "' . $this->users[$i]['login'] . '" OR `inUser` = "' . $this->users[$i]['id'] . '" LIMIT 1'); - // - mysql_query('UPDATE `bs_zv` SET `off` = "' . time() . '" WHERE `inBot` = "' . $this->users[$i]['id'] . '" AND `off` = "0" LIMIT 1'); - unset($text, $usrreal, $usr_real); - if ($this->users[$i]['pass'] != 'bstowerbot') { - $bs['users']--; - $bs['users_finish']++; - } else { - $bs['arhiv']--; - } - $j++; - } - $i++; - } - if ($j > 0) { - mysql_query('UPDATE `bs_turnirs` SET `arhiv` = "' . $bs['arhiv'] . '",`users` = "' . $bs['users'] . '",`users_finish` = "' . $bs['users_finish'] . '" WHERE `id` = "' . $bs['id'] . '" LIMIT 1'); - } - - unset($bs, $j); - } - - // - if ($this->info['type'] == 500 && isset($tststrt['id'])) { - // - - $i = 0; - while ($i < count($this->users)) { - if ($this->users[$i]['no_ip'] == 'trupojor') { - $mon = mysql_fetch_array(mysql_query('SELECT * FROM `aaa_monsters` WHERE `uid` = "' . $this->users[$i]['id'] . '" LIMIT 1')); - if (isset($mon['id'])) { - if ($this->info['team_win'] == 0) { - // - mysql_query('UPDATE `stats` SET `hpNow` = "' . $this->stats[$i]['hpAll'] . '",`mpNow` = "' . $this->stats[$i]['mpAll'] . '" WHERE `id` = "' . $this->users[$i]['id'] . '" LIMIT 1'); - mysql_query('INSERT INTO `chat` (`text`,`city`,`to`,`type`,`new`,`time`) VALUES ("! ' . mysql_real_escape_string(str_replace('{b}', - '' . $this->users[$i]['login'] . ' [' . $this->users[$i]['level'] . ']users[$i]['id'] . ' >', - $mon['nich_text'])) . ' ","' . $this->users[$i]['city'] . '","","6","1","' . time() . '")'); - } elseif ($this->info['team_win'] != $this->users[$i]['team']) { - // - $j = 0; - $usrwin = ''; - while ($j < count($this->users)) { - if ($this->users[$j]['no_ip'] != 'trupojor' && $this->users[$j]['bot'] == 0) { - if ($this->stats[$j]['hpNow'] > 0) { - $usrwin .= ', '; - if ($this->users[$j]['align'] > 0) { - $usrwin .= 'users[$j]['align'] . '.gif >'; - } - if ($this->users[$j]['clan'] > 0) { - $usrwin .= 'users[$j]['clan'] . '.gif >'; - } - $usrwin .= '' . $this->users[$j]['login'] . ' [' . $this->users[$j]['level'] . ']users[$j]['id'] . ' >'; - } - } - $j++; - } - if ($usrwin != '') { - $usrwin = ltrim($usrwin, ', '); - } else { - $usrwin = ' '; - } - - - mysql_query('UPDATE `users` SET `room` = "303" WHERE `id` = "' . $this->users[$i]['id'] . '" LIMIT 1'); - - $truptimelast = time() + rand(1800, 3600); - - mysql_query('UPDATE `stats` SET `res_x` = "' . $truptimelast . '" WHERE `id` = "' . $this->users[$i]['id'] . '" LIMIT 1'); - mysql_query('INSERT INTO `chat` (`text`,`city`,`to`,`type`,`new`,`time`) VALUES ("! ' . mysql_real_escape_string(str_replace('{b}', - '' . $this->users[$i]['login'] . ' [' . $this->users[$i]['level'] . ']users[$i]['id'] . ' >', - str_replace('{u}', $usrwin, - $mon['win_text']))) . ' ","' . $this->users[$i]['city'] . '","","6","1","' . time() . '")'); - unset($usrwin); - } else { - // - if ($mon['win_back'] == 1) { - mysql_query('UPDATE `users` SET `room` = "303" WHERE `id` = "' . $this->users[$i]['id'] . '" LIMIT 1'); - } - mysql_query('UPDATE `stats` SET `hpNow` = "' . $this->stats[$i]['hpAll'] . '",`mpNow` = "' . $this->stats[$i]['mpAll'] . '" WHERE `id` = "' . $this->users[$i]['id'] . '" LIMIT 1'); - mysql_query('INSERT INTO `chat` (`text`,`city`,`to`,`type`,`new`,`time`) VALUES ("! ' . mysql_real_escape_string(str_replace('{b}', - '' . $this->users[$i]['login'] . ' [' . $this->users[$i]['level'] . ']users[$i]['id'] . ' >', - $mon['lose_text'])) . ' ","' . $this->users[$i]['city'] . '","","6","1","' . time() . '")'); - } - } - } - $i++; - } - } - } - - // - $i = 0; - $botsi = 0; - if (isset($tststrt['id'])) { - while ($i < count($this->users)) { - // - if ($this->info['type'] == 33) { - $plde = mysql_fetch_array(mysql_query('SELECT * FROM `users` WHERE `id` = "' . $this->users[$i]['id'] . '" LIMIT 1')); - if (isset($plde['mail']) && $plde['mail'] == "haot@new-combats.com") { - $pld = mysql_fetch_array(mysql_query('SELECT * FROM `users` WHERE `inUser` = "' . $this->users[$i]['id'] . '" LIMIT 1')); - - if (isset($pld['id'])) { - if ($this->users[$i]['battle_yron'] >= 500) { - $u->addItem(4754, $pld['id'], ''); - $u->addItem(4754, $pld['id'], ''); - $u->addItem(4754, $pld['id'], ''); - $u->addItem(4754, $pld['id'], ''); - $u->addItem(4754, $pld['id'], ''); - $pld['battle_text'] .= ' (x5). '; - mysql_query('UPDATE `users_achiv` SET `pg`= `pg`+1 WHERE `id` = "' . $pld['id'] . '" LIMIT 1'); - - if ($this->users[$i]['team'] == $this->info['team_win']) { - if (rand(1, 100) <= 5) { - $u->addItem(10020, $pld['id'], ''); - $pld['battle_text'] .= ' . '; - } - } - } else { - $pld['battle_text'] .= ' . 500 .'; - } - - mysql_query("INSERT INTO `chat` (`new`,`city`,`room`,`login`,`to`,`text`,`time`,`type`,`toChat`) VALUES ('1','" . $pld['city'] . "','" . $pld['room'] . "','','" . $pld['login'] . "','" . $pld['battle_text'] . "','-1','6','0')"); - mysql_query('DELETE FROM `stats` WHERE `id` = "' . $this->users[$i]['id'] . '" LIMIT 1'); - mysql_query('DELETE FROM `items_users` WHERE `uid` = "' . $this->users[$i]['id'] . '" LIMIT 100'); - mysql_query('DELETE FROM `eff_users` WHERE `uid` = "' . $this->users[$i]['id'] . '" LIMIT 100'); - mysql_query('UPDATE `users` SET `inUser` = "0" WHERE `inUser` = "' . $this->users[$i]['id'] . '" LIMIT 1'); - mysql_query('DELETE FROM `users` WHERE `id` = "' . $this->users[$i]['id'] . '" LIMIT 1'); - } - } - - unset ($plde, $pld); - } - - if ($this->users[$i]['bot'] == 1) { - $botsi++; - mysql_query('DELETE FROM `users` WHERE `id` = "' . $this->users[$i]['id'] . '" LIMIT 1'); - mysql_query('DELETE FROM `stats` WHERE `id` = "' . $this->users[$i]['id'] . '" LIMIT 1'); - mysql_query('DELETE FROM `items_users` WHERE `uid` = "' . $this->users[$i]['id'] . '" LIMIT 100'); - mysql_query('DELETE FROM `eff_users` WHERE `uid` = "' . $this->users[$i]['id'] . '" LIMIT 100'); - } elseif ($this->users[$i]['bot'] == 2) { - $this->users[$i]['battle'] = 0; - mysql_query('UPDATE `users` SET `battle` = "0" WHERE `id` = "' . $this->users[$i]['id'] . '" LIMIT 1'); - mysql_query('UPDATE `stats` SET `zv` = "0",`team` = "0",`exp` = `exp` + `battle_exp`,`battle_exp` = "0",`battle_yron` = "0",`enemy` = "0", `timeGo` = "' . time() . '" WHERE `id` = "' . $this->users[$i]['id'] . '" LIMIT 1'); - //mysql_query('UPDATE `stats` SET `zv` = "0",`team` = "0",`exp` = `exp` + `battle_exp`,`battle_exp` = "0",`timeGo` = "'.time().'" WHERE `id` = "'.$this->users[$i]['id'].'" LIMIT 1'); - mysql_query('DELETE FROM `eff_users` WHERE `uid` = "' . $this->users[$i]['id'] . '" LIMIT 100'); - } elseif ($this->users[$i]['bot'] > 0) { - $this->users[$i]['battle'] = 0; - mysql_query('UPDATE `users` SET `battle` = "0" WHERE `id` = "' . $this->users[$i]['id'] . '" LIMIT 1'); - mysql_query('UPDATE `stats` SET `zv` = "0",`team` = "0",`exp` = `exp` + `battle_exp`,`battle_exp` = "0",`battle_yron` = "0",`enemy` = "0", `timeGo` = "' . time() . '" WHERE `id` = "' . $this->users[$i]['id'] . '" LIMIT 1'); - mysql_query('DELETE FROM `eff_users` WHERE `uid` = "' . $this->users[$i]['id'] . '" LIMIT 100'); - } - if ($this->users[$i]['clone'] > 0 && $this->users[$i]['bot'] > 0 && isset($this->users[$this->uids[$this->users[$i]['clone']]]['id']) && $this->users[$this->uids[$this->users[$i]['clone']]]['team'] != $this->users[$i]['team']) { - // - if ($this->users[$this->uids[$this->users[$i]['clone']]]['team'] == $this->info['team_win']) { - $u->addAction(time(), 'win_bot_clone', '', $this->users[$i]['clone']); - } elseif ($this->info['team_win'] == 0) { - $u->addAction(time(), 'nich_bot_clone', '', $this->users[$i]['clone']); - } else { - $u->addAction(time(), 'lose_bot_clone', '', $this->users[$i]['clone']); - } - } elseif ($this->users[$i]['bot'] > 0 && $this->users[$i]['bot_id'] > 0) { - // - $j = 0; - while ($j < count($this->users)) { - if ($this->users[$j]['bot'] == 0 && $this->users[$j]['team'] != $this->users[$i]['team']) { - if ($this->users[$j]['team'] == $this->info['team_win']) { - $u->addAction(time(), 'win_bot_' . $this->users[$i]['bot_id'], '', - $this->users[$j]['id']); - // - mysql_query('UPDATE `dialog_act` SET `now` = `now` + 1 WHERE `uid` = "' . $this->users[$j]['id'] . '" AND - ( `btl_bot` LIKE "' . $this->users[$i]['bot_id'] . '!%" OR `btl_bot` LIKE "%!' . $this->users[$i]['bot_id'] . '!%" ) - AND `val` != 1 - LIMIT 1'); - // - } elseif ($this->info['team_win'] == 0) { - $u->addAction(time(), 'nich_bot_' . $this->users[$i]['bot_id'], '', - $this->users[$j]['id']); - } else { - $u->addAction(time(), 'lose_bot_' . $this->users[$i]['bot_id'], '', - $this->users[$j]['id']); - } - } - $j++; - } - } - $i++; - } - } - - $botss = []; - - if ($nl != 10) { - // - if ($this->info['dungeon'] > 0) { - if ($this->info['team_win'] == $u->info['team'] && $this->info['dungeon'] == 102) { - $j1 = mysql_fetch_array(mysql_query('SELECT * FROM `laba_obj` WHERE `type` = 2 AND `lib` = "' . $this->info['dn_id'] . '" AND `x` = "' . $this->info['x'] . '" AND `y` = "' . $this->info['y'] . '" LIMIT 1')); - if (isset($j1['id'])) { - mysql_query('DELETE FROM `laba_obj` WHERE `id` = "' . $j1['id'] . '" LIMIT 1'); - // - mysql_query('INSERT INTO `laba_obj` (`use`,`lib`,`time`,`type`,`x`,`y`,`vars`) VALUES ( - "0","' . $j1['lib'] . '","' . time() . '","6","' . $j1['x'] . '","' . $j1['y'] . '","' . (0 + $botsi) . '" - )'); - } - } elseif ($this->info['team_win'] == $u->info['team']) { - // , - $j1 = mysql_query('SELECT * FROM `dungeon_bots` WHERE `dn` = "' . $this->info['dn_id'] . '" AND `for_dn` = "0" AND `x` = "' . $this->info['x'] . '" AND `delete` = "0" AND `y`= "' . $this->info['y'] . '" LIMIT 100'); - while ($tbot = mysql_fetch_array($j1)) { - $j2 = 0; - while ($j2 < $tbot['colvo']) { - if (isset($tbot['id2'])) { - $tbot2 = mysql_fetch_array(mysql_query('SELECT * FROM `test_bot` WHERE `id` = "' . $tbot['id_bot'] . '" LIMIT 1')); - $itms = explode('|', $tbot2['p_items']); - $tii = 0; - $testdrop = 0; - while ($tii < count($itms) && $testdrop == 0) { - $itmz = explode('=', $itms[$tii]); - if ($itmz[0] > 0) { - if (isset($itmz[2]) && $itmz[2] != '') { - $questDrop = mysql_fetch_array(mysql_query('SELECT * FROM `actions` WHERE `vars` LIKE "%' . $itmz[2] . '%" AND `vals` = "go" AND `uid` = "' . $u->info['id'] . '" LIMIT 1')); - } - if (isset($questDrop['id'])) { // , - } elseif (isset($itmz[2]) && $itmz[2] != '') { - $itmz[1] = 0; - } // , , 0 - unset($questDrop); - - // - if ($itmz[1] * 100000 >= rand(1, 10000000)) { - $tou = 0; // - /* */ - $itmnm = mysql_fetch_array(mysql_query('SELECT `name` FROM `items_main` WHERE `id` = "' . $itmz[0] . '" LIMIT 1')); - $itmnm = $itmnm['name']; - - $rtxt = ' ' . $tbot2['login'] . ' "' . $itmnm . '" '; - mysql_query("INSERT INTO `chat` (`dn`,`city`,`room`,`login`,`to`,`text`,`time`,`type`,`toChat`,`typeTime`,`new`) VALUES ('" . $this->info['dn_id'] . "','" . $this->users[0]['city'] . "','" . $this->users[0]['room'] . "','','','" . $rtxt . "','" . time() . "','6','0','1','1')"); - - $ins = mysql_query('INSERT INTO `dungeon_items` (`dn`,`user`,`item_id`,`time`,`x`,`y`) VALUES ( - "' . $this->info['dn_id'] . '", - "' . $tou . '", - "' . $itmz[0] . '", - "' . time() . '", - "' . $this->info['x'] . '", - "' . $this->info['y'] . '")'); - if (!isset($questDrop['id'])) { - $testdrop = 1; // drop-drop //quest - } - } - } - $tii++; - } - } - $j2++; - } - // - // 1-15 , - if (date('m') == 9 && date('d') < 15) { - if ($this->get_chanse(99)) { - // - } elseif ($this->info['dungeon'] == 12 || $this->info['dungeon'] == 101) { - $tou = 0; // - /* */ - $itmz = [ - rand(4745, 4751), - 100, - ]; - // - $itmnm = mysql_fetch_array(mysql_query('SELECT `name` FROM `items_main` WHERE `id` = "' . $itmz[0] . '" LIMIT 1')); - $itmnm = $itmnm['name']; - - $rtxt = ' ' . $tbot2['login'] . ' "' . $itmnm . '" '; - mysql_query("INSERT INTO `chat` (`dn`,`city`,`room`,`login`,`to`,`text`,`time`,`type`,`toChat`,`typeTime`,`new`) VALUES ('" . $this->info['dn_id'] . "','" . $this->users[0]['city'] . "','" . $this->users[0]['room'] . "','','','" . $rtxt . "','" . time() . "','6','0','1','1')"); - - $ins = mysql_query('INSERT INTO `dungeon_items` (`dn`,`user`,`item_id`,`time`,`x`,`y`) VALUES ( - "' . $this->info['dn_id'] . '", - "' . $tou . '", - "' . $itmz[0] . '", - "' . time() . '", - "' . $this->info['x'] . '", - "' . $this->info['y'] . '")'); - } - } - // - // , - - if (rand(1, 100) <= 99) { - // - } elseif ($this->info['dungeon'] == 12 || $this->info['dungeon'] == 3 || - $this->info['dungeon'] == 101 || $this->info['dungeon'] == 16 || - $this->info['dungeon'] == 9 || $this->info['dungeon'] == 10 || - $this->info['dungeon'] == 13 || $this->info['dungeon'] == 106) { - $tou = 0; // - // - $itmz = rand(3143, 3192); - // - $itmnm = mysql_fetch_array(mysql_query('SELECT `name` FROM `items_main` WHERE `id` = "' . $itmz . '" LIMIT 1')); - $itmnm = $itmnm['name']; - - $rtxt = ' ' . $tbot2['login'] . ' "' . $itmnm . '" '; - mysql_query("INSERT INTO `chat` (`dn`,`city`,`room`,`login`,`to`,`text`,`time`,`type`,`toChat`,`typeTime`,`new`) VALUES ('" . $this->info['dn_id'] . "','" . $this->users[0]['city'] . "','" . $this->users[0]['room'] . "','','','" . $rtxt . "','" . time() . "','6','0','1','1')"); - - $ins = mysql_query('INSERT INTO `dungeon_items` (`dn`,`user`,`item_id`,`time`,`x`,`y`) VALUES ( - "' . $this->info['dn_id'] . '", - "' . $tou . '", - "' . $itmz . '", - "' . time() . '", - "' . $this->info['x'] . '", - "' . $this->info['y'] . '")'); - } - } - mysql_query('UPDATE `dungeon_bots` SET `delete` = "' . time() . '" AND `inBattle` = "' . $this->info['id'] . '" WHERE `dn` = "' . $this->info['dn_id'] . '" AND `for_dn` = "0" AND `delete` = "0" '); - } else { - // RESTART - $dnr = 1; - if ($this->info['dungeon'] != 102) { - mysql_query('UPDATE `dungeon_bots` SET `inBattle` = "0" WHERE `dn` = "' . $this->info['dn_id'] . '" AND `for_dn` = "0" AND `x` = "' . $this->info['x'] . '" AND `y`= "' . $this->info['y'] . '"'); - } - } - } - } - $gm = []; - $gms = []; - $bm = []; - $bms = []; - - // - // - // - $i = $this->uids[$u->info['id']]; - - if ($this->info['team_win'] >= 0) { - if ($this->stats[$i]['pbe'] > 0) { - // - $this->expCoef += $this->stats[$i]['pbe']; - } - - if ( - $this->info['razdel'] == 5 && - (($c['m'] >= 6 && $c['m'] <= 8) || ($c['w'] == 0 || $c['w'] == 6)) - ) { - // - $this->expCoef += 5; - } - - $this->stats[$i]['exp'] += $this->expCoef; - - $this->stats[$i]['exp'] += $this->aBexp * $c['exp']; - - if ($this->stats[$i]['os4'] > 0) { - $this->stats[$i]['exp'] += $this->stats[$i]['os4']; - } - - $act01 = 0; - $this->users[$i]['battle_exp'] = round($this->users[$i]['battle_exp'] + ($this->users[$i]['battle_exp'] / 100 * (1 + $this->info['addExp'] + $this->stats[$i]['exp']))); - - if ($this->info['type'] == 564) { - // - $this->users[$i]['battle_exp'] = 0; - } - - if ($this->info['dungeon'] == 104) { - $this->users[$i]['battle_exp'] = ($u->info['level'] * 2) * (count($this->uids) - 1); - } elseif ($this->info['dungeon'] > 0 && $this->users[$i]['dnow'] != 0 && $this->info['dungeon'] != 1 && $this->users[$i]['team'] == $this->info['team_win']) { - $dun_limitForLevel = [ - 4 => 750, - 5 => 1500, - 6 => 3500, - 7 => 8000, - 8 => 25000, - 9 => 50000, - 10 => 75000, - 11 => 100000, - 12 => 100000, - 13 => 100000, - 14 => 100000, - ]; - // . - - if ($this->users[$i]['battle_exp'] > 0) { - $dun_exp = []; // . - $rep = mysql_fetch_array(mysql_query('SELECT `dungeonexp`,`id` FROM `rep` WHERE `id` = "' . $this->users[$i]['id'] . '" LIMIT 1')); - $rep = explode(',', $rep['dungeonexp']); - foreach ($rep as $key => $val) { - $val = explode('=', $val); // - if (isset($val[0]) && isset($val[1]) && $val[0] != '' && $val[1] != 0) { - $dun_exp[(int)$val[0]] = (int)$val[1]; - } - } - unset($rep); - } - - if (!isset($dun_exp[$this->info['dungeon']])) { - $dun_exp[$this->info['dungeon']] = 0; - } - - if (!isset($dun_limitForLevel[(int)$this->users[$i]['level']])) { // , . - $this->users[$i]['battle_exp'] = 0; - } elseif ( - isset($dun_exp[$this->info['dungeon']]) && - $dun_exp[$this->info['dungeon']] >= $dun_limitForLevel[(int)$this->users[$i]['level']] - ) { // , . - $this->users[$i]['battle_exp'] = 0; - } elseif ( - isset($dun_exp[$this->info['dungeon']]) && - $dun_limitForLevel[(int)$this->users[$i]['level']] > $dun_exp[$this->info['dungeon']] - ) { // . - if (($dun_exp[$this->info['dungeon']] + $this->users[$i]['battle_exp']) > $dun_limitForLevel[(int)$this->users[$i]['level']]) { - // , . - $this->users[$i]['battle_exp'] = abs($this->users[$i]['battle_exp'] - abs($dun_limitForLevel[(int)$this->users[$i]['level']] - ($this->users[$i]['battle_exp'] + $dun_exp[$this->info['dungeon']]))); - $dun_exp[$this->info['dungeon']] += $this->users[$i]['battle_exp']; - } elseif ($dun_limitForLevel[(int)$this->users[$i]['level']] > ($dun_exp[$this->info['dungeon']] + $this->users[$i]['battle_exp'])) { - // , . - $dun_exp[$this->info['dungeon']] += $this->users[$i]['battle_exp']; - } else { - $this->users[$i]['battle_exp'] = 0; - } - } else { // . - $this->users[$i]['battle_exp'] = 0; - } - - - if ($this->users[$i]['battle_exp'] > 0 && isset($dun_exp[$this->info['dungeon']]) && $dun_exp[$this->info['dungeon']] > 0) { - $dunexp = []; - foreach ($dun_exp as $key => $val) { - $dunexp[$key] = $key . '=' . $val; // - } - $dun_exp = implode(",", $dunexp); - mysql_query('UPDATE `rep` SET `dungeonexp` = "' . $dun_exp . '" WHERE `id` = "' . $this->users[$i]['id'] . '" LIMIT 1'); - unset($dunexp, $dun_exp); - } - unset($dun_limitForLevel); - } - - $sinf = ''; - if ($c['exp_mega']) { - $this->users[$i]['battle_exp'] += floor($this->users[$i]['battle_exp'] / 100 * $c['exp_mega_val'][$this->users[$i]['level']]); - } - - if ($this->info['team_win'] == 0 && $this->info['type'] != 564) { - // - if ($this->users[$i]['level'] <= 1) { - $this->users[$i]['battle_exp'] = floor($this->users[$i]['battle_exp'] * 0.50); - } else { - $this->users[$i]['battle_exp'] = ceil($this->users[$i]['battle_exp'] * 0.10); - } - $this->users[$i]['nich'] += 1; - // - mysql_query('UPDATE `users` SET `swin` = 0, `slose` = 0 WHERE `id` = "' . $this->users[$i]['id'] . '" LIMIT 1'); - // - } elseif ($this->users[$i]['team'] == $this->info['team_win'] && $this->info['type'] != 564) { - // - $gm[$i] = $this->info['money']; - - $gms[$i] = $this->info['money3']; - - $this->users[$i]['win'] += 1; - $act01 = 1; - // - mysql_query('UPDATE `users` SET `swin` = `swin` + 1, `slose` = 0 WHERE `id` = "' . $this->users[$i]['id'] . '" LIMIT 1'); - // - } elseif ($this->info['type'] != 564) { - // - if ($this->users[$i]['level'] <= 1) { - $this->users[$i]['battle_exp'] = ceil($this->users[$i]['battle_exp'] * 0.33); - } else { - $this->users[$i]['battle_exp'] = ceil($this->users[$i]['battle_exp'] * 0.10); - } - $bm[$i] = $this->info['money']; - - $bms[$i] = $this->info['money3']; - - $this->users[$i]['lose'] += 1; - mysql_query('UPDATE `users` SET `swin` = 0, `slose` = `slose` + 1 WHERE `id` = "' . $this->users[$i]['id'] . '" LIMIT 1'); - $act01 = 2; - } - // - ( .) - if ($this->info['money3'] > 0 && isset($gms[$i]) && $this->info['type'] != 564) { - $mn = [ - 'l' => 0, // - 'w' => 0, // - 'm' => 0 // () - ]; - if ($act01 == 1) { - $mn['l'] = mysql_fetch_array(mysql_query('SELECT COUNT(`id`) FROM `battle_users` WHERE `battle` = "' . $this->info['id'] . '" AND `team` != "' . $this->users[$i]['team'] . '" LIMIT 1')); - $mn['l'] = $mn['l'][0]; - $mn['w'] = mysql_fetch_array(mysql_query('SELECT COUNT(`id`) FROM `battle_users` WHERE `battle` = "' . $this->info['id'] . '" AND `team` = "' . $this->users[$i]['team'] . '" LIMIT 1')); - $mn['w'] = $mn['w'][0]; - $mn['m'] = round(($mn['l'] * $this->info['money3']) / 100 * 87, 2); - $gms[$i] = round(($mn['m'] / $mn['w']), 2); - } - } - // - // - // - if ($act01 == 1) { - // - if ($this->users[$i]['dnow'] == 0) { - if ($this->users[$i]['hpNow'] < 1) { - $lom = 0.05; - } - } - } elseif ($act01 == 2) { - // - $lom = 0.55; - } else { - // - $lom = 0.05; - } - //$lom = round($lom*2.75,2); - $nlom = [0 => rand(0, 18), 1 => rand(0, 18), 2 => rand(0, 18), 3 => rand(0, 18)]; - if ($this->info['type'] == 564) { - $lom = 0; - } - if ($this->stats[$i]['silver'] >= 4) { - $lom = 0; - } - mysql_query('UPDATE `items_users` SET `iznosNOW` = `iznosNOW`+' . $lom . ' WHERE `inOdet` < "18" AND `inOdet` > "0" AND `uid` = "' . $this->users[$i]['id'] . '" AND `inOdet`!="0" AND `inOdet`!=' . $nlom[0] . ' AND `inOdet`!=' . $nlom[1] . ' AND `inOdet`!=' . $nlom[2] . ' AND `inOdet`!=' . $nlom[3] . ' LIMIT 18'); - - $prc = ''; - if ($this->users[$i]['align'] == 2) { - $this->users[$i]['battle_exp'] = floor($this->users[$i]['battle_exp'] / 2); - } - if ($this->users[$i]['animal'] > 0) { - $ulan = $u->testAction('`uid` = "' . $this->users[$i]['id'] . '" AND `vars` = "animal_use' . $this->info['id'] . '" LIMIT 1', - 1); - if (isset($ulan['id']) && $this->users[$i]['team'] == $this->info['team_win'] && $this->users[$i]['level'] > $ulan['vals']) { - $a004 = mysql_fetch_array(mysql_query('SELECT `max_exp`,`name` FROM `users_animal` WHERE `uid` = "' . $this->users[$i]['id'] . '" AND `id` = "' . $this->users[$i]['animal'] . '" AND `pet_in_cage` = "0" AND `delete` = "0" LIMIT 1')); - //33% , - $aexp = (round($this->users[$i]['battle_exp'] / 100 * 33)); - if ($aexp > $a004['max_exp']) { - $aexp = $a004['max_exp']; - } - unset($ulan); - // - mysql_query("INSERT INTO `chat` (`new`,`city`,`room`,`login`,`to`,`text`,`time`,`type`,`toChat` - ) VALUES ( - '1','" . $this->users[$i]['city'] . "','" . $this->users[$i]['room'] . "','','" . $this->users[$i]['login'] . "' - ,' "" . $a004['name'] . "" : " . $aexp . "','-1','6','0')"); - // - $upd = mysql_query('UPDATE `users_animal` SET `exp` = `exp` + ' . $aexp . ' WHERE `id` = "' . $this->users[$i]['animal'] . '" AND `level` < ' . $this->users[$i]['level'] . ' LIMIT 1'); - if ($upd) { - $this->users[$i]['battle_exp'] = round($this->users[$i]['battle_exp'] / 100 * 67); - $this->info['addExp'] -= 33.333; - } - } - } - - $prsusers = mysql_fetch_array(mysql_query('SELECT SUM(`price1`) FROM `battle_users` WHERE `battle` = "' . $this->info['id'] . '" LIMIT 1')); - unset($prsusers); - $btlstatus = $this->typeBattle($prsusers[0]); - if ($this->info['smert'] == 1) { - $btlstatus = [150, 150, ' ', ' ']; - } - // - if ($this->stats[$i]['clanpos'] > 0) { - if ($this->stats[$i]['clanpos'] == 1) { - $this->info['addExp'] += 0; - } elseif ($this->stats[$i]['clanpos'] == 2) { - $this->info['addExp'] += 0; - } elseif ($this->stats[$i]['clanpos'] == 3) { - $this->info['addExp'] += 0; - } - } - - unset($r1); - // - if ($btlstatus[0] > 0) { - if ($this->info['type'] == 99) { - $this->info['addExp'] += $btlstatus[1]; - } else { - $this->info['addExp'] += $btlstatus[0]; - } - } - - if ($this->users[$i]['align'] == 2 || $this->users[$i]['haos'] > time()) { - $this->stats[$i]['exp'] = -($this->info['addExp'] + 50); - } - if ($this->info['addExp'] + $this->stats[$i]['exp'] != 0) { - $prc = ' (' . (100 + $this->info['addExp'] + $this->stats[$i]['exp']) . '%)'; - } - if ($this->info['money'] > 0) { - if (isset($gm[$i])) { - $prc .= ' ' . $gm[$i] . ' . .'; - $u->addDelo(4, $this->users[$i]['id'], - '"System.battle": ' . $gm[$i] . ' . ( ' . $this->info['id'] . ').', - time(), $this->info['city'], 'System.battle', 0, 0); - $this->users[$i]['money'] += $gm[$i]; - } elseif (isset($bm[$i])) { - $prc .= ' ' . $bm[$i] . ' . .'; - $u->addDelo(4, $this->users[$i]['id'], - '"System.battle": ' . $gm[$i] . ' . ( ' . $this->info['id'] . ').', - time(), $this->info['city'], 'System.battle', 0, 0); - $this->users[$i]['money'] -= $bm[$i]; - } - } - // - if ($c['money_haot'] && $this->users[$i]['exp'] <= 200000000) { - if ($act01 == 1 && $this->info['razdel'] == 5 && $this->users[$i]['level'] >= 8) { - // - $trexp = [ - 8 => 1200, - 9 => 3000, - 10 => 4500, - 11 => 12000, - 12 => 20000, - 13 => 30000, - 14 => 30000, - 15 => 30000, - 16 => 30000, - 17 => 30000, - 18 => 30000, - 19 => 30000, - 20 => 30000, - 21 => 30000, - ]; - $trexp = $trexp[$this->users[$i]['level']]; - - // - $trmn = [ - 8 => 1000, - 9 => 3000, - 10 => 2500, - 11 => 3000, - 12 => 3000, - 13 => 3000, - 14 => 3000, - 15 => 3000, - 16 => 3000, - 17 => 3000, - 18 => 3000, - 19 => 3000, - 20 => 3000, - 21 => 3000, - ]; - $trmn = $trmn[$this->users[$i]['level']]; - - // - $admn = [ - 8 => 0.05, //0.05 - 9 => 0.065, //0.065 - 10 => 0.075, //0.075 - 11 => 0.085, //0.085 - 12 => 0.1, //0.1 - 13 => 0.1, - 14 => 0.1, - 15 => 0.1, - 16 => 0.1, - 17 => 0.1, - 18 => 0.1, - 19 => 0.1, - 20 => 0.1, - 21 => 0.1, - ]; - $admn = $admn[$this->users[$i]['level']]; - - if ($c['m'] >= 6 && $c['m'] <= 8) { - // - if ($c['w'] == 0 || $c['w'] == 5 || $c['w'] == 6) { - // - $admn = $admn * 2; - } - } elseif ($c['w'] == 0 || $c['w'] == 5 || $c['w'] == 6) { - // - $admn = $admn * 2; - } - if ($this->users[$i]['battle_exp'] < $trexp) { - // - $prc .= ', 0 ( ).'; - // - } elseif ($admn > 0) { - if ($this->info['type'] != 33) { - $prc .= ', ' . $admn . ' .'; - } - $u->addDelo(4, $this->users[$i]['id'], - '"System.battle": ' . $admn . ' ( ' . $this->info['id'] . ').', - time(), $this->info['city'], 'System.battle', 0, 0); - $this->users[$i]['money2'] += $admn; - } - } - } - - if ($this->info['money3'] > 0) { - if (isset($gms[$i])) { - $prc .= ' ' . $gms[$i] . ' $. .'; - $u->addDelo(4, $this->users[$i]['id'], - '"System.battle": ' . $gms[$i] . ' $. ( ' . $this->info['id'] . ').', - time(), $this->info['city'], 'System.battle', 0, 0); - $this->users[$i]['money3'] += $gms[$i]; - mysql_query('UPDATE `users` SET `money3` = `money3` + "' . $gms[$i] . '" WHERE `id` = "' . $this->users[$i]['id'] . '" LIMIT 1'); - } elseif (isset($bms[$i])) { - $prc .= ' ' . $bms[$i] . ' $. .'; - $u->addDelo(4, $this->users[$i]['id'], - '"System.battle": ' . $gms[$i] . ' $. ( ' . $this->info['id'] . ').', - time(), $this->info['city'], 'System.battle', 0, 0); - $this->users[$i]['money3'] -= $bms[$i]; - mysql_query('UPDATE `users` SET `money3` = `money3` - "' . $bms[$i] . '" WHERE `id` = "' . $this->users[$i]['id'] . '" LIMIT 1'); - } - } - - $lime = [ - 8 => 18000, - 9 => 28000, - 10 => 84000, - 11 => 100, - 12 => 100, - 13 => 100, - 14 => 100, - 15 => 100, - 16 => 100, - 17 => 100, - 18 => 100, - 19 => 100, - 20 => 100, - 21 => 100, - ]; - - if ($this->users[$i]['level'] < 8) { - $lime = 5400; - } else { - $lime = $lime[$this->users[$i]['level']]; - } - - if ($this->stats[$i]['silver'] >= 5) { - $lime += round($lime); - } - - if ($this->users[$i]['stopexp'] == 1) { - $lime = 0; - $this->users[$i]['battle_exp'] = 0; - } - - if ($lime < $this->users[$i]['battle_exp'] && $c['limitedexp']) { - $this->users[$i]['battle_exp'] = $lime; - } - unset($lime); - - if ($btlstatus[0] > 0) { - if ($this->info['type'] == 99) { - $prc .= ' (' . $btlstatus[3] . ')'; - } else { - $prc .= ' (' . $btlstatus[2] . ')'; - } - } - - if ($this->info['dungeon'] == 1 && $this->users[$i]['team'] == $this->info['team_win']) { - // - $rep = mysql_fetch_array(mysql_query('SELECT `dl1`,`id` FROM `rep` WHERE `id` = "' . $this->users[$i]['id'] . '" LIMIT 1')); - if ($rep['dl' . $this->info['dungeon']] > 0) { - $this->users[$i]['battle_exp'] += 3 * count($this->users); - if ($rep['dl' . $this->info['dungeon']] > $this->users[$i]['battle_exp']) { - $rep['dl' . $this->info['dungeon']] -= $this->users[$i]['battle_exp']; - } else { - $this->users[$i]['battle_exp'] = $rep['dl' . $this->info['dungeon']]; - $rep['dl' . $this->info['dungeon']] = 0; - } - mysql_query('UPDATE `rep` SET `dl' . $this->info['dungeon'] . '` = "' . $rep['dl' . $this->info['dungeon']] . '" WHERE `id` = "' . $rep['id'] . '" LIMIT 1'); - } else { - $this->users[$i]['battle_exp'] = 0; - } - } - - if ($this->users[$i]['battle_exp'] < 1) { - $this->users[$i]['battle_exp'] = 0; - } - - if ( - $this->users[$i]['battle_exp'] < 1 && - $this->users[$i]['twink'] == 0 && - $this->info['money'] == 0 && - $this->info['money3'] == 0 && - $this->info['kingfight'] == 0 && - empty($admnb) - ) { - $prc = ''; - } - - if ($this->user[$i]['host_reg'] == 'real_bot_user') { - $this->users[$i]['battle_exp'] = round($this->users[$i]['battle_exp'] / 3); - } - - if ($sinf != '') { - $sinf = ' ( ' . $sinf . ' )'; - } - - //-------------- 8-9-------------- - - if ($this->users[$i]['level'] == 8 && $this->users[$i]['battle_exp'] >= 23000) { - $this->users[$i]['battle_exp'] = 23000; - } - if ($this->users[$i]['level'] == 9 && $this->users[$i]['battle_exp'] >= 31000) { - $this->users[$i]['battle_exp'] = 31000; - } - if ($this->users[$i]['level'] == 10 && $this->users[$i]['battle_exp'] >= 52000) { - $this->users[$i]['battle_exp'] = 52000; - } - if ($this->users[$i]['level'] >= 11 && $this->users[$i]['battle_exp'] >= 75000) { - $this->users[$i]['battle_exp'] = 75000; - } - //------------------------------------- - - if ($this->info['type'] != 33) { - $this->users[$i]['battle_text'] = ' . : ' . floor($this->users[$i]['battle_yron']) . ' HP. : ' . (0 + $this->users[$i]['battle_exp']) . '' . $prc . '.' . $sinf; //stats - } - - /* */ - if ($c['nolevel']) { - $rex95 = substr($this->users[$i]['exp'], -1); - if ($this->users[$i]['money4'] < 1000 && $this->users[$i]['exp'] == 12499) { - $rex95 = 6; - $rex95 = 5; - } - } else { - $rex95 = 5; - } - - if ($c['zuby'] && $this->info['dungeon'] == 0 && ($this->info['clone'] == 0 || $this->users[$i]['level'] < 5) && $rex95 != 9 && $this->info['type'] != 564) { - if ($this->users[$i]['align'] != 2 && $this->users[$i]['level'] >= 0 && $this->users[$i]['level'] < 8 && $this->users[$i]['battle_exp'] > 0) { - $rzb = 0; - - if ($this->get_chanse(50)) { - $rzb += rand(1, 3); - } elseif ($this->users[$i]['battle_exp'] > 15) { - $rzb += 1; - } - - $chzbs = 100; - - if ($this->stats[$i]['silver'] > 0) { - $chzbs = 150; - } - - if ($this->users[$i]['battle_exp'] > 9) { - if ($this->users[$i]['level'] > 1) { - // - if ($this->get_chanse(25 / 100 * $chzbs)) { - $rzb += 10; - } - } elseif ($this->users[$i]['level'] == 1 && $this->get_chanse(30 / 100 * $chzbs)) { - $rzb += 10; - } - - if ($this->users[$i]['level'] > 3 && $this->get_chanse(5 / 100 * $chzbs)) { - $rzb += 100; - } - } - - if ($this->users[$i]['team'] == $this->info['team_win']) { - // - if ($this->users[$i]['level'] < 8) { - $rzb += 1; - } - } elseif ($this->users[$i]['team'] == 0) { - // - if ($this->get_chanse(25 / 100 * $chzbs) && $this->users[$i]['battle_exp'] > 2) { - $rzb = rand(0, 1); - } else { - $rzb = 0; - } - } else { - // - if ($this->users[$i]['level'] >= 1) { - $rzb = 0; - } else { - if ($this->users[$i]['battle_exp'] < 3) { - $rzb = 0; - } elseif ($this->user[$i]['lose'] > $this->user[$i]['win']) { - if ($this->get_chanse(5 / 100 * $chzbs)) { - $rzb = rand(0, 1); - } else { - $rzb = 0; - } - } elseif ($this->get_chanse(10 / 100 * $chzbs)) { - $rzb = rand(0, 1); - } - } - $rzb = 0; - } - - if ($rex95 == 6) { - $rzb = $this->users[$i]['battle_exp'] > 10 ? rand(0, 1) : 0; - } - - if ($rzb > 0 && rand(0, 1000) <= 500) { - $rzb = rand(1, 3); - } - if ($rzb > 0) { - if ($this->stats[$i]['silver'] >= 5) { - $rzb = $rzb * 2; - } - mysql_query('UPDATE `users` SET `money4` = `money4` + "' . $rzb . '" WHERE `id` = "' . $this->users[$i]['id'] . '" LIMIT 1'); - $this->users[$i]['battle_text'] .= ' ' . $u->zuby($rzb, - 1) . ' .'; - } - } - } - - if ($this->info['priz'] > 0) { - // - /* - [4754] - 2-3 = 1 - 4-5 = 1 - 6-7 = 2 - 8-9 = 3 - (3) - - */ - - $tmon = [ - 2 => 1, - 3 => 1, - 4 => 1, - 5 => 1, - 6 => 1, - 7 => 2, - 8 => 3, - 9 => 3, - 10 => 5, - 11 => 5, - ]; - $tmon = $tmon[$this->users[$i]['level']]; - // - $tmonc = mysql_fetch_array(mysql_query('SELECT COUNT(*) FROM `battle` WHERE `id` IN ( SELECT `battle_id` FROM `battle_last` WHERE `uid` = "' . $this->users[$i]['id'] . '" ) AND `priz` > 0 AND `time_start` > "' . strtotime(date('d.m.Y')) . '"')); - $tmonc = $tmonc[0]; - // - if ($this->users[$i]['team'] == $this->info['team_win']) { - // - if ($tmonc < 1) { - $tmonc = 1; - } elseif ($tmonc > 96) { - $tmonc = 96; - } - $tmon = ($tmon * $tmonc); - } - // - $tmoni = 1; - while ($tmoni <= floor($tmon / 2)) { - $u->addItem(4754, $this->users[$i]['id'], ''); // - $tmoni++; - } - // - $this->users[$i]['battle_text'] .= ' (x' . floor($tmon / 2) . '). ( , ! ' . ($tmonc) . '/96 )'; - // - unset($tmon, $tmoni); - } - // - if ($this->info['dungeon'] == 0 && $this->info['razdel'] == 5 && $this->users[$i]['team'] == $this->info['team_win']) { - //2 - $u->repexp_add($this->users[$i]['id'], 2); // +2 - $check = mysql_fetch_array(mysql_query('SELECT * FROM `eff_users` WHERE `id_eff` = 478 AND `uid` = "' . $this->users[$i]['id'] . '" AND `delete` = 0 ORDER BY `overType` DESC LIMIT 1;')); - if (isset($check['id'])) { - $urcheck = 10000; - if ($this->users[$i]['level'] == 8) { - $urcheck = 3000; - } elseif ($this->users[$i]['level'] == 9) { - $urcheck = 7000; - } elseif ($this->users[$i]['level'] == 10) { - $urcheck = 12000; - } elseif ($this->users[$i]['level'] >= 11) { - $urcheck = 18000; - } - - if ($this->users[$i]['battle_yron'] >= $urcheck) { - mysql_query('UPDATE `eff_users` SET `timeUse` = `timeUse` - 300 WHERE `id_eff`=478 AND `delete` = 0 AND `uid` =' . $this->users[$i]['id'] . ' LIMIT 1'); - $this->users[$i]['battle_text'] .= ' ' . $urcheck . ' -5 . !'; - } - } - mysql_query('UPDATE `users_achiv` SET `vx`= `vx`+1 WHERE `id` = "' . $this->users[$i]['id'] . '" LIMIT 1'); // - - } - // - if ($this->info['dungeon'] == 0 && $this->info['type'] == 250 && $this->users[$i]['team'] == $this->info['team_win']) { - mysql_query('UPDATE `users_achiv` SET `kw`= `kw`+1 WHERE `id` = "' . $this->users[$i]['id'] . '" LIMIT 1'); - if (date('w') == 0 || date('w') == 6 || date('w') == 4) { - $u->repexp_add($this->users[$i]['id'], 25); // () 25 - } - } - // - if ($this->info['dungeon'] == 0 && $this->info['type'] == 99 && $this->users[$i]['team'] == $this->info['team_win']) { - if (date('w') == 0 || date('w') == 6 || date('w') == 5) { - $u->repexp_add($this->users[$i]['id'], 10); // () 10 - } - } - - // - if ($this->info['dungeon'] == 0 && $this->info['type'] == 500 && $this->users[$i]['team'] == $this->info['team_win'] && $this->users[$i]['no_ip'] != 'trupojor' && $this->users[$i]['bot'] == 0) { - if ($this->users[$i]['level'] > 9) { - $mid = 903093; - } else { - $mid = 89489; - } - $mon = mysql_fetch_array(mysql_query('SELECT * FROM `aaa_monsters` WHERE `uid` = "' . $mid . '" LIMIT 1')); - - if ($this->users[$i]['battle_yron'] >= 2000) { - $ritem = rand(1, 100); - if ($ritem <= 20) { - $mon['win_itm'] = '4459@1'; - } elseif ($ritem <= 40) { - $mon['win_itm'] = '4460@1'; - } elseif ($ritem <= 60) { - $mon['win_itm'] = '4461@1'; - } elseif ($ritem <= 80) { - $mon['win_itm'] = '4462@1'; - } else { - $mon['win_itm'] = '4463@1'; - } - } elseif ($this->users[$i]['battle_yron'] >= 1500) { - $ritem = rand(1, 100); - if ($ritem <= 20) { - $mon['win_itm'] = '4459@1'; - } elseif ($ritem <= 40) { - $mon['win_itm'] = '4460@1'; - } elseif ($ritem <= 60) { - $mon['win_itm'] = '4461@1'; - } elseif ($ritem <= 80) { - $mon['win_itm'] = '4462@1'; - } else { - $mon['win_itm'] = '4463@1'; - } - } elseif ($this->users[$i]['battle_yron'] >= 1000) { - $ritem = rand(1, 100); - if ($ritem <= 25) { - $mon['win_itm'] = '4460@1'; - } elseif ($ritem <= 50) { - $mon['win_itm'] = '4461@1'; - } elseif ($ritem <= 75) { - $mon['win_itm'] = '4462@1'; - } else { - $mon['win_itm'] = '4463@1'; - } - } else { - $mon['win_itm'] = '4392@1'; - $timewait = 0; - } - if ($this->users[$i]['battle_yron'] > 0) { - mysql_query('INSERT INTO `eff_users` (`no_Ace`,`id_eff`,`overType`,`uid`,`name`,`data`,`timeUse`) VALUES ("1","478","111","' . $this->users[$i]['id'] . '"," ","pravonapodvig=1","' . time() . '")'); - } - mysql_query('INSERT INTO `actions`(`uid`, `time`, `city`, `room`, `vars`, `ip`, `vals`, `val`) VALUES ("' . $this->users[$i]['id'] . '","' . (time() - $timewait) . '","capitalcity","' . $this->users[$i]['room'] . '","end_trup"," ","","")'); - mysql_query('INSERT INTO `eff_users` (`no_Ace`,`id_eff`,`overType`,`uid`,`name`,`data`,`timeUse`) VALUES ("1","479","112","' . $u->info['id'] . '"," ","zashitatk=1","' . time() . '")'); - $ritem = rand(1, 1000); - if ($ritem == 555) { - $mon['win_itm'] = $mon['win_itm'] . ',5022@1'; - } - - $this->addGlobalItems($mid, $this->users[$i]['id'], $mon['win_itm'], $mon['win_eff'], - $mon['win_ico'], 1, $mon['win_money1'], $mon['win_money2']); //$mon['win_exp'] - - } - - if ($this->info['dungeon'] == 0 && $this->info['razdel'] == 5 && $u->info['battle_yron'] >= 2000) { - // ang_g - if ($this->users[$i]['team'] == $this->info['team_win']) { - // - $tmoni = 2; - } else { - $tmoni = 1; - } - - $tmon = $tmoni; - $effblago = mysql_fetch_array(mysql_query('SELECT * FROM `eff_users` WHERE `uid` = ' . $this->users[$i]['id'] . ' AND `delete` = 0 AND `id_eff`= 414 LIMIT 1')); - if (isset ($effblago['id'])) { - $limitg = 50; - } else { - $limitg = 25; - } - while ($tmoni >= 1) { - if ($u->info['ang_g'] < $limitg) { - $u->addItem(4754, $this->users[$i]['id'], ''); - mysql_query('UPDATE `users` SET `ang_g`=`ang_g`+1 WHERE `id` =' . $this->users[$i]['id']); - } else { - $tmon--; - } - $tmoni--; - } - - if ($this->info['type'] != 33) { - $this->users[$i]['battle_text'] .= ' (' . $tmon . '). [' . ($u->info['ang_g'] + $tmon) . '/' . $limitg . '] . '; - } - unset($tmon, $tmoni, $effblago, $limitg); - } - - - if ($this->info['razdel'] == 5 || $this->info['razdel'] == 4) { - if (date('d.m') == '31.10' || (date('m') == 11 && date('d') < 7)) { - // 4504 - $this->users[$i]['battle_text'] .= ' (x1).'; - $u->addItem(4504, $this->users[$i]['id'], '|sudba=1'); - } - } - - - // - if ($this->info['dungeon'] == 0 && $this->info['razdel'] == 5 && $this->users[$i]['exp'] >= 1500 - ) { - if ($this->users[$i]['battle_exp'] > 100 * $this->users[$i]['level']) { - $rzbvo = $this->users[$i]['battle_exp'] * 6 / 1000; - - if ($this->users[$i]['level'] == 8) { - if ($rzbvo >= 100) { - $rzbvo = 100; - } - } - if ($this->users[$i]['level'] == 9) { - if ($rzbvo >= 150) { - $rzbvo = 150; - } - } - if ($this->users[$i]['level'] == 10) { - if ($rzbvo >= 200) { - $rzbvo = 200; - } - } - if ($this->users[$i]['level'] == 11) { - if ($rzbvo >= 250) { - $rzbvo = 250; - } - } - if ($this->users[$i]['level'] == 12) { - if ($rzbvo >= 250) { - $rzbvo = 250; - } - } - if ($this->info['type'] != 33) { - $this->users[$i]['battle_text'] .= ' ' . $rzbvo . ' .'; - } - mysql_query('UPDATE `rep` SET `rep3` = `rep3` + ' . $rzbvo . ' WHERE `id` = ' . $this->users[$i]['id']); - mysql_query('INSERT INTO `actions`(`uid`, `time`, `city`, `room`, `vars`, `ip`, `vals`, `val`) VALUES ("' . $this->users[$i]['id'] . '","' . time() . '","capitalcity","' . $this->users[$i]['room'] . '","end_xaot"," ","' . $zadID . '","")'); - } - } - - if ($this->stats[$i]['hpNow'] >= 1) { - $this->stats[$i]['test_heal'] = mysql_fetch_array(mysql_query('SELECT SUM(`yrn`) FROM `battle_stat` WHERE `uid2` = "' . $this->users[$i]['id'] . '" AND `battle` = "' . $this->info['id'] . '" LIMIT 1')); - $this->stats[$i]['test_heal'] = $this->stats[$i]['test_heal'][0]; - $this->stats[$i]['test_start'] = mysql_fetch_array(mysql_query('SELECT `hpStart` FROM `battle_users` WHERE `uid` = "' . $this->users[$i]['id'] . '" AND `battle` = "' . $this->info['id'] . '" LIMIT 1')); - $this->stats[$i]['test_start'] = $this->stats[$i]['test_start']['hpStart']; - // - $this->stats[$i]['hpNow'] = ($this->stats[$i]['test_start'] - $this->stats[$i]['test_heal']); - if ($this->stats[$i]['hpNow'] < 1) { - $this->stats[$i]['hpNow'] = 1; - } - } else { - $this->stats[$i]['hpNow'] = 0; - } - - unset($this->stats[$i]['test_heal']); - - $this->users[$i]['last_b'] = $this->info['id']; //stats - $this->users[$i]['last_a'] = $act01; - $this->users[$i]['battle'] = -1; //users - $this->users[$i]['battle_yron'] = 0; //stats - - $this->users[$i]['exp'] += $this->users[$i]['battle_exp']; //users - - // ( ) - - if ($this->users[$i]['clan'] > 0) { - $cpr = 1; - if ($this->info['typeBattle'] == 9) { - $cpr = 25; - } elseif ($this->info['typeBattle'] == 50) { - $cpr = 65; - } - if ($this->stats[$i]['silver'] >= 5) { - $cpr = floor($cpr / 100 * 150); - } - mysql_query('UPDATE `clan` SET `exp` = `exp` + "' . round($this->users[$i]['battle_exp'] / 100 * $cpr) . '" WHERE `id` = "' . $this->users[$i]['clan'] . '" LIMIT 1'); - } - - $this->users[$i]['battle_exp'] = 0; //stats - - if ($this->users[$i]['team'] == $this->info['team_win']) { - mysql_query('UPDATE `rep` SET `n_capitalcity` = `n_capitalcity` + ' . $this->users[$i]['bn_capitalcity'] . ' ,`n_demonscity` = `n_demonscity` + ' . $this->users[$i]['bn_demonscity'] . ' ,`n_demonscity` = `n_demonscity` + ' . $this->users[$i]['bn_suncity'] . ' WHERE `id` = "' . $this->users[$i]['id'] . '" LIMIT 1'); - } - - // - $this->users[$i]['bn_demonscity'] = 0; - $this->users[$i]['bn_capitalcity'] = 0; - $this->users[$i]['bn_suncity'] = 0; - // - $spe = mysql_query('SELECT * FROM `eff_users` WHERE `uid` = "' . $this->users[$i]['id'] . '" AND `file_finish` != "" AND `v1` = "priem" LIMIT 30'); - while ($ple = mysql_fetch_array($spe)) { - if (file_exists('../../_incl_data/class/priems/' . $ple['file_finish'] . '.php')) { - require('../../_incl_data/class/priems/' . $ple['file_finish'] . '.php'); - } - } - // - mysql_query('DELETE FROM `eff_users` WHERE `v1` = "priem" AND `uid` = "' . $this->users[$i]['id'] . '" LIMIT 50'); - if ($dnr == 1) { - if ($this->users[$i]['room'] == 370) { - $dies = mysql_fetch_array(mysql_query('SELECT COUNT(`id`) FROM `dungeon_actions` WHERE `uid` = "' . $this->users[$i]['id'] . '" AND `dn` = "' . $this->users[$i]['dnow'] . '" AND `vars` = "dielaba" LIMIT 1')); - $dies = $dies[0]; - mysql_query('INSERT INTO `dungeon_actions` (`dn`,`uid`,`x`,`y`,`time`,`vars`,`vals`) VALUES ( - "' . $this->users[$i]['dnow'] . '","' . $this->users[$i]['id'] . '","' . $this->users[$i]['x'] . '","' . $this->users[$i]['y'] . '","' . time() . '","dielaba","" - )'); - } else { - $dies = mysql_fetch_array(mysql_query('SELECT COUNT(`id`) FROM `dungeon_actions` WHERE `uid` = "' . $this->users[$i]['id'] . '" AND `dn` = "' . $this->users[$i]['dnow'] . '" AND `vars` = "die" LIMIT 1')); - $dies = $dies[0]; - mysql_query('INSERT INTO `dungeon_actions` (`dn`,`uid`,`x`,`y`,`time`,`vars`,`vals`) VALUES ( - "' . $this->users[$i]['dnow'] . '","' . $this->users[$i]['id'] . '","' . $this->users[$i]['x'] . '","' . $this->users[$i]['y'] . '","' . time() . '","die","" - )'); - } - if ($dies < 2 || $this->info['dungeon'] == 15) { - // - $tshbn = mysql_fetch_array(mysql_query('SELECT `id` FROM `items_users` WHERE `uid` = "' . $this->users[$i]['id'] . '" AND `delete` = 0 AND `item_id` = "4910" LIMIT 1')); - if (isset($tshbn['id'])) { - // - mysql_query('DELETE FROM `items_users` WHERE `id` = "' . $tshbn['id'] . '" LIMIT 1'); - // - mysql_query('INSERT INTO `dungeon_obj` ( - `name`,`dn`,`x`,`y`,`img`,`delete`,`action`,`for_dn`, - `type`,`w`,`h`,`s`,`s2`,`os1`,`os2`,`os3`,`os4`,`type2`,`top`,`left`,`date` - ) VALUES ( - "","' . $this->info['dn_id'] . '","' . $this->users[$i]['x'] . '","' . $this->users[$i]['y'] . '","shaiba.png","0","fileact:15/shaiba","0", - "0","120","220","0","0","5","8","12","0","0","0","0","{use:\'takeit\',rt1:69,rl1:-47,rt2:74,rl2:126,rt3:76,rl3:140,rt4:80,rl4:150}" - )'); - // - } - // ( 00) - $this->users[$i]['x'] = $this->users[$i]['res_x']; - $this->users[$i]['y'] = $this->users[$i]['res_y']; - $this->users[$i]['s'] = $this->users[$i]['res_s']; - $r_n = mysql_fetch_array(mysql_query('SELECT `name` FROM `room` WHERE `id` = "' . (int)$this->users[$i]['room'] . '" LIMIT 1')); - if ($this->users[$i]['room'] == 370) { - if ($this->users[$i]['sex'] == 0) { - $rtxt = '' . $this->users[$i]['login'] . ' '; - } else { - $rtxt = '' . $this->users[$i]['login'] . ' '; - } - } else { - if ($this->users[$i]['sex'] == 0) { - $rtxt = '' . $this->users[$i]['login'] . ' "' . $r_n['name'] . '"'; - } else { - $rtxt = '' . $this->users[$i]['login'] . ' "' . $r_n['name'] . '"'; - } - } - } elseif ($this->info['dungeon'] == 102) { - $nld = ''; - $lab = mysql_fetch_array(mysql_query('SELECT `id`,`users` FROM `laba_now` WHERE `id` = "' . $this->users[$i]['id'] . '" LIMIT 1')); - if ($lab['users'] < 2) { - // - mysql_query('DELETE FROM `laba_now` WHERE `id` = "' . $lab['id'] . '" LIMIT 1'); - mysql_query('DELETE FROM `laba_map` WHERE `id` = "' . $lab['id'] . '" LIMIT 1'); - mysql_query('DELETE FROM `laba_obj` WHERE `lib` = "' . $lab['id'] . '"'); - mysql_query('DELETE FROM `laba_act` WHERE `lib` = "' . $lab['id'] . '"'); - mysql_query('DELETE FROM `laba_itm` WHERE `lib` = "' . $lab['id'] . '"'); - } else { - $lab['users']--; - mysql_query('UPDATE `laba_now` SET `users` = "' . $lab['users'] . '" WHERE `id` = "' . $lab['id'] . '" LIMIT 1'); - } - mysql_query('UPDATE `stats` SET `dnow` = "0" WHERE `id` = "' . $this->users[$i]['id'] . '" LIMIT 1'); - mysql_query('UPDATE `users` SET `room` = "369" WHERE `id` = "' . $this->users[$i]['id'] . '" LIMIT 1'); - // - mysql_query('UPDATE `items_users` SET `delete` = "' . time() . '" WHERE `uid` = "' . $this->users[$i]['id'] . '" AND `delete` < 1234567890 AND `inShop` = "0" AND (`dn_delete` = "1" OR `data` LIKE "%fromlaba=1%")'); - if ($this->users[$i]['login'] != '') { - if ($this->users[$i]['sex'] == 0) { - $rtxt = '' . $this->users[$i]['login'] . ' ' . $nld; - } else { - $rtxt = '' . $this->users[$i]['login'] . ' ' . $nld; - } - } - } else { - $tinf = mysql_fetch_array(mysql_query('SELECT `uid` FROM `dungeon_now` WHERE `id` = "' . $this->info['dn_id'] . '" LIMIT 1')); - $nld = ''; - if ($tinf['uid'] == $this->users[$i]['id']) { - $tinf = mysql_fetch_array(mysql_query('SELECT `id` FROM `stats` WHERE `dnow` = "' . $this->info['dn_id'] . '" AND `hpNow` >= 1 LIMIT 1')); - if (isset($tinf['id'])) { - $tinf = mysql_fetch_array(mysql_query('SELECT `id`,`login` FROM `users` WHERE `id` = "' . $tinf['id'] . '" LIMIT 1')); - $nld .= ', "' . $tinf['login'] . '"'; - mysql_query('UPDATE `dungeon_now` SET `uid` = "' . $tinf['id'] . '" WHERE `id` = "' . $this->info['dn_id'] . '" LIMIT 1'); - } - } - $rooms = [ - 374 => 372, // ( ) - 189 => 188, // ( ) - 392 => 393, // ( ) - - 398 => 397, // ( ) - 243 => 395, // ( ) - 360 => 242, // ( ) - - 19 => 293 // - ]; - // $n_rm = $rooms[$this->users[$i]['room']]; - mysql_query('UPDATE `stats` SET `dnow` = "0" WHERE `id` = "' . $this->users[$i]['id'] . '" LIMIT 1'); - mysql_query('UPDATE `users` SET `room` = "321" WHERE `id` = "' . $this->users[$i]['id'] . '" LIMIT 1'); - // - mysql_query('UPDATE `items_users` SET `delete` = "' . time() . '" WHERE `uid` = "' . $this->users[$i]['id'] . '" AND `dn_delete` = "1" LIMIT 1000'); - mysql_query('UPDATE `items_users` SET `delete` = "' . time() . '" WHERE `uid` = "' . $u->info['id'] . '" AND `item_id` = "1189" OR `item_id` = "4447" OR `item_id` = "1174") LIMIT 1000'); - if ($this->users[$i]['sex'] == 0) { - $rtxt = '' . $this->users[$i]['login'] . ' ' . $nld; - } else { - $rtxt = '' . $this->users[$i]['login'] . ' ' . $nld; - } - } - if ($rtxt != '') { - mysql_query("INSERT INTO `chat` (`dn`,`city`,`room`,`login`,`to`,`text`,`time`,`type`,`toChat`,`typeTime`,`new`) VALUES ('" . $this->info['dn_id'] . "','" . $this->users[$i]['city'] . "','" . $this->users[$i]['room'] . "','','','" . $rtxt . "','" . time() . "','6','0','1','1')"); - } - } - - mysql_query('UPDATE `users` SET `login2` = "" WHERE `battle` = "' . $this->info['id'] . '"'); - mysql_query('UPDATE `users` SET `login2` = "", `money` = "' . $this->users[$i]['money'] . '", `money2` = "' . $this->users[$i]['money2'] . '",`win` = "' . $this->users[$i]['win'] . '",`lose` = "' . $this->users[$i]['lose'] . '",`nich` = "' . $this->users[$i]['nich'] . '",`battle` = "-1" WHERE `id` = "' . $this->users[$i]['id'] . '" LIMIT 1'); - - if ($u->info['id'] == $this->users[$i]['id']) { - $u->info['battle_text'] = $this->users[$i]['battle_text']; - } - - mysql_query('UPDATE `stats` SET `hpNow` = "' . $this->stats[$i]['hpNow'] . '",`mpNow` = "' . $this->stats[$i]['mpNow'] . '",`bn_capitalcity` = 0,`bn_demonscity` = 0,`smena` = 3,`tactic7` = "-100",`x`="' . $this->users[$i]['x'] . '",`y`="' . $this->users[$i]['y'] . '",`priems_z`="0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0",`last_pr`="0",`tactic1`="0",`tactic2`="0",`tactic3`="0",`tactic4`="0",`tactic5`="0",`tactic6`="0.00000000",`tactic7`="10",`exp` = "' . $this->users[$i]['exp'] . '",`battle_exp` = "' . $this->users[$i]['battle_exp'] . '",`battle_text` = "' . $this->users[$i]['battle_text'] . '",`battle_yron` = "0",`enemy` = "0",`last_b`="' . $this->info['id'] . '",`regHP` = "' . time() . '",`regMP` = "' . time() . '" WHERE `id` = "' . $this->users[$i]['id'] . '" LIMIT 1'); - if ($this->info['turnir'] == 0) { - // - mysql_query("INSERT INTO `chat` (`new`,`city`,`room`,`login`,`to`,`text`,`time`,`type`,`toChat`) VALUES ('1','" . $this->users[$i]['city'] . "','" . $this->users[$i]['room'] . "','','" . $this->users[$i]['login'] . "','" . $this->users[$i]['battle_text'] . "','-1','6','0')"); - } else { - mysql_query('UPDATE `turnirs` SET `winner` = "' . $this->info['team_win'] . '" WHERE `id` = "' . $this->info['turnir'] . '" LIMIT 1'); - } - // - mysql_query('UPDATE `battle` SET `time_over` = "' . time() . '",`team_win` = "' . $this->info['team_win'] . '" WHERE `id` = "' . $this->info['id'] . '" LIMIT 1'); - - // - if ($this->users[$i]['animal'] > 0) { - $a = mysql_fetch_array(mysql_query('SELECT * FROM `users_animal` WHERE `uid` = ' . $this->users[$i]['id'] . ' AND `id` = ' . $this->users[$i]['animal'] . ' AND `pet_in_cage` = 0 AND `delete` = 0 LIMIT 1')); - if (isset($a['id'])) { - if ($a['eda'] < 1) { - $u->send('', $this->users[$i]['room'], $this->users[$i]['city'], '', - $this->users[$i]['login'], '' . $a['name'] . ' ...', - time(), 6, 0, 0, 0, 1); - } - } - } - mysql_query("UPDATE `stats` SET `battle_text` = '',`last_b` = 0 WHERE `id` = " . $this->users[$i]['id']); - mysql_query("UPDATE `battle_users` SET `finish` = 1 WHERE `uid` = " . $this->users[$i]['id']); - $this->saveLogs(); - if ($u->info['battle'] != 0 && !isset($u->info['battle_lsto'])) { - echo ''; - } - } - } else { - sleep(2); - } - mysql_query('UPDATE `battle` SET `testfinish` = 0 WHERE `id` = ' . $this->info['id']); - mysql_query('UNLOCK TABLES'); - } - - // - private $ainm = []; - - /** - * @param $uid - * @param int $itemId - * @param string $data - * @return void - */ - private function addGlobalItem($uid, $itemId, $data) - { - $room = $this->users[$this->uids[$uid]]['room']; - $login = $this->users[$this->uids[$uid]]['login']; - $q = "insert into items_local (room, time, item_id, data, tr_login, colvo) values - ($room, unix_timestamp(), $itemId, $data, $login, 1)"; - mysql_query($q); - } - - private function addGlobalItems($bid, $uid, $itm, $eff, $ico, $exp, $cr, $ecr) - { - global $u; - // - // - if ($bid == 1008) { - // - $jit = 0; - $iit = mysql_fetch_array(mysql_query('SELECT COUNT(*) FROM `users` WHERE `online` > unix_timestamp() - 120')); - $iit = floor($iit[0] / 20); - $iit = rand(1, $iit); - while ($jit < $iit) { - if (rand(0, 100) < 50) { - $svtk = array_fill(0, 71, 1000); - array_push($svtk, - 1461, 1462, 1463, 4037, - 4038, 4039, 4040, 911, - 1172, 1173, 2142, 2141, - 2143, 2870, 2144); - - $svtk = $svtk[rand(0, count($svtk) - 1)]; - if ($svtk == 1000) { - $this->addGlobalItem($uid, $svtk, '|nosale=1|srok=259200'); - $this->addGlobalItem($uid, $svtk, '|nosale=1|srok=259200'); - $this->addGlobalItem($uid, $svtk, '|nosale=1|srok=259200'); - $this->addGlobalItem($uid, $svtk, '|nosale=1|srok=259200'); - $this->addGlobalItem($uid, $svtk, '|nosale=1|srok=259200'); - $this->addGlobalItem($uid, $svtk, '|nosale=1|srok=259200'); - } - $this->addGlobalItem($uid, $svtk, '|nosale=1|srok=259200'); - } - $jit++; - } - unset($svtk); - } elseif ($bid == 1007) { - //, CAPITAL CITY - $jit = 0; - $iit = mysql_fetch_array(mysql_query('SELECT COUNT(*) FROM `users` WHERE `online` > unix_timestamp() - 120')); - $iit = floor($iit[0] / 20); - $iit = rand(1, $iit); - while ($jit < $iit) { - if (rand(0, 100) < 50) { - $this->addGlobalItem($uid, 4504, ''); - } - $jit++; - } - } elseif ($bid == 1006) { - // CAPITAL CITY - if (rand(0, 100) < 10) { - $this->addGlobalItem($uid, 4451, 'srok=86400'); - } - } elseif ($bid == 1000) { - // CAPITAL CITY - $this->addGlobalItem($uid, 4460, 'srok=2592000'); - } elseif ($bid == 1001) { - // CAPITAL CITY - $this->addGlobalItem($uid, 4461, 'srok=2592000'); - } elseif ($bid == 1002) { - // CAPITAL CITY - $this->addGlobalItem($uid, 4462, 'srok=2592000'); - } elseif ($bid == 1003) { - // CAPITAL CITY - $this->addGlobalItem($uid, 4463, 'srok=2592000'); - } elseif ($bid == 1004) { - // CAPITAL CITY - $this->addGlobalItem($uid, 4459, 'srok=2592000'); - } - - if ($exp >= 0) { - $this->users[$this->uids[$uid]]['battle_exp'] += round($exp * $this->users[$this->uids[$uid]]['battle_yron'] / $this->stats[$this->uids[$bid]]['hpAll']); - mysql_query('UPDATE `stats` SET `battle_exp` = "' . mysql_real_escape_string($this->users[$this->uids[$uid]]['battle_exp']) . '" WHERE `id` = "' . mysql_real_escape_string($uid) . '" LIMIT 1'); - } - - if ($cr != '' && $cr > 0) { - if ($this->stats[$this->uids[$uid]]['hpNow'] > 0) { - mysql_query('UPDATE `users` SET `money` = (`money` + ' . mysql_real_escape_string($cr) . ') WHERE `id` = "' . mysql_real_escape_string($uid) . '" LIMIT 1'); - mysql_query("INSERT INTO `chat` (`new`,`city`,`room`,`login`,`to`,`text`,`time`,`type`,`toChat`) VALUES ('1','" . $this->users[$this->uids[$uid]]['city'] . "','" . $this->users[$this->uids[$uid]]['room'] . "','','" . $this->users[$this->uids[$uid]]['login'] . "',' : " . mysql_real_escape_string($cr) . " .','-1','6','0')"); - } - } - // - if ($ecr != '' && $ecr > 0) { - if ($this->stats[$this->uids[$uid]]['hpNow'] > 0) { - $this->users[$this->uids[$uid]]['money2'] += $ecr; - $resulttp = mysql_query('UPDATE `users` SET `money2` = (`money2` + ' . mysql_real_escape_string($ecr) . ') WHERE `id` = "' . $this->users[$this->uids[$uid]]['id'] . '" LIMIT 1'); - if (!$resulttp) { - mysql_query("INSERT INTO `chat` (`new`,`city`,`room`,`login`,`to`,`text`,`time`,`type`,`toChat`) VALUES ('1','" . $this->users[$this->uids[$uid]]['city'] . "','" . $this->users[$this->uids[$uid]]['room'] . "','','" . $this->users[$this->uids[$uid]]['login'] . "',' !!!','-1','6','0')"); - $u->addDelo(4, $this->users[$this->uids[$uid]]['id'], - '"System.battle>": ( ), !!! ', - time(), - $this->users[$this->uids[$uid]]['city'], 'System.battle', 0, 0); - } else { - mysql_query("INSERT INTO `chat` (`new`,`city`,`room`,`login`,`to`,`text`,`time`,`type`,`toChat`) VALUES ('1','" . $this->users[$this->uids[$uid]]['city'] . "','" . $this->users[$this->uids[$uid]]['room'] . "','','" . $this->users[$this->uids[$uid]]['login'] . "',' -: " . mysql_real_escape_string($ecr) . " .','-1','6','0')"); - $u->addDelo(4, $this->users[$this->uids[$uid]]['id'], - '"System.battle": ' . $ecr . ' ( ), : ' . $this->users[$this->uids[$uid]]['money2'] . ' ', - time(), $this->users[$this->uids[$uid]]['city'], 'System.battle', 0, 0); - } - } - } - // - if ($ico != '') { - /* - 0(, 1 - , 2 - )@ - 1( )@ - 2( )@ - 3()@ - 4( 0 1, -1)@ - 5( % 0.001)@ - 6( : add_s1=5|add_hpAll=50)@ - 7( , )@ - 8( 0 1)@ - 9( 0 or 1) - */ - $i = 0; - $txt = ''; - $ico = explode('#', $ico); - while ($i < count($ico)) { - $ico_e = explode('@', $ico[$i]); - if (isset($ico_e[3])) { - // - $add = 1; - if ($ico_e[4] == 1 && floor($this->stats[$this->uids[$uid]]['hpNow']) < 1) { - $add = 0; - } - if ($add == 1) { - $ins = false; - if ($ico_e[8] == 0) { - $ins = true; - if ($ico_e[9] == 1) { - mysql_query('DELETE FROM `users_ico` WHERE `uid` = ' . (int)$uid . ' AND `img` = ' . mysql_real_escape_string($ico_e[2])); - } - } else { - $old_ico = mysql_fetch_array(mysql_query('SELECT `id` FROM `users_ico` WHERE `uid` = ' . (int)$uid . ' AND (`endTime` > unix_timestamp() OR `endTime` = 0) AND `img` = ' . mysql_real_escape_string($ico_e[2]) . ' LIMIT 1')); - if (!isset($old_ico['id'])) { - $ins = true; - } else { - if ($old_ico['id'] > 0) { - $txt .= ', "' . $ico_e[3] . ' ()"'; - mysql_query('UPDATE `users_ico` SET `x` = `x` + 1,`endTime` = ' . (time() + $ico_e[1] * 60) . ' WHERE `id` = ' . $old_ico['id']); - } else { - $ins = true; - } - } - unset($old_ico); - } - - if ($ins) { - if ($ico_e[9] == 1) { - mysql_query('DELETE FROM `users_ico` WHERE `uid` = ' . mysql_real_escape_string($uid) . ' AND `img` = ' . mysql_real_escape_string($ico_e[2])); - } - mysql_query('INSERT INTO `users_ico` (`uid`,`time`,`text`,`img`,`endTime`,`type`,`bonus`) VALUES ( - ' . mysql_real_escape_string($uid) . ', - unix_timestamp(), - ' . mysql_real_escape_string($ico_e[3]) . ', - ' . mysql_real_escape_string($ico_e[2]) . ', - ' . mysql_real_escape_string(time() + $ico_e[1] * 60) . ', - ' . mysql_real_escape_string($ico_e[0]) . ', - ' . mysql_real_escape_string($ico_e[6]) . ' - )'); - $txt .= ', "' . $ico_e[3] . '"'; - } - } - } - $i++; - } - if ($txt != '') { - $txt = ltrim($txt, ', '); - mysql_query("INSERT INTO `chat` (`new`,`city`,`room`,`login`,`to`,`text`,`time`,`type`,`toChat`) VALUES ('1','" . $this->users[$this->uids[$uid]]['city'] . "','" . $this->users[$this->uids[$uid]]['room'] . "','','" . $this->users[$this->uids[$uid]]['login'] . "',' : " . mysql_real_escape_string($txt) . "','-1','6','0')"); - } - } - // - if ($itm != '') { - $i = 0; - $txt = ''; - $itm = explode(',', $itm); - while ($i < count($itm)) { - $itm_e = explode('@', $itm[$i]); - if ($itm_e[0] > 0) { - $j = 0; - while ($j < $itm_e[1]) { - $u->addItem($itm_e[0], $uid, '|' . $itm_e[2]); - $j++; - } - if (!isset($this->ainm[$itm_e[0]])) { - $this->ainm[$itm_e[0]] = mysql_fetch_array(mysql_query('SELECT `id`,`name` FROM `items_main` WHERE `id` = ' . mysql_real_escape_string($itm_e[0]))); - } - if (isset($this->ainm[$itm_e[0]]['id'])) { - // - $txt .= ', ' . $this->ainm[$itm_e[0]]['name'] . ''; - if ($itm_e[1] > 1) { - $txt .= ' (x' . $itm_e[1] . ')'; - } - } - } - $i++; - } - if ($txt != '') { - $txt = ltrim($txt, ', '); - mysql_query("INSERT INTO `chat` (`new`,`city`,`room`,`login`,`to`,`text`,`time`,`type`,`toChat`) VALUES ('1','" . $this->users[$this->uids[$uid]]['city'] . "','" . $this->users[$this->uids[$uid]]['room'] . "','','" . $this->users[$this->uids[$uid]]['login'] . "',' : " . mysql_real_escape_string($txt) . "','-1','6','0')"); - } - } - } - - /** - * @return void - */ - private function addNewAtack() - { - global $u; - if (!isset($this->ga[$u->info['id']][$u->info['enemy']])) { - if ($this->stats[$this->uids[$u->info['id']]]['hpNow'] > 0) { - $us = $this->stats[$this->uids[$u->info['id']]]; - $i = 1; - $no = 0; - - while ($i <= $us['zona']) { - if ($this->uAtc['a'][$i] == 0) { - $no = 1; - } - $i++; - } - - if ($this->uAtc['b'] == 0) { - $no = 1; - } - - if ($no == 0) { - // - if ($u->info['enemy'] > 0) { - if (!isset($this->ga[$u->info['enemy']][$u->info['id']])) { - if ( - $this->stats[$this->uids[$u->info['id']]]['hpNow'] >= 1 && - $this->stats[$this->uids[$u->info['enemy']]]['hpNow'] >= 1 - ) { - // - $a = $this->uAtc['a'][1] . - $this->uAtc['a'][2] . - $this->uAtc['a'][3] . - $this->uAtc['a'][4] . - $this->uAtc['a'][5]; - $b = $this->uAtc['b']; - mysql_query('DELETE FROM `battle_act` WHERE `battle` = ' . $this->info['id'] . ' AND ((`uid2` = ' . $u->info['id'] . ' AND `uid1` = ' . $u->info['enemy'] . ') OR (`uid1` = ' . $u->info['id'] . ' AND `uid2` = ' . $u->info['enemy'] . ')) LIMIT 2'); - $d = mysql_query('INSERT INTO `battle_act` (`battle`,`time`,`uid1`,`uid2`,`a1`,`b1`) VALUES (' . $this->info['id'] . ',' . time() . ',' . $u->info['id'] . ',' . $u->info['enemy'] . ',' . $a . ',' . $b . ')'); - if (!$d) { - $this->e = ' ...'; - } else { - $this->ga[$u->info['id']][$u->info['enemy']] = mysql_insert_id(); - } - } - } else { - // - if ($this->stats[$this->uids[$u->info['id']]]['hpNow'] >= 1 && $this->stats[$this->uids[$u->info['enemy']]]['hpNow'] >= 1) { - if (isset($this->atacks[$this->ga[$u->info['enemy']][$u->info['id']]]['id'])) { - $this->atacks[$this->ga[$u->info['enemy']][$u->info['id']]]['a2'] = $this->uAtc['a'][1] . $this->uAtc['a'][2] . $this->uAtc['a'][3] . $this->uAtc['a'][4] . $this->uAtc['a'][5]; - $this->atacks[$this->ga[$u->info['enemy']][$u->info['id']]]['b2'] = $this->uAtc['b']; - $this->startAtack($this->atacks[$this->ga[$u->info['enemy']][$u->info['id']]]['id']); - } - } - } - } - } else { - $this->e = ' '; - } - } else { - $this->e = ' , ...'; - } - } - } - - - /** , - . - * . . - *
    : /class/priems/* - * @param int $uid1 - * @param int $uid2 - * @param int $end > 0, *.end.php, *.php - * @return void - */ - private function magicItems($uid1, $uid2, $end) - { - if (!isset($this->stats[$this->uids[$uid1]])) { - return; - } - foreach ($this->stats[$this->uids[$uid1]]['items'] as $item) { - if (!$item['id'] || !$this->lookStats($item['data'])['bm_a1']) { - continue; - } - $file = $this->lookStats($item['data'])['bm_a1'] . $end > 0 ? '.end.php' : '.php'; - if (file_exists('../../_incl_data/class/priems/' . $file)) { - require_once '../../_incl_data/class/priems/' . $file; - } - } - } - - private $rehodeff = []; - - // - private $poglast = []; - - public function testPogB($uid, $yr, $pliid, $test = 0) - { - $yr2 = $yr; - - $checktuman = mysql_fetch_array(mysql_query('SELECT id FROM `eff_users` WHERE `uid` = ' . $uid . ' - AND v2 in (273, 286, 287, 288) - AND `delete` =0 LIMIT 1')); // - //if ( !isset($checktuman['id'])) - if ($yr > 0 && !isset($checktuman['id'])) { - global $priem; - $i = 0; - while ($i < count($this->stats[$this->uids[$uid]]['set_pog2'])) { - $j = $this->stats[$this->uids[$uid]]['set_pog2'][$i]; - if ($this->stats[$this->uids[$uid]]['effects'][$j['id'] - 1]['id'] == $pliid || $test == 1) { - $this->stats[$this->uids[$uid]]['effects'][$j['id'] - 1]['data'] = str_replace('add_pog2=' . $j['y'], - 'add_pog2=$', $this->stats[$this->uids[$uid]]['effects'][$j['id'] - 1]['data']); - $dt3 = $this->lookStats($this->stats[$this->uids[$uid]]['effects'][$j['id'] - 1]['data']); - - $dt3['add_pog2p'] = min(floor($j['y'] / $yr2 * 100), $dt3['add_pog2p']); - - if (isset($dt3['add_pog2mp'])) { - if ((round(round($yr2 / 100 * (100 - $dt3['add_pog2p'])) * $dt3['add_pog2mp'])) > $this->stats[$this->uids[$uid]]['mpNow']) { - // , % - $j['yhj'] = $this->stats[$this->uids[$uid]]['mpNow'] / (round(round($yr2 / 100 * (100 - $dt3['add_pog2p'])) * $dt3['add_pog2mp'])) * 100; - $j['yhj'] = floor($j['yhj']); // % - $dt3['add_pog2p'] = floor($dt3['add_pog2p'] / 100 * $j['yhj']); - } - if ($test == 1) { - $priem->minMana($uid, round(round($yr2 / 100 * $dt3['add_pog2p']) * $dt3['add_pog2mp'])); - } - } - if (!isset($this->poglast[$uid])) { - $this->poglast[$uid] = 0; - } - $this->poglast[$uid] += $yr2; - if ($test == 1) { - $j['y'] -= round($this->poglast[$uid] / 100 * $dt3['add_pog2p']); - $priem->minMana($uid, - round(round($this->poglast[$uid] / 100 * $dt3['add_pog2p']) * $dt3['add_pog2mp'])); - } - if (isset($dt3['add_pog2p'])) { - $yr2 = round($yr2 / 100 * (100 - $dt3['add_pog2p'])); - } - if ($j['y'] < 0 || ($this->stats[$this->uids[$uid]]['mpNow'] <= 0 && $dt3['add_pog2mp'] > 0)) { - $dt2 = $this->lookStats($this->stats[$this->uids[$uid]]['effects'][$j['id'] - 1]['data']); - if (isset($dt2['endPog']) && $dt2['endPog'] == 1) { - // - // - $this->stats[$this->uids[$uid]]['effects'][$j['id'] - 1]['priem'] = mysql_fetch_array(mysql_query('SELECT * FROM `priems` WHERE `id` = "' . $this->stats[$this->uids[$uid]]['effects'][$j['id'] - 1]['v2'] . '" LIMIT 1')); - $this->delPriem($this->stats[$this->uids[$uid]]['effects'][$j['id'] - 1], - $this->users[$this->uids[$uid]], 4, $uid); - $this->stats[$this->uids[$uid]]['effects'][$j['id'] - 1] = 'delete'; - } - unset($dt2); - $j['y'] = 0; - } - $this->stats[$this->uids[$uid]]['set_pog'][$i]['y'] = $j['y']; - if (isset($this->stats[$this->uids[$uid]]['effects'][$j['id'] - 1]['data'])) { - $this->stats[$this->uids[$uid]]['effects'][$j['id'] - 1]['data'] = str_replace('add_pog2=$', - 'add_pog2=' . $j['y'], $this->stats[$this->uids[$uid]]['effects'][$j['id'] - 1]['data']); - mysql_query('UPDATE `eff_users` SET `data` = ' . $this->stats[$this->uids[$uid]]['effects'][$j['id'] - 1]['data'] . ' WHERE `id` = ' . $this->stats[$this->uids[$uid]]['effects'][$j['id'] - 1]['id']); - } - - if ($j['y'] - $this->poglast[$uid] + $yr2 < 0) { - $yr -= $yr + ($j['y'] - $this->poglast[$uid] + $yr2); - $yr2 = $yr; - $i = count($this->stats[$this->uids[$uid]]['set_pog2']) + 1; - } - } - $i++; - } - } - return $yr2; - } - - /** . */ - private function newRazmen($id) - { - $at = [1 => [0], 2 => [0]]; - $uid1 = $this->atacks[$id]['uid1']; - $uid2 = $this->atacks[$id]['uid2']; - - if ($this->atacks[$id]['out1'] == 0) { - $at[1] = $this->usersTestAtack($id, $uid1, $uid2); - } - if ($this->atacks[$id]['out2'] == 0) { - $at[2] = $this->usersTestAtack($id, $uid2, $uid1); - } - - return $at; - } - - /** 1 2 (?) */ - private function usersTestAtack($id, $uid1, $uid2) - { - $r = []; - $block = [0, 0, 0, 0, 0, 0,]; - - // - $i = 1; - if ($uid1 == $this->atacks[$id]['uid1']) { - $a = 2; - $j = $this->atacks[$id]['b2']; - $atack = [ - 0, - $this->atacks[$id]['a1'][0], - $this->atacks[$id]['a1'][1], - $this->atacks[$id]['a1'][2], - $this->atacks[$id]['a1'][3], - $this->atacks[$id]['a1'][4], - ]; - } elseif ($uid2 == $this->atacks[$id]['uid1']) { - $a = 1; - $j = $this->atacks[$id]['b1']; - $atack = [ - 0, - $this->atacks[$id]['a2'][0], - $this->atacks[$id]['a2'][1], - $this->atacks[$id]['a2'][2], - $this->atacks[$id]['a2'][3], - $this->atacks[$id]['a2'][4], - ]; - } - if ($this->atacks[$id]['out' . $a] == 0) { - while ($i <= $this->stats[$this->uids[$uid2]]['zonb']) { - //echo '{'.$j.'}'; - $block[$j] = 1; - $j++; - if ($j > 5 || $j < 1) { - $j = 1; - } - $i++; - } - } - // - $i = 1; - while ($i <= $this->stats[$this->uids[$uid1]]['zona']) { - if (!isset($atack[$i]) || $atack[$i] == 0) { - $atack[$i] = rand(1, 5); - } - if ($atack[$i] > 0) { - if ($block[$atack[$i]] == 1) { - // - // , - $r['atack'][] = [$atack[$i], 3, 0]; - } else { - // - // , - $r['atack'][] = [$atack[$i], 1, 0]; - } - } - $i++; - } - return $r; - } - - // - - /** - * @param $id - * @param $uid1 - * @param $uid2 - * @param $atack - * @return bool (bool) - */ - public function testRazmenblock1($id, $uid1, $uid2, $atack) - { - $block = []; - // - $i = 1; - $j = 0; - if ($uid1 == $this->atacks[$id]['uid1']) { - $j = $this->atacks[$id]['b2']; - } elseif ($uid2 == $this->atacks[$id]['uid1']) { - $j = $this->atacks[$id]['b1']; - } - if ($this->atacks[$id]['out2'] == 0) { - while ($i <= $this->stats[$this->uids[$uid2]]['zonb']) { - //echo '{'.$j.'}'; - $block[$j] = 1; - $j++; - if ($j > 5 || $j < 1) { - $j = 1; - } - $i++; - } - } - // - return $atack > 0 && $block[$atack] == 1; - } - - // . () - /** - * private function firstRazmen($id, $at) - * { - * $uid1 = $this->atacks[$id]['uid1']; - * $uid2 = $this->atacks[$id]['uid2']; - * - * $i = 1; - * while ($i <= 2) { - * if ($i == 1) { - * $u1 = $uid1; - * $u2 = $uid2; - * } else { - * $u1 = $uid2; - * $u2 = $uid1; - * } - * - * // - * $i++; - * } - * return $at; - * } - */ - - /** yhod_user. - * @var int - */ - private $import_user = 0; - - /** */ - private function yhod_user($uid1, $uid2, $type) - { - // 1 - . 2 - . - // - if ($this->import_user == 0) { - $r = $uid1; - $rand_user = false; - if ($type == 2) { - // ( ) - $i = 0; - while ($i < count($this->users)) { - if ($this->users[$i]['team'] == $this->users[$this->uids[$uid2]]['team']) { - $rand_user[] = $this->users[$i]['id']; - } - $i++; - } - } elseif ($type == 4) { - // , - $i = 0; - while ($i < count($this->users)) { - //if( $this->users[$i]['team'] == $this->users[$this->uids[$uid1]]['team'] ) { - $rand_user[] = $this->users[$i]['id']; - //} - $i++; - } - } elseif ($type == 5) { - // , ( ) - $i = 0; - while ($i < count($this->users)) { - if ($this->users[$i]['team'] == $this->users[$this->uids[$uid2]]['team'] && $uid2 != $this->users[$i]['id']) { - $rand_user[] = $this->users[$i]['id']; - } - $i++; - } - } elseif ($type == 6) { - // - $i = 0; - while ($i < count($this->users)) { - if ($this->users[$i]['team'] != $this->users[$this->uids[$uid2]]['team']) { - $rand_user[] = $this->users[$i]['id']; - } - $i++; - } - } elseif ($type > 100) { - // - if (!isset($this->users[$this->uids[$type]]) || $this->users[$this->uids[$type]]['id'] != $type) { - $r = $uid2; - } else { - $r = $type; - } - } - if (!empty($rand_user)) { - $r = $rand_user[rand(0, (count($rand_user) - 1))]; - } - $this->import_user = $r; - } else { - $r = $this->import_user; - } - return $r; - } - - /** */ - private function mf1Razmen($id, $at, $v, $pat = false, $rjd = 0) - { - if ($pat) { - $pat = $at; - $at = $pat['p']; - } else { - $pat = false; - } - - $uid1 = $this->atacks[$id]['uid1']; - $uid2 = $this->atacks[$id]['uid2']; - - if ($this->stats[$this->uids[$this->atacks[$id]['uid1']]]['yhod'] > 0) { - $uid1 = $this->yhod_user($this->atacks[$id]['uid2'], $this->atacks[$id]['uid1'], - $this->stats[$this->uids[$this->atacks[$id]['uid1']]]['yhod']); - } elseif ($this->stats[$this->uids[$this->atacks[$id]['uid2']]]['yhod'] > 0) { - $uid2 = $this->yhod_user($this->atacks[$id]['uid1'], $this->atacks[$id]['uid2'], - $this->stats[$this->uids[$this->atacks[$id]['uid2']]]['yhod']); - } - - $i = 1; - while ($i <= 2) { - if ($i == 1) { - $a = 1; - $b = 2; - $u1 = $uid1; - $u2 = $uid2; - } else { - $a = 2; - $b = 1; - $u1 = $uid2; - $u2 = $uid1; - } - - // (u2) (u1) - $j = 0; - $wp01 = 3; - $k01 = 0; - if ($rjd > 0) { - $j = $rjd - 1; - } - while ($j < count($at[$a]['atack']) && $j < 8) { - // , - if ($k01 == 0 && isset($this->stats[$this->uids[$u1]]['wp3id'])) { - // - $wp01 = 3; - $k01 = 1; - } else { - // - if ( - isset($this->stats[$this->uids[$u1]]['wp14id']) && - $this->stats[$this->uids[$u1]]['items'][$this->stats[$this->uids[$u1]]['wp14id']]['type'] != 13 - ) { - $wp01 = 14; - } else { - $wp01 = 3; - } - $k01 = 0; - } - $witm_type01 = 0; - $witm01 = $this->stats[$this->uids[$u1]]['items'][$this->stats[$this->uids[$u1]]['wp' . $wp01 . 'id']]; - $witm_data01 = $this->lookStats($witm01['data']); - if ($at[$a]['atack'][$j][2] == $v) { - $tyv = $this->mfs(2, [ - 'u1' => $u1, - 'u2' => $u2, - 'mf' => $this->stats[$this->uids[$u2]]['m4'], - 'amf' => (int)$this->stats[$this->uids[$u2]]['m15'], - 'smf' => ($this->stats[$this->uids[$u1]]['m5'] + $witm_data01['sv_m5']), - 'asmf' => $this->stats[$this->uids[$u1]]['m21'], - ], $this->users[$this->uids[$u1]]['level'], $this->users[$this->uids[$u2]]['level']); - if ($tyv == 1 && $this->atacks[$id]['out' . $b] == 0) { - //, :) - $this->stats[$this->uids[$u1]]['nopryh'] = floor(0 + (int)$this->stats[$this->uids[$u1]]['nopryh']); - if (!isset($this->stats[$this->uids[$u1]]['nopryh']) || $this->stats[$this->uids[$u1]]['nopryh'] <= 0) { - $at[$a]['atack'][$j][1] = 2; - } else { - $this->stats[$this->uids[$u1]]['nopryh']--; - $this->stats[$this->uids[$u1]]['nopryh_act']++; - } - } - } - $j++; - } - $i++; - } - unset($witm01, $witm_type01, $wp01, $k01); - - if ($pat) { - $pat['p'] = $at; - $at = $pat; - } - - return $at; - } - - /** */ - private function mf2Razmen($id, $at, $v, $pat = false, $rjd = 0) - { - global $u; - - if ($pat) { - $pat = $at; - $at = $pat['p']; - } else { - $pat = false; - } - - $uid1 = $this->atacks[$id]['uid1']; - $uid2 = $this->atacks[$id]['uid2']; - - if ($this->stats[$this->uids[$this->atacks[$id]['uid1']]]['yhod'] > 0) { - $uid1 = $this->yhod_user($this->atacks[$id]['uid2'], $this->atacks[$id]['uid1'], - $this->stats[$this->uids[$this->atacks[$id]['uid1']]]['yhod']); - } elseif ($this->stats[$this->uids[$this->atacks[$id]['uid2']]]['yhod'] > 0) { - $uid2 = $this->yhod_user($this->atacks[$id]['uid1'], $this->atacks[$id]['uid2'], - $this->stats[$this->uids[$this->atacks[$id]['uid2']]]['yhod']); - } - - $i = 1; - while ($i <= 2) { - if ($i == 1) { - $a = 1; - $u1 = $uid1; - $u2 = $uid2; - } else { - $a = 2; - $u1 = $uid2; - $u2 = $uid1; - } - - // (u1) (u2) - $j = 0; - $wp01 = 0; - $k01 = 0; - if ($rjd > 0) { - $j = $rjd - 1; - } - while ($j < count($at[$a]['atack']) && $j <= 8) { - // , - if ($k01 == 0 && isset($this->stats[$this->uids[$u1]]['wp3id'])) { - // - $wp01 = 3; - $k01 = 1; - } else { - // - if ( - isset($this->stats[$this->uids[$u1]]['wp14id']) && - $this->stats[$this->uids[$u1]]['items'][$this->stats[$this->uids[$u1]]['wp14id']]['type'] != 13 - ) { - $wp01 = 14; - } else { - $wp01 = 3; - } - $k01 = 0; - } - $witm_type01 = 0; - $witm01 = $this->stats[$this->uids[$u1]]['items'][$this->stats[$this->uids[$u1]]['wp' . $wp01 . 'id']]; - $witm_data01 = $this->lookStats($witm01['data']); - if ($this->mfs(1, [ - 'u1' => $u1, - 'u2' => $u2, - 'mf' => $this->stats[$this->uids[$u1]]['m1'] + $witm_data01['sv_m1'], - 'amf' => $this->stats[$this->uids[$u1]]['m14'], - 'smf' => $this->stats[$this->uids[$u2]]['m2'], - 'aamf1' => (int)$this->stats[$this->uids[$u2]]['enemy_am1'], - ], $this->users[$this->uids[$u1]]['level'], $this->users[$this->uids[$u2]]['level']) == 1) { - //, :) - if ($at[$a]['atack'][$j][1] == 3) { - // - $at[$a]['atack'][$j][1] = 4; // - } elseif ($at[$a]['atack'][$j][1] != 2 && $at[$a]['atack'][$j][1] != 6 && $at[$a]['atack'][$j][1] != 7 && $at[$a]['atack'][$j][1] != 8) { - // - $at[$a]['atack'][$j][1] = 5; - } else { - $at[$a]['atack'][$j][1] = 1; - } - } - $j++; - } - $i++; - } - unset($witm01, $witm_type01, $k01, $wp01); - - if ($pat) { - $pat['p'] = $at; - $at = $pat; - } - - return $at; - } - - /** */ - private function mf3Razmen($id, $at, $v, $pat = false, $rjd = 0) - { - if ($pat) { - $pat = $at; - $at = $pat['p']; - } else { - $pat = false; - } - - $uid1 = $this->atacks[$id]['uid1']; - $uid2 = $this->atacks[$id]['uid2']; - - if ($this->stats[$this->uids[$this->atacks[$id]['uid1']]]['yhod'] > 0) { - $uid1 = $this->yhod_user($this->atacks[$id]['uid2'], $this->atacks[$id]['uid1'], - $this->stats[$this->uids[$this->atacks[$id]['uid1']]]['yhod']); - } elseif ($this->stats[$this->uids[$this->atacks[$id]['uid2']]]['yhod'] > 0) { - $uid2 = $this->yhod_user($this->atacks[$id]['uid1'], $this->atacks[$id]['uid2'], - $this->stats[$this->uids[$this->atacks[$id]['uid2']]]['yhod']); - } - - $i = 1; - while ($i <= 2) { - if ($i == 1) { - $a = 1; - $b = 2; - $u1 = $uid1; - $u2 = $uid2; - } else { - $a = 2; - $b = 1; - $u1 = $uid2; - $u2 = $uid1; - } - - // (u2) (u1) - //print_r( $at[$i] ); - $j = 0; - if ($rjd > 0) { - $j = $rjd - 1; - } - while ($j < count($at[$a]['atack']) && $j < 8) { - // , - if ((!isset($this->stats[$this->uids[$u2]]['no_pr1']) || $this->stats[$this->uids[$u2]]['no_pr1'] == 0) && $at[$a]['atack'][$j][2] == $v) { - if ($this->mfs(3, [ - 'u1' => $u1, - 'u2' => $u2, - '1' => $this->stats[$this->uids[$u2]]['m7'], - '2' => $this->stats[$this->uids[$u1]]['m7'], - ], $this->users[$this->uids[$u1]]['level'], - $this->users[$this->uids[$u2]]['level']) == 1 && $this->atacks[$id]['out' . $b] == 0) { - //, :) - $this->stats[$this->uids[$u1]]['nopryh'] = floor(0 + (int)$this->stats[$this->uids[$u1]]['nopryh']); - if ((!isset($this->stats[$this->uids[$u1]]['nopryh']) || $this->stats[$this->uids[$u1]]['nopryh'] == 0) && $this->stats[$this->uids[$u1]]['nopryh_act'] < 1) { - $at[$a]['atack'][$j][1] = 6; - $this->stats[$this->uids[$u1]]['nopryh']--; - $this->stats[$this->uids[$u1]]['nopryh_act']++; - } - } - } - $j++; - } - $i++; - } - - if ($pat) { - $pat['p'] = $at; - $at = $pat; - } - - return $at; - } - - /** ( ) */ - private function mf4Razmen($id, $at, $v, $pat = false, $rjd = 0) - { - if ($pat) { - $pat = $at; - $at = $pat['p']; - } else { - $pat = false; - } - - $uid1 = $this->atacks[$id]['uid1']; - $uid2 = $this->atacks[$id]['uid2']; - - if ($this->stats[$this->uids[$this->atacks[$id]['uid1']]]['yhod'] > 0) { - $uid1 = $this->yhod_user($this->atacks[$id]['uid2'], $this->atacks[$id]['uid1'], - $this->stats[$this->uids[$this->atacks[$id]['uid1']]]['yhod']); - } elseif ($this->stats[$this->uids[$this->atacks[$id]['uid2']]]['yhod'] > 0) { - $uid2 = $this->yhod_user($this->atacks[$id]['uid1'], $this->atacks[$id]['uid2'], - $this->stats[$this->uids[$this->atacks[$id]['uid2']]]['yhod']); - } - - $i = 1; - while ($i <= 2) { - if ($i == 1) { - $a = 1; - $b = 2; - $u1 = $uid1; - $u2 = $uid2; - } else { - $a = 2; - $b = 1; - $u1 = $uid2; - $u2 = $uid1; - } - if ($this->stats[$this->uids[$u2]]['sheld1'] > 0) { - // (u2) (u1) - //print_r( $at[$i] ); - $j = 0; - while ($j < count($at[$a]['atack']) && $j < 8) { - // , - if ($at[$a]['atack'][$j][2] == $v && $this->mfs(5, - ($this->stats[$this->uids[$u2]]['m8'] / 2 + $this->stats[$this->uids[$u2]]['m18']), - $this->users[$this->uids[$u1]]['level'], - $this->users[$this->uids[$u2]]['level']) == 1 && $this->atacks[$id]['out' . $b] == 0) { - // , :) - $at[$a]['atack'][$j][1] = 7; - } - $j++; - } - } - $i++; - } - - if ($pat) { - $pat['p'] = $at; - $at = $pat; - } - - return $at; - } - - /** */ - private function mf5Razmen($id, $at, $v, $rjd = 0) - { - $uid1 = $this->atacks[$id]['uid1']; - $uid2 = $this->atacks[$id]['uid2']; - - if ($this->stats[$this->uids[$this->atacks[$id]['uid1']]]['yhod'] > 0) { - $uid1 = $this->yhod_user($this->atacks[$id]['uid2'], $this->atacks[$id]['uid1'], - $this->stats[$this->uids[$this->atacks[$id]['uid1']]]['yhod']); - } elseif ($this->stats[$this->uids[$this->atacks[$id]['uid2']]]['yhod'] > 0) { - $uid2 = $this->yhod_user($this->atacks[$id]['uid1'], $this->atacks[$id]['uid2'], - $this->stats[$this->uids[$this->atacks[$id]['uid2']]]['yhod']); - } - - $i = 1; - while ($i <= 2) { - if ($i == 1) { - $a = 1; - $b = 2; - $u1 = $uid1; - $u2 = $uid2; - } else { - $a = 2; - $b = 1; - $u1 = $uid2; - $u2 = $uid1; - } - - // (u2) (u1) - $j = 0; - if ($rjd > 0) { - $j = $rjd - 1; - } - while ($j < count($at[$a]['atack']) && $j < 8) { - // , - if ($at[$a]['atack'][$j][2] == $v && $at[$a]['atack'][$j][1] == 2 && $this->mfs(6, [ - 'u1' => $u1, - 'u2' => $u2, - 'a' => $this->stats[$this->uids[$u2]]['m6'], - 'b' => $this->stats[$this->uids[$u1]]['m6'], - ], $this->users[$this->uids[$u1]]['level'], $this->users[$this->uids[$u2]]['level']) == 1) { - //, :) - $at[$a]['atack'][$j][1] = 8; - $rnd_a = rand(1, 5); - $rjd = count($at[$b]['atack']); - if (!$this->testRazmenblock1($id, $u2, $u1, $rnd_a)) { - $at[$b]['atack'][] = [$rnd_a, 1, 0, 1]; // 3 , 0 , 1 - } else { - $at[$b]['atack'][] = [$rnd_a, 3, 0, 1]; // 3 , 0 , 1 - } - $at = $this->contrRestart($id, $at, 1, $rjd); - } - $j++; - } - $i++; - } - return $at; - } - - // - public function addlt($a, $id, $s, $rnd = null) - { - global $log_text; - if (is_null($rnd)) { - $rnd = rand(0, (count($log_text[$s][$id]) - 1)); - } - return '{' . $a . 'x' . $id . 'x' . $rnd . '}'; - } - - private function addNewStatDb($id) - { - mysql_query('INSERT INTO `battle_stat` - ( `battle`,`uid1`,`uid2`,`time`,`type`,`a`,`b`,`ma`,`mb`,`type_a`,`type_b`,`yrn`,`yrn_krit`,`tm1`,`tm2` ) VALUES ( - ' . $this->info['id'] . ', - ' . $id['uid1'] . ', - ' . $id['uid2'] . ', - ' . $id['time'] . ', - ' . $id['type'] . ', - ' . $id['a'] . ', - ' . $id['b'] . ', - ' . $id['ma'] . ', - ' . $id['mb'] . ', - ' . $id['type_a'] . ', - ' . $id['type_b'] . ', - ' . $id['yrn'] . ', - ' . $id['yrn_krit'] . ', - ' . $id['tm1'] . ', - ' . $id['tm2'] . ' - )'); - } - - // - public function addNewStat($stat) - { - if (isset($stat[1])) { - $this->addNewStatDb($stat[1]); - } - if (isset($stat[2])) { - $this->addNewStatDb($stat[2]); - } - } - - // - private function addlogRazmen($id, $at) - { - $this->hodID++; - - $uid1 = $this->atacks[$id]['uid1']; - $uid2 = $this->atacks[$id]['uid2']; - - $dies = [ - 1 => 0, - 2 => 0, - ]; - - // - $stat = [ - 1 => [ - 'uid1' => 0, - 'uid2' => 0, - 'time' => time(), - 'type' => 0, - 'a' => '00000', - 'b' => '0', - 'type_a' => '', - 'type_b' => '0', - 'yrn' => 0, - 'yrn_krit' => 0, - 'ma' => 0, - 'mb' => 0, - 'tm1' => 0, - 'tm2' => 0, - ], - 2 => [ - 'uid1' => 0, - 'uid2' => 0, - 'time' => time(), - 'type' => 0, - 'a' => '00000', - 'b' => '0', - 'type_a' => '', - 'type_b' => '0', - 'yrn' => 0, - 'yrn_krit' => 0, - 'ma' => 0, - 'mb' => 0, - 'tm1' => 0, - 'tm2' => 0, - ], - ]; - - $i = 1; - while ($i <= 2) { - if ($i == 1) { - $a = 1; - $b = 2; - $u1 = $uid1; - $u2 = $uid2; - } else { - $a = 2; - $b = 1; - $u1 = $uid2; - $u2 = $uid1; - } - - if ($this->stats[$this->uids[$u2]]['yhod'] > 0) { - $u2 = $this->yhod_user($u1, $u2, $this->stats[$this->uids[$u2]]['yhod']); - } - - $s1 = $this->users[$this->uids[$u1]]['sex']; - $s2 = $this->users[$this->uids[$u2]]['sex']; - - $stat[$a]['uid1'] = $u1; - $stat[$a]['uid2'] = $u2; - $stat[$a]['ma'] = $this->stats[$this->uids[$u1]]['zona']; - $stat[$a]['mb'] = $this->stats[$this->uids[$u1]]['zonb']; - $stat[$a]['tm1'] = $this->users[$this->uids[$u1]]['team']; - $stat[$a]['tm2'] = $this->users[$this->uids[$u2]]['team']; - $stat[$a]['a'] = $this->atacks[$id]['a' . $a]; - $stat[$a]['b'] = $this->atacks[$id]['b' . $a]; - - $vLog = - 'at1=00000||at2=00000||zb1=' . $this->stats[$this->uids[$u1]]['zonb'] . - '||zb2=' . $this->stats[$this->uids[$u2]]['zonb'] . - '||bl1=' . $this->atacks[$id]['b' . $a] . - '||bl2=' . $this->atacks[$id]['b' . $b] . - '||time1=' . $this->atacks[$id]['time'] . - '||time2=' . $this->atacks[$id]['time2'] . - '||s' . $a . '=' . $s1 . - '||s' . $b . '=' . $s2 . - '||t2=' . $this->users[$this->uids[$u2]]['team'] . - '||t1=' . $this->users[$this->uids[$u1]]['team'] . - '||login1=' . $this->users[$this->uids[$u1]]['login2'] . - '||login2=' . $this->users[$this->uids[$u2]]['login2']; - - $mas = [ - 'text' => '', - 'time' => time(), - 'battle' => $this->info['id'], - 'id_hod' => $this->hodID, - 'vars' => $vLog, - 'type' => 1, - ]; - - if (!isset($at[$a]['atack'])) { // - if ($this->atacks[$id]['tpo' . $a] == 2) { - $mas['text'] .= '{u1} .'; - } else { - // - if ($this->info['razdel'] == 0 && $this->info['dn_id'] == 0 && $this->info['izlom'] == 0) { - mysql_query('INSERT INTO `battle_out` (`battle`,`uid1`,`uid2`,`time`,`out`) VALUES ( - ' . $this->info['id'] . ',' . $u1 . ',' . $u2 . ', unix_timestamp(), 1)'); - } - // - if (isset($u1)) { - $mas['text'] .= '{u1} .'; - // - mysql_query('update eff_users set `delete` = unix_timestamp() where `uid` = ' . $u1 . ' AND `delete` = 0 AND `v1` = "priem" AND v2 in (288, 287, 286, 273) LIMIT 1'); - } - } - $mas['text'] = '{tm1} ' . $mas['text']; - $this->add_log($mas); - } else { - $j = 0; - while ($j < count($at[$a]['atack']) && $j < 8) { - // - $mas['text'] = ''; - // - $wt = [ - 21 => 4, - 22 => 5, - 20 => 2, - 28 => 2, - 19 => 3, - 18 => 1, - 26 => 22, - ]; - $par = [ - 'zona' => '{zn2_' . $at[$a]['atack'][$j][0] . '} ', - 'kyda' => $this->lg_zon[$at[$a]['atack'][$j][0]][rand(0, - (count($this->lg_zon[$at[$a]['atack'][$j][0]]) - 1))], - 'chem' => $this->lg_itm[$wt[$at[$a]['atack'][$j]['wt']]][rand(0, - (count($this->lg_itm[$wt[$at[$a]['atack'][$j]['wt']]]) - 1))], - ]; - // - $this->atacks[$id]['uid_' . $u1 . '_t' . $at[$a]['atack'][$j][1]]++; - - // - if ($at[$a]['atack'][$j][1] == 1 || $at[$a]['atack'][$j][1] == 5) { - //u1 u2 - //u1 u2 - $mas['text'] .= - $par['zona'] . '{u2} ' . - $this->addlt($b, 1, $s2) . - $this->addlt($b, 2, $s2) . - $this->addlt($a, 3, $s1) . ' {u1} ' . - $this->addlt($a, 4, $s1) . - $this->addlt($a, 5, $s1) . - $this->addlt($a, 6, $s1) . ' ' . - $this->addlt(1, 7, $s1, $at[$a]['atack'][$j]['yron']['t']) . ' ' . - $par['chem'] . ' ' . $par['kyda'] . '. '; - } elseif ($at[$a]['atack'][$j][1] == 2) { - //u2 u1 - $mas['text'] .= - $par['zona'] . '{u1} ' . - $this->addlt($a, 8, $s1) . - $this->addlt($a, 9, $s1) . ' {u2} ' . - $this->addlt($b, 11, $s2) . ' ' . - $par['chem'] . ' ' . $par['kyda'] . '. '; - } elseif ($at[$a]['atack'][$j][1] == 3) { - //u2 u1 - $mas['text'] .= $par['zona'] . '{u1} ' . - $this->addlt($a, 8, $s1) . - $this->addlt($a, 9, $s1) . ' {u2} ' . - $this->addlt($b, 10, $s2) . ' ' . - $this->addlt(1, 7, $s1, $at[$a]['atack'][$j]['yron']['t']) . ' ' . - $par['chem'] . ' ' . $par['kyda'] . '. '; - } elseif ($at[$a]['atack'][$j][1] == 4) { - //u1 u2 - if (isset($at[$a]['atack'][$j]['yron']['t'])) { - $mas['text'] .= - $par['zona'] . '{u2} ' . - $this->addlt($b, 1, $s2) . - $this->addlt($b, 2, $s2) . - $this->addlt($a, 3, $s1) . ' {u1} ' . - $this->addlt($a, 4, $s1) . - $this->addlt($a, 5, $s1) . ', , ' . - $this->addlt($a, 6, $s1) . ' ' . - $this->addlt(1, 7, $s1, $at[$a]['atack'][$j]['yron']['t']) . ' ' . - $par['chem'] . ' ' . $par['kyda'] . '. '; - } - } elseif ($at[$a]['atack'][$j][1] == 6) { - //u2 u1 - $mas['text'] .= - $par['zona'] . '{u1} ' . - $this->addlt($a, 8, $s1) . - $this->addlt($a, 9, $s1) . ' {u2} ' . - $this->addlt(1, 7, $s1, $at[$a]['atack'][$j]['yron']['t']) . ' ' . - $par['chem'] . ' ' . $par['kyda'] . '. '; - } elseif ($at[$a]['atack'][$j][1] == 7) { - //u2 u1 - $mas['text'] .= - $par['zona'] . '{u1} ' . - $this->addlt($a, 8, $s1) . - $this->addlt($a, 9, $s1) . ' {u2}, , ' . - $this->addlt($b, 10, $s2) . ' ' . - $this->addlt(1, 7, $s1, $at[$a]['atack'][$j]['yron']['t']) . ' ' . - $par['chem'] . ' ' . $par['kyda'] . '. '; - } elseif ($at[$a]['atack'][$j][1] == 8) { - //u2 u1 - $mas['text'] .= - $par['zona'] . '{u1} ' . - $this->addlt($a, 8, $s1) . - $this->addlt($a, 9, $s1) . ' {u2} ' . - $this->addlt($b, 11, $s2) . ' ' . - $par['chem'] . ' ' . $par['kyda'] . ' . '; - } - - $stat[$a]['type_a'] .= '' . $at[$a]['atack'][$j][1]; - if ( - (!isset($this->stats[$this->uids[$u2]]['notravma']) || $this->stats[$this->uids[$u2]]['notravma'] == 0) && - isset($at[$a]['atack'][$j]['yron']['travma']) && - $at[$a]['atack'][$j]['yron']['travma'][0] > 0 && - floor($at[$a]['atack'][$j]['yron']['hp']) <= 0 - ) { - $tr_pl = mysql_fetch_array(mysql_query('SELECT `id`,`v1` FROM `eff_users` WHERE `id_eff` = 4 AND `uid` = ' . $u2 . ' AND `delete` = 0 ORDER BY `v1` DESC LIMIT 1')); - if (!isset($tr_pl['id']) || $tr_pl['v1'] < 3) { - //263 - if (isset($tr_pl['id'])) { - $at[$a]['atack'][$j]['yron']['travma'][0] = rand(($tr_pl['v1'] + 1), 3); - } - $tr_pl2 = mysql_fetch_array(mysql_query('SELECT `id` FROM `eff_users` WHERE `uid` = ' . $u2 . ' AND `delete` = 0 AND `name` LIKE "% %" limit 1')); - if (!isset($tr_pl2['id']) && $at[$a]['atack'][$j]['yron']['travma'][0] <= 3) { - $mas['text'] = rtrim($mas['text'], '. '); - $mas['text'] .= ', '; - if ($at[$a]['atack'][$j]['yron']['travma'][0] == 1) { - $mas['text'] .= ''; - $this->addTravm($u2, 1, rand(3, 5)); - } elseif ($at[$a]['atack'][$j]['yron']['travma'][0] == 2) { - $mas['text'] .= ''; - $this->addTravm($u2, 2, rand(3, 5)); - } elseif ($at[$a]['atack'][$j]['yron']['travma'][0] == 3) { - $mas['text'] .= ''; - $this->addTravm($u2, 3, rand(3, 5)); - } - $mas['text'] .= ' . '; - } - } - unset($tr_pl); - } - if ($at[$a]['atack'][$j]['yron']['pb'] == 1 && isset($at[$a]['atack'][$j]['yron']['hp'])) { - $mas['text'] = rtrim($mas['text'], '. '); - $mas['text'] .= ' . '; - } - if ($at[$a]['atack'][$j][3] == 1) { - $mas['text'] .= '() '; - } - if (isset($at[$a]['atack'][$j]['yron'])) { - if ($at[$a]['atack'][$j]['yron']['w'] == 3) { - $mas['textWP'] = '( )'; - } elseif ($at[$a]['atack'][$j]['yron']['w'] == 14) { - $mas['textWP'] = '( )'; - } else { - $mas['textWP'] = '( )'; - } - if ( - ($at[$a]['atack'][$j][1] == 4 || $at[$a]['atack'][$j][1] == 5 || $at[$a]['atack'][$j][1] == 1) && - $at[$a]['atack'][$j]['yron']['y'] < 1 - ) { - $at[$a]['atack'][$j]['yron']['r'] = '--'; - } - if ($at[$a]['atack'][$j][1] == 4 || $at[$a]['atack'][$j][1] == 5) { - $stat[$a]['yrn_krit'] += -$at[$a]['atack'][$j]['yron']['r']; - $mas['text'] .= ' ' . $at[$a]['atack'][$j]['yron']['r'] . ''; - } else { - $mas['text'] .= ' ' . $at[$a]['atack'][$j]['yron']['r'] . ''; - } - $stat[$a]['yrn'] += -$at[$a]['atack'][$j]['yron']['r']; - } - if (isset($at[$a]['atack'][$j]['yron']['hp'])) { - if ($this->users[$this->uids[$u2]]['align'] == 9) { - $at[$a]['atack'][$j]['yron']['hp'] = $at[$a]['atack'][$j]['yron']['hp'] / ($at[$a]['atack'][$j]['yron']['hpAll'] / 100); - $at[$a]['atack'][$j]['yron']['hpAll'] = '100%'; - } - $mas['text'] .= ' [' . floor($at[$a]['atack'][$j]['yron']['hp']) . '/' . floor($at[$a]['atack'][$j]['yron']['hpAll']) . ']'; - } - // - if ($mas['text'] != '') { - $mas['text'] = '{tm1} ' . $mas['text']; - } - - if (count($at[$a]['atack'][$j]['yron']['plog']) > 0) { - $il = 0; - while ($il <= count($at[$a]['atack'][$j]['yron']['plog'])) { - if (isset($at[$a]['atack'][$j]['yron']['plog'][$il])) { - eval($at[$a]['atack'][$j]['yron']['plog'][$il]); - } - $il++; - } - } - $this->add_log($mas); - $j++; - } - } - $i++; - } - - // + _ - $this->addNewStat($stat); - - // - if (floor($this->stats[$this->uids[$u1]]['hpNow']) < 1) { - $dies[1] = 1; - } - if (floor($this->stats[$this->uids[$u2]]['hpNow']) < 1) { - $dies[2] = 1; - } - if ($dies[1] > 0 || $dies[2] > 0) { - $rtngwin = [1, 2, 3, 5, 10, 20, 40, 80, 160]; - $rtnglos = [0, 0, 0, -1, -2, -5, -10, -20, -40]; - - if ($this->info['typeBattle'] == 99) { - if ($btlstatus[0] == 0) { - // - $rtngwin = [2, 4, 6, 10, 20, 40, 80, 160, 320]; - if ($this->info['razdel'] == 5) { - // - $rtnglos = [0, 0, 0, -2, -4, -10, -20, -40, -80]; - } else { - // - $rtnglos = [0, 0, 0, 0, 0, 0, 0, 0, 0]; - } - } elseif ($btlstatus[0] == 25) { - // - $rtngwin = [3, 6, 9, 15, 30, 60, 120, 240, 480]; - $rtnglos = [0, 0, 0, -2, -4, -10, -20, -40, -80]; - } elseif ($btlstatus[0] == 50) { - // - $rtngwin = [4, 8, 16, 32, 64, 128, 256, 512, 1024]; - $rtnglos = [0, 0, 0, -2, -4, -10, -20, -40, -80]; - } elseif ($btlstatus[0] == 75) { - // - $rtngwin = [5, 10, 20, 40, 80, 160, 320, 640, 1280]; - $rtnglos = [0, 0, 0, -2, -4, -10, -20, -40, -80]; - } elseif ($btlstatus[0] == 100) { - // - $rtngwin = [6, 12, 24, 48, 98, 196, 392, 784, 1568]; - $rtnglos = [0, 0, 0, -2, -4, -10, -20, -40, -80]; - } elseif ($btlstatus[0] == 150) { - // - $rtngwin = [7, 14, 28, 56, 112, 224, 448, 896, 1792]; - $rtnglos = [0, 0, 0, -2, -4, -10, -20, -40, -80]; - } - } else { - if ($btlstatus[0] == 0) { - // - if ($this->info['razdel'] != 5) { - // - $rtnglos = [0, 0, 0, 0, 0, 0, 0, 0, 0]; - } - } elseif ($btlstatus[0] == 25) { - // - $rtngwin = [2, 4, 6, 10, 20, 40, 80, 160, 320]; - $rtnglos = [0, 0, 0, -2, -4, -10, -20, -40, -80]; - } elseif ($btlstatus[0] == 50) { - // - $rtngwin = [3, 6, 9, 15, 30, 60, 120, 240, 480]; - $rtnglos = [0, 0, 0, -2, -4, -10, -20, -40, -80]; - } elseif ($btlstatus[0] == 75) { - // - $rtngwin = [4, 8, 16, 32, 64, 128, 256, 512, 1024]; - $rtnglos = [0, 0, 0, -2, -4, -10, -20, -40, -80]; - } elseif ($btlstatus[0] == 100) { - // - $rtngwin = [5, 10, 20, 40, 80, 160, 320, 640, 1280]; - $rtnglos = [0, 0, 0, -2, -4, -10, -20, -40, -80]; - } elseif ($btlstatus[0] == 150) { - // - $rtngwin = [7, 14, 28, 56, 112, 224, 448, 896, 1792]; - $rtnglos = [0, 0, 0, -2, -4, -10, -20, -40, -80]; - } - } - - if ($this->info['dn_id'] > 0 || $this->info['izlom'] != 0 || $this->info['turnir'] != 0) { - // , - $rtngwin = [0, 0, 0, 0, 0, 0, 0, 0, 0]; - $rtnglos = [0, 0, 0, 0, 0, 0, 0, 0, 0]; - } elseif ($this->info['clan1'] > 0 && $this->info['clan2'] > 0) { - // - $rtngwin = [3, 6, 9, 15, 30, 60, 120, 240, 480]; - $rtnglos = [-1, -2, -4, -8, -16, -32, -64, -128, -256]; - } - - if ($dies[1] == 1) { - if ($this->info['dn_id'] > 0) { - // - } else { - if ($this->users[$this->uids[$u1]]['level'] >= 4) { - $rtng1 += $rtnglos[$this->users[$this->uids[$u1]]['level'] - 4]; - $rtng2 += $rtngwin[$this->users[$this->uids[$u1]]['level'] - 4]; - } - } - // 1 2 - $this->spaCheck($this->users[$this->uids[$u1]]['id']); - } - if ($dies[2] == 1) { - if ($this->info['dn_id'] > 0) { - // - } else { - if ($this->users[$this->uids[$u1]]['level'] >= 4) { - $rtng1 += $rtnglos[$this->users[$this->uids[$u1]]['level'] - 4]; - $rtng2 += $rtngwin[$this->users[$this->uids[$u1]]['level'] - 4]; - } - } - // 2 1 - $this->spaCheck($this->stats[$this->uids[$u2]]['id']); - } - // - // - if ( - $this->info['type'] != 564 && - $this->stats[$this->uids[$u1]]['inTurnir'] == 0 && - $this->stats[$this->uids[$u2]]['inTurnir'] == 0 && - $this->info['dn_id'] == 0 && - $this->info['izlom'] == 0 - ) { - // - if ($this->users[$this->uids[$u2]]['bot'] == 0) { - mysql_query('INSERT INTO `users_reting` (`uid`,`time`,`val`,`align`,`clan`) VALUES ( - ' . $u1 . ', - unix_timestamp(), - ' . $rtng1 . ', - ' . $this->users[$this->uids[$u1]]['align'] . ', - ' . $this->users[$this->uids[$u1]]['clan'] . ') - '); - } - unset($rtng); - if ($this->users[$this->uids[$u1]]['bot'] == 0) { - mysql_query('INSERT INTO `users_reting` (`uid`,`time`,`val`,`align`,`clan`) VALUES ( - ' . $u2 . ', - unix_timestamp(), - ' . $rtng2 . ', - ' . $this->users[$this->uids[$u2]]['align'] . ', - ' . $this->users[$this->uids[$u2]]['clan'] . ') - '); - } - } - unset($rtng1, $rtng2); - } - } - - // - public function priemAddLog($id, $a, $b, $u1, $u2, $prm, $text, $hodID, $tm1 = 0, $tm2 = 0) - { - if ($tm1 === 0) { - if (isset($this->atacks[$id])) { - $tm1 = $this->atacks[$id]['time']; - } else { - $tm1 = time(); - } - } - if ($tm2 === 0) { - if (isset($this->atacks[$id])) { - $tm2 = $this->atacks[$id]['time2']; - } else { - $tm2 = time(); - } - } - $vLog = - 'prm=' . $prm . - '||at1=00000||at2=00000||zb1=' . $this->stats[$this->uids[$u1]]['zonb'] . - '||zb2=' . $this->stats[$this->uids[$u2]]['zonb'] . - '||bl1=' . $this->atacks[$id]['b' . $a] . - '||bl2=' . $this->atacks[$id]['b' . $b] . - '||time1=' . $tm1 . - '||time2=' . $tm2 . - '||s' . $a . '=' . $this->users[$this->uids[$u1]]['sex'] . - '||s' . $b . '=' . $this->users[$this->uids[$u2]]['sex'] . - '||t2=' . $this->users[$this->uids[$u2]]['team'] . - '||t1=' . $this->users[$this->uids[$u1]]['team'] . - '||login1=' . $this->users[$this->uids[$u1]]['login2'] . - '||login2=' . $this->users[$this->uids[$u2]]['login2']; - $mas = [ - 'text' => $text, - 'time' => time(), - 'battle' => $this->info['id'], - 'id_hod' => $hodID, - 'vars' => $vLog, - 'type' => 1, - ]; - $this->add_log($mas); - } - - // ( ) - public function priemAddLogFast($u1, $u2, $prm, $text, $hodID, $tm) - { - $vLog = - 'prm=' . $prm . - '||time1=' . $tm . - '||time2=' . $tm . - '||s1=' . $this->users[$this->uids[$u1]]['sex'] . - '||s2=' . $this->users[$this->uids[$u2]]['sex'] . - '||t2=' . $this->users[$this->uids[$u2]]['team'] . - '||t1=' . $this->users[$this->uids[$u1]]['team'] . - '||login1=' . $this->users[$this->uids[$u1]]['login2'] . - '||login2=' . $this->users[$this->uids[$u2]]['login2']; - $mas = [ - 'text' => $text, - 'time' => time(), - 'battle' => $this->info['id'], - 'id_hod' => ($this->hodID + $hodID), - 'vars' => $vLog, - 'type' => 1, - ]; - $this->add_log($mas); - } - - // - private function contrRestart($id, $at, $v, $rjd = 0) - { - // - $at = $this->mf1Razmen($id, $at, $v, true, $rjd); - // - $at = $this->mf3Razmen($id, $at, $v, true, $rjd); - // - //$at = $this->mf5Razmen($id,$at,$v,true,$rjd); - // ( , ) - $at = $this->mf4Razmen($id, $at, $v, true, $rjd); - // - //$at = $this->yronRazmen($id,$at); - // - $at = $this->mf2Razmen($id, $at, $v, true, $rjd); - - return $this->yronRazmen($id, $at, true, $rjd); - } - - // . - public function yronGetrazmen($uid1, $uid2, $wp, $zona) - { - global $u; - $r = ['r' => '--',]; - // - /* - - - - - */ - $witm = 0; - $witm_type = 0; - - if ($wp > 0) { - $witm = $this->stats[$this->uids[$uid1]]['items'][$this->stats[$this->uids[$uid1]]['wp' . $wp . 'id']]; - $witm_data = $this->lookStats($witm['data']); - $witm_type = $this->weaponTx($witm); - } - - if ($witm_type == 0 || $witm_type == 12) { - $witm_type2 = ''; - } else { - $witm_type2 = $witm_type; - } - $r['t'] = $witm_type2; - // - /* - - - - - - */ - $bron = [ - 1 => [$this->stats[$this->uids[$uid2]]['mib1'], $this->stats[$this->uids[$uid2]]['mab1']], - 2 => [$this->stats[$this->uids[$uid2]]['mib2'], $this->stats[$this->uids[$uid2]]['mab2']], - 3 => [$this->stats[$this->uids[$uid2]]['mib2'], $this->stats[$this->uids[$uid2]]['mab2']], - 4 => [$this->stats[$this->uids[$uid2]]['mib3'], $this->stats[$this->uids[$uid2]]['mab3']], - 5 => [$this->stats[$this->uids[$uid2]]['mib4'], $this->stats[$this->uids[$uid2]]['mab4']], - ]; - // - // - //$witm_data - $iii = 1; - while ($iii <= 7) { - if (isset($witm_data['sv_a' . $iii]) && $witm_data['sv_a' . $iii] != 0) { - $this->stats[$this->uids[$uid1]]['a' . $iii] += $witm_data['sv_a' . $iii]; - } - if (isset($witm_data['sv_mg' . $iii]) && $witm_data['sv_mg' . $iii] != 0) { - $this->stats[$this->uids[$uid1]]['mg' . $iii] += $witm_data['sv_mg' . $iii]; - } - $iii++; - } - $iii = 1; - while ($iii <= 4) { - if (isset($witm_data['sv_aall']) && $witm_data['sv_aall'] != 0) { - $this->stats[$this->uids[$uid1]]['a' . $iii] += $witm_data['sv_aall']; - } - $iii++; - } - $iii = 1; - while ($iii <= 4) { - if (isset($witm_data['sv_mall']) && $witm_data['sv_mall'] != 0) { - $this->stats[$this->uids[$uid1]]['mg' . $iii] += $witm_data['sv_mall']; - } - $iii++; - } - $iii = 1; - while ($iii <= 7) { - if (isset($witm_data['sv_m2all']) && $witm_data['sv_m2all'] != 0) { - $this->stats[$this->uids[$uid1]]['mg' . $iii] += $witm_data['sv_m2all']; - } - $iii++; - } - - if (isset($witm_data['sv_m3']) && $witm_data['sv_m3'] != 0) { - $this->stats[$this->uids[$uid1]]['m3'] += $witm_data['sv_m3']; - } - - $iii = 1; - while ($iii <= 7) { - if (isset($witm_data['sv_pa' . $iii]) && $witm_data['sv_pa' . $iii] != 0) { - $this->stats[$this->uids[$uid1]]['pa' . $iii] += $witm_data['sv_pa' . $iii] + $witm_data['sv_m10']; - } - if (isset($witm_data['sv_pm' . $iii]) && $witm_data['sv_pm' . $iii] != 0) { - $this->stats[$this->uids[$uid1]]['pm' . $iii] += $witm_data['sv_pm' . $iii] + $witm_data['sv_m11a']; - if ($iii < 5) { - $this->stats[$this->uids[$uid1]]['pm' . $iii] += $witm_data['sv_m11']; - } - } - $iii++; - } - // + - $wAp = 0; - - if ($witm_type == 12) { - // - $wAp += $this->stats[$this->uids[$uid1]]['m10']; - if ($this->users[$this->uids[$uid1]]['align'] == 7) { - $wAp += 15; - } - } elseif ($witm_type < 5) { - $wAp += $this->stats[$this->uids[$uid1]]['pa' . $witm_type]; - $wAp -= $this->stats[$this->uids[$uid2]]['antpa' . $witm_type]; - } else { - $wAp += $this->stats[$this->uids[$uid1]]['m10'] + $this->stats[$this->uids[$uid1]]['pm' . ($witm_type - 4)] + $this->stats[$this->uids[$uid1]]['m11a'] + $witm_data['sv_pm' . ($witm_type - 4)]; - $wAp -= $this->stats[$this->uids[$uid2]]['antpm' . ($witm_type - 4)]; - } - - // - $vladenie = 0; - - // - $proboi = 0; - $witm_data['m9'] = $this->stats[$this->uids[$uid1]]['m9']; - if (rand(1, 100) < floor($witm_data['m9'] / 2)) { - $proboi = floor($witm_data['m9'] / 2); - $r['pb'] = 1; - } - - $y = $this->yrn( - $this->stats[$this->uids[$uid1]], - $this->stats[$this->uids[$uid2]], - $this->users[$this->uids[$uid1]], - $this->users[$this->uids[$uid2]], - $this->users[$this->uids[$uid1]]['level'], - $this->users[$this->uids[$uid2]]['level'], - // - $witm_type, - $this->stats[$this->uids[$uid1]]['minAtack'], //. () - $this->stats[$this->uids[$uid1]]['maxAtack'], //. - $bron[$zona][0], // . - $bron[$zona][1], // - // - $vladenie, // - $wAp, // - (round($this->stats[$this->uids[$uid1]]['m3'])), // - (($this->stats[$this->uids[$uid2]]['za' . $witm_type2]) - $this->stats[$this->uids[$uid1]]['pza']), - // - $this->stats[$this->uids[$uid1]]['ozash'], // - $proboi, // - 0, // - ($witm_data['sv_yron_min'] + $this->stats[$this->uids[$uid1]]['yron_min']), - ($witm_data['sv_yron_max'] + $this->stats[$this->uids[$uid1]]['yron_max']), - $this->stats[$this->uids[$uid2]]['zaproc'], - $this->stats[$this->uids[$uid2]]['zmproc'], - (($this->stats[$this->uids[$uid2]]['zm' . ($witm_type2 - 4)]) - round($this->stats[$this->uids[$uid1]]['pzm'] * 0.8)), - // - $this->stats[$this->uids[$uid1]]['omzash'], // - $witm['type'], - $witm - ); - - $r['y'] = round(rand($y['min'] + $proboi, $y['max'] + round($proboi / 2))); - $r['k'] = round(rand($y['Kmin'] + round($proboi / 4), $y['Kmax'] + round($proboi / 8))); - $r['m_y'] = $y['max']; - $r['m_k'] = $y['Kmax']; - $r['bRND'] = $y['bRND']; - $r['w_type'] = $witm_type; - - - // - if ($witm['type'] == 18) { - $tp = 1; - } elseif ($witm['type'] == 19) { - $tp = 2; - } elseif ($witm['type'] == 20) { - $tp = 3; - } elseif ($witm['type'] == 21) { - $tp = 4; - } - - if ($tp != $witm_type && $wp > 0) // - { - $r['y'] = round($r['y'] / 3); - $r['r'] = round($r['r'] / 3); - $r['k'] = round($r['k'] / 3); - $r['m_k'] = round($r['m_k'] / 3); - $r['m_y'] = round($r['m_y'] / 3); - } - - if (isset($this->stats[$this->uids[$uid2]]['zaproc'])) { - $r['y'] = round($r['y'] - $r['y'] * $this->stats[$this->uids[$uid2]]['zaproc'] / 100); - $r['r'] = round($r['r'] - $r['r'] * $this->stats[$this->uids[$uid2]]['zaproc'] / 100); - $r['k'] = round($r['k'] - $r['k'] * $this->stats[$this->uids[$uid2]]['zaproc'] / 100); - $r['m_k'] = round($r['m_k'] - $r['m_k'] * $this->stats[$this->uids[$uid2]]['zaproc'] / 100); - $r['m_y'] = round($r['m_y'] - $r['m_y'] * $this->stats[$this->uids[$uid2]]['zaproc'] / 100); - if ($r['k'] < 1) { - $r['k'] = 2; - } - } - - if ($r['y'] < 1) { - $r['y'] = 1; - } - if ($r['r'] >= 0) { - $r['r'] = -1; - } - if ($r['k'] < 1) { - $r['k'] = 1; - } - if ($r['m_k'] < 1) { - $r['m_k'] = 1; - } - if ($r['m_y'] < 1) { - $r['m_y'] = 1; - } - return $r; - } - - // - private function yronRazmen($id, $at, $pat = false, $rjd = 0) - { - if ($pat) { - $pat = $at; - $at = $pat['p']; - } else { - unset($pat); - } - - $uid1 = $this->atacks[$id]['uid1']; - $uid2 = $this->atacks[$id]['uid2']; - - if ($this->stats[$this->uids[$this->atacks[$id]['uid1']]]['yhod'] > 0) { - $yhod = [1 => 1, 2 => 0]; - } elseif ($this->stats[$this->uids[$this->atacks[$id]['uid2']]]['yhod'] > 0) { - $yhod = [1 => 0, 2 => 1]; - } - - $i = 1; - while ($i <= 2) { - if ($i == 1) { - $a = 1; - $u1 = $uid1; - $u2 = $uid2; - } else { - $a = 2; - $u1 = $uid2; - $u2 = $uid1; - } - - // - - - // (u2) (u1) - $j = 0; - $k = 0; - if ($rjd > 0) { - $j = $rjd - 1; - } - // - - while ($j < count($at[$a]['atack']) && $j < 8) { - // , - if ($k == 0 && isset($this->stats[$this->uids[$u1]]['wp3id'])) { - // - $wp = 3; - $k = 1; - } else { - // - if ( - isset($this->stats[$this->uids[$u1]]['wp14id']) && - $this->stats[$this->uids[$u1]]['items'][$this->stats[$this->uids[$u1]]['wp14id']]['type'] != 13 - ) { - $wp = 14; - } else { - $wp = 3; - } - $k = 0; - } - $witm = $this->stats[$this->uids[$u1]]['items'][$this->stats[$this->uids[$u1]]['wp' . $wp . 'id']]; - $witm_type = $this->weaponTx($witm); - $at[$a]['atack'][$j]['wt'] = $witm['type']; - // - $at[$a]['atack'][$j]['yhod'] = $yhod[$a]; - - if (!isset($at[$a]['atack'][$j]['yron']) && ( - $at[$a]['atack'][$j][1] == 1 || - $at[$a]['atack'][$j][1] == 4 || - $at[$a]['atack'][$j][1] == 5) - ) { - $at[$a]['atack'][$j]['yron'] = $this->yronGetrazmen($u1, $u2, $wp, $at[$a]['atack'][$j][0]); - - if ($at[$a]['atack'][$j][1] == 4) { - $at[$a]['atack'][$j]['yron']['y_old'] = $at[$a]['atack'][$j]['yron']['y']; - $at[$a]['atack'][$j]['yron']['y'] = round($at[$a]['atack'][$j]['yron']['k'] / 2); - } elseif ($at[$a]['atack'][$j][1] == 5) { - $at[$a]['atack'][$j]['yron']['y_old'] = $at[$a]['atack'][$j]['yron']['y']; - $at[$a]['atack'][$j]['yron']['y'] = $at[$a]['atack'][$j]['yron']['k']; - } - $at[$a]['atack'][$j]['yron']['2h'] = $witm['2h']; - $at[$a]['atack'][$j]['yron']['w'] = $wp; - if ($at[$a]['atack'][$j]['yron']['y'] < 1) { - $at[$a]['atack'][$j]['yron']['r'] = '--'; - } else { - $at[$a]['atack'][$j]['yron']['r'] = '-' . $at[$a]['atack'][$j]['yron']['y']; - } - } else { - $at[$a]['atack'][$j]['block'] = $this->yronGetrazmen($u1, $u2, $wp, $at[$a]['atack'][$j][0]); - - if ($at[$a]['atack'][$j][1] == 4) { - $at[$a]['atack'][$j]['block']['y_old'] = $at[$a]['atack'][$j]['block']['y']; - $at[$a]['atack'][$j]['block']['y'] = round($at[$a]['atack'][$j]['block']['k'] / 2); - } elseif ($at[$a]['atack'][$j][1] == 5) { - $at[$a]['atack'][$j]['block']['y_old'] = $at[$a]['atack'][$j]['block']['y']; - $at[$a]['atack'][$j]['block']['y'] = $at[$a]['atack'][$j]['block']['k']; - } - $at[$a]['atack'][$j]['block']['2h'] = $witm['2h']; - $at[$a]['atack'][$j]['block']['w'] = $wp; - if ($at[$a]['atack'][$j]['block']['y'] < 1) { - $at[$a]['atack'][$j]['block']['r'] = '--'; - } else { - $at[$a]['atack'][$j]['block']['r'] = '-' . $at[$a]['atack'][$j]['block']['y']; - } - } - $j++; - } - $i++; - } - - if ($pat) { - $pat['p'] = $at; - $at = $pat; - } - return $at; - } - - // - private function updateHealth($id, $at) - { - $uid1 = $this->atacks[$id]['uid1']; - $uid2 = $this->atacks[$id]['uid2']; - - if ($this->stats[$this->uids[$this->atacks[$id]['uid1']]]['yhod'] > 0) { - $uid1 = $this->yhod_user($this->atacks[$id]['uid2'], $this->atacks[$id]['uid1'], - $this->stats[$this->uids[$this->atacks[$id]['uid1']]]['yhod']); - } elseif ($this->stats[$this->uids[$this->atacks[$id]['uid2']]]['yhod'] > 0) { - $uid2 = $this->yhod_user($this->atacks[$id]['uid1'], $this->atacks[$id]['uid2'], - $this->stats[$this->uids[$this->atacks[$id]['uid2']]]['yhod']); - } - - $i = 1; - while ($i <= 2) { - if ($i == 1) { - $a = 1; - $b = 2; - $u1 = $uid1; - $u2 = $uid2; - } else { - $a = 2; - $b = 1; - $u1 = $uid2; - $u2 = $uid1; - } - - // - if ($this->atacks[$id]['out' . $b] > 0) { - // ${'u'.$a} , - // - if (rand(0, 100) < min(floor($this->stats[$this->uids[$u1]]['m6'] / 5), 20) && - $this->stats[$this->uids[$u2]]['this_animal'] == 0) { - $this->users[$this->uids[$u1]]['tactic3']++; - } - // - if (rand(0, 100) < min(floor($this->stats[$this->uids[$u1]]['m8'] / 4), 20) && - $this->stats[$this->uids[$u2]]['this_animal'] == 0) { - $this->users[$this->uids[$u1]]['tactic4']++; - } - } - - // (u2) (u1) - $j = 0; - while ($j < count($at[$a]['atack']) && $j < 8) { - // - if ($at[$a]['atack'][$j][1] == 1) { - //u1 u2 - if ($this->stats[$this->uids[$u2]]['this_animal'] == 0) { - $this->users[$this->uids[$u1]]['tactic1']++; - } - // - if ( - $at[$a]['atack'][$j]['yron']['2h'] == 1 && - $this->stats[$this->uids[$u2]]['this_animal'] == 0 - ) { - $this->users[$this->uids[$u1]]['tactic1'] += 2; - } - } elseif ($at[$a]['atack'][$j][1] == 2) { - //u2 u1 - } elseif ($at[$a]['atack'][$j][1] == 3) { - //u2 u1 - if ($this->stats[$this->uids[$u2]]['this_animal'] == 0) { - $this->users[$this->uids[$u2]]['tactic4']++; - } - } elseif ($at[$a]['atack'][$j][1] == 4) { - //u1 u2 - if ( - !isset($at[$a]['atack'][$j]['notactic2']) && - $this->stats[$this->uids[$u2]]['this_animal'] == 0 - ) { - $this->users[$this->uids[$u1]]['tactic2']++; - } - $this->users[$this->uids[$u2]]['tactic4']++; // - } elseif ($at[$a]['atack'][$j][1] == 5) { - //u1 u2 - if (!isset($at[$a]['atack'][$j]['notactic2'])) { - if ($this->stats[$this->uids[$u2]]['this_animal'] == 0) { - $this->users[$this->uids[$u1]]['tactic2'] += 2; - } - // - if ( - $at[$a]['atack'][$j]['yron']['2h'] == 1 && - $this->stats[$this->uids[$u2]]['this_animal'] == 0 - ) { - $this->users[$this->uids[$u1]]['tactic2'] += 1; - } - } - } elseif ($at[$a]['atack'][$j][1] == 6) { - //u2 u1 - if ( - !isset($at[$a]['atack'][$j]['notactic5']) && - $this->stats[$this->uids[$u1]]['this_animal'] == 0 - ) { - $this->users[$this->uids[$u2]]['tactic5']++; - } - } elseif ($at[$a]['atack'][$j][1] == 7) { - //u2 u1 // - if ($this->stats[$this->uids[$u2]]['this_animal'] == 0) { - $this->users[$this->uids[$u2]]['tactic4']++; - } - } elseif ($at[$a]['atack'][$j][1] == 8) { - //u2 u1 - if ($this->stats[$this->uids[$u1]]['this_animal'] == 0) { - $this->users[$this->uids[$u2]]['tactic3']++; - } - } - // , - if (isset($at[$a]['atack'][$j]['yron']) && ( - $at[$a]['atack'][$j][1] == 1 || - $at[$a]['atack'][$j][1] == 4 || - $at[$a]['atack'][$j][1] == 5)) { - if ($this->stats[$this->uids[$u2]]['hpNow'] <= $at[$a]['atack'][$j]['yron']['y']) { - $at[$a]['atack'][$j]['yron']['y'] = $this->stats[$this->uids[$u2]]['hpNow']; - } - if ($this->stats[$this->uids[$u2]]['hpNow'] <= $at[$a]['atack'][$j]['yron']['k']) { - $at[$a]['atack'][$j]['yron']['k'] = $this->stats[$this->uids[$u2]]['hpNow']; - } - - if ($at[$a]['atack'][$j]['yron']['y'] < 0) { - $at[$a]['atack'][$j]['yron']['y'] = 1; - $at[$a]['atack'][$j]['yron']['r'] = -1; - $at[$a]['atack'][$j]['yron']['k'] = 1; - } - if ($this->stats[$this->uids[$u2]]['hpNow'] < 1) { - $at[$a]['atack'][$j]['yron']['y'] = 0; - $at[$a]['atack'][$j]['yron']['r'] = -1; - $at[$a]['atack'][$j]['yron']['k'] = 0; - } - - // - $this->takeExp($u1, $at[$a]['atack'][$j]['yron']['y'], $u1, $u2); - // - $this->stats[$this->uids[$u2]]['hpNow'] -= $at[$a]['atack'][$j]['yron']['y']; - $this->users[$this->uids[$u2]]['last_hp'] = -$at[$a]['atack'][$j]['yron']['y']; - - $at[$a]['atack'][$j]['yron']['hp'] = $this->stats[$this->uids[$u2]]['hpNow']; - if ($at[$a]['atack'][$j]['yron']['hp'] < 1) { - $at[$a]['atack'][$j]['yron']['hp'] = 0; - } - $at[$a]['atack'][$j]['yron']['hpAll'] = $this->stats[$this->uids[$u2]]['hpAll']; - if ($at[$a]['atack'][$j]['yron']['hp'] > $at[$a]['atack'][$j]['yron']['hpAll']) { - $at[$a]['atack'][$j]['yron']['hp'] = $at[$a]['atack'][$j]['yron']['hpAll']; - } - // - // - if ( - rand(0, 100) <= 50 && - ($at[$a]['atack'][$j][1] == 4 || $at[$a]['atack'][$j][1] == 5) && - !isset($at[$a]['atack'][$j]['yron']['travma']) && - rand(0, 1000) < 500 && - $this->users[$this->uids[$u2]]['level'] > 1 && - $this->stats[$this->uids[$u1]] > 1 - ) { - $trvm_chns = floor(rand(0, 200) / 10); - if ($trvm_chns > 3 || $trvm_chns < 1) { - $trvm_chns = 0; - } - $at[$a]['atack'][$j]['yron']['travma'] = [$trvm_chns, ' ']; - unset($trvm_chns); - } - } - $j++; - } - $i++; - } - return $at; - } - - // - private function addstatuser($id) - { - if (!$id && !is_numeric($id)) { - return; - } - - mysql_query('INSERT INTO `battle_users` - ( `battle`,`uid`,`time_enter`,`login`,`level`,`align`,`clan`,`hpAll`,`hp`,`hpStart`,`team` ) - VALUES - ( - ' . $this->info['id'] . ', - ' . $id . ', - unix_timestamp(), - ' . $this->users[$this->uids[$id]]['login'] . ', - ' . $this->users[$this->uids[$id]]['level'] . ', - ' . $this->users[$this->uids[$id]]['align'] . ', - ' . $this->users[$this->uids[$id]]['clan'] . ', - ' . $this->stats[$this->uids[$id]]['hpAll'] . ', - ' . $this->stats[$this->uids[$id]]['hp'] . ', - ' . $this->stats[$this->uids[$id]]['hpNow'] . ', - ' . $this->users[$this->uids[$id]]['team'] . ' - )'); - } - - // - public function priemsRazmen($id, $at) - { - if ($at == 'fast') { - $uid1 = $id[0]; - $uid2 = $id[1]; - } else { - $uid1 = $this->atacks[$id]['uid1']; - $uid2 = $this->atacks[$id]['uid2']; - } - $i = 1; - while ($i <= 2) { - if ($i == 1) { - $u1 = $uid1; - } else { - $u1 = $uid2; - } - - // - $eff = $this->stats[$this->uids[$u1]]['effects']; - $this->stats[$this->uids[$u1]]['u_priem'] = []; - $j = 0; - while ($j <= count($eff)) { - if (isset($eff[$j]) && $eff[$j]['id_eff'] == 22 && $eff[$j]['v1'] == 'priem' && $eff[$j]['v2'] > 0) { - $this->stats[$this->uids[$u1]]['u_priem'][] = [ - $j, - $eff[$j]['v2'], - $this->prm[$eff[$j]['v2']]['act'], - $eff[$j]['id'], - $this->prm[$eff[$j]['v2']]['type_of'], - $this->prm[$eff[$j]['v2']]['moment'], - $this->prm[$eff[$j]['v2']]['moment_end'], - $this->prm[$eff[$j]['v2']]['type_sec'], - ]; - } - $j++; - } - $i++; - } - } - - // - private function priemsRazmenMoment($id, $at) - { - $uid1 = $this->atacks[$id]['uid1']; - $uid2 = $this->atacks[$id]['uid2']; - - $i = 1; - while ($i <= 2) { - if ($i == 1) { - $u1 = $uid1; - $u2 = $uid2; - } else { - $u1 = $uid2; - $u2 = $uid1; - } - if (!isset($at['p']['p_cast'])) { - $at['p'] = $at; - $at['p']['p_cast'] = true; - } - // - - // - if (!isset($this->stats[$this->uids[$u2]]['nopryh']) || $this->stats[$this->uids[$u2]]['nopryh'] == 0) { - $j = 0; - while ($j <= count($this->stats[$this->uids[$u1]]['u_priem'])) { - if ($this->stats[$this->uids[$u1]]['u_priem'][$j][2] > 0 && $this->stats[$this->uids[$u1]]['u_priem'][$j][5] == 1) { - if (file_exists('../../_incl_data/class/priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php')) { - $pr_used_this = $u1; - $pr_moment = true; - require('priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php'); - $at = $fx_priem($id, $at, $u1, $j); - unset(${'fx_priem'}); - $this->stats[$this->uids[$u2]]['nopryh']--; - } - } - $j++; - } - } - // - $j = 0; - while ($j <= count($this->stats[$this->uids[$u1]]['u_priem'])) { - if ($this->stats[$this->uids[$u1]]['u_priem'][$j][2] > 0 && $this->stats[$this->uids[$u1]]['u_priem'][$j][5] == 2) { - if (file_exists('../../_incl_data/class/priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php')) { - $pr_used_this = $u1; - $pr_moment = true; - require('priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php'); - $at = $fx_priem($id, $at, $u1, $j); - unset(${'fx_priem'}); - } - } - $j++; - } - // - $j = 0; - while ($j <= count($this->stats[$this->uids[$u1]]['u_priem'])) { - if ($this->stats[$this->uids[$u1]]['u_priem'][$j][2] > 0 && $this->stats[$this->uids[$u1]]['u_priem'][$j][5] == 3) { - if (file_exists('../../_incl_data/class/priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php')) { - $pr_used_this = $u1; - $pr_moment = true; - require('priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php'); - if (isset($fx_priem)) { - $at = $fx_priem($id, $at, $u1, $j); - } - unset(${'fx_priem'}); - } - } - $j++; - } - // - $j = 0; - while ($j <= count($this->stats[$this->uids[$u1]]['u_priem'])) { - if ($this->stats[$this->uids[$u1]]['u_priem'][$j][2] > 0 && $this->stats[$this->uids[$u1]]['u_priem'][$j][5] == 4) { - if (file_exists('../../_incl_data/class/priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php')) { - $pr_used_this = $u1; - $pr_moment = true; - require('priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php'); - $at = $fx_priem($id, $at, $u1, $j); - unset(${'fx_priem'}); - } - } - $j++; - } - // - $j = 0; - while ($j <= count($this->stats[$this->uids[$u1]]['u_priem'])) { - if ($this->stats[$this->uids[$u1]]['u_priem'][$j][2] > 0 && $this->stats[$this->uids[$u1]]['u_priem'][$j][5] == 5) { - if (file_exists('../../_incl_data/class/priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php')) { - $pr_used_this = $u1; - $pr_moment = true; - require('priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php'); - $at = $fx_priem($id, $at, $u1, $j); - unset(${'fx_priem'}); - } - } - $j++; - } - $i++; - } - //return $at; - } - - // ( ) - private function priemsRazmenMomentEnd($id, $at) - { - $uid1 = $this->atacks[$id]['uid1']; - $uid2 = $this->atacks[$id]['uid2']; - - $i = 1; - while ($i <= 2) { - if ($i == 1) { - $u1 = $uid1; - $u2 = $uid2; - } else { - $u1 = $uid2; - $u2 = $uid1; - } - if (!isset($at['p']['p_cast'])) { - $at['p'] = $at; - $at['p']['p_cast'] = true; - } - // - - // - if (!isset($this->stats[$this->uids[$u2]]['nopryh']) || $this->stats[$this->uids[$u2]]['nopryh'] == 0) { - $j = 0; - while ($j <= count($this->stats[$this->uids[$u1]]['u_priem'])) { - if ($this->stats[$this->uids[$u1]]['u_priem'][$j][2] > 0 && $this->stats[$this->uids[$u1]]['u_priem'][$j][6] == 1) { - if (file_exists('../../_incl_data/class/priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php')) { - $pr_used_this = $u1; - $pr_moment = true; - require('priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php'); - $at = $fx_priem($id, $at, $u1, $j); - unset(${'fx_priem'}); - $this->stats[$this->uids[$u2]]['nopryh']--; - } - } - $j++; - } - } - // - $j = 0; - while ($j <= count($this->stats[$this->uids[$u1]]['u_priem'])) { - if ($this->stats[$this->uids[$u1]]['u_priem'][$j][2] > 0 && $this->stats[$this->uids[$u1]]['u_priem'][$j][6] == 2) { - if (file_exists('../../_incl_data/class/priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php')) { - $pr_used_this = $u1; - $pr_moment = true; - require('priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php'); - $at = $fx_priem($id, $at, $u1, $j); - unset(${'fx_priem'}); - } - } - $j++; - } - // - $j = 0; - while ($j <= count($this->stats[$this->uids[$u1]]['u_priem'])) { - if ($this->stats[$this->uids[$u1]]['u_priem'][$j][2] > 0 && $this->stats[$this->uids[$u1]]['u_priem'][$j][6] == 3) { - if (file_exists('../../_incl_data/class/priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php')) { - $pr_used_this = $u1; - $pr_moment = true; - require('priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php'); - if (isset($fx_priem)) { - $at = $fx_priem($id, $at, $u1, $j); - unset(${'fx_priem'}); - } - } - } - $j++; - } - // - $j = 0; - while ($j <= count($this->stats[$this->uids[$u1]]['u_priem'])) { - if ($this->stats[$this->uids[$u1]]['u_priem'][$j][2] > 0 && $this->stats[$this->uids[$u1]]['u_priem'][$j][6] == 4) { - if (file_exists('../../_incl_data/class/priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php')) { - $pr_used_this = $u1; - $pr_moment = true; - require('priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php'); - $at = $fx_priem($id, $at, $u1, $j); - unset(${'fx_priem'}); - } - } - $j++; - } - // - $j = 0; - while ($j <= count($this->stats[$this->uids[$u1]]['u_priem'])) { - if ($this->stats[$this->uids[$u1]]['u_priem'][$j][2] > 0 && $this->stats[$this->uids[$u1]]['u_priem'][$j][6] == 5) { - if (file_exists('../../_incl_data/class/priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php')) { - $pr_used_this = $u1; - $pr_moment = true; - require('priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php'); - $at = $fx_priem($id, $at, $u1, $j); - unset(${'fx_priem'}); - } - } - $j++; - } - $i++; - } - //return $at; - } - - - // - private function priemsTestRazmen($id, $at) - { - $uid1 = $this->atacks[$id]['uid1']; - $uid2 = $this->atacks[$id]['uid2']; - - $i = 1; - while ($i <= 2) { - if ($i == 1) { - $u1 = $uid1; - $u2 = $uid2; - } else { - $u1 = $uid2; - $u2 = $uid1; - } - - if (!isset($at['p']['p_cast'])) { - $at['p'] = $at; - $at['p']['p_cast'] = true; - } - - // - - $j = 0; - while ($j <= count($this->stats[$this->uids[$u1]]['u_priem'])) { - if ($this->stats[$this->uids[$u1]]['u_priem'][$j][1] == 220 || $this->stats[$this->uids[$u1]]['u_priem'][$j][1] == 237 - || $this->stats[$this->uids[$u1]]['u_priem'][$j][1] == 286 || $this->stats[$this->uids[$u1]]['u_priem'][$j][1] == 287 || $this->stats[$this->uids[$u1]]['u_priem'][$j][1] == 288 - || $this->stats[$this->uids[$u1]]['u_priem'][$j][1] == 213) { - if (file_exists('../../_incl_data/class/priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php')) { - $pr_used_this = $u1; - require('priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php'); - $at = $fx_priem($id, $at, $u1, $j); - unset(${'fx_priem'}); - } - } - $j++; - } - - // - if (!isset($this->stats[$this->uids[$u2]]['nopryh']) || $this->stats[$this->uids[$u2]]['nopryh'] == 0) { - $j = 0; - while ($j <= count($this->stats[$this->uids[$u1]]['u_priem'])) { - if ($this->stats[$this->uids[$u1]]['u_priem'][$j][2] > 0 && $this->stats[$this->uids[$u1]]['u_priem'][$j][4] == 1) { - if (file_exists('../../_incl_data/class/priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php')) { - $pr_used_this = $u1; - require('priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php'); - $at = $fx_priem($id, $at, $u1, $j); - unset(${'fx_priem'}); - $this->stats[$this->uids[$u2]]['nopryh']--; - } - } - $j++; - } - } - // - $j = 0; - while ($j <= count($this->stats[$this->uids[$u1]]['u_priem'])) { - if ($this->stats[$this->uids[$u1]]['u_priem'][$j][2] > 0 && $this->stats[$this->uids[$u1]]['u_priem'][$j][4] == 2) { - if (file_exists('../../_incl_data/class/priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php')) { - $pr_used_this = $u1; - require('priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php'); - $at = $fx_priem($id, $at, $u1, $j); - unset(${'fx_priem'}); - } - } - $j++; - } - - // - $j = 0; - while ($j <= count($this->stats[$this->uids[$u1]]['u_priem'])) { - if ($this->stats[$this->uids[$u1]]['u_priem'][$j][2] > 0 && $this->stats[$this->uids[$u1]]['u_priem'][$j][4] == 3) { - if (file_exists('../../_incl_data/class/priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php')) { - $pr_used_this = $u1; - require('priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php'); - if (isset($fx_priem)) { - $at = $fx_priem($id, $at, $u1, $j); - } - unset(${'fx_priem'}); - } - } - $j++; - } - - // - $j = 0; - while ($j <= count($this->stats[$this->uids[$u1]]['u_priem'])) { - if ($this->stats[$this->uids[$u1]]['u_priem'][$j][2] > 0 && $this->stats[$this->uids[$u1]]['u_priem'][$j][4] == 4) { - if (file_exists('../../_incl_data/class/priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php')) { - $pr_used_this = $u1; - require('priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php'); - if (isset($fx_priem)) { - $at = $fx_priem($id, $at, $u1, $j); - } - unset(${'fx_priem'}); - } - } - $j++; - } - - // - $j = 0; - while ($j <= count($this->stats[$this->uids[$u1]]['u_priem'])) { - if ($this->stats[$this->uids[$u1]]['u_priem'][$j][2] > 0 && $this->stats[$this->uids[$u1]]['u_priem'][$j][4] == 5) { - if (file_exists('../../_incl_data/class/priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php')) { - $pr_used_this = $u1; - require('priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php'); - if (isset($fx_priem)) { - $at = $fx_priem($id, $at, $u1, $j); - } - unset(${'fx_priem'}); - } - } - $j++; - } - $i++; - } - - $i = 1; - while ($i <= 2) { - $u1 = $i == 1 ? $uid1 : $uid2; - - if (!isset($at['p']['p_cast'])) { - $at['p'] = $at; - $at['p']['p_cast'] = true; - } - - // - $j = 0; - while ($j <= count($this->stats[$this->uids[$u1]]['u_priem'])) { - if ($this->stats[$this->uids[$u1]]['u_priem'][$j][2] > 0 && $this->stats[$this->uids[$u1]]['u_priem'][$j][4] == 8) { - if (file_exists('../../_incl_data/class/priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php')) { - $pr_used_this = $u1; - require('priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php'); - $at = $fx_priem($id, $at, $u1, $j); - unset(${'fx_priem'}); - } - } - $j++; - } - - // - $j = 0; - while ($j <= count($this->stats[$this->uids[$u1]]['u_priem'])) { - if ($this->stats[$this->uids[$u1]]['u_priem'][$j][2] > 0 && $this->stats[$this->uids[$u1]]['u_priem'][$j][4] == 9) { - if (file_exists('../../_incl_data/class/priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php')) { - $pr_used_this = $u1; - require('priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php'); - $at = $fx_priem($id, $at, $u1, $j); - unset(${'fx_priem'}); - } - } - $j++; - } - $i++; - } - - return $at; - } - - // - private function priemsRestartRazmen($id, $at) - { - if (isset($at['p'])) { - // - // - $uid1 = $this->atacks[$id]['uid1']; - $uid2 = $this->atacks[$id]['uid2']; - - /* - , , : - 1. - 2 1. - : - 1. - 2 1. - 3. - 4 3. - .. - */ - $i = 1; - while ($i <= 2) { - if ($i == 1) { - $u1 = $uid1; - $u2 = $uid2; - } else { - $u1 = $uid2; - $u2 = $uid1; - } - - if (!isset($at['p']['p_cast'])) { - $at['p'] = $at; - $at['p']['p_cast'] = true; - } - - // - if (!isset($this->stats[$this->uids[$u2]]['nopryh']) || $this->stats[$this->uids[$u2]]['nopryh'] == 0) { - $j = 0; - while ($j <= count($this->stats[$this->uids[$u1]]['u_priem'])) { - if ($this->stats[$this->uids[$u1]]['u_priem'][$j][2] > 0 && $this->stats[$this->uids[$u1]]['u_priem'][$j][4] == 1) { - if (file_exists('../../_incl_data/class/priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php')) { - $pr_tested_this = $u1; - require('priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php'); - $at = $fx_priem($id, $at, $u1, $j); - unset(${'fx_priem'}); - $this->stats[$this->uids[$u2]]['nopryh']--; - } - } - $j++; - } - } - // - $j = 0; - while ($j <= count($this->stats[$this->uids[$u1]]['u_priem'])) { - if ($this->stats[$this->uids[$u1]]['u_priem'][$j][2] > 0 && $this->stats[$this->uids[$u1]]['u_priem'][$j][4] == 2) { - if (file_exists('../../_incl_data/class/priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php')) { - $pr_tested_this = $u1; - require('priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php'); - $at = $fx_priem($id, $at, $u1, $j); - unset(${'fx_priem'}); - } - } - $j++; - } - // - $j = 0; - while ($j <= count($this->stats[$this->uids[$u1]]['u_priem'])) { - if ($this->stats[$this->uids[$u1]]['u_priem'][$j][2] > 0 && $this->stats[$this->uids[$u1]]['u_priem'][$j][4] == 4) { - if (file_exists('../../_incl_data/class/priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php')) { - $pr_tested_this = $u1; - require('priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php'); - $at = $fx_priem($id, $at, $u1, $j); - unset(${'fx_priem'}); - } - } - $j++; - } - // - $j = 0; - while ($j <= count($this->stats[$this->uids[$u1]]['u_priem'])) { - if ($this->stats[$this->uids[$u1]]['u_priem'][$j][2] > 0 && $this->stats[$this->uids[$u1]]['u_priem'][$j][4] == 3) { - if (file_exists('../../_incl_data/class/priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php')) { - $pr_tested_this = $u1; - require('priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php'); - $at = $fx_priem($id, $at, $u1, $j); - unset(${'fx_priem'}); - } - } - $j++; - } - // - $j = 0; - while ($j <= count($this->stats[$this->uids[$u1]]['u_priem'])) { - if ($this->stats[$this->uids[$u1]]['u_priem'][$j][2] > 0 && $this->stats[$this->uids[$u1]]['u_priem'][$j][4] == 5) { - if (file_exists('../../_incl_data/class/priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php')) { - $pr_tested_this = $u1; - require('priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php'); - $at = $fx_priem($id, $at, $u1, $j); - unset(${'fx_priem'}); - } - } - $j++; - } - // - $j = 0; - while ($j <= count($this->stats[$this->uids[$u2]]['u_priem'])) { - if ($this->stats[$this->uids[$u1]]['u_priem'][$j][2] > 0 && $this->stats[$this->uids[$u2]]['u_priem'][$j][4] == 8) { - if (file_exists('../../_incl_data/class/priem/' . $this->stats[$this->uids[$u2]]['u_priem'][$j][1] . '.php')) { - $pr_tested_this = $u2; - require('priem/' . $this->stats[$this->uids[$u2]]['u_priem'][$j][1] . '.php'); - $at = $fx_priem($id, $at, $u2, $j); - unset(${'fx_priem'}); - } - } - $j++; - } - // - $j = 0; - while ($j <= count($this->stats[$this->uids[$u2]]['u_priem'])) { - if ($this->stats[$this->uids[$u1]]['u_priem'][$j][2] > 0 && $this->stats[$this->uids[$u2]]['u_priem'][$j][4] == 9) { - if (file_exists('../../_incl_data/class/priem/' . $this->stats[$this->uids[$u2]]['u_priem'][$j][1] . '.php')) { - $pr_tested_this = $u2; - require('priem/' . $this->stats[$this->uids[$u2]]['u_priem'][$j][1] . '.php'); - $at = $fx_priem($id, $at, $u2, $j); - unset(${'fx_priem'}); - } - } - $j++; - } - - $i++; - } - } - return $at['p']; - } - - // - public $um_priem = []; - - /** - * . - - * . - * @param $uid1 - * @param $uid2 - * @param $priem - * @param $yron - * @param $profil - * @param $stabil [deprecated] - * @param $test [deprecated] - * @param $inlog - * @return float|int|mixed - */ - public function testYronPriem($uid1, $uid2, $priem, $yron, $profil, $stabil, $test = false, $inlog = 0) - { - /* - profil = { - -1 - - -2 - - 0 - - 1-4 - - 5-12 - - } - stabil - . - */ - // - $u1 = $uid1; - $u2 = $uid2; - - // $u1 $u2 - // - if (!isset($this->stats[$this->uids[$u2]]['u_priem'])) { - $eff = $this->stats[$this->uids[$u2]]['effects']; - $j = 0; - while ($j <= count($eff)) { - if (isset($eff[$j]) && $eff[$j]['id_eff'] == 22 && $eff[$j]['v1'] == 'priem' && $eff[$j]['v2'] > 0) { - $this->stats[$this->uids[$u2]]['u_priem'][] = [ - $j, - $eff[$j]['v2'], - $this->prm[$eff[$j]['v2']]['act'], - $eff[$j]['id'], - $this->prm[$eff[$j]['v2']]['type_of'], - $this->prm[$eff[$j]['v2']]['moment'], - ]; - } - $j++; - } - unset($eff); - } - // - $j = 0; - while ($j <= count($this->stats[$this->uids[$u2]]['u_priem'])) { - if ($this->stats[$this->uids[$u2]]['u_priem'][$j][2] > 0 && $this->stats[$this->uids[$u2]]['u_priem'][$j][4] == 4) { - if (file_exists('../../_incl_data/class/priem/' . $this->stats[$this->uids[$u2]]['u_priem'][$j][1] . '.php')) { - $pr_momental_this = $u2; - require('priem/' . $this->stats[$this->uids[$u2]]['u_priem'][$j][1] . '.php'); - $yron = $fx_moment($u2, $u1, $j, $yron, $profil); - unset(${'fx_moment'}); - } - } - $j++; - } - - // - $j = 0; - while ($j <= count($this->stats[$this->uids[$u1]]['u_priem'])) { - if ($this->stats[$this->uids[$u1]]['u_priem'][$j][2] > 0 && $this->stats[$this->uids[$u1]]['u_priem'][$j][4] == 5) { - if (file_exists('../../_incl_data/class/priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php')) { - $pr_momental_this = $u1; - require('priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php'); - if (isset($fx_moment)) { - $yron = $fx_moment($u1, $u2, $j, $yron, $profil, $inlog); - } - unset(${'fx_moment'}); - } - } - $j++; - } - - // ( ) - $j = 0; - while ($j <= count($this->stats[$this->uids[$u1]]['u_priem'])) { - if ($this->stats[$this->uids[$u1]]['u_priem'][$j][2] > 0 && $this->stats[$this->uids[$u1]]['u_priem'][$j][7] == 5) { - if (file_exists('../../_incl_data/class/priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php')) { - $pr_momental_this_seven = $u1; - require('priem/' . $this->stats[$this->uids[$u1]]['u_priem'][$j][1] . '.php'); - if (isset($fx_moment_seven)) { - $yron = $fx_moment_seven($u1, $u2, $j, $yron, $profil, $inlog); - } - unset(${'fx_moment_seven'}); - } - } - $j++; - } - - // - $j = 0; - while ($j <= count($this->stats[$this->uids[$u2]]['u_priem'])) { - if ($this->stats[$this->uids[$u2]]['u_priem'][$j][2] > 0 && $this->stats[$this->uids[$u2]]['u_priem'][$j][4] == 8) { - if (file_exists('../../_incl_data/class/priem/' . $this->stats[$this->uids[$u2]]['u_priem'][$j][1] . '.php')) { - $pr_momental_this = $u2; - require('priem/' . $this->stats[$this->uids[$u2]]['u_priem'][$j][1] . '.php'); - if (isset($fx_moment)) { - $yron = $fx_moment($u2, $u1, $j, $yron, $profil, $inlog); - } - unset(${'fx_moment'}); - } - } - if ($this->stats[$this->uids[$u2]]['u_priem'][$j][2] > 0 && $this->stats[$this->uids[$u2]]['u_priem'][$j][4] == 9) { - if (file_exists('../../_incl_data/class/priem/' . $this->stats[$this->uids[$u2]]['u_priem'][$j][1] . '.php')) { - $pr_momental_this = $u2; - require('priem/' . $this->stats[$this->uids[$u2]]['u_priem'][$j][1] . '.php'); - if (isset($fx_moment)) { - $yron = $fx_moment($u2, $u1, $j, $yron, $profil, $inlog); - } - unset(${'fx_moment'}); - } - } - $j++; - } - - if ($this->stats[$this->uids[$u2]]['zaproc'] > 0) { - $yron = round($yron - $yron * $this->stats[$this->uids[$uid2]]['zaproc'] / 100); - if ($yron < 1) { - $yron = 1; - } - } - - return $yron; - } - - // + \ - - /** - * @param $u1 - * @param $u2 - * @param $yron - * @param $type [deprecated] - * @return void - */ - public function priemYronSave($u1, $u2, $yron, $type = 0) - { - //$type 0 - , 1 - - - $this->testUserInfoBattle($u1); - $this->testUserInfoBattle($u2); - - if (isset($this->uids[$u1])) { - if ($this->stats[$this->uids[$u2]]['hpAll'] <= 1000) { - $adt6 = round(0.1 * (floor($yron) / $this->stats[$this->uids[$u2]]['hpAll'] * 100), 10); - } else { - $adt6 = round(0.1 * (floor($yron) / 1000 * 100), 10); - } - - if ($yron > $this->stats[$this->uids[$u2]]['hpNow']) { - $yron = $this->stats[$this->uids[$u2]]['hpNow']; - } - - if ($yron > 0) { - $this->users[$this->uids[$u1]]['battle_yron'] += $yron; - $this->users[$this->uids[$u1]]['battle_exp'] += round($this->testExp($yron, - $this->stats[$this->uids[$u1]], $this->stats[$this->uids[$u2]], $u1, $u2)); - if ($this->stats[$this->uids[$u2]]['this_animal'] == 0) { - $this->users[$this->uids[$u1]]['tactic6'] += $adt6; - $this->stats[$this->uids[$u1]]['tactic6'] += $adt6; - } else { - $this->users[$this->uids[$u1]]['tactic6'] += $adt6 / 3; - $this->stats[$this->uids[$u1]]['tactic6'] += $adt6 / 3; - } - } else { - $adt6 = 0; - } - // - $this->users[$this->uids[$u2]]['last_hp'] = -$yron; - // - mysql_query('UPDATE `stats` SET - `tactic6` = `tactic6` + ' . $adt6 . ', - `battle_yron` = `battle_yron` + ' . $yron . ', - `battle_exp` = `battle_exp` + ' . round($this->testExp($yron, $this->stats[$this->uids[$u1]], - $this->stats[$this->uids[$u2]], $u1, $u2)) . ' - WHERE `id` = ' . $u1); - // - mysql_query('UPDATE `stats` SET - `last_hp` = ' . $this->users[$this->uids[$u2]]['last_hp'] . ' - WHERE `id` = ' . $u2); - } - - $this->addNewStat([ - 1 => [ - 'battle' => $this->info['id'], - 'uid1' => $this->users[$this->uids[$u1]]['id'], - 'uid2' => $this->users[$this->uids[$u2]]['id'], - 'time' => time(), - 'type' => 0, - 'a' => '10000', - 'b' => 0, - 'type_a' => 1, - 'type_b' => 0, - 'ma' => 1, - 'mb' => 1, - 'yrn' => $yron, - 'yrn_krit' => 0, - 'tm1' => $this->users[$this->uids[$u1]]['team'], - 'tm2' => $this->users[$this->uids[$u2]]['team'], - ], - ]); - } - - // - - public function startAtack($id) - { - global $c, $u, $priem; - - if (!isset($this->atacks[$id]) || $this->atacks[$id]['lock'] != 0) { - return; - }// - $i = 1; - $j = 2; - $k = 0; - - while ($i <= 2) { - $untac = mysql_fetch_array(mysql_query('SELECT `id` FROM `eff_users` WHERE `v1` = "priem" AND `v2` = 217 AND `uid` = ' . $this->atacks[$id]['uid' . $i] . ' AND `delete` = 0')); - - $agrs = mysql_fetch_array(mysql_query('SELECT `id` FROM `eff_users` WHERE `v1` = "priem" AND `v2` = 211 AND `uid` = ' . $this->atacks[$id]['uid' . $j] . ' AND `delete` = 0')); - - if (isset($untac['id']) && !isset($agrs['id'])) { - // AND `a`.`v2` != 235 // AND `a`.`v2` != 273 AND `a`.`v2` != 286 AND `a`.`v2` != 287 AND `a`.`v2` != 288 - - $pvr['sp'] = mysql_query('SELECT * FROM `eff_users` WHERE - `uid` = ' . $this->atacks[$id]['uid' . $j] . ' - AND `delete` = 0 - AND `v1` = "priem" - and `v2` not in (222, 238, 228, 229, 139, 188, 226, 211, 49, 233, 227, 220, 191, 332, 333, - 334, 335, 236, 201, 261, 262, 206, 207, 208, 209, 210, 284, 263, 258, 29, 30, 31, 32, 526, 249, - 248, 187, 245, 175, 176, 177, 178, 179, 285, 36, 85, 86, 87, 88, 89, 90, 269, 276, 277, 270, - 174, 324, 217) - AND `name` NOT LIKE "%%" - LIMIT 30'); - while ($pvr['pl'] = mysql_fetch_array($pvr['sp'])) { - $pvr['pl']['priem'] = mysql_fetch_array(mysql_query('SELECT * FROM `priems` WHERE `id` = "' . $pvr['pl']['v2'] . '" LIMIT 1')); - if (isset($pvr['pl']['priem']['id']) && $pvr['pl']['priem']['neg'] == 0) { - $this->delPriem($pvr['pl'], $this->users[$this->uids[$this->atacks[$id]['uid' . $j]]], 100); - } - } - // - $k++; - } - $j--; - $i++; - } - - // 1% - if ($this->atacks[$id]['out1'] == 0) { - if ($this->stats[$this->uids[$this->atacks[$id]['uid1']]]['s6'] / 4 < $this->stats[$this->uids[$this->atacks[$id]['uid1']]]['level']) { - $this->stats[$this->uids[$this->atacks[$id]['uid1']]]['mpNow'] += floor($this->stats[$this->uids[$this->atacks[$id]['uid1']]]['level'] + $this->stats[$this->uids[$this->atacks[$id]['uid1']]]['hod_minmana']); - } else { - $this->stats[$this->uids[$this->atacks[$id]['uid1']]]['mpNow'] += floor($this->stats[$this->uids[$this->atacks[$id]['uid1']]]['s6'] / 4 + $this->stats[$this->uids[$this->atacks[$id]['uid1']]]['hod_minmana']); - } - $this->users[$this->uids[$this->atacks[$id]['uid1']]]['mpNow'] = $this->stats[$this->uids[$this->atacks[$id]['uid1']]]['mpNow']; - } - // - if ($this->atacks[$id]['out2'] == 0) { - if ($this->stats[$this->uids[$this->atacks[$id]['uid2']]]['s6'] / 4 < $this->stats[$this->uids[$this->atacks[$id]['uid2']]]['level']) { - $this->stats[$this->uids[$this->atacks[$id]['uid2']]]['mpNow'] += floor($this->stats[$this->uids[$this->atacks[$id]['uid2']]]['level'] + $this->stats[$this->uids[$this->atacks[$id]['uid2']]]['hod_minmana']); - } else { - $this->stats[$this->uids[$this->atacks[$id]['uid2']]]['mpNow'] += floor($this->stats[$this->uids[$this->atacks[$id]['uid2']]]['s6'] / 4 + $this->stats[$this->uids[$this->atacks[$id]['uid2']]]['hod_minmana']); - } - $this->users[$this->uids[$this->atacks[$id]['uid2']]]['mpNow'] = $this->stats[$this->uids[$this->atacks[$id]['uid2']]]['mpNow']; - } - - // - if ($this->stats[$this->uids[$this->atacks[$id]['uid1']]]['antm3'] != 0) { - $this->stats[$this->uids[$this->atacks[$id]['uid2']]]['m3'] -= round($this->stats[$this->uids[$this->atacks[$id]['uid1']]]['antm3']); - } - if ($this->stats[$this->uids[$this->atacks[$id]['uid2']]]['antm3'] != 0) { - $this->stats[$this->uids[$this->atacks[$id]['uid1']]]['m3'] -= round($this->stats[$this->uids[$this->atacks[$id]['uid2']]]['antm3']); - } - - // - $this->testZonb($this->atacks[$id]['uid1'], $this->atacks[$id]['uid2']); - - // - $this->magicItems($this->atacks[$id]['uid1'], $this->atacks[$id]['uid2'], $id); - $this->magicItems($this->atacks[$id]['uid2'], $this->atacks[$id]['uid1'], $id); - - // - $this->priemsRazmen($id, $at); - $this->priemsRazmenMoment($id, $at); - $this->priemsRazmen($id, $at); - - $at = $this->newRazmen($id); - - // - // , , , , - // ( , ) - $at = $this->mf2Razmen($id, $at, $v); // - $at = $this->mf3Razmen($id, $at, $v); // - $at = $this->mf4Razmen($id, $at, $v); // - - $at = $this->mf1Razmen($id, $at, $v); // - $at = $this->mf5Razmen($id, $at, $v); // - - $at = $this->yronRazmen($id, $at); // - - // - // - $at = $this->priemsTestRazmen($id, $at); - // ( .) - $at = $this->priemsRestartRazmen($id, $at); // ( ) - // - - // - if (count($this->stats[$this->uids[$this->atacks[$id]['uid1']]]['set_pog']) > 0) { - $this->testPogB($this->atacks[$id]['uid1'], 1, $id, 1); - } - if (count($this->stats[$this->uids[$this->atacks[$id]['uid2']]]['set_pog']) > 0) { - $this->testPogB($this->atacks[$id]['uid2'], 1, $id, 1); - } - - // - $at = $this->updateHealth($id, $at); - - // + - $this->addlogRazmen($id, $at); - // NEW BATTLE SYSTEM - - // - $this->magicItems($this->atacks[$id]['uid1'], $this->atacks[$id]['uid2'], $id); - $this->magicItems($this->atacks[$id]['uid2'], $this->atacks[$id]['uid1'], $id); - - // - // - $this->restZonb($this->atacks[$id]['uid1'], $this->atacks[$id]['uid2']); - // - $zd1 = explode('|', $this->users[$this->uids[$this->atacks[$id]['uid1']]]['priems_z']); - $zd2 = explode('|', $this->users[$this->uids[$this->atacks[$id]['uid2']]]['priems_z']); - // - $prmos = []; - // - $i5 = 0; - - while ($i5 < 51) { - if (isset($zd1[$i5]) && $zd1[$i5] > 0) { - // - $zd1[$i5] -= 1; - } else { - $zd1[$i5] = 0; - } - if (isset($zd2[$i5]) && $zd2[$i5] > 0) { - // - $zd2[$i5] -= 1; - } else { - $zd2[$i5] = 0; - } - $i5++; - } - unset($prmos); - - if ($this->users[$this->uids[$this->atacks[$id]['uid1']]]['enemy'] == $this->users[$this->uids[$this->atacks[$id]['uid2']]]['id']) { - $this->users[$this->uids[$this->atacks[$id]['uid1']]]['enemy'] = -$this->users[$this->uids[$this->atacks[$id]['uid1']]]['enemy']; - } - - if ($this->users[$this->uids[$this->atacks[$id]['uid2']]]['enemy'] == $this->users[$this->uids[$this->atacks[$id]['uid1']]]['id']) { - $this->users[$this->uids[$this->atacks[$id]['uid2']]]['enemy'] = -$this->users[$this->uids[$this->atacks[$id]['uid2']]]['enemy']; - } - - $this->users[$this->uids[$this->atacks[$id]['uid1']]]['priems_z'] = implode('|', $zd1); - $this->users[$this->uids[$this->atacks[$id]['uid2']]]['priems_z'] = implode('|', $zd2); - if ($this->atacks[$id]['uid1'] == $u->info['id']) { - $u->info['priems_z'] = implode('|', $zd1); - } elseif ($this->atacks[$id]['uid2'] == $u->info['id']) { - $u->info['priems_z'] = implode('|', $zd2); - } - // - // - $i = 1; - while ($i <= 6) { - if ($this->users[$this->uids[$this->atacks[$id]['uid1']]]['tactic' . $i] > 25) { - $this->users[$this->uids[$this->atacks[$id]['uid1']]]['tactic' . $i] = 25; - } elseif ($this->users[$this->uids[$this->atacks[$id]['uid1']]]['tactic' . $i] <= 0) { - $this->users[$this->uids[$this->atacks[$id]['uid1']]]['tactic' . $i] = 0; - } - if ($this->users[$this->uids[$this->atacks[$id]['uid2']]]['tactic' . $i] > 25) { - $this->users[$this->uids[$this->atacks[$id]['uid2']]]['tactic' . $i] = 25; - } elseif ($this->users[$this->uids[$this->atacks[$id]['uid2']]]['tactic' . $i] <= 0) { - $this->users[$this->uids[$this->atacks[$id]['uid2']]]['tactic' . $i] = 0; - } - $i++; - } - // - // - mysql_query('UPDATE `items_users` SET `btl_zd` = `btl_zd` - 1 WHERE (`uid` = "' . $this->atacks[$id]['uid1'] . '" OR `uid` = "' . $this->atacks[$id]['uid2'] . '") AND `btl_zd` > 0 AND `inOdet` > 0 LIMIT 100'); - - mysql_query('UPDATE `users` SET `notrhod` = "-1" WHERE `id` = "' . $this->atacks[$id]['uid1'] . '" OR `id` = "' . $this->atacks[$id]['uid2'] . '" LIMIT 2'); - - // - mysql_query('UPDATE `pirogi` SET `hod` = `hod` - 1 WHERE `btl` = "' . $this->info['id'] . '" AND (`uid` = "' . $this->atacks[$id]['uid1'] . '" OR `uid` = "' . $this->atacks[$id]['uid2'] . '")'); - mysql_query('UPDATE `tactic` SET `hod` = `hod` - 1 WHERE `btl` = "' . $this->info['id'] . '" AND (`uid` = "' . $this->atacks[$id]['uid1'] . '" OR `uid` = "' . $this->atacks[$id]['uid2'] . '")'); - - // - mysql_query('DELETE FROM `pirogi` WHERE `btl` = "' . $this->info['id'] . '" AND `hod` < 1'); - mysql_query('DELETE FROM `tactic` WHERE `btl` = "' . $this->info['id'] . '" AND `hod` < 1'); - - // - mysql_query('UPDATE `spells` SET `hod` = `hod` - 1 WHERE `btl` = "' . $this->info['id'] . '" AND (`uid` = "' . $this->atacks[$id]['uid1'] . '" OR `uid` = "' . $this->atacks[$id]['uid2'] . '")'); - mysql_query('DELETE FROM `spells` WHERE `btl` = "' . $this->info['id'] . '" AND `hod` < 1'); - - - // battle_users - mysql_query('UPDATE `battle_users` SET `hp` = "' . $this->stats[$this->uids[$this->atacks[$id]['uid1']]]['hpNow'] . '" - WHERE `battle` = "' . $this->info['id'] . '" AND `uid` = "' . $this->atacks[$id]['uid1'] . '" LIMIT 1'); - mysql_query('UPDATE `battle_users` SET `hp` = "' . $this->stats[$this->uids[$this->atacks[$id]['uid2']]]['hpNow'] . '" - WHERE `battle` = "' . $this->info['id'] . '" AND `uid` = "' . $this->atacks[$id]['uid2'] . '" LIMIT 1'); - // 25% - - - if ($this->stats[$this->uids[$this->atacks[$id]['uid1']]]['yhod'] > 0) { - $this->save_stats($this->yhod_user($this->atacks[$id]['uid2'], $this->atacks[$id]['uid1'], - $this->stats[$this->uids[$this->atacks[$id]['uid1']]]['yhod'])); - } elseif ($this->stats[$this->uids[$this->atacks[$id]['uid2']]]['yhod'] > 0) { - $this->save_stats($this->yhod_user($this->atacks[$id]['uid1'], $this->atacks[$id]['uid2'], - $this->stats[$this->uids[$this->atacks[$id]['uid2']]]['yhod'])); - } - // - $this->save_stats($this->atacks[$id]['uid1']); - $this->save_stats($this->atacks[$id]['uid2']); - - $this->priemsRazmenMomentEnd($id, $at); - - // \ - $j = 1; - while ($j <= 2) { - $eff = $this->stats[$this->uids[$this->atacks[$id]['uid' . $j]]]['effects']; - $i = 0; - while ($i < count($eff)) { - if (isset($eff[$i])) { - if ($eff[$i]['timeUse'] == 77 && $eff[$i]['hod'] > -1) { - $eff[$i]['hod']--; - $eff[$i]['priem'] = mysql_fetch_array(mysql_query('SELECT * FROM `priems` WHERE `id` = ' . $eff[$i]['v2'])); - if (round($eff[$i]['priem']['minmana'] * $eff[$i]['x']) != 0) { - // - $priem->minMana($eff[$i]['user_use'], - round($eff[$i]['priem']['minmana'] * $eff[$i]['x'])); - if ($this->stats[$this->uids[$eff[$i]['user_use']]]['mpNow'] <= 0) { - $eff[$i]['hod'] = 0; - } - } - if (strripos($eff[$i]['data'], 'minprocmanahod')) { - $pvr = [ - 'x1' => 0, - 'x2' => 0, - 'd' => explode('|', $eff[$i]['data']), - 'i' => 0, - 'uid' => $eff[$i]['uid'], - 'color' => '', - 'color2' => '', - 'effx' => '', - 'x' => $eff[$i]['name'], - ]; - - while ($pvr['i'] < count($pvr['d'])) { - if (isset($pvr['d'][$pvr['i']])) { - $pvr['d1'] = explode('=', $pvr['d'][$pvr['i']]); - if ($pvr['d1'][0] == 'minprocmanahod') { - $pvr['d1'] = explode('x', $pvr['d1'][1]); - $pvr['x1'] = $pvr['d1'][0]; - $pvr['x2'] = $pvr['d1'][1]; - } - } - $pvr['i']++; - } - - $pvr['mp'] = round($this->stats[$this->uids[$pvr['uid']]]['mpAll'] / 100 * rand($pvr['x1'], - $pvr['x2'])); - $pvr['mpSee'] = 0; - $pvr['mpNow'] = floor($this->stats[$this->uids[$pvr['uid']]]['mpNow']); - $pvr['mpAll'] = $this->stats[$this->uids[$pvr['uid']]]['mpAll']; - $pvr['mpTr'] = $pvr['mpAll'] - $pvr['mpNow']; - - if ($pvr['mpTr'] > 0) { - // - if ($pvr['mpTr'] < $pvr['mp']) { - $pvr['mp'] = $pvr['mpTr']; - } - $pvr['mpSee'] = '+' . $pvr['mp']; - $pvr['mpNow'] += $pvr['mp']; - } - if ($pvr['mpNow'] > $pvr['mpAll']) { - $pvr['mpNow'] = $pvr['mpAll']; - } elseif ($pvr['mpNow'] < 0) { - $pvr['mpNow'] = 0; - } - if ($pvr['mpSee'] == 0) { - $pvr['mpSee'] = '--'; - } - - - $this->stats[$this->uids[$pvr['uid']]]['mpNow'] = $pvr['mpNow']; - $this->users[$this->uids[$pvr['uid']]]['mpNow'] = $pvr['mpNow']; - mysql_query('UPDATE `stats` SET `mpNow` = ' . $this->stats[$this->uids[$pvr['uid']]]['mpNow'] . ' WHERE `id` = ' . $pvr['uid']); - - $pvr['text'] = $this->addlt(1, 21, $this->users[$this->uids[$pvr['uid']]]['sex']); - $pvr['text2'] = '{tm1} ' . $pvr['text'] . ' ' . $pvr['mpSee'] . ' [' . $pvr['mpNow'] . '/' . $pvr['mpAll'] . '] ()'; - $this->priemAddLog($id, 1, 2, $pvr['uid'], 0, - '' . $pvr['x'] . '', - $pvr['text2'], - ($this->hodID) - ); - - unset($pvr); - } - - if (isset($this->rehodeff[$eff[$i]['id']])) { - $eff[$i]['hod'] = $this->rehodeff[$eff[$i]['id']]; - } - if ($eff[$i]['hod'] > 0) { - $this->stats[$this->uids[$this->atacks[$id]['uid' . $j]]]['effects']['hod'] = $eff[$i]['hod']; - mysql_query('UPDATE `eff_users` SET `hod` = "' . $eff[$i]['hod'] . '" WHERE `id` = "' . $eff[$i]['id'] . '" LIMIT 1'); - } else { - // - if ($eff[$i]['v2'] > 0) { - if ($j == 1) { - $jn = 2; - } else { - $jn = 1; - } - $this->delPriem($eff[$i], $this->users[$this->uids[$this->atacks[$id]['uid' . $j]]], - 3, $this->atacks[$id]['uid' . $jn]); - } - } - } elseif ($eff[$i]['timeUse'] == 77 && $eff[$i]['hod'] == -2) { - $eff[$i]['priem'] = mysql_fetch_array(mysql_query('SELECT * FROM `priems` WHERE `id` = "' . $eff[$i]['v2'] . '" LIMIT 1')); - $priem->hodUsePriem($eff[$i], $eff[$i]['priem']); - } else { - $eff[$i]['priem'] = mysql_fetch_array(mysql_query('SELECT * FROM `priems` WHERE `id` = "' . $eff[$i]['v2'] . '" LIMIT 1')); - if (isset($eff[$i]['priem']['minmana']) && round($eff[$i]['priem']['minmana'] * $eff[$i]['x']) != 0) { - // - $priem->minMana($eff[$i]['user_use'], - round($eff[$i]['priem']['minmana'] * $eff[$i]['x'])); - if ($this->stats[$this->uids[$eff[$i]['user_use']]]['mpNow'] <= 0) { - $eff[$i]['hod'] = 0; - if (isset($this->rehodeff[$eff[$i]['id']])) { - $eff[$i]['hod'] = $this->rehodeff[$eff[$i]['id']]; - } - if ($eff[$i]['v2'] > 0) { - if ($j == 1) { - $jn = 2; - } else { - $jn = 1; - } - $this->delPriem($eff[$i], - $this->users[$this->uids[$this->atacks[$id]['uid' . $j]]], 3, - $this->atacks[$id]['uid' . $jn]); - } - } - } elseif ($eff[$i]['timeUse'] > 100 && $eff[$i]['hod'] > -1 && $c['effz'] > 0) { - $eff[$i]['hod']--; - if (isset($this->rehodeff[$eff[$i]['id']])) { - $eff[$i]['hod'] = $this->rehodeff[$eff[$i]['id']]; - } - if ($eff[$i]['hod'] > 0) { - $this->stats[$this->uids[$this->atacks[$id]['uid' . $j]]]['effects']['hod'] = $eff[$i]['hod']; - mysql_query('UPDATE `eff_users` SET `hod` = "' . $eff[$i]['hod'] . '" WHERE `id` = "' . $eff[$i]['id'] . '" LIMIT 1'); - } else { - // - if ($eff[$i]['v2'] > 0) { - if ($j == 1) { - $jn = 2; - } else { - $jn = 1; - } - $this->delPriem($eff[$i], - $this->users[$this->uids[$this->atacks[$id]['uid' . $j]]], 3, - $this->atacks[$id]['uid' . $jn]); - } - } - } - } - } - $i++; - } - $j++; - } - // - // - // - if ($c['propsk_die'] > 0 && $this->info['razdel'] == 0 && $this->info['dn_id'] == 0 && $this->info['izlom'] == 0) { - $cn1 = mysql_fetch_array(mysql_query('SELECT COUNT(*) FROM `battle_out` WHERE `battle` = "' . $this->info['id'] . '" AND `uid1` = "' . $this->atacks[$id]['uid1'] . '" LIMIT 1')); - $cn2 = mysql_fetch_array(mysql_query('SELECT COUNT(*) FROM `battle_out` WHERE `battle` = "' . $this->info['id'] . '" AND `uid1` = "' . $this->atacks[$id]['uid2'] . '" LIMIT 1')); - if ($cn1[0] > 3) { - // - $pvr['text2'] = '{tm1} {u1} - .'; - $this->priemAddLog($id, 1, 2, $this->atacks[$id]['uid1'], 0, '', - $pvr['text2'], - ($this->hodID) - ); - unset($pvr); - mysql_query('UPDATE `stats` SET `hpNow` = 0 WHERE `id` = "' . $this->atacks[$id]['uid1'] . '" LIMIT 1'); - } - if ($cn2[0] > $c['propsk_die']) { - $pvr['text2'] = '{tm1} {u1} - .'; - $this->priemAddLog($id, 1, 2, $this->atacks[$id]['uid2'], 0, '', - $pvr['text2'], - ($this->hodID) - ); - unset($pvr); - mysql_query('UPDATE `stats` SET `hpNow` = 0 WHERE `id` = "' . $this->atacks[$id]['uid2'] . '" LIMIT 1'); - } - } - // - // - if ($u->info['id'] == $this->atacks[$id]['uid1']) { - $u->info['enemy'] = $this->users[$this->uids[$this->atacks[$id]['uid1']]]['enemy']; - } - if ($u->info['id'] == $this->atacks[$id]['uid2']) { - $u->info['enemy'] = $this->users[$this->uids[$this->atacks[$id]['uid2']]]['enemy']; - } - // // - mysql_query('DELETE FROM `battle_act` WHERE ( `uid1` = "' . $this->atacks[$id]['uid1'] . '" AND `uid2` = "' . $this->atacks[$id]['uid2'] . '" ) OR - ( `uid2` = "' . $this->atacks[$id]['uid1'] . '" AND `uid1` = "' . $this->atacks[$id]['uid2'] . '" )'); - - unset($old_s1, $old_s2); - unset($this->ga[$this->atacks[$id]['uid1']][$this->atacks[$id]['uid2']], $this->ga[$this->atacks[$id]['uid2']][$this->atacks[$id]['uid1']]); - unset($this->ag[$this->atacks[$id]['uid1']][$this->atacks[$id]['uid2']], $this->ag[$this->atacks[$id]['uid2']][$this->atacks[$id]['uid1']]); - unset($this->atacks[$id]); - mysql_query('DELETE FROM `battle_act` WHERE `id` = ' . $id); - // - - unset($old_s1, $old_s2); - // - } - - // - private function save_stats($uid) - { - mysql_query('UPDATE `stats` SET - `hpNow` = ' . $this->stats[$this->uids[$uid]]['hpNow'] . ', - `mpNow` = ' . $this->stats[$this->uids[$uid]]['mpNow'] . ', - `tactic1` = ' . $this->users[$this->uids[$uid]]['tactic1'] . ', - `tactic2` = ' . $this->users[$this->uids[$uid]]['tactic2'] . ', - `tactic3` = ' . $this->users[$this->uids[$uid]]['tactic3'] . ', - `tactic4` = ' . $this->users[$this->uids[$uid]]['tactic4'] . ', - `tactic5` = ' . $this->users[$this->uids[$uid]]['tactic5'] . ', - `tactic6` = ' . $this->users[$this->uids[$uid]]['tactic6'] . ', - `tactic7` = ' . $this->users[$this->uids[$uid]]['tactic7'] . ', - `enemy` = ' . $this->users[$this->uids[$uid]]['enemy'] . ', - `battle_yron` = ' . $this->users[$this->uids[$uid]]['battle_yron'] . ', - `last_hp` = ' . $this->users[$this->uids[$uid]]['last_hp'] . ', - `battle_exp` = ' . $this->users[$this->uids[$uid]]['battle_exp'] . ', - `priems_z` = ' . $this->users[$this->uids[$uid]]['priems_z'] . ' - WHERE `id` = ' . $uid); - } - - // - public function lookLog() - { - global $u; - $hodID = mysql_fetch_array(mysql_query('SELECT `id_hod` FROM `battle_logs` WHERE `battle` = ' . $this->info['id'] . ' ORDER BY `time`')); - if ($hodID['id_hod'] <= 1) { - $u->info['alog'] = 0; - } - - if ($_POST['idlog'] < 1) { - $_POST['idlog'] = 0; - } - $talog = mysql_fetch_array(mysql_query('SELECT `alog` FROM `stats` WHERE `id` = ' . $u->info['id'])); - $sp = mysql_query('SELECT - `id`,`type`,`time`,`battle`,`id_hod`,`text`,`vars`,`zona1`,`zona2`,`zonb1`,`zonb2` - FROM `battle_logs` - WHERE `battle` = ' . $this->info['id'] . ' AND `id_hod` >= ' . $talog['alog'] . ' ORDER BY `id` DESC'); - if (isset($sp) && $this->info['team_win'] != -1) { - $sp = mysql_query('SELECT - `id`,`type`,`time`,`battle`,`id_hod`,`text`,`vars`,`zona1`,`zona2`,`zonb1`,`zonb2` - FROM `battle_logs_save` - WHERE `battle` = ' . $this->info['id'] . ' AND `id_hod` >= ' . $talog['alog'] . ' ORDER BY `id` DESC'); - } - $jin = 0; - $forYou2 = 0; - $js = ''; - $pll = 0; - if ($_POST['idlog'] < 1) { - $_POST['idlog'] = 0; - } - $talog = mysql_fetch_array(mysql_query('SELECT `alog` FROM `stats` WHERE `id` = ' . $u->info['id'])); - $sp = mysql_query('SELECT - `id`,`type`,`time`,`battle`,`id_hod`,`text`,`vars`,`zona1`,`zona2`,`zonb1`,`zonb2` - FROM `battle_logs` - WHERE `battle` = ' . $this->info['id'] . ' AND `id_hod` >= ' . $talog['alog'] . ' ORDER BY `id` DESC'); - if (isset($sp) && $this->info['team_win'] != -1) { - $sp = mysql_query('SELECT - `id`,`type`,`time`,`battle`,`id_hod`,`text`,`vars`,`zona1`,`zona2`,`zonb1`,`zonb2` - FROM `battle_logs_save` - WHERE `battle` = ' . $this->info['id'] . ' AND `id_hod` >= ' . $talog['alog'] . ' ORDER BY `id` DESC'); - } - $jin = 0; - $forYou2 = 0; - while ($pl = mysql_fetch_array($sp)) { - if ($jin == 0) { - $u->info['alog'] = $pl['id_hod']; - } - $jin++; - - $rt = $pl['text']; - $pl['vars'] = str_replace('^^^^', 'rvnO', $pl['vars']); - $rt = str_replace('{tm1}', '' . date('H:i', $pl['time']) . '', $rt); - $rt = str_replace('{tm2}', '' . date('H:i', $pl['time']) . '', $rt); - $rt = str_replace('{tm3}', - '' . date('d.m.Y H:i', $pl['time']) . '', $rt); - $rt = str_replace('{tm4}', - '' . date('d.m.Y H:i', $pl['time']) . '', $rt); - $pl['text'] = $rt; - - unset($rt); - if ($pll < $pl['id']) { - $pll = $pl['id']; - } - $js = 'add_log(' . $pl['id'] . ',' . $forYou2 . ',"' . $pl['text'] . '",' . $pl['id_hod'] . ',0,0,"' . str_replace('"', - '"', $pl['vars']) . '");' . $js; - } - mysql_query('UPDATE `stats` SET `alog`=' . $u->info['alog'] . ' WHERE `id` =' . $u->info['id']); - $js .= 'id_log=' . $pll . ';'; - - return $js; - } - -// - public function lookmLog() - { - $u = user::start(); - $js = ''; - $pll = 0; - - if ($this->info['type'] != 9) { - $hodID = mysql_fetch_array(mysql_query('SELECT `id`,`id_hod` FROM `battle_logs` WHERE `battle` = "' . $this->info['id'] . '" ORDER BY `time` LIMIT 1')); - if ($hodID['id_hod'] <= 1) { - $u->info['mlog'] = 0; - } - if (isset($hodID['id']) && $this->info['team_win'] != -1) { - $hodID = mysql_fetch_array(mysql_query('SELECT `id` FROM `battle_logs_save` WHERE `battle` = "' . $this->info['id'] . '" ORDER BY `time` LIMIT 1')); - } - if (isset($hodID['id'])) { - $hodID = $hodID['id']; - } else { - $hodID = 0; - } - $tmlog = mysql_fetch_array(mysql_query('SELECT `mlog` FROM `stats` WHERE `id` = "' . $u->info['id'] . '" LIMIT 1')); - $spm = mysql_query('SELECT - `id`,`type`,`time`,`battle`,`id_hod`,`text`,`vars`,`zona1`,`zona2`,`zonb1`,`zonb2` - FROM `battle_logs` - WHERE `battle` = "' . $this->info['id'] . '" AND `id_hod` >= ' . $tmlog['mlog'] . ' AND `vars` LIKE "%' . $u->info['login'] . '%" ORDER BY `id` DESC'); - - if (isset($spm) && $this->info['team_win'] != -1) { - $spm = mysql_query('SELECT - `id`,`type`,`time`,`battle`,`id_hod`,`text`,`vars`,`zona1`,`zona2`,`zonb1`,`zonb2` - FROM `battle_logs_save` - WHERE `battle` = "' . $this->info['id'] . '" AND `id_hod` >= ' . $tmlog['mlog'] . ' AND `vars` LIKE "%' . $u->info['login'] . '%" ORDER BY `id` DESC'); - } - - $jin = 0; - $forYou2 = 0; - - while ($plm = mysql_fetch_array($spm)) { - if ($jin == 0) { - $u->info['mlog'] = $plm['id_hod']; - } - $jin++; - $rt = $plm['text']; - $plm['vars'] = str_replace('^^^^', 'rvnO', $plm['vars']); - $rt = str_replace('{tm1}', '' . date('H:i', $plm['time']) . '', $rt); - $rt = str_replace('{tm2}', '' . date('H:i', $plm['time']) . '', $rt); - $rt = str_replace('{tm3}', '' . date('d.m.Y H:i', $plm['time']) . '', - $rt); - $rt = str_replace('{tm4}', '' . date('d.m.Y H:i', $plm['time']) . '', - $rt); - $plm['text'] = $rt; - unset($rt); - if ($pll < $plm['id']) { - $pll = $plm['id']; - } - $js = 'add_mlog(' . $plm['id'] . ',' . $forYou2 . ',"' . $plm['text'] . '",' . $plm['id_hod'] . ',0,0,"' . str_replace('"', - '"', $plm['vars']) . '");' . $js; - } - $js .= 'id_mlog=' . $pll . ';'; - mysql_query('UPDATE `stats` SET `mlog`=' . $u->info['mlog'] . ' WHERE `id` =' . $u->info['id']); - } - return $js; - } -//====================== - - // - public function add_log($mass) - { - if ($mass['time'] != '' && $mass['text'] != '') { - mysql_query('INSERT INTO `battle_logs` (`time`,`battle`,`id_hod`,`text`,`vars`,`type`) VALUES (' . $mass['time'] . ',' . $mass['battle'] . ',' . $mass['id_hod'] . ',' . $mass['text'] . ',' . $mass['vars'] . ',' . $mass['type'] . ')'); - if (rand(2, 10) == 10) { - $this->get_comment(); - } - } - } - - /// - private function get_comment() - { - $boycom = [ - ' .', - ' , ?', - ' ?', - ', -, ? ! !', - ' .', - ' . ', - ' ...', - ' ...', - ' ?', - ' , !?', - ' ?', - ' -, :', - ' - ?', - ' , ', - ' ?!', - ' . ?', - ' ...', - ' !', - ' !', - ' , !', - ' .', - ' 5 , , 20- ...', - '. .', - ' , - ?', - ' , ?', - ' ... : ...', - ' , ?', - ' , ', - ' . ... , , ', - ' !', - ' ? , .', - ' ! !', - ' !', - ', , ` ` ', - ' ?!', - ' ! .', - ' . ? .', - ' !', - ', ... !.. , .', - ' , !', - ' -, ...', - ' - , :)', - ' .', - ' - !!!', - '! ! ! !', - ' !', - ' ? . , .', - ' . .', - ' ...', - ' ...', - ' !!!', - '!? ?!', - ' ?', - ', ...', - ' .', - ' !', - ' , - .', - ', , , .', - ' !', - ', - ???', - ' , .', - ' ? !', - ', !', - ' , ...', - ' . !', - '! ! ... , .', - ', , ?', - ', !', - ' !', - ' , ... , ... ?!', - ' ?', - ' . .', - ', ..? . , .', - '... .', - '!!!.... ...', - '! .', - '! , !', - ' ???', - ' ... - .', - ', ...', - ' !', - '-, - .', - ' , .', - ' , ?', - ' - .', - ', .', - ' !', - ' , .', - ' ... , !', - ' ...', - ' !', - ' !', - ' ', - ' , .', - ' , .', - ' - .', - ' !', - ' ', - ' ...', - ' , !', - '!! , ...', - ' ! .', - ', !', - ', , ?', - ', , .', - ' !', - ' !', - '-!', - ' ?! !', - ' , ', - ' - ...', - ' , ! !', - ' , .', - ' ', - ' `` ?', - ' - ...', - ' , - .', - ' . :)', - ' , , , . ? - ?!', - ' , ...', - '( ) ... !', - '< > < > < > < >', - '< > ', - ]; - if (rand(1, 12) !== 12) { - return; - } - shuffle($boycom); - $this->add_log([ - 'time' => time(), - 'battle' => $this->info['id'], - 'id_hod' => $this->hodID, - 'text' => '{tm1} : ' . current($boycom) . '', - 'vars' => 'time1=' . time(), - 'zona1' => '', - 'zonb1' => '', - 'zona2' => '', - 'zonb2' => '', - 'type' => '1', - ]); - } - - // - public function weaponTx($item) - { - if (!isset($item['id'])) { - $i = 1; - while ($i <= 4) { - $itm['tya' . $i] = 1; - $i++; - } - } - $itm = $this->lookStats($item['data']); - $t[0]['z'] = 0; - $t[0]['t'] = 0; - // - $t[1]['z'] = round(0 + $itm['tya1']); - $t[1]['t'] = 1; - // - $t[2]['z'] = round(0 + $itm['tya2']); - $t[2]['t'] = 2; - // - $t[3]['z'] = round(0 + $itm['tya3']); - $t[3]['t'] = 3; - // - $t[4]['z'] = round(0 + $itm['tya4']); - $t[4]['t'] = 4; - // - $t[5]['z'] = round(0 + $itm['tym1']); - $t[5]['t'] = 5; - // - $t[6]['z'] = round(0 + $itm['tym2']); - $t[6]['t'] = 6; - // - $t[7]['z'] = round(0 + $itm['tym3']); - $t[7]['t'] = 7; - // - $t[8]['z'] = round(0 + $itm['tym4']); - $t[8]['t'] = 8; - // - $t[9]['z'] = round(0 + $itm['tym5']); - $t[9]['t'] = 9; - // - $t[10]['z'] = round(0 + $itm['tym6']); - $t[10]['t'] = 10; - // - $t[11]['z'] = round(0 + $itm['tym7']); - $t[11]['t'] = 11; - - - $tpt = $t[0]['z']; - $tpmin = $t[0]; - $tpmax = $t[0]; - $i = 1; - - while ($i <= 11) { - if ($t[$i]['z'] > $tpt) { - $tpt = $t[$i]['z']; - $tpmax = $t[$i]; - $ii = $i; - } - $i++; - } - $t[$ii]['z'] = 0; - - $tpt = $t[0]['z']; - $i = 1; - while ($i <= 11) { - if ($t[$i]['z'] > $tpt) { - $tpt = $t[$i]['z']; - $tpmin = $t[$i]; - } - $i++; - } - - $setclass = rand(1, 100); - - if ($setclass > $tpmax['z']) { - $tp = $tpmin['t']; - } else { - $tp = $tpmax['t']; - } - - return $tp; - } - - // - public function weaponAt22($item, $st = 0) - { - if (empty($item['data'])) { - return []; - } - $itm = $this->lookStats($item['data']); - // - $min = $itm['sv_yron_min'] + $itm['yron_min'] + $st['minAtack']; - $max = $itm['sv_yron_max'] + $itm['yron_max'] + $st['maxAtack']; - - return [$min, $max]; - } - - // - // - private function zago($v) - { - return round((1 - (pow(0.5, (max($v, 1700) / 399.51)))) * 100, 2); - } - - // () - public function zmgo($v) - { - return (1 - (pow(0.5, ($v / 250)))) * 100; - } - - - /** - * @param $st1 - * @param $st2 - * @param $u1 - * @param $u2 - * @param $level - * @param $level2 [not used?] - * @param $type - * @param $min_yron - * @param $max_yron - * @param $min_bron [not used?] - * @param $max_bron [not used?] - * @param $vladenie - * @param $power_yron - * @param $power_krit - * @param $zashita - * @param $ozashita [not used?] - * @param $proboi - * @param $weapom_damage [not used?] - * @param $weapom_min - * @param $weapom_max - * @param $za_proc [not used?] - * @param $zm_proc [not used?] - * @param $zashitam [not used?] - * @param $ozashitam [not used?] - * @param $wp_type - * @param $witm - * @return array - */ - public function yrn( - $st1, - $st2, - $u1, - $u2, - $level, - $level2 = null, - $type, - $min_yron, - $max_yron, - $min_bron = null, - $max_bron = null, - $vladenie, - $power_yron, - $power_krit, - $zashita, - $ozashita = null, - $proboi, - $weapom_damage = null, - $weapom_min, - $weapom_max, - $za_proc = null, - $zm_proc = null, - $zashitam = null, // pzm ! - $ozashitam = null, - $wp_type, - $witm - ) { - global $u; - - // - if ($zashita < 1) { - $zashita = 1; - } - - if ($min_yron < 1) { - $min_yron = 1; - } - - if ($max_yron < 1) { - $max_yron = 1; - } - - if (!isset($type) || $type == '') { - $type = 12; - } - - // - $p = [ - 'Y' => 0, - 'B' => [0 => 0, 1 => 0, 'rnd' => false], - 'L' => $level, - 'W' => [$weapom_min, $weapom_max, 'rnd' => false], // // - 'U' => $vladenie, // - 'M' => $power_yron, // - 'K' => $power_krit, // - 'S' => 0, // . - 'T' => 1, //. - 'iT' => 1, // . . - /* - (S) - - : S = * 0,3 + * 0,7 - : S = * 0,5 + * 0,25 + * 0,25 - : S = * 1 - : S = * 0,3 + * 0,7 - */ - ]; - - // 1.33 1.00 - - $witmdata = $this->lookStats($witm['data']); - - // - - if ($wp_type == 18) { - $r['type'] = 1; - } elseif ($wp_type == 19) { - $r['type'] = 2; - } elseif ($wp_type == 20) { - $r['type'] = 3; - } elseif ($wp_type == 21) { - $r['type'] = 4; - } else { - $r['type'] = 0; - } - // - // - if ($r['type'] == 1) { - $p['S'] = $st1['s1'] * 0.25 + $st1['s2'] * 0.75; - $p['U'] = $st1['a1'] * 1.00; // - // - } elseif ($r['type'] == 2) { - $p['S'] = $st1['s1'] * 1.20; - $p['U'] = $st1['a2'] * 1.00; // - // - } elseif ($r['type'] == 3) { - $p['S'] = $st1['s1'] * 0.5 + $st1['s4'] * 1.00; - $p['U'] = $st1['a3'] * 1.00; // - // - } elseif ($r['type'] == 4) { - $p['S'] = $st1['s3'] * 1.00; - $p['U'] = $st1['a4'] * 1.00; // - // - } elseif ($r['type'] >= 5 && $r['type'] < 12) { - $p['S'] = $st1['s1'] * 0.5 + $st1['s2'] * 0.5; - $p['U'] = $st1['mg' . ($r['type'] - 4)] * 1.00; // - $p['Mage'] = true; - } else { - $p['S'] = 0; - $p['U'] = 0; // ( - } - - $r['bron']['rnd'] = rand($r['bron'][0], $r['bron'][1]); - - // () - $p['B'][0] = 2 + $level + $st1['s1'] - round($st1['s1'] / 5); - $p['B'][1] = $p['B'][0] + 3; - - $p['B']['rnd'] = rand($p['B'][0], $p['B'][1]); - $p['W']['rnd'] = rand($p['W'][0], $p['W'][1]); - - // - if ($r['type'] == 12) { - $r['min'] = ($p['B'][0] + $weapom_min) * $p['T'] * (1 + $p['M'] / 100); - $r['max'] = ($p['B'][1] + $weapom_max) * $p['T'] * (1 + $p['M'] / 100); - } else { - $r['min'] = (($p['B'][0] + $p['S'] * 2 + $weapom_min * 2 + $p['U'] * 2) * $p['T']) * (1 + $p['M'] / 100); - $r['max'] = (($p['B'][1] + $p['S'] * 2 + $weapom_max * 2 + $p['U'] * 2) * $p['T']) * (1 + $p['M'] / 100); - } - - $r['bRND'] = $p['B']['rnd']; - - $r['Kmin'] = ceil((2 + ($p['K'] / 100)) * $r['min']); - $r['Kmax'] = ceil((2 + ($p['K'] / 100)) * $r['max']); - - // - // - if ($r['type'] < 5 || $r['type'] == 12) { - $r['min_abron'] = round($r['min'] * 0.05); - $r['max_abron'] = round($r['max'] * 0.05); - - if ($proboi != 0) { - $r['bron']['rndold'] = $r['bron']['rnd']; - } - - // - $r['Kmin'] -= $r['bron']['rnd'] * 2; // 2 - $r['Kmax'] -= $r['bron']['rnd'] * 2; // 2 - - $r['min'] -= $r['bron']['rnd']; // . - $r['max'] -= $r['bron']['rnd']; // . - - } - - // ( 80%) - if ($r['type'] < 5 || $r['type'] == 12) { - $r['min'] = round($r['min'] / 100 * (100 - $this->zago($st2['za']))); - $r['max'] = round($r['max'] / 100 * (100 - $this->zago($st2['za']))); - $r['Kmin'] = round($r['Kmin'] / 100 * (100 - $this->zago($st2['za']))); - $r['Kmax'] = round($r['Kmax'] / 100 * (100 - $this->zago($st2['za']))); - } else { - $r['min'] = round($r['min'] / 100 * (100 - $this->zmgo($st2['zm']))); - $r['max'] = round($r['max'] / 100 * (100 - $this->zmgo($st2['zm']))); - $r['Kmin'] = round($r['Kmin'] / 100 * (100 - $this->zmgo($st2['zm']))); - $r['Kmax'] = round($r['Kmax'] / 100 * (100 - $this->zmgo($st2['zm']))); - } - - $r['min'] = round($r['min']); - $r['max'] = round($r['max']); - $r['Kmin'] = round($r['Kmin']); - $r['Kmax'] = round($r['Kmax']); - - $min_yrn = 0; //% - - if ($u1['clone'] > 0) { - $min_yrn = 75; - } - - $r['min'] -= floor($r['min'] / 100 * $min_yrn); - $r['max'] -= floor($r['max'] / 100 * $min_yrn); - $r['Kmin'] -= floor($r['Kmin'] / 100 * ($min_yrn)); - $r['Kmax'] -= floor($r['Kmax'] / 100 * ($min_yrn)); - $r['min_'] -= floor($r['min_'] / 100 * $min_yrn); - $r['max_'] -= floor($r['max_'] / 100 * $min_yrn); - $r['Kmin_'] -= floor($r['Kmin_'] / 100 * ($min_yrn)); - $r['Kmax_'] -= floor($r['Kmax_'] / 100 * ($min_yrn)); - - $defd = mysql_fetch_array(mysql_query('SELECT SUM(`vals`) FROM `battle_actions` WHERE `btl` = ' . $this->info['id'] . ' AND `vars` = "use_defteam' . $u2['team'] . '" LIMIT 1')); - if ($defd[0] > 100) { - $defd[0] = 100; - } - $defd = 0 + $defd[0]; - $powd = mysql_fetch_array(mysql_query('SELECT SUM(`vals`) FROM `battle_actions` WHERE `btl` = ' . $this->info['id'] . ' AND `vars` = "use_powteam' . $u1['team'] . '" LIMIT 1')); - if ($powd[0] > 100) { - $powd[0] = 100; - } - $powd = 0 + $powd[0]; - $defd = $defd - $powd; - - $r['min'] -= floor($defd); - $r['max'] -= floor($defd); - $r['Kmin'] -= floor($defd * 2); - $r['Kmax'] -= floor($defd * 2); - $r['min_'] -= floor($defd); - $r['max_'] -= floor($defd); - $r['Kmin_'] -= floor($defd * 2); - $r['Kmax_'] -= floor($defd * 2); - - $r['min'] += $st1['maxAtack']; - $r['max'] += $st1['maxAtack']; - $r['Kmin'] += $st1['maxAtack'] * 2; - $r['Kmin'] += $st1['maxAtack'] * 2; - - if ($r['min'] < 1) { - $r['min'] = 1; - } - if ($r['max'] < 1) { - $r['max'] = 1; - } - if ($r['Kmin'] < 2) { - $r['Kmin'] = 2; - } - if ($r['Kmax'] < 2) { - $r['Kmax'] = 2; - } - if ($r['Kmin_'] < 2) { - $r['Kmin_'] = 2; - } - if ($r['Kmin_'] < 2) { - $r['Kmax_'] = 2; - } - - $r['m_k'] = $r['Kmax']; - - return $r; - } - - // - // pl - // u1 - // t1 - // 99 = - // u2 - //$this->delPriem($pd[$k2][1][$k],${'p'.$k2},1,${'p'.$k2jn}); - public $del_val = []; - - public function delPriem( - $pl, - $u1, - $t = 1, - $u2 = false, - $rznm = ' ' - ) { - global $u; - if (isset($pl['priem']['id']) && !isset($this->del_val['eff'][$pl['priem']['id']])) { - if ($pl['x'] > 1) { - $pl['name'] = $pl['name'] . ' x' . $pl['x']; - } - if ($pl['timeUse'] == 77) { - // - mysql_query('DELETE FROM `eff_users` WHERE `id` = ' . $pl['id']); - } - $vLog = 'time1=' . time() . '||s1=' . $u1['sex'] . '||t1=' . $u1['team'] . '||login1=' . $u1['login']; - if (isset($u2['id'])) { - $vLog .= '||s2=' . $u2['sex'] . '||t2=' . $u2['team'] . '||login2=' . $u2['login']; - } - $mas1 = [ - 'time' => time(), - 'battle' => $this->info['id'], - 'id_hod' => $this->hodID, - 'text' => '', - 'vars' => $vLog, - 'zona1' => '', - 'zonb1' => '', - 'zona2' => '', - 'zonb2' => '', - 'type' => '1', - ]; - if ($t == 4) { - $mas1['id_hod']++; - $t = 2; - } - if ($t == 1) { - $mas1['id_hod']++; - if ($pl['priem']['file'] != '0') { - if (file_exists('../../_incl_data/class/priems/' . $pl['priem']['file'] . '.php')) { - require('priems/' . $pl['priem']['file'] . '.php'); - } - } elseif ($pl['priem']['file3'] != '0') { - if (file_exists('../../_incl_data/class/priems/' . $pl['priem']['file3'] . '.php')) { - require('priems/' . $pl['priem']['file3'] . '.php'); - } - } else { - $mas1['text'] = '{tm1} {u1} {1x16x0} "' . $pl['name'] . '".'; - $this->del_val['eff'][$pl['priem']['id']] = true; - } - } elseif ($t == 2) { - $mas1['text'] = '{tm1} {u1} "' . $pl['name'] . '".'; - } elseif ($t == 99) { - $mas1['text'] = '{u1} "' . $pl['name'] . '" ' . $rznm . ' .'; - } else { - if ($t == 100) { - $mas1['id_hod']++; - } - $mas1['text'] = '{tm1} "' . $pl['name'] . '" {u1}.'; - } - if ($pl['priem']['id'] != 24) { - $this->add_log($mas1); - } - $this->stats[$this->uids[$pl['uid']]] = $u->getStats($pl['uid'], 0, 0, false, false, true); - } - } - - // - public function lookStats($m) - { - return json_decode(str_replace(['=', '|'], ['":', ',"'], '{"' . $m . '}'), true); - } - - // - - /** - * @param $type - * @param $mf - * @param $lvl1 [not used?] - * @param $lvl2 [not used?] - * @return int - */ - private function mfs($type, $mf, $lvl1 = null, $lvl2 = null) - { - $rval = 0; - switch ($type) { - case 1: - - // - - if ($mf['amf'] < 0) { - $mf['amf'] = 0; - } - if ($mf['mf'] < 0) { - $mf['mf'] = 0; - } - if ($mf['mf'] > $mf['smf']) { - $rval = 100 - floor(((($mf['smf']) / ($mf['mf'] + 1)) * 100)); - } - - if ($rval < 1) { - $rval = 0; - } - if ($rval > 75) { - $rval = 75; - } - if ($mf['amf'] >= 1) { - if ($mf['amf'] > 100) { - $mf['amf'] = 100; - } - if (($mf['amf'] * 100) >= mt_rand(1, 10000)) { - $rval = 100; - } - } - - break; - case 2: - - if ($mf['mf'] < 0) { - $mf['mf'] = 0; - } - if ($mf['amf'] < 0) { - $mf['amf'] = 0; - } - if ($mf['smf'] < 0) { - $mf['smf'] = 0; - } - if ($mf['asmf'] < 0) { - $mf['asmf'] = 0; - } - - if ($mf['mf'] > $mf['smf']) { - $rval = 100 - floor(((($mf['smf']) / ($mf['mf'] + 1)) * 100)); //2.5 - } - if ($rval < 1) { - $rval = 0; - } - if ($rval > 75) { - $rval = 75; - } - if ($mf['asmf'] >= 0) // - { - if ($mf['asmf'] > 100) { - $mf['asmf'] = 100; - } - if ($mf['asmf'] >= rand(1, 100)) { - $rval = 0; - } - } - if ($mf['amf'] >= 0) { - if ($mf['amf'] > 100) { - $mf['amf'] = 100; - } - if ($mf['amf'] >= rand(1, 100)) { - $rval = 100; - } - } - break; - case 3: - if ($mf[1] < 1) { - $mf[1] = 1; - } - if ($mf[2] < 1) { - $mf[2] = 1; - } - - // - $rval = $mf[1] - $mf[2] / 2; - if ($rval > 75) { - $rval = 75; - } - if ($rval < 1) { - $rval = 1; - } - - break; - case 4: - $mf = round($mf * 0.6); - if ($mf < 1) { - $mf = 0; - } - if ($mf > 100) { - $mf = 100; - } - $rval = min($mf, 100); // - break; - case 5: - if ($mf < 1) { - $mf = 0; - } - $rval = min($mf, 85); // - break; - case 6: - // - //$mf['a'] - //$mf['b'] - if ($mf['a'] > 0) { - if ($mf['b'] > 0) { - $rval = round($mf['a'] - ($mf['b'] / 2)); - } else { - $rval = $mf['a']; - } - } - - if ($rval < 1) { - $rval = 0; - } - if ($rval > 75) { - $rval = 75; - } - - break; - } - - return $this->get_chanse($rval) ? 1 : 0; - } - - public function get_chanse($percent) - { - if ($percent <= 0) { - return false; - } - return mt_rand(1, 100) <= max($percent, 100); - } - - // - public function smena($uid, $auto = false, $lastdie = false) - { - global $u; - if (($auto || $u->info['smena'] <= 0) && !$auto) { - return ' '; - } - if ($this->stats[$this->uids[$u->info['id']]]['hpNow'] < 1) { - return ' , ...'; - } - if ( - !isset($this->uids[$uid]) || - $uid == $u->info['id'] || - $this->users[$this->uids[$uid]]['team'] == $this->users[$this->uids[$u->info['id']]]['team'] - ) { - return ' []'; - } - if (isset($this->ga[$u->info['id']][$uid]) && !$lastdie) { - return ' !'; - } - if (ceil($this->stats[$this->uids[$uid]]['hpNow']) < 1) { - return ' , '; - }// - if (!$auto) { - $u->info['smena']--; - } - mysql_query('UPDATE `stats` SET `enemy` = ' . $uid . ',`smena` = ' . $u->info['smena'] . ' WHERE `id` = ' . $u->info['id']); - $u->info['enemy'] = $uid; - $this->users[$this->uids[$uid]]['smena'] = $u->info['smena']; - $this->users[$this->uids[$u->info['id']]]['enemy'] = $uid; - return 1; - } - - //- // - public function autoSmena() - { - global $u; - $ms = []; - $ms_all = []; - $ms_ansf = []; - $i = 0; - $j = 0; - $z = 0; - while ($i < count($this->users)) { - if (isset($this->users[$i]) && $this->users[$i]['id'] != $u->info['id'] && $this->users[$i]['team'] != $u->info['team'] && $this->stats[$i]['hpNow'] > 0 && -($u->info['enemy']) != $this->users[$i]['id']) { - if (!isset($this->ga[$u->info['id']][$this->users[$i]['id']])) { - $ms[$j] = $this->users[$i]['id']; - $j++; - } - if (!isset($this->uids[(-($u->info['enemy']))])) { - $ms_all[] = $this->users[$i]['id']; - } - if (isset($this->ga[$this->users[$i]['id']][$u->info['id']])) { - $ms_ansf[$z] = $this->users[$i]['id']; - $z++; - } - } - $i++; - } - $msh = []; - if ($j == 0 && $z == 0) { - $enemydie = 0; - - if (isset($this->stats[$this->uids[$u->info['enemy']]])) { - $u->info['enemy'] = 0; - $enemydie = 1; - } - - if ((!isset($this->uids[(-($u->info['enemy']))]) || $this->stats[$this->uids[(-($u->info['enemy']))]]['hpNow'] < 1) && ($u->info['enemy'] < 0 || $enemydie == 1)) { - $i = 0; - $j = 0; - while ($i < count($this->users)) { - if (isset($this->users[$i]) && $this->users[$i]['id'] != $u->info['id'] && $this->users[$i]['team'] != $u->info['team'] && $this->stats[$i]['hpNow'] >= 1 && -($u->info['enemy']) != $this->users[$i]['id']) { - $ms[$j] = $this->users[$i]['id']; - $msh[$ms[$j]] = true; - $j++; - } - $i++; - } - } - } - - $ms = $ms[rand(0, $j - 1)]; - $ms_ansf = $ms_ansf[rand(0, $z - 1)]; - if ($z > 0) { - $this->smena($ms_ansf, true); - } elseif ($j > 0) { - if (isset($msh[$ms])) { - $this->smena($ms, true, true); - } else { - $this->smena($ms, true); - } - } else { - if ($u->info['enemy'] < 0) { - $smnr5 = $this->smena(-($u->info['enemy']), true); - unset($smnr5); - } - } - } - - // () - private function botAtack($uid, $pl, $tp) - { - $test_atack = mysql_fetch_array(mysql_query('SELECT `id` FROM `battle_act` WHERE `battle` = "' . $this->info['id'] . '" AND (( - `uid1` = "' . $pl . '" AND `uid2` = "' . $uid . '" - ) OR ( - `uid2` = "' . $pl . '" AND `uid1` = "' . $uid . '" - )) LIMIT 1')); - - if ($tp == 1 && !isset($test_atack['id'])) { - $test_uid = mysql_fetch_array(mysql_query('SELECT * FROM `stats` WHERE `id` = "' . $uid . '" AND `hpNow` >= 1 LIMIT 1')); - $test_pl = mysql_fetch_array(mysql_query('SELECT * FROM `stats` WHERE `id` = "' . $pl . '" AND `hpNow` >= 1 LIMIT 1')); - if (isset($test_uid['id']) && isset($test_pl['id']) && $test_uid['id'] != $test_pl['id']) { - $a = rand(1, 5) . rand(1, 5) . rand(1, 5) . rand(1, 5) . rand(1, 5); - $b = rand(1, 5); - mysql_query('INSERT INTO `battle_act` (`battle`,`time`,`uid1`,`uid2`,`a1`,`b1`) VALUES ("' . $this->info['id'] . '","' . time() . '","' . $pl . '","' . $uid . '","' . $a . '","' . $b . '")'); - } - } elseif ($tp == 2) { - // - $test_uid = mysql_fetch_array(mysql_query('SELECT * FROM `stats` WHERE `id` = "' . $uid . '" AND `hpNow` >= 1 LIMIT 1')); - $test_pl = mysql_fetch_array(mysql_query('SELECT * FROM `stats` WHERE `id` = "' . $pl['uid2'] . '" AND `hpNow` >= 1 LIMIT 1')); - if (isset($test_uid['id']) && isset($test_pl['id']) && $test_uid['id'] != $test_pl['id']) { - $bot = $this->users[$this->uids[$pl['uid2']]]; - $na = ['id' => 0, 'a' => [1 => 0, 2 => 0, 3 => 0, 4 => 0, 5 => 0], 'b' => 0]; - $a222 = rand(1, 5) . '_' . rand(1, 5) . '_' . rand(1, 5) . '_' . rand(1, 5) . '_' . rand(1, 5); - $a = explode('_', $a222); - $i = 1; - $na['id'] = time(); - while ($i <= 5) { - if (isset($a[$i - 1])) { - $a[$i - 1] = intval(round($a[$i - 1])); - if ($a[$i - 1] >= 1 && $a[$i - 1] <= 5) { - $na['a'][$i] = $a[$i - 1]; - } else { - $na['a'][$i] = 0; - } - } - $i++; - } - $na['b'] = rand(1, 5); - // - - $this->atacks[$pl['id']]['a2'] = $a222; - $this->atacks[$pl['id']]['b2'] = $na['b']; - $this->startAtack($pl['id']); - } - } - //unset($test_uid,$test_pl,$test_atack); - } - - // , , , - public function testActions() - { - // - $m = mysql_query('SELECT * FROM `battle_act` WHERE `battle` = "' . $this->info['id'] . '" ORDER BY `id`'); - $i = 0; - $botA = []; - $botR = []; - while ($pl = mysql_fetch_array($m)) { - //mysql_query('DELETE FROM `battle_act` WHERE `battle` = "'.$this->info['id'].'" AND `uid1` = "'.$pl['uid2'].'" AND `uid2` = "'.$pl['uid1'].'"'); - $pluids = mysql_fetch_array(mysql_query('SELECT `hpNow` FROM `stats` WHERE (`id` = "' . $pl['uid1'] . '" AND `hpNow` <= 0) OR (`id` = "' . $pl['uid2'] . '" AND `hpNow` <= 0) LIMIT 1')); - - $pltest = mysql_fetch_array(mysql_query('SELECT * FROM `battle_act` WHERE `id` = "' . $pl['id'] . '" LIMIT 1')); - if (isset($pltest['id'])) { - if (isset($pluids['hpNow'])) { - mysql_query('DELETE FROM `battle_act` WHERE `id` = "' . $pl['id'] . '" LIMIT 1'); - } elseif ($pl['time'] + $this->info['timeout'] > time()) { - // , - $this->atacks[$pl['id']] = $pl; - $this->ga[$pl['uid1']][$pl['uid2']] = $pl['id']; - $this->ag[$pl['uid2']][$pl['uid1']] = $pl['id']; - if (isset($this->iBots[$pl['uid1']])) { - // - $botA[$pl['uid1']] = $pl['id']; - } elseif (isset($this->iBots[$pl['uid2']])) { - // - $botR[$pl['uid2']] = $pl['id']; - if ($this->users[$this->uids[$pl['uid2']]]['timeGo'] < time()) { - $this->botAtack($pl['uid1'], $pl, 2); - } - } - } else { - // - $pl['time'] = time(); - if ($pl['a1'] == 0 && $pl['a2'] == 0) { - // 1 - $pl['out1'] = time(); - $pl['tout1'] = 1; - // 2 - $pl['out2'] = time(); - $pl['tout2'] = 1; - } elseif ($pl['a1'] == 0) { - // 1 - $pl['out1'] = time(); - $pl['tout1'] = 1; - } elseif ($pl['a2'] == 0) { - // 2 - $pl['out2'] = time(); - $pl['tout2'] = 1; - } - // - $this->atacks[$pl['id']] = $pl; - $this->startAtack($pl['id']); - mysql_query('DELETE FROM `battle_act` WHERE `id` = ' . $pl['id']); - } - } - } - // - if ($this->uAtc['id'] > 0 && $this->na == 1) { - if ($pl['out1'] == 0 && $pl['out2'] == 0) { - // - if ($pl['uid1'] == $u->info['id'] || $pl['uid2'] == $u->info['id']) { - $this->addNewAtack(); - } - } else { - $this->addNewAtack(); - } - } - // - - // - - //, - while ($i < count($this->bots)) { - $bot = $this->bots[$i]; - if (isset($bot) && $this->stats[$this->uids[$bot]]['hpNow'] >= 1 && $this->stats[$this->uids[$bot]]['pass'] != 'saintlucia') // saintlucia - { - $j = 0; - while ($j < count($this->users)) { - if ($this->info['razdel'] == 0) { - $tnbot = time() + rand(1, 1); - } else { - $tnbot = time() + rand(1, 2); - } - if ($this->users[$j]['hpNow'] >= 1 && $this->users[$this->uids[$bot]]['hpNow'] >= 1 && $this->users[$this->uids[$bot]]['team'] != $this->users[$j]['team']) { - if (isset($this->users[$j]) && $this->stats[$j]['hpNow'] >= 1 && $this->stats[$this->uids[$bot]]['hpNow'] >= 1 && !isset($this->ga[$bot][$this->users[$j]['id']]) && !isset($this->ag[$bot][$this->users[$j]['id']]) && $this->users[$j]['id'] != $bot && $this->users[$j]['team'] != $this->users[$this->uids[$bot]]['team']) { - if ($this->users[$j]['timeGo'] < time() && $this->users[$this->uids[$bot]]['timeGo'] < time()) { - $this->botAtack($this->users[$j]['id'], $bot, 1); - mysql_query('UPDATE `stats` SET `timeGo` = "' . $tnbot . '" WHERE `id` = "' . $this->users[$this->uids[$bot]]['id'] . '" LIMIT 1'); - } - } elseif (isset($this->users[$i]) && $this->users[$i]['bot'] > 0 && $this->stats[$i]['hpNow'] >= 1 && $this->stats[$this->uids[$bot]]['hpNow'] >= 1 && $this->users[$i]['id'] != $bot && $this->users[$i]['team'] != $this->users[$this->uids[$bot]]['team']) { - if ($this->users[$j]['timeGo'] < time() && $this->users[$this->uids[$bot]]['timeGo'] < time() && $this->botAct($bot)) { - if (!isset($this->ga[$bot][$this->users[$i]['id']]) && $this->users[$this->uids[$bot]]['timeGo'] < time() && !isset($this->ag[$bot][$this->users[$i]['id']])) { - $this->botAtack($this->users[$i]['id'], $bot, 1); - mysql_query('UPDATE `stats` SET `timeGo` = ' . $tnbot . ' WHERE `id` = ' . $this->users[$this->uids[$bot]]['id']); - } elseif (isset($this->ga[$bot][$this->users[$i]['id']]) && $this->users[$this->uids[$bot]]['timeGo'] < time()) { - $this->botAtack($bot, $this->users[$i]['id'], 1); - mysql_query('UPDATE `stats` SET `timeGo` = ' . $tnbot . ' WHERE `id` = ' . $this->users[$this->uids[$bot]]['id']); - } - } - } else { - // - // - if ($this->users[$j]['timeGo'] < time() && $this->users[$this->uids[$bot]]['timeGo'] < time() && $this->users[$j]['hpNow'] >= 1 && $this->users[$this->uids[$bot]]['hpNow'] >= 1) { - $this->atacks[$this->ga[$bot][$this->users[$j]['id']]]['a1'] = - rand(1, 5) . rand(1, 5) . rand(1, 5) . rand(1, 5) . rand(1, 5); - $this->atacks[$this->ga[$bot][$this->users[$j]['id']]]['b1'] = rand(1, 5); - $this->atacks[$this->ga[$bot][$this->users[$j]['id']]]['a2'] = - rand(1, 5) . rand(1, 5) . rand(1, 5) . rand(1, 5) . rand(1, 5); - $this->atacks[$this->ga[$bot][$this->users[$j]['id']]]['b2'] = rand(1, 5); - $this->atacks[$this->ag[$bot][$this->users[$j]['id']]]['a1'] = - rand(1, 5) . rand(1, 5) . rand(1, 5) . rand(1, 5) . rand(1, 5); - $this->atacks[$this->ag[$bot][$this->users[$j]['id']]]['b1'] = rand(1, 5); - $this->atacks[$this->ag[$bot][$this->users[$j]['id']]]['a2'] = - rand(1, 5) . rand(1, 5) . rand(1, 5) . rand(1, 5) . rand(1, 5); - $this->atacks[$this->ag[$bot][$this->users[$j]['id']]]['b2'] = rand(1, 5); - if (isset($this->ga[$bot][$this->users[$j]['id']]) && $this->users[$j]['bot'] > 0) { - if ($this->users[$j]['timeGo'] < time() && $this->users[$this->uids[$bot]]['timeGo'] < time()) { - $tnbot = time() + rand(3, 7); - if ($this->info['type'] == 329) { // - $tnbot = time() - 1; - } - $this->startAtack($this->ga[$bot][$this->users[$j]['id']]); - $this->users[$this->uids[$bot]]['timeGo'] = $tnbot; - mysql_query('UPDATE `stats` SET `timeGo` = ' . $tnbot . ' WHERE `id` = ' . $this->users[$this->uids[$bot]]['id']); - } - } elseif (isset($this->ag[$bot][$this->users[$j]['id']]) && $this->users[$j]['bot'] > 0) { - if ($this->users[$this->uids[$bot]]['timeGo'] < time() && $this->users[$j]['timeGo'] < time()) { - $this->startAtack($this->ag[$bot][$this->users[$j]['id']]); - $tnbot = time() + rand(3, 7); - if ($this->info['type'] == 329) { // - $tnbot = time() - 1; - } - $this->users[$this->uids[$bot]]['timeGo'] = $tnbot; - mysql_query('UPDATE `stats` SET `timeGo` = ' . $tnbot . ' WHERE `id` = ' . $this->users[$this->uids[$bot]]['id']); - } - } - } - } - } - $j++; - } - } - $i++; - } - } - - // - private function botAct($uid) - { - if ($this->users[$this->uids[$uid]]['bot'] > 0) { - if ($this->users[$this->uids[$uid]]['online'] < time() - 3) { - $this->users[$this->uids[$uid]]['online'] = time(); - mysql_query('UPDATE `users` SET `online` = unix_timestamp() WHERE `id` = ' . (int)$uid); - return true; - } elseif (rand(0, 2) == 1) { - return true; - } - } - return false; - } - - // - public function battleInfo($id) - { - $b = mysql_fetch_array(mysql_query('SELECT * FROM `battle` WHERE `id` = ' . (int)$id)); - if (isset($b['id'])) { - $this->hodID = mysql_fetch_array(mysql_query('SELECT `id_hod` FROM `battle_logs` WHERE `battle` = ' . $b['id'] . ' ORDER BY `id` DESC LIMIT 1')); - if (isset($this->hodID['id_hod'])) { - $this->hodID = $this->hodID['id_hod']; - } else { - $this->hodID = 0; - } - return $b; - } else { - return false; - } - } - - // - public function addAtack() - { - global $js; - if (isset($_POST['atack'], $_POST['block'])) { - $na = [ - 'id' => time(), - 'a' => [1 => 0, 2 => 0, 3 => 0, 4 => 0, 5 => 0], - 'b' => intval(round($_POST['block'])), - ]; - - $a = explode('_', $_POST['atack']); - $i = 1; - - while ($i <= 5) { - if (isset($a[$i - 1])) { - $a[$i - 1] = intval(round($a[$i - 1])); - if ($a[$i - 1] >= 1 && $a[$i - 1] <= 5) { - $na['a'][$i] = $a[$i - 1]; - } else { - $na['a'][$i] = 0; - } - } - $i++; - } - - if ($na['b'] < 1 || $na['b'] > 5) { - $na['b'] = 0; - } - - $this->uAtc = $na; - $js .= 'testClearZone();'; - } else { - $this->e = ' '; - } - } - - // - public function teamsTake() - { - global $u; - $rs = ''; - $ts = []; - $tsi = 0; - if ($this->info['id'] > 0) { - // - $nxtlg = []; - $t = mysql_query('SELECT `u`.`room`,`u`.`no_ip`,`u`.`twink`,`u`.`stopexp`,`u`.`id`,`u`.`notrhod`,`u`.`login`,`u`.`login2`,`u`.`sex`,`u`.`online`,`u`.`admin`,`u`.`align`,`u`.`align_lvl`,`u`.`align_exp`,`u`.`clan`,`u`.`level`,`u`.`battle`,`u`.`obraz`,`u`.`win`,`u`.`lose`,`u`.`nich`,`u`.`animal`,`st`.`stats`,`st`.`hpNow`,`st`.`mpNow`,`st`.`exp`,`st`.`dnow`,`st`.`team`,`st`.`battle_yron`,`st`.`battle_exp`,`st`.`enemy`,`st`.`battle_text`,`st`.`upLevel`,`st`.`timeGo`,`st`.`timeGoL`,`st`.`bot`,`st`.`lider`,`st`.`btl_cof`,`st`.`tactic1`,`st`.`tactic2`,`st`.`tactic3`,`st`.`tactic4`,`st`.`tactic5`,`st`.`tactic6`,`st`.`tactic7`,`st`.`x`,`st`.`y`,`st`.`battleEnd`,`st`.`priemslot`,`st`.`priems`,`st`.`priems_z`,`st`.`bet`,`st`.`clone`,`st`.`atack`,`st`.`bbexp`,`st`.`res_x`,`st`.`res_y`,`st`.`res_s`,`st`.`id`,`st`.`last_hp`,`st`.`last_pr`,`u`.`sex`,`u`.`money`,`u`.`bot_id`,`u`.`money3`,`u`.`money2` FROM `users` AS `u` LEFT JOIN `stats` AS `st` ON (`u`.`id` = `st`.`id`) WHERE `u`.`battle` = "' . $this->info['id'] . '"'); - $i = 0; - $bi = 0; - $up = ''; - if ($this->info['start2'] == 0) { - $tststrt = mysql_fetch_array(mysql_query('SELECT `id` FROM `battle` WHERE `id` = ' . $this->info['id'] . ' AND `start2` = 0 LIMIT 1')); - if (isset($tststrt['id'])) { - mysql_query('UPDATE `battle` SET `start2` = unix_timestamp() WHERE `id` = ' . $this->info['id'] . ' LIMIT 1'); - } else { - $this->info['start2'] = time(); - } - } - while ($pl = mysql_fetch_array($t)) { - // - if ($pl['login2'] == '') { - $pl['login2'] = $pl['login']; - } - $this->users[$i] = $pl; - $this->uids[$pl['id']] = $i; - - if ($this->info['start2'] == 0) { - mysql_query('UPDATE `users` SET `notrhod` = -1 WHERE `id` = ' . $this->users[$i]['id'] . ' LIMIT 1'); - $this->users[$i]['notrhod'] = -1; - } - - if ($pl['bot'] > 0) { - $this->bots[$bi] = $pl['id']; - $this->iBots[$pl['id']] = $bi; - $bi++; - } - // - $this->stats[$i] = $u->getStats($pl, 0, 0, false, $this->cached, true); - // - if ($this->info['start2'] == 0) { - if (!isset($ts[$this->users[$i]['team']])) { - $tsi++; - $ts[$this->users[$i]['team']] = $tsi; - } - - if ($this->users[$i]['level'] <= 7) { - $this->users[$i]['tactic7'] = floor(10 / $this->stats[$i]['hpAll'] * $this->stats[$i]['hpNow']); - } elseif ($this->users[$i]['level'] == 8) { - $this->users[$i]['tactic7'] = floor(20 / $this->stats[$i]['hpAll'] * $this->stats[$i]['hpNow']); - } elseif ($this->users[$i]['level'] == 9) { - $this->users[$i]['tactic7'] = floor(30 / $this->stats[$i]['hpAll'] * $this->stats[$i]['hpNow']); - } elseif ($this->users[$i]['level'] >= 10) { - $this->users[$i]['tactic7'] = floor((40 + $this->stats[$i]['s7']) / $this->stats[$i]['hpAll'] * $this->stats[$i]['hpNow']); - } - - if ($this->stats[$i]['s7'] > 49) { - mysql_query('UPDATE `eff_users` SET `delete`= unix_timestamp() WHERE `uid` = ' . $this->users[$i]['id'] . ' AND `overType` = 101 AND `delete` = 0'); - mysql_query(" - INSERT INTO `eff_users` ( `id_eff`, `uid`, `name`, `data`, `overType`, `timeUse`, `timeAce`, `user_use`, `delete`, `v1`, `v2`, `img2`, `x`, `hod`, `bj`, `sleeptime`, `no_Ace`, `file_finish`, `tr_life_user`, `deactiveTime`, `deactiveLast`, `mark`, `bs`) VALUES - ( 22, '" . $this->stats[$i]['id'] . "', '', 'add_spasenie=1', 101, 77, 0, '" . $this->stats[$i]['id'] . "', 0, 'priem', 324, 'preservation.gif', 1, -1, '', 0, 0, '', 0, 0, 0, 1, 0); - "); - } - - - ##### - // animal_bonus - if ($this->users[$i]['animal'] > 0) { - $a = mysql_fetch_array(mysql_query('SELECT * FROM `users_animal` WHERE `uid` = "' . $this->users[$i]['id'] . '" AND `id` = "' . $this->users[$i]['animal'] . '" AND `pet_in_cage` = "0" AND `delete` = "0" LIMIT 1')); - if (isset($a['id']) && $a['eda'] >= 1) { - $anl = mysql_fetch_array(mysql_query('SELECT `bonus` FROM `levels_animal` WHERE `type` = "' . $a['type'] . '" AND `level` = "' . $a['level'] . '" LIMIT 1')); - $anl = $anl['bonus']; - - $tpa = [ - 1 => 'cat', - 2 => 'owl', - 3 => 'wisp', - 4 => 'demon', - 5 => 'dog', - 6 => 'pig', - 7 => 'dragon', - ]; - $tpa2 = [ - 1 => '', - 2 => '', - 3 => '', - 4 => '', - 5 => '', - 6 => '', - 7 => '', - ]; - $tpa3 = [ - 1 => ' ', - 2 => ' ', - 3 => ' ', - 4 => ' ', - 5 => '', - 6 => ' ', - 7 => '', - ]; - - mysql_query('UPDATE `eff_users` SET `delete`="' . time() . '" WHERE `uid` = "' . $this->users[$i]['id'] . '" AND `overType` = 100 AND `delete` = 0'); - - mysql_query('INSERT INTO `eff_users` (`hod`,`v2`,`img2`,`id_eff`,`uid`,`name`,`data`,`overType`,`timeUse`,`v1`,`user_use`) VALUES ("-1","201","summon_pet_' . $tpa[$a['type']] . '.gif",22,"' . $this->users[$i]['id'] . '","' . $tpa3[$a['type']] . ' [' . $a['level'] . ']","' . $anl . '","100","77","priem","' . $this->users[$i]['id'] . '")'); - - // - if ($a['type'] == 7) { - if ($a['level'] == 10) { - $this->users[$i]['tactic7'] = floor((50 + $this->stats[$i]['s7']) / $this->stats[$i]['hpAll'] * $this->stats[$i]['hpNow']); - } elseif ($a['level'] == 11) { - $this->users[$i]['tactic7'] = floor((65 + $this->stats[$i]['s7']) / $this->stats[$i]['hpAll'] * $this->stats[$i]['hpNow']); - } elseif ($a['level'] == 12) { - $this->users[$i]['tactic7'] = floor((90 + $this->stats[$i]['s7']) / $this->stats[$i]['hpAll'] * $this->stats[$i]['hpNow']); - } - } - // - $anl = $this->lookStats($anl); - - $vLog = - 'time1=' . time() . - '||s1=' . $this->users[$i]['sex'] . - '||t1=' . $this->users[$i]['team'] . - '||login1=' . $this->users[$i]['login']; - $vLog .= - '||s2=1||t2=' . $this->users[$i]['team'] . - '||login2=' . $a['name'] . ' ( ' . $this->users[$i]['login'] . ')'; - - $mas1 = [ - 'time' => time(), - 'battle' => $this->info['id'], - 'id_hod' => 1, - 'vars' => $vLog, - 'zona1' => '', - 'zonb1' => '', - 'zona2' => '', - 'zonb2' => '', - 'type' => '1', - ]; - - $ba = ''; - $i6 = 0; - while ($i6 < count($u->items['add'])) { - if (isset($anl['add_' . $u->items['add'][$i6]]) && $anl['add_' . $u->items['add'][$i6]] > 0) { - if ($u->items['add'][$i6] == 'mib1') { - $ba .= ' : +' . $anl['add_' . $u->items['add'][$i6]] . ', '; - } elseif ($u->items['add'][$i6] == 'mib2') { - $ba .= ' : +' . $anl['add_' . $u->items['add'][$i6]] . ', '; - } elseif ($u->items['add'][$i6] == 'mib3') { - $ba .= ' : +' . $anl['add_' . $u->items['add'][$i6]] . ', '; - } elseif ($u->items['add'][$i6] == 'mib4') { - $ba .= ' : +' . $anl['add_' . $u->items['add'][$i6]] . ', '; - } elseif ( - $u->items['add'][$i6] != 'mab1' && - $u->items['add'][$i6] != 'mab2' && - $u->items['add'][$i6] != 'mab3' && - $u->items['add'][$i6] != 'mab4' - ) { - $ba .= $u->is[$u->items['add'][$i6]] . ': +' . $anl['add_' . $u->items['add'][$i6]] . ', '; - } - } - $i6++; - } - $ba = trim($ba, ', '); - if ($ba == '') { - $ba = ' '; - } - - $mas1['text'] = '{tm1} {u2} , "' . $tpa3[$a['type']] . ' [' . $a['level'] . ']" {u1}. (' . $ba . ')'; - $nxtlg[] = $mas1; - mysql_query('UPDATE `users_animal` SET `eda` = `eda` - 1 WHERE `id` = "' . $a['id'] . '" LIMIT 1'); - $this->get_comment(); - } - } - - mysql_query('UPDATE `stats` SET `last_hp` = "0",`tactic1`="0",`tactic2`="0",`tactic3`="0",`tactic4`="0",`tactic5`="0",`tactic6`="0",`tactic7` = "' . ($this->users[$i]['tactic7']) . '" WHERE `id` = "' . $this->users[$i]['id'] . '" LIMIT 1'); - - $rs[$this->users[$i]['team']] .= $u->microLogin($this->users[$i], 2) . ', '; - } - $up .= '`uid` = "' . $pl['id'] . '" OR'; - //battle-user (, ) - $mybu = mysql_fetch_array(mysql_query('SELECT `id` FROM `battle_users` WHERE `battle` = "' . $this->info['id'] . '" AND `uid` = "' . mysql_real_escape_string($pl['id']) . '" LIMIT 1')); - if (!isset($mybu['id'])) { - // - $this->addstatuser($pl['id']); - } - $i++; - } - - $up = rtrim($up, ' OR'); - - // - - if ($this->info['start1'] == 0) { - $tststrt = mysql_fetch_array(mysql_query('SELECT `id` FROM `battle` WHERE `id` = "' . $this->info['id'] . '" AND `start1` = "0" LIMIT 1')); - if (isset($tststrt['id'])) { - $upd = mysql_query('UPDATE `battle` SET `start1` = "' . time() . '" WHERE `id` = "' . $this->info['id'] . '" LIMIT 1'); - if ($upd) { - $i = 0; - $r = ''; - while ($i <= $tsi) { - if (isset($rs[$i]) && $rs[$i] != '') { - $r .= rtrim($rs[$i], ', ') . ' '; - } - $i++; - } - $r = rtrim($r, ' '); - $r = str_replace('"', '\\\\\"', $r); - $this->hodID++; - $time = time(); - $mass = [ - 'time' => $time, - 'battle' => $this->info['id'], - 'id_hod' => $this->hodID, - 'vars' => "time1=$time||", - 'zona1' => '', - 'zonb1' => '', - 'zona2' => '', - 'zonb2' => '', - 'type' => '1', - ]; - $r = ' ' . date('d.m.Y H:i', - $this->info['time_start']) . ', ' . $r . ' .'; - mysql_query('INSERT INTO `battle_logs` (`time`,`battle`,`id_hod`,`text`,`vars`,`zona1`,`zonb1`,`zona2`,`zonb2`,`type`) VALUES ("' . $mass['time'] . '","' . $mass['battle'] . '","' . $mass['id_hod'] . '","' . $r . '","' . $mass['vars'] . '","' . $mass['zona1'] . '","' . $mass['zonb1'] . '","' . $mass['zona2'] . '","' . $mass['zonb2'] . '","' . $mass['type'] . '")'); - - $this->info['start1'] = time(); - } - } - - if (!empty($nxtlg)) { - foreach ($nxtlg as $item) { - $this->add_log($item); - } - } - } - } - } - - // - private function restZonb($uid1, $uid2) - { - if ($this->stnZbVs[$uid1] > 0) { - $this->stats[$this->uids[$uid1]]['zonb'] = $this->stnZbVs[$uid1]; - } - if ($this->stnZbVs[$uid2] > 0) { - $this->stats[$this->uids[$uid1]]['zonb'] = $this->stnZbVs[$uid2]; - } - } - - // () - public function testZonbVis() - { - global $u; - if ($this->stnZbVs == 0) { - $zb = $this->stats[$this->uids[$u->info['id']]]['zonb']; - $this->stnZbVs = $zb; - } else { - $zb = $this->stnZb; - } - $eu = $this->users[$this->uids[$u->info['id']]]['enemy']; - if ($zb > 3) { - $zb = 3; - } - if ( - !empty($eu) && - ($this->stats[$this->uids[$eu]]['weapon1'] == 1 || $this->stats[$this->uids[$eu]]['weapon2'] == 1) && - $this->stats[$this->uids[$u->info['id']]]['weapon1'] != 1 && $this->stats[$this->uids[$u->info['id']]]['weapon2'] != 1 - ) { - $zb -= 1; - } - if ($zb < 1) { - $zb = 1; - } - return $zb; - } - - // - private function testZonb($uid, $uid2) - { - $zba = []; - - if ($this->stnZb[$uid] == 0) { - $zba[1] = $this->stats[$this->uids[$uid]]['zonb']; - $this->stnZb[$uid] = $zba[1]; - } else { - $zba[1] = $this->stnZb[$uid]; - } - - if ($this->stnZb[$uid2] == 0) { - $zba[2] = $this->stats[$this->uids[$uid2]]['zonb']; - $this->stnZb[$uid] = $zba[2]; - } else { - $zba[2] = $this->stnZb[$uid2]; - } - - if ($zba[1] > 3) { - $zba[1] = 3; - } - if ($zba[2] > 3) { - $zba[2] = 3; - } - - // 1 - if ( - ($this->stats[$this->uids[$uid2]]['weapon1'] == 1 || $this->stats[$this->uids[$uid2]]['weapon2'] == 1) && - $this->stats[$this->uids[$uid]]['weapon1'] != 1 && $this->stats[$this->uids[$uid]]['weapon2'] != 1 - ) { - $zba[1] -= 1; - } - - // 2 - if ( - ($this->stats[$this->uids[$uid]]['weapon1'] == 1 || $this->stats[$this->uids[$uid]]['weapon2'] == 1) && - $this->stats[$this->uids[$uid2]]['weapon1'] != 1 && $this->stats[$this->uids[$uid2]]['weapon2'] != 1 - ) { - $zba[2] -= 1; - } - - if ($zba[1] < 1) { - $zba[1] = 1; - } - if ($zba[2] < 1) { - $zba[2] = 1; - } - - $this->stats[$this->uids[$uid]]['zonb'] = $zba[1]; - $this->stats[$this->uids[$uid2]]['zonb'] = $zba[2]; - if ( - $this->stats[$this->uids[$uid]]['min_zonb'] > 0 && - $this->stats[$this->uids[$uid]]['zonb'] < $this->stats[$this->uids[$uid]]['min_zonb'] - ) { - $this->stats[$this->uids[$uid]]['zonb'] = $this->stats[$this->uids[$uid]]['min_zonb']; - } - if ( - $this->stats[$this->uids[$uid2]]['min_zonb'] > 0 && - $this->stats[$this->uids[$uid2]]['zonb'] < $this->stats[$this->uids[$uid2]]['min_zonb'] - ) { - $this->stats[$this->uids[$uid2]]['zonb'] = $this->stats[$this->uids[$uid2]]['min_zonb']; - } - } - - // - public function genTeams($you) - { - $ret = ''; - $teams = []; - // - $i = 0; - $j = 1; - $tms = []; - - $teams[$this->users[$this->uids[$you]]['team']] = ''; - $tms[0] = $this->users[$this->uids[$you]]['team']; - - while ($i < count($this->uids)) { - if ($this->stats[$i]['hpNow'] > 0) { - if (!isset($teams[$this->users[$i]['team']])) { - $tms[$j] = $this->users[$i]['team']; - $j++; - } - if ($this->stats[$i]['hpNow'] < 0) { - $this->stats[$i]['hpNow'] = 0; - } - if ($this->stats[$i]['hpAll'] < $this->stats[$i]['hpNow']) { - $this->stats[$i]['hpNow'] = $this->stats[$i]['hpAll']; - } - $a1ms = ''; - if ($this->ga[$this->users[$i]['id']][$you]) { - $a1mc = ''; - $ac = mysql_fetch_array(mysql_query('SELECT * FROM `battle_act` WHERE `id` = "' . $this->ga[$this->users[$i]['id']][$you] . '" LIMIT 1')); - if (isset($ac) && $ac['time'] + $this->info['timeout'] - 15 < time()) { - $a1mc = 'color:red;'; - } - $a1ms = 'style=\"text-decoration: underline; ' . $a1mc . '\"'; - } elseif ($this->ag[$this->users[$i]['id']][$you]) { - $a1mc = ''; - $ac = mysql_fetch_array(mysql_query('SELECT * FROM `battle_act` WHERE `id` = "' . $this->ag[$this->users[$i]['id']][$you] . '" LIMIT 1')); - if (isset($ac) && $ac['time'] + $this->info['timeout'] - 15 < time()) { - $a1mc = 'color:green;'; - } - $a1ms = 'style=\"text-decoration: overline; ' . $a1mc . '\"'; - } - if ($this->users[$i]['login2'] == '') { - $this->users[$i]['login2'] = $this->users[$i]['login']; - } - if ($this->users[$i]['align'] == 9) { - $this->stats[$i]['hpNow'] = $this->stats[$i]['hpNow'] / ($this->stats[$i]['hpAll'] / 100); - $this->stats[$i]['hpAll'] = '100%'; - } - $ldr = ''; - if ($this->users[$i]['lider'] == $this->info['id']) { - $ldr = 'users[$i]['team'] . '.gif \>'; - } - $teams[$this->users[$i]['team']] .= ', ' . $ldr . 'users[$i]['team'] . '\" onClick=\"top.chat.addto(\'' . $this->users[$i]['login2'] . '\',\'to\'); return false;\" oncontextmenu=\"top.infoMenu(\'' . $this->users[$i]['login2'] . '\',event,\'main\'); return false;\">' . $this->users[$i]['login2'] . ' [' . floor($this->stats[$i]['hpNow']) . '/' . $this->stats[$i]['hpAll'] . ']'; - } - $i++; - } - - // - $i = 0; - while ($i < count($tms)) { - $teams[$tms[$i]] = ltrim($teams[$tms[$i]], ', '); - if ($teams[$tms[$i]] != '') { - $teams[$tms[$i]] = ' ' . $teams[$tms[$i]]; - $ret .= $teams[$tms[$i]]; - if (count($tms) > $i + 1) { - $ret .= '     '; - } - } - $i++; - } - return "genteam($ret);"; - } - - public function addTravm($uid, $type, $lvl) - { - $timeEnd = 0; - if ($type == 1) { - $name = ' '; - $stat = rand(1, 3); // - $timeEnd = rand(1, 3);// 1.30 6 - $data = 'add_s' . $stat . '=-' . $lvl; - $img = 'eff_travma1.gif'; - $v1 = 1; - } elseif ($type == 2) { - $name = ' '; - $stat = rand(1, 3); // - $timeEnd = rand(3, 5);// 6 12 - $data = 'add_s' . $stat . '=-' . ($lvl * 2); - $v1 = 2; - $img = 'eff_travma2.gif'; - } elseif ($type == 3) { - $name = ' '; - $stat = rand(1, 3); // - $timeEnd = rand(5, 7);// 12 6 - $data = 'add_s' . $stat . '=-' . ($lvl * 3); - $v1 = 3; - $img = 'eff_travma3.gif'; - } elseif ($type == 4) { - $name = ' '; - $stat = rand(1, 3); // - $timeEnd = 24;// 24 - $data = 'add_s' . $stat . '=-' . ($lvl * 50); - $v1 = 4; - $img = 'eff_travma4.gif'; - } - $timeEnd *= 3600; - - mysql_query('INSERT INTO `eff_users` (`overType`,`timeUse`,`hod`,`name`,`data`,`uid`, `id_eff`, `img2`, `timeAce`, `v1`) VALUES (0,unix_timestamp(), -1, ' . $name . ',' . $data . ',' . $uid . ', 4, ' . $img . ',' . $timeEnd . ', ' . $v1 . ')'); - mysql_query('INSERT INTO `eff_users` (`overType`,`timeUse`,`hod`,`name`,`data`,`uid`, `id_eff`, `img2`, `timeAce`, `v1`) VALUES (0,unix_timestamp(), -1, ": ","add_notravma=1",' . $uid . ', 263, "cure1.gif",21600, "")'); - } - - public function testUserInfoBattle($uid) - { - global $u; - if (!isset($this->uids[$uid])) { - // ( ) - if (!isset($this->uids[$uid])) { - $this->uids[$uid] = count($this->users); - } - $this->users[$this->uids[$uid]] = mysql_fetch_array(mysql_query('SELECT - - `u`.`id`,`u`.`login`,`u`.`login2`,`u`.`online`,`u`.`admin`,`u`.`city`,`u`.`cityreg`,`u`.`align`,`u`.`align_lvl`,`u`.`align_exp`,`u`.`clan`, - `u`.`level`,`u`.`money`,`u`.`money3`,`u`.`money2`,`u`.`money4`,`u`.`battle`,`u`.`sex`,`u`.`obraz`,`u`.`win`,`u`.`win_t`, - `u`.`lose`,`u`.`lose_t`,`u`.`nich`,`u`.`timeMain`,`u`.`invis`,`u`.`bot_id`,`u`.`animal`,`u`.`type_pers`, - `u`.`notrhod`,`u`.`bot_room`,`u`.`inUser`,`u`.`inTurnir`,`u`.`inTurnirnew`,`u`.`activ`,`u`.`stopexp`,`u`.`real`, - - `st`.* - - FROM `users` AS `u` LEFT JOIN `stats` AS `st` ON (`u`.`id` = `st`.`id`) WHERE `u`.`id` = "' . $uid . '" LIMIT 1')); - $this->stats[$this->uids[$uid]] = $u->getStats($this->users[$this->uids[$uid]], 0, 0, false, false, true); - } - } - - ///---- - public function spaCheck($u1) - { - if ($this->stats[$this->uids[$u1]]['hpNow'] < 1) { - mysql_query('DELETE FROM `battle_act` WHERE `uid1` = "' . $u1 . '" OR `uid2` = "' . $u1 . '"'); - if ($this->stats[$this->uids[$u1]]['spasenie'] > 0 && $this->users[$this->uids[$u1]]['tactic7'] >= 25) // - { - // - // - if ($this->stats[$this->uids[$u1]]['s7'] > 49 && $this->stats[$this->uids[$u1]]['s7'] < 75) { - // - mysql_query("INSERT INTO `eff_users` - (`id_eff`, `uid`, `name`, `data`, `overType`, `timeUse`, `timeAce`, `user_use`, `delete`, `v1`, `v2`, `img2`, `x`, `hod`, `bj`, `sleeptime`, `no_Ace`, `file_finish`, `tr_life_user`, `deactiveTime`, `deactiveLast`, `mark`, `bs`) VALUES - (22, '" . $u1 . "', ' ', 'add_zmproc=75|add_zaproc=75', 0, 77, 0, '" . $u1 . "', 0, 'priem', 141, 'spirit_block25.gif', 1, 1, '0', 0, 0, '', 0, 0, 0, 0, 0);"); - $this->stats[$this->uids[$u1]]['hpNow'] = floor($this->stats[$this->uids[$u1]]['hpAll'] * 0.5); - $this->stats[$this->uids[$u1]]['mpNow'] = floor($this->stats[$this->uids[$u1]]['mpAll'] * 0.5); - } elseif ($this->stats[$this->uids[$u1]]['s7'] > 74 && $this->stats[$this->uids[$u1]]['s7'] < 100) { - // - mysql_query("INSERT INTO `eff_users` - (`id_eff`, `uid`, `name`, `data`, `overType`, `timeUse`, `timeAce`, `user_use`, `delete`, `v1`, `v2`, `img2`, `x`, `hod`, `bj`, `sleeptime`, `no_Ace`, `file_finish`, `tr_life_user`, `deactiveTime`, `deactiveLast`, `mark`, `bs`) VALUES - (22, '" . $u1 . "', ' ', 'add_zmproc=100|add_zaproc=100', 0, 77, 0, '" . $u1 . "', 0, 'priem', 358, 'block_absolute.gif', 1, 1, '0', 0, 0, '', 0, 0, 0, 0, 0);"); - $this->stats[$this->uids[$u1]]['hpNow'] = floor($this->stats[$this->uids[$u1]]['hpAll'] * 0.75); - $this->stats[$this->uids[$u1]]['mpNow'] = floor($this->stats[$this->uids[$u1]]['mpAll'] * 0.75); - } elseif ($this->stats[$this->uids[$u1]]['s7'] > 99) { - // x2 - mysql_query("INSERT INTO `eff_users` - (`id_eff`, `uid`, `name`, `data`, `overType`, `timeUse`, `timeAce`, `user_use`, `delete`, `v1`, `v2`, `img2`, `x`, `hod`, `bj`, `sleeptime`, `no_Ace`, `file_finish`, `tr_life_user`, `deactiveTime`, `deactiveLast`, `mark`, `bs`) VALUES - (22, '" . $u1 . "', ' ', 'add_zmproc=100|add_zaproc=100', 0, 77, 0, '" . $u1 . "', 0, 'priem', 358, 'wis_white_shield.gif', 1, 2, '0', 0, 0, '', 0, 0, 0, 0, 0);"); - $this->stats[$this->uids[$u1]]['hpNow'] = floor($this->stats[$this->uids[$u1]]['hpAll']); - $this->stats[$this->uids[$u1]]['mpNow'] = floor($this->stats[$this->uids[$u1]]['mpAll']); - } - - if ($this->stats[$this->uids[$u1]]['hpNow'] < 1) { - $this->stats[$this->uids[$u1]]['hpNow'] = 1; - } - if ($this->stats[$this->uids[$u1]]['mpNow'] < 1) { - $this->stats[$this->uids[$u1]]['mpNow'] = 1; - } - if ($this->stats[$this->uids[$u1]]['hpNow'] > $this->stats[$this->uids[$u1]]['hpAll']) { - $this->stats[$this->uids[$u1]]['hpNow'] = floor($this->stats[$this->uids[$u1]]['hpAll']); - } - if ($this->stats[$this->uids[$u1]]['mpNow'] > $this->stats[$this->uids[$u1]]['mpAll']) { - $this->stats[$this->uids[$u1]]['mpNow'] = floor($this->stats[$this->uids[$u1]]['mpAll']); - } - - mysql_query('DELETE FROM `eff_users` WHERE `uid` = ' . $u1 . ' AND `id_eff` = 22 AND `v1` = "priem" AND `v2` = 324'); - mysql_query('UPDATE `stats` SET `hpNow` = ' . $this->stats[$this->uids[$u1]]['hpNow'] . ',`mpNow` = ' . $this->stats[$this->uids[$u1]]['mpNow'] . ', `tactic7` = `tactic7` - 25 WHERE `id` = ' . $u1 . ' LIMIT 1'); - $mas['text'] = '{tm1} ' . $this->stats[$this->uids[$u1]]['login'] . ' ...' . $this->stats[$this->uids[$u1]]['login'] . ' . '; - $this->priemAddLog($id, 1, 2, $u->info['id'], $u1, - ' ', - $mas['text'], - ($this->hodID + 0) - ); - - - } else { - if (isset($this->stats[$this->uids[$u1]]['login'])) { - mysql_query('UPDATE `stats` SET `hpNow` = 0,`mpNow` = 0 WHERE `id` = ' . $u1 . ' LIMIT 1'); - $this->stats[$this->uids[$u1]]['hpNow'] = 0; - $this->users[$this->uids[$u1]]['hpNow'] = 0; - $mas['text'] = '{tm1} ' . $this->stats[$this->uids[$u1]]['login'] . ' .'; - $this->priemAddLog($id, 1, 2, $u->info['id'], $u1, - ' ', - $mas['text'], - ($this->hodID + 1) - // // - ); - mysql_query('DELETE FROM `battle_act` WHERE `uid1` = ' . $this->stats[$this->uids[$u1]]['id'] . ' OR `uid2` = ' . $this->stats[$this->uids[$u1]]['id'] . ' OR `uid2` = -' . $this->stats[$this->uids[$u1]]['id']); - mysql_query('DELETE FROM `eff_users` WHERE `uid` = ' . $this->stats[$this->uids[$u1]]['id'] . ' AND `v1` = "priem" AND `delete` = 0'); - // v1 priem - } - } - } - } - // - - -} - -if (!defined('GAME')) { - die(); -} -ignore_user_abort(true); -ini_set('memory_limit', '512M'); - -$btl = new battleClass(new Db()); diff --git a/_incl_data/class/__db_connect.php b/_incl_data/class/__db_connect.php index d2eb0076..48f6383b 100644 --- a/_incl_data/class/__db_connect.php +++ b/_incl_data/class/__db_connect.php @@ -11,28 +11,8 @@ $db = [ ]; $dsn = 'mysql:host=' . $db['s'] . ';dbname=' . $db['d']; -if (function_exists('date_default_timezone_set')) { - date_default_timezone_set('Europe/Moscow'); -} +include_once dirname(__DIR__) . DIRECTORY_SEPARATOR . 'mysql_override.php'; -$dbgo = mysql_pconnect($db['s'], $db['u'], $db['p']); +$dbgo = mysql_connect($db['s'], $db['u'], $db['p']); mysql_select_db($db['d'], $dbgo); mysql_query('SET NAMES cp1251'); - -if (!function_exists('GetRealIp')) { - function GetRealIpTest() - { - if (!empty($_SERVER['HTTP_CLIENT_IP'])) { - return $_SERVER['HTTP_CLIENT_IP']; - } elseif (!empty($_SERVER['HTTP_X_FORWARDED_FOR'])) { - return $_SERVER['HTTP_X_FORWARDED_FOR']; - } - return $_SERVER['REMOTE_ADDR']; - } - - $ipban = GetRealIpTest(); -} else { - $ipban = GetRealIp(); -} - -$pdo = new PDO($dsn, $db['u'], $db['p'], [PDO::MYSQL_ATTR_INIT_COMMAND => "SET NAMES cp1251"]); \ No newline at end of file diff --git a/_incl_data/class/dnaction/_dungeon_replace.php.bac b/_incl_data/class/dnaction/_dungeon_replace.php.bac deleted file mode 100644 index d9453e6a..00000000 --- a/_incl_data/class/dnaction/_dungeon_replace.php.bac +++ /dev/null @@ -1,504 +0,0 @@ -info['battle'] != 0) { header('location: main.php'); die(); } - -if(isset($_POST['clip76_'])) { - $obj = mysql_fetch_array(mysql_query('SELECT * FROM `items_main` WHERE `id` = "4677" LIMIT 1')); - if($u->count_items(877, $u->info['id'], 1) > 0) { - if($u->count_items(882, $u->info['id'], 1) > 0) { - if($u->count_items(902, $u->info['id'], 1) > 0) { - if($u->count_items(903, $u->info['id'], 1) > 0) { - if($u->count_items(881, $u->info['id'], 1) > 0) { - if($u->count_items(878, $u->info['id'], 1) > 0) { - $data = '|frompisher=12'; - $u->addItem(4677, $u->info['id'], $data, $obj); - $u->deleteItemID(877, $u->info['id'], 1); - $u->deleteItemID(882, $u->info['id'], 1); - $u->deleteItemID(902, $u->info['id'], 1); - $u->deleteItemID(903, $u->info['id'], 1); - $u->deleteItemID(881, $u->info['id'], 1); - $u->deleteItemID(878, $u->info['id'], 1); - $err = ' '; - } else { - $err = " " ""; - } - } else { - $err = " " ""; - } - } else { - $err = " " ""; - } - } else { - $err = " " ""; - } - } else { - $err = " " ""; - } - } else { - $err = " """; - } -} elseif(isset($_POST['clip80_'])) { - $obj = mysql_fetch_array(mysql_query('SELECT * FROM `items_main` WHERE `id` = "4758" LIMIT 1')); - if($u->count_items(950, $u->info['id'], 1) > 0) { - if($u->count_items(907, $u->info['id'], 1) > 0) { - if($u->count_items(902, $u->info['id'], 1) > 0) { - if($u->count_items(878, $u->info['id'], 1) > 0) { - if($u->count_items(905, $u->info['id'], 1) > 0) { - if($u->count_items(903, $u->info['id'], 1) > 0) { - $data = '|frompisher=12'; - $u->addItem(4758, $u->info['id'], $data, $obj); - $u->deleteItemID(950, $u->info['id'], 1); - $u->deleteItemID(907, $u->info['id'], 1); - $u->deleteItemID(902, $u->info['id'], 1); - $u->deleteItemID(878, $u->info['id'], 1); - $u->deleteItemID(905, $u->info['id'], 1); - $u->deleteItemID(903, $u->info['id'], 1); - $u->deleteItemID(905, $u->info['id'], 1); - $err = ' '; - } else { - $err = " " ""; - } - } else { - $err = " " ""; - } - } else { - $err = " " ""; - } - } else { - $err = " " ""; - } - } else { - $err = " " ""; - } - } else { - $err = " " ""; - } -} elseif(isset($_POST['clip81_'])) { - $obj = mysql_fetch_array(mysql_query('SELECT * FROM `items_main` WHERE `id` = "4679" LIMIT 1')); - if($u->count_items(906, $u->info['id'], 1) > 0) { - if($u->count_items(907, $u->info['id'], 1) > 0) { - $data = '|frompisher=12'; - $u->addItem(4679, $u->info['id'], $data, $obj); - $u->deleteItemID(906, $u->info['id'], 1); - $u->deleteItemID(907, $u->info['id'], 1); - $err = ' '; - } else { - $err = " " ""; - } - } else { - $err = " " ""; - } -} elseif(isset($_POST['clip82_'])) { - $obj = mysql_fetch_array(mysql_query('SELECT * FROM `items_main` WHERE `id` = "4680" LIMIT 1')); - if($u->count_items(877, $u->info['id'], 1) > 0) { - if($u->count_items(890, $u->info['id'], 1) > 0) { - if($u->count_items(902, $u->info['id'], 1) > 0) { - if($u->count_items(903, $u->info['id'], 1) > 0) { - if($u->count_items(888, $u->info['id'], 1) > 0) { - $data = '|frompisher=12'; - $u->addItem(4680, $u->info['id'], $data, $obj); - $u->deleteItemID(877, $u->info['id'], 1); - $u->deleteItemID(890, $u->info['id'], 1); - $u->deleteItemID(902, $u->info['id'], 1); - $u->deleteItemID(903, $u->info['id'], 1); - $u->deleteItemID(888, $u->info['id'], 1); - $err = ' '; - } else { - $err = " " ""; - } - } else { - $err = " " ""; - } - } else { - $err = " " ""; - } - } else { - $err = " " ""; - } - } else { - $err = " """; - } -} elseif(isset($_POST['clip89_'])) { - $obj = mysql_fetch_array(mysql_query('SELECT * FROM `items_main` WHERE `id` = "4681" LIMIT 1')); - if($u->count_items(900, $u->info['id'], 1) > 0) { - if($u->count_items(882, $u->info['id'], 1) > 0) { - if($u->count_items(903, $u->info['id'], 1) > 0) { - if($u->count_items(904, $u->info['id'], 1) > 0) { - if($u->count_items(908, $u->info['id'], 1) > 0) { - $data = '|frompisher=12'; - $u->addItem(4681, $u->info['id'], $data, $obj); - $u->deleteItemID(900, $u->info['id'], 1); - $u->deleteItemID(882, $u->info['id'], 1); - $u->deleteItemID(903, $u->info['id'], 1); - $u->deleteItemID(904, $u->info['id'], 1); - $u->deleteItemID(908, $u->info['id'], 1); - $err = ' '; - } else { - $err = " " ""; - } - } else { - $err = " " ""; - } - } else { - $err = " " ""; - } - } else { - $err = " " ""; - } - } else { - $err = " " ""; - } -} elseif(isset($_POST['clip90_'])) { - $obj = mysql_fetch_array(mysql_query('SELECT * FROM `items_main` WHERE `id` = "4682" LIMIT 1')); - if($u->count_items(950, $u->info['id'], 1) > 0) { - if($u->count_items(889, $u->info['id'], 1) > 0) { - if($u->count_items(902, $u->info['id'], 1) > 0) { - if($u->count_items(903, $u->info['id'], 1) > 0) { - if($u->count_items(878, $u->info['id'], 1) > 0) { - $data = '|frompisher=12'; - $u->addItem(4682, $u->info['id'], $data, $obj); - $u->deleteItemID(950, $u->info['id'], 1); - $u->deleteItemID(889, $u->info['id'], 1); - $u->deleteItemID(902, $u->info['id'], 1); - $u->deleteItemID(906, $u->info['id'], 1); - $u->deleteItemID(878, $u->info['id'], 1); - $err = ' '; - } else { - $err = " " ""; - } - } else { - $err = " " ""; - } - } else { - $err = " " ""; - } - } else { - $err = " " ""; - } - } else { - $err = " " ""; - } -} elseif(isset($_POST['clip91_'])) { - $obj = mysql_fetch_array(mysql_query('SELECT * FROM `items_main` WHERE `id` = "4683" LIMIT 1')); - if($u->count_items(907, $u->info['id'], 1) > 0) { - if($u->count_items(881, $u->info['id'], 1) > 0) { - if($u->count_items(905, $u->info['id'], 1) > 0) { - $data = '|frompisher=12'; - $u->addItem(4683, $u->info['id'], $data, $obj); - $u->deleteItemID(907, $u->info['id'], 1); - $u->deleteItemID(881, $u->info['id'], 1); - $u->deleteItemID(905, $u->info['id'], 1); - $err = ' '; - } else { - $err = " """; - } - } else { - $err = " " ""; - } - } else { - $err = " " ""; - } -} elseif(isset($_POST['clip92_'])) { - $obj = mysql_fetch_array(mysql_query('SELECT * FROM `items_main` WHERE `id` = "4684" LIMIT 1')); - if($u->count_items(907, $u->info['id'], 1) > 0) { - if($u->count_items(881, $u->info['id'], 1) > 0) { - if($u->count_items(905, $u->info['id'], 1) > 0) { - $data = '|frompisher=12'; - $u->addItem(4684, $u->info['id'], $data, $obj); - $u->deleteItemID(907, $u->info['id'], 1); - $u->deleteItemID(881, $u->info['id'], 1); - $u->deleteItemID(905, $u->info['id'], 1); - $err = ' '; - } else { - $err = " """; - } - } else { - $err = " " ""; - } - } else { - $err = " " ""; - } -} elseif(isset($_POST['clip93_'])) { - $obj = mysql_fetch_array(mysql_query('SELECT * FROM `items_main` WHERE `id` = "4685" LIMIT 1')); - if($u->count_items(901, $u->info['id'], 1) > 0) { - if($u->count_items(889, $u->info['id'], 1) > 0) { - if($u->count_items(890, $u->info['id'], 1) > 0) { - $data = '|frompisher=12'; - $u->addItem(4685, $u->info['id'], $data, $obj); - $u->deleteItemID(901, $u->info['id'], 1); - $u->deleteItemID(889, $u->info['id'], 1); - $u->deleteItemID(890, $u->info['id'], 1); - $err = ' : [1]'; - } else { - $err = " " ""; - } - } else { - $err = " " ""; - } - } else { - $err = " " ""; - } -} elseif(isset($_POST['clip94_'])) { - $obj = mysql_fetch_array(mysql_query('SELECT * FROM `items_main` WHERE `id` = "4686" LIMIT 1')); - if($u->count_items(4685, $u->info['id'], 1) > 0) { - if($u->count_items(4688, $u->info['id'], 1) > 0) { - if($u->count_items(4689, $u->info['id'], 1) > 0) { - if($u->count_items(4690, $u->info['id'], 1) > 0) { - $data = '|frompisher=12'; - $u->addItem(4686, $u->info['id'], $data, $obj); - $u->deleteItemID(4685, $u->info['id'], 1); - $u->deleteItemID(4688, $u->info['id'], 1); - $u->deleteItemID(4689, $u->info['id'], 1); - $u->deleteItemID(4690, $u->info['id'], 1); - $err = ' : [2]'; - } else { - $err = " " ""; - } - } else { - $err = " " ""; - } - } else { - $err = " " ""; - } - } else { - $err = " " : [1]""; - } -} - - -function getColor($id, $num) { - global $u; - $color = 'green'; - $ch = mysql_query("SELECT `id` FROM `items_users` WHERE `uid` = ".$u->info['id']." AND `delete` = 0 AND `item_id` = ".(int)$id." AND inShop = 0 AND inOdet = 0"); - if(mysql_num_rows($ch) < $num) { $color = 'red'; } - return $color; -} - -function getImg($id, $num) { - global $u; - $img = 'good.png'; - $ch = mysql_query("SELECT `id` FROM `items_users` WHERE `uid` = ".$u->info['id']." AND `delete` = 0 AND `item_id` = ".(int)$id." AND inShop = 0 AND inOdet = 0"); - if(mysql_num_rows($ch) < $num) { $img = 'i/clear.gif'; } - return $img; -} - -?> - - - - - - - - - - - - -
    - - - - -
    - - - -

    -
     
    - -".$err.""; } ?> - - - - -
    - -
    - - -
    getStats($u->info['id'],1); $st2 = $st[1]; $st = $st[0]; $rgd = $u->regen($u->info['id'],$st,1); $us = $u->getInfoPers($u->info['id'],1,$st); if($us!=false){ echo $us[0]; }else{ echo 'information is lost.'; } ?>
    -
    -
    -

    -
    -

    - - - - -
    -
    -
    - - -
    - - -
    - - -
    - - -
    - - -
    - - -
    - - - -
    - - - - : [1]
    - - - - : [2]
    - -
    - . () - -
    -
    -
    - - - - - -
    - - - - -
    - - -
    - -
    -
    -
    - - -
    -
    -
    -
    - -
    - - \ No newline at end of file diff --git a/_incl_data/class/magic/__magic.php b/_incl_data/class/magic/__magic.php index 8088eb26..f3c02f4c 100644 --- a/_incl_data/class/magic/__magic.php +++ b/_incl_data/class/magic/__magic.php @@ -4,7 +4,7 @@ if(!defined('GAME')) die(); } -class Magic2 +class Magic { public $youuse = 0; diff --git a/_incl_data/class/magic/addrep.php b/_incl_data/class/magic/addrep.php index a1539f13..df32fcf7 100644 --- a/_incl_data/class/magic/addrep.php +++ b/_incl_data/class/magic/addrep.php @@ -1,180 +1,176 @@ -info['twink'] != 0 ) - { - $u->error = ' "'.$itm['name'].'". !'; - } -elseif( $u->info['activ'] != 0 ) - { - $u->error = ' "'.$itm['name'].'". E-mail!'; - } -elseif( $itm['id'] > 0 && $itm['item_id']==10006 ) - { - $repc='repcapitalcity'; - if ($u->rep[$repc]<25000) - { - $st['expUpg'] += 0; - $u->rep[$repc] += $st['expUpg']; - if ($u->rep[$repc]>25000) - { - $u->rep[$repc]=25000; - } - $u->error = ' "'.$itm['name'].'". '.$st['expUpg'].' .!'; - //mysql_query('UPDATE `stats` SET `exp` = "'.$u->info['exp'].'" WHERE `id` = '.$u->info['id'].' LIMIT 1'); - mysql_query('UPDATE `rep` SET `'.$repc.'` = "'.$u->rep[$repc].'" WHERE `id` = '.$u->info['id'].' LIMIT 1'); - - mysql_query('UPDATE `items_users` SET `iznosNOW` = `iznosNOW` + 1 WHERE `id` = '.$itm['id'].' LIMIT 1'); - } - else - { - $u->error = ' "'.$itm['name'].'". 25000 .!'; - } - } - - -elseif( $itm['id'] > 0 && $itm['item_id']==10007 ) - { - $repc='repsandcity'; - if ($u->rep[$repc]<25000) - { - $st['expUpg'] += 0; - $u->rep[$repc] += $st['expUpg']; - if ($u->rep[$repc]>25000) - { - $u->rep[$repc]=25000; - } - $u->error = ' "'.$itm['name'].'". '.$st['expUpg'].' .!'; - //mysql_query('UPDATE `stats` SET `exp` = "'.$u->info['exp'].'" WHERE `id` = '.$u->info['id'].' LIMIT 1'); - mysql_query('UPDATE `rep` SET `'.$repc.'` = "'.$u->rep[$repc].'" WHERE `id` = '.$u->info['id'].' LIMIT 1'); - - mysql_query('UPDATE `items_users` SET `iznosNOW` = `iznosNOW` + 1 WHERE `id` = '.$itm['id'].' LIMIT 1'); - } - else - { - $u->error = ' "'.$itm['name'].'". 25000 .!'; - } - } - -elseif( $itm['id'] > 0 && $itm['item_id']==10008 ) - { - $repc='repemeraldscity'; - if ($u->rep[$repc]<25000) - { - $st['expUpg'] += 0; - $u->rep[$repc] += $st['expUpg']; - if ($u->rep[$repc]>25000) - { - $u->rep[$repc]=25000; - } - $u->error = ' "'.$itm['name'].'". '.$st['expUpg'].' .!'; - //mysql_query('UPDATE `stats` SET `exp` = "'.$u->info['exp'].'" WHERE `id` = '.$u->info['id'].' LIMIT 1'); - mysql_query('UPDATE `rep` SET `'.$repc.'` = "'.$u->rep[$repc].'" WHERE `id` = '.$u->info['id'].' LIMIT 1'); - - mysql_query('UPDATE `items_users` SET `iznosNOW` = `iznosNOW` + 1 WHERE `id` = '.$itm['id'].' LIMIT 1'); - } - else - { - $u->error = ' "'.$itm['name'].'". 25000 .!'; - } - } - -elseif( $itm['id'] > 0 && $itm['item_id']==10009 ) - { - $repc='repabandonedplain'; - if ($u->rep[$repc]<25000) - { - $st['expUpg'] += 0; - $u->rep[$repc] += $st['expUpg']; - if ($u->rep[$repc]>25000) - { - $u->rep[$repc]=25000; - } - $u->error = ' "'.$itm['name'].'". '.$st['expUpg'].' .!'; - //mysql_query('UPDATE `stats` SET `exp` = "'.$u->info['exp'].'" WHERE `id` = '.$u->info['id'].' LIMIT 1'); - mysql_query('UPDATE `rep` SET `'.$repc.'` = "'.$u->rep[$repc].'" WHERE `id` = '.$u->info['id'].' LIMIT 1'); - - mysql_query('UPDATE `items_users` SET `iznosNOW` = `iznosNOW` + 1 WHERE `id` = '.$itm['id'].' LIMIT 1'); - } - else - { - $u->error = ' "'.$itm['name'].'". 25000 .!'; - } - } - -elseif( $itm['id'] > 0 && $itm['item_id']==10010 ) - { - $repc='repangelscity'; - if ($u->rep[$repc]<25000) - { - $st['expUpg'] += 0; - $u->rep[$repc] += $st['expUpg']; - if ($u->rep[$repc]>25000) - { - $u->rep[$repc]=25000; - } - $u->error = ' "'.$itm['name'].'". '.$st['expUpg'].' .!'; - //mysql_query('UPDATE `stats` SET `exp` = "'.$u->info['exp'].'" WHERE `id` = '.$u->info['id'].' LIMIT 1'); - mysql_query('UPDATE `rep` SET `'.$repc.'` = "'.$u->rep[$repc].'" WHERE `id` = '.$u->info['id'].' LIMIT 1'); - - mysql_query('UPDATE `items_users` SET `iznosNOW` = `iznosNOW` + 1 WHERE `id` = '.$itm['id'].' LIMIT 1'); - } - else - { - $u->error = ' "'.$itm['name'].'". 25000 .!'; - } - } - -elseif( $itm['id'] > 0 && $itm['item_id']==10011 ) - { - $repc='repdemonscity'; - if ($u->rep[$repc]<25000) - { - $st['expUpg'] += 0; - $u->rep[$repc] += $st['expUpg']; - if ($u->rep[$repc]>25000) - { - $u->rep[$repc]=25000; - } - $u->error = ' "'.$itm['name'].'". '.$st['expUpg'].' .!'; - //mysql_query('UPDATE `stats` SET `exp` = "'.$u->info['exp'].'" WHERE `id` = '.$u->info['id'].' LIMIT 1'); - mysql_query('UPDATE `rep` SET `'.$repc.'` = "'.$u->rep[$repc].'" WHERE `id` = '.$u->info['id'].' LIMIT 1'); - - mysql_query('UPDATE `items_users` SET `iznosNOW` = `iznosNOW` + 1 WHERE `id` = '.$itm['id'].' LIMIT 1'); - } - else - { - $u->error = ' "'.$itm['name'].'". 25000 .!'; - } - } - - -elseif( $itm['id'] > 0 && $itm['item_id']==10012 ) - { - $repc='repsuncity'; - if ($u->rep[$repc]<25000) - { - $st['expUpg'] += 0; - $u->rep[$repc] += $st['expUpg']; - if ($u->rep[$repc]>25000) - { - $u->rep[$repc]=25000; - } - $u->error = ' "'.$itm['name'].'". '.$st['expUpg'].' .!'; - //mysql_query('UPDATE `stats` SET `exp` = "'.$u->info['exp'].'" WHERE `id` = '.$u->info['id'].' LIMIT 1'); - mysql_query('UPDATE `rep` SET `'.$repc.'` = "'.$u->rep[$repc].'" WHERE `id` = '.$u->info['id'].' LIMIT 1'); - - mysql_query('UPDATE `items_users` SET `iznosNOW` = `iznosNOW` + 1 WHERE `id` = '.$itm['id'].' LIMIT 1'); - } - else - { - $u->error = ' "'.$itm['name'].'". 25000 .!'; - } - } - - - - +info['twink'] != 0 ) + { + $u->error = ' "'.$itm['name'].'". !'; + } +elseif( $itm['id'] > 0 && $itm['item_id']==10006 ) + { + $repc='repcapitalcity'; + if ($u->rep[$repc]<25000) + { + $st['expUpg'] += 0; + $u->rep[$repc] += $st['expUpg']; + if ($u->rep[$repc]>25000) + { + $u->rep[$repc]=25000; + } + $u->error = ' "'.$itm['name'].'". '.$st['expUpg'].' .!'; + //mysql_query('UPDATE `stats` SET `exp` = "'.$u->info['exp'].'" WHERE `id` = '.$u->info['id'].' LIMIT 1'); + mysql_query('UPDATE `rep` SET `'.$repc.'` = "'.$u->rep[$repc].'" WHERE `id` = '.$u->info['id'].' LIMIT 1'); + + mysql_query('UPDATE `items_users` SET `iznosNOW` = `iznosNOW` + 1 WHERE `id` = '.$itm['id'].' LIMIT 1'); + } + else + { + $u->error = ' "'.$itm['name'].'". 25000 .!'; + } + } + + +elseif( $itm['id'] > 0 && $itm['item_id']==10007 ) + { + $repc='repsandcity'; + if ($u->rep[$repc]<25000) + { + $st['expUpg'] += 0; + $u->rep[$repc] += $st['expUpg']; + if ($u->rep[$repc]>25000) + { + $u->rep[$repc]=25000; + } + $u->error = ' "'.$itm['name'].'". '.$st['expUpg'].' .!'; + //mysql_query('UPDATE `stats` SET `exp` = "'.$u->info['exp'].'" WHERE `id` = '.$u->info['id'].' LIMIT 1'); + mysql_query('UPDATE `rep` SET `'.$repc.'` = "'.$u->rep[$repc].'" WHERE `id` = '.$u->info['id'].' LIMIT 1'); + + mysql_query('UPDATE `items_users` SET `iznosNOW` = `iznosNOW` + 1 WHERE `id` = '.$itm['id'].' LIMIT 1'); + } + else + { + $u->error = ' "'.$itm['name'].'". 25000 .!'; + } + } + +elseif( $itm['id'] > 0 && $itm['item_id']==10008 ) + { + $repc='repemeraldscity'; + if ($u->rep[$repc]<25000) + { + $st['expUpg'] += 0; + $u->rep[$repc] += $st['expUpg']; + if ($u->rep[$repc]>25000) + { + $u->rep[$repc]=25000; + } + $u->error = ' "'.$itm['name'].'". '.$st['expUpg'].' .!'; + //mysql_query('UPDATE `stats` SET `exp` = "'.$u->info['exp'].'" WHERE `id` = '.$u->info['id'].' LIMIT 1'); + mysql_query('UPDATE `rep` SET `'.$repc.'` = "'.$u->rep[$repc].'" WHERE `id` = '.$u->info['id'].' LIMIT 1'); + + mysql_query('UPDATE `items_users` SET `iznosNOW` = `iznosNOW` + 1 WHERE `id` = '.$itm['id'].' LIMIT 1'); + } + else + { + $u->error = ' "'.$itm['name'].'". 25000 .!'; + } + } + +elseif( $itm['id'] > 0 && $itm['item_id']==10009 ) + { + $repc='repabandonedplain'; + if ($u->rep[$repc]<25000) + { + $st['expUpg'] += 0; + $u->rep[$repc] += $st['expUpg']; + if ($u->rep[$repc]>25000) + { + $u->rep[$repc]=25000; + } + $u->error = ' "'.$itm['name'].'". '.$st['expUpg'].' .!'; + //mysql_query('UPDATE `stats` SET `exp` = "'.$u->info['exp'].'" WHERE `id` = '.$u->info['id'].' LIMIT 1'); + mysql_query('UPDATE `rep` SET `'.$repc.'` = "'.$u->rep[$repc].'" WHERE `id` = '.$u->info['id'].' LIMIT 1'); + + mysql_query('UPDATE `items_users` SET `iznosNOW` = `iznosNOW` + 1 WHERE `id` = '.$itm['id'].' LIMIT 1'); + } + else + { + $u->error = ' "'.$itm['name'].'". 25000 .!'; + } + } + +elseif( $itm['id'] > 0 && $itm['item_id']==10010 ) + { + $repc='repangelscity'; + if ($u->rep[$repc]<25000) + { + $st['expUpg'] += 0; + $u->rep[$repc] += $st['expUpg']; + if ($u->rep[$repc]>25000) + { + $u->rep[$repc]=25000; + } + $u->error = ' "'.$itm['name'].'". '.$st['expUpg'].' .!'; + //mysql_query('UPDATE `stats` SET `exp` = "'.$u->info['exp'].'" WHERE `id` = '.$u->info['id'].' LIMIT 1'); + mysql_query('UPDATE `rep` SET `'.$repc.'` = "'.$u->rep[$repc].'" WHERE `id` = '.$u->info['id'].' LIMIT 1'); + + mysql_query('UPDATE `items_users` SET `iznosNOW` = `iznosNOW` + 1 WHERE `id` = '.$itm['id'].' LIMIT 1'); + } + else + { + $u->error = ' "'.$itm['name'].'". 25000 .!'; + } + } + +elseif( $itm['id'] > 0 && $itm['item_id']==10011 ) + { + $repc='repdemonscity'; + if ($u->rep[$repc]<25000) + { + $st['expUpg'] += 0; + $u->rep[$repc] += $st['expUpg']; + if ($u->rep[$repc]>25000) + { + $u->rep[$repc]=25000; + } + $u->error = ' "'.$itm['name'].'". '.$st['expUpg'].' .!'; + //mysql_query('UPDATE `stats` SET `exp` = "'.$u->info['exp'].'" WHERE `id` = '.$u->info['id'].' LIMIT 1'); + mysql_query('UPDATE `rep` SET `'.$repc.'` = "'.$u->rep[$repc].'" WHERE `id` = '.$u->info['id'].' LIMIT 1'); + + mysql_query('UPDATE `items_users` SET `iznosNOW` = `iznosNOW` + 1 WHERE `id` = '.$itm['id'].' LIMIT 1'); + } + else + { + $u->error = ' "'.$itm['name'].'". 25000 .!'; + } + } + + +elseif( $itm['id'] > 0 && $itm['item_id']==10012 ) + { + $repc='repsuncity'; + if ($u->rep[$repc]<25000) + { + $st['expUpg'] += 0; + $u->rep[$repc] += $st['expUpg']; + if ($u->rep[$repc]>25000) + { + $u->rep[$repc]=25000; + } + $u->error = ' "'.$itm['name'].'". '.$st['expUpg'].' .!'; + //mysql_query('UPDATE `stats` SET `exp` = "'.$u->info['exp'].'" WHERE `id` = '.$u->info['id'].' LIMIT 1'); + mysql_query('UPDATE `rep` SET `'.$repc.'` = "'.$u->rep[$repc].'" WHERE `id` = '.$u->info['id'].' LIMIT 1'); + + mysql_query('UPDATE `items_users` SET `iznosNOW` = `iznosNOW` + 1 WHERE `id` = '.$itm['id'].' LIMIT 1'); + } + else + { + $u->error = ' "'.$itm['name'].'". 25000 .!'; + } + } + + + + ?> \ No newline at end of file diff --git a/_incl_data/class/magic/hny2014.php b/_incl_data/class/magic/hny2014.php index 36862336..6b518f24 100644 --- a/_incl_data/class/magic/hny2014.php +++ b/_incl_data/class/magic/hny2014.php @@ -5,7 +5,7 @@ if(!defined('GAME')) } // , 00:00:00 01-01-2013 -if(date('Y')==2021) { +if(date('Y')==2023) { /* 2. ( . ) @@ -33,7 +33,7 @@ if(date('Y')==2021) { // (x1) $idit = $u->addItem(996,$u->info['id']); - mysql_query('UPDATE `items_users` SET `gift` = " " , `gtxt1` = " , 2021, !" WHERE `id` = "'.$idit.'" LIMIT 1'); + mysql_query('UPDATE `items_users` SET `gift` = " " , `gtxt1` = " , 2023, !" WHERE `id` = "'.$idit.'" LIMIT 1'); // @@ -50,11 +50,11 @@ if(date('Y')==2021) { mysql_query('UPDATE `items_users` SET `gift` = " ",`iznosMAX` = "100" WHERE `id` = "'.$idit.'" LIMIT 1'); - $u->error = ' "'.$itm['name'].'". . , 2021, !'; + $u->error = ' "'.$itm['name'].'". . , 2023, !'; mysql_query('UPDATE `items_users` SET `delete` = "'.time().'" WHERE (`item_id` = "4009" OR `id` = "'.$itm['id'].'") AND `uid` = "'.$u->info['id'].'" LIMIT 10'); //2763 } }else{ - $u->error = ' 01.01.2021'; + $u->error = ' 01.01.2023'; } ?> \ No newline at end of file diff --git a/_incl_data/class/magic/propuskpsh.php.bac b/_incl_data/class/magic/propuskpsh.php.bac deleted file mode 100644 index 49dfc826..00000000 --- a/_incl_data/class/magic/propuskpsh.php.bac +++ /dev/null @@ -1,29 +0,0 @@ -info['id'].'" AND `vars` = "propuskpsh" AND `time` > "'.(time()-300).'" LIMIT 1')); - if( $u->info['align'] != 2 ) { - if( isset($test['id']) ) { - $u->error = ' , '.$u->timeOut($test['time']-time()+300); - }else{ - $u->addAction(time(),'propuskpsh',''); - $u->error = ' , .'; - if($itm['id'] == 4802) { - mysql_query('UPDATE `actions` SET `time` = "'.(time()-43200).'" WHERE `uid` = '.$u->info['id'].' AND `time` > "'.(time()-43200).'" AND `vars` LIKE "psh%" AND `vars` != "psh102" AND `vars` NOT LIKE "psh\_%"'); - }else{ - mysql_query('UPDATE `actions` SET `time` = "'.(time()-21600).'" WHERE `uid` = '.$u->info['id'].' AND `time` > "'.(time()-43200).'" AND `vars` LIKE "psh%" AND `vars` != "psh102" AND `vars` NOT LIKE "psh\_%"'); - } - // : - // 1) 12 . ( 4 , , ). - // 2) . - mysql_query('UPDATE `items_users` SET `iznosNOW` = `iznosNOW` + 1 WHERE `id` = '.$itm['id'].' LIMIT 1'); - } - }else{ - $u->error = ' !'; - } -} -?> \ No newline at end of file diff --git a/_incl_data/class/magic/sun_per_kr.php b/_incl_data/class/magic/sun_per_kr.php index 1ea9dccd..2b8afb00 100644 --- a/_incl_data/class/magic/sun_per_kr.php +++ b/_incl_data/class/magic/sun_per_kr.php @@ -5,71 +5,42 @@ if(!defined('GAME')) } $io .= ' , '; - $this->addItem(6361,$this->info['id'],'|nosale=1|srok=604800|sudba='.$this->info['login']); - $this->addItem(6361,$this->info['id'],'|nosale=1|srok=604800|sudba='.$this->info['login']); - $this->addItem(6364,$this->info['id'],'|nosale=1|srok=604800|sudba='.$this->info['login']); - $this->addItem(5237,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(5237,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(5237,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(4401,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(5229,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(5219,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(5211,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(5199,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(5192,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(5186,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(5178,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(5168,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(5161,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(5150,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(5150,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(2472,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); + $this->addItem(842,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(842,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(749,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(666,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(2469,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(580,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(594,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(642,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(814,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(777,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(787,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(803,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(803,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(803,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(4401,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); - $io .= ', ...., '; - $this->addItem(4935,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(4944,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(2712,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']); - $this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']); - $this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']); - $this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']); - $this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']); - $this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']); - $this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']); - $this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']); - $this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']); - $this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']); - $this->addItem(2634,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']); - $this->addItem(2634,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']); + $io .= ' ...., '; + $this->addItem(2712,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(2621,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(2621,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(871,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(2139,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(2140,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(5046,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(2390,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(2390,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(2390,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(4941,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(994,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(1001,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(3102,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); ?> \ No newline at end of file diff --git a/_incl_data/class/magic/sun_per_kruv.php b/_incl_data/class/magic/sun_per_kruv.php new file mode 100644 index 00000000..f42becbe --- /dev/null +++ b/_incl_data/class/magic/sun_per_kruv.php @@ -0,0 +1,46 @@ + , '; + $this->addItem(4953,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(4953,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(4596,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(4598,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(2469,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(4961,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(4967,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(4969,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(4601,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(4599,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(4986,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(4595,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(4597,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(4597,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(4597,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(4401,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + + $io .= ' ...., '; + $this->addItem(2712,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(2643,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(2643,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(872,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(2139,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(2140,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(5046,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(2390,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(2390,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(2390,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(4941,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(994,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(1001,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(3102,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + +?> \ No newline at end of file diff --git a/_incl_data/class/magic/sun_per_ogn.php b/_incl_data/class/magic/sun_per_ogn.php index c81ec1cd..e26257de 100644 --- a/_incl_data/class/magic/sun_per_ogn.php +++ b/_incl_data/class/magic/sun_per_ogn.php @@ -3,70 +3,43 @@ if(!defined('GAME')) { die(); } - - $io .= ' , '; - $this->addItem(6406,$this->info['id'],'|nosale=1|srok=604800|sudba='.$this->info['login']); - $this->addItem(6409,$this->info['id'],'|nosale=1|srok=604800|sudba='.$this->info['login']); - $this->addItem(5153,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(5157,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(5165,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(5173,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(2475,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(5181,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(5189,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(5195,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(5205,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(5216,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(5224,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(5232,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(5232,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(5232,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(4401,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); + $io .= ' , '; + $this->addItem(850,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(751,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(669,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(1176,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(822,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(583,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(597,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(644,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(810,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(4983,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(4543,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(5003,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(5003,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(5003,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(4401,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); - $io .= ', ...., '; - $this->addItem(4935,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(4944,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(2712,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']); - $this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']); - $this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']); - $this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']); - $this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']); - $this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']); - $this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']); - $this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']); - $this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']); - $this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']); - $this->addItem(2702,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); + $io .= ' ...., '; + $this->addItem(2712,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(2687,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(873,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); // + $this->addItem(2139,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(2140,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(5046,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(2390,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(2390,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(2390,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(4941,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(4942,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(1460,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(2146,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); // + $this->addItem(1001,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(3102,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); ?> \ No newline at end of file diff --git a/_incl_data/class/magic/sun_per_tk.php b/_incl_data/class/magic/sun_per_tk.php index 257b4e10..3b906f4e 100644 --- a/_incl_data/class/magic/sun_per_tk.php +++ b/_incl_data/class/magic/sun_per_tk.php @@ -3,72 +3,42 @@ if(!defined('GAME')) { die(); } - $io .= ' , '; - $this->addItem(6394,$this->info['id'],'|nosale=1|srok=604800|sudba='.$this->info['login']); - $this->addItem(6405,$this->info['id'],'|nosale=1|srok=604800|sudba='.$this->info['login']); - $this->addItem(6397,$this->info['id'],'|nosale=1|srok=604800|sudba='.$this->info['login']); - $this->addItem(6143,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(6151,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(6144,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(6145,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(2472,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(6146,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(6147,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(6148,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(6149,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(6150,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(6152,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(6153,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(6154,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(6154,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(6154,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(4401,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); + $this->addItem(4648,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(4654,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(4647,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(4651,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(2469,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(4962,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(4968,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(4650,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(4653,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(4652,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(4987,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(4646,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(4649,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(4649,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(4649,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(4401,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); - $io .= ', ...., '; - $this->addItem(4935,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(4944,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(2712,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']); - $this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']); - $this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']); - $this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']); - $this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']); - $this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']); - $this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']); - $this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']); - $this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']); - $this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']); - $this->addItem(2612,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); + $io .= ' ...., '; + $this->addItem(2712,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(2430,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(870,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(2139,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(2140,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(5046,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(2390,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(2390,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(2390,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(4941,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(994,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(1001,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(3102,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); ?> \ No newline at end of file diff --git a/_incl_data/class/magic/sun_per_tp.php b/_incl_data/class/magic/sun_per_tp.php index 73f791da..83e721ab 100644 --- a/_incl_data/class/magic/sun_per_tp.php +++ b/_incl_data/class/magic/sun_per_tp.php @@ -4,72 +4,43 @@ if(!defined('GAME')) die(); } - $io .= ' , '; - $this->addItem(6383,$this->info['id'],'|nosale=1|srok=604800|sudba='.$this->info['login']); - $this->addItem(6383,$this->info['id'],'|nosale=1|srok=604800|sudba='.$this->info['login']); - $this->addItem(6386,$this->info['id'],'|nosale=1|srok=604800|sudba='.$this->info['login']); - $this->addItem(6142,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(6142,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(5163,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(5171,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(2472,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(5177,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(5184,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(5194,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(5201,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(5209,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(5221,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(5228,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(5236,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(5236,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(5236,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(4401,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); + $io .= ' ( ), '; + $this->addItem(6483,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(6483,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(6484,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(6485,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(2469,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(6486,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(6487,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(6488,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(6489,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(6490,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(6491,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(6492,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(6493,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(6493,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(6493,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(4401,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); - $io .= ', ...., '; - $this->addItem(4935,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(4944,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(2712,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']); - $this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']); - $this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']); - $this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']); - $this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']); - $this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']); - $this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']); - $this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']); - $this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']); - $this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']); - $this->addItem(2678,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(2678,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); + $io .= ' ...., '; + $this->addItem(2712,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(2665,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(2665,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(870,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(2139,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(2140,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(5046,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(2390,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(2390,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(2390,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(4941,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(994,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(1001,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(3102,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); ?> \ No newline at end of file diff --git a/_incl_data/class/magic/sun_per_uv.php b/_incl_data/class/magic/sun_per_uv.php index 693debd7..ade922cd 100644 --- a/_incl_data/class/magic/sun_per_uv.php +++ b/_incl_data/class/magic/sun_per_uv.php @@ -4,72 +4,43 @@ if(!defined('GAME')) die(); } - $io .= ' , '; - $this->addItem(6372,$this->info['id'],'|nosale=1|srok=604800|sudba='.$this->info['login']); - $this->addItem(6372,$this->info['id'],'|nosale=1|srok=604800|sudba='.$this->info['login']); - $this->addItem(6375,$this->info['id'],'|nosale=1|srok=604800|sudba='.$this->info['login']); - $this->addItem(5146,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(5146,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(5162,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(5170,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(2472,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(5179,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(5187,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(5193,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(5200,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(5210,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(5220,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(5230,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(5238,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(5238,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(5238,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(4401,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); + $io .= ' , '; + $this->addItem(605,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(605,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(748,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(667,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(2469,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(735,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(579,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(593,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(641,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(813,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(775,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(786,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(802,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(802,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(802,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(4401,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); - $io .= ', ...., '; - $this->addItem(4935,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(4944,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(2712,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']); - $this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']); - $this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']); - $this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']); - $this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']); - $this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']); - $this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']); - $this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']); - $this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']); - $this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']); - $this->addItem(2656,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(2656,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); + $io .= ' ...., '; + $this->addItem(2712,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(2643,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(2643,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(872,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(2139,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(2140,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(5046,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(2390,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(2390,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(2390,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(4941,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(994,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(1001,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(3102,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); ?> \ No newline at end of file diff --git a/_incl_data/class/magic/sun_per_vod.php b/_incl_data/class/magic/sun_per_vod.php index 0e17c331..54eee7c1 100644 --- a/_incl_data/class/magic/sun_per_vod.php +++ b/_incl_data/class/magic/sun_per_vod.php @@ -3,70 +3,43 @@ if(!defined('GAME')) { die(); } - - $io .= ' , '; - $this->addItem(6406,$this->info['id'],'|nosale=1|srok=604800|sudba='.$this->info['login']); - $this->addItem(6409,$this->info['id'],'|nosale=1|srok=604800|sudba='.$this->info['login']); - $this->addItem(5155,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(5158,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(5166,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(5175,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(2475,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(5182,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(5191,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(5196,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(5206,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(5217,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(5225,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(5233,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(5233,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(5233,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(4401,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); + $io .= ' , '; + $this->addItem(851,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(753,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(670,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(1176,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(823,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(584,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(598,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(645,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(812,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(4984,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(4544,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(5004,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(5004,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(5004,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(4401,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); - $io .= ', ...., '; - $this->addItem(4935,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(4944,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(2712,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']); - $this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']); - $this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']); - $this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']); - $this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']); - $this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']); - $this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']); - $this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']); - $this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']); - $this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']); - $this->addItem(2702,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); + $io .= ' ...., '; + $this->addItem(2712,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(2687,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(873,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); // + $this->addItem(2139,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(2140,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(5046,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(2390,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(2390,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(2390,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(4941,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(4942,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(1460,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(2147,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); // + $this->addItem(1001,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(3102,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); ?> \ No newline at end of file diff --git a/_incl_data/class/magic/sun_per_voz.php b/_incl_data/class/magic/sun_per_voz.php index 73137744..d950467a 100644 --- a/_incl_data/class/magic/sun_per_voz.php +++ b/_incl_data/class/magic/sun_per_voz.php @@ -3,70 +3,43 @@ if(!defined('GAME')) { die(); } - - $io .= ' , '; - $this->addItem(6406,$this->info['id'],'|nosale=1|srok=604800|sudba='.$this->info['login']); - $this->addItem(6409,$this->info['id'],'|nosale=1|srok=604800|sudba='.$this->info['login']); - $this->addItem(5152,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(5156,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(5164,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(5172,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(2475,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(5180,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(5188,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(5197,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(5204,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(5215,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(5223,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(5231,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(5231,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(5231,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(4401,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); + $io .= ' , '; + $this->addItem(848,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(752,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(671,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(1176,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(820,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(581,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(595,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(646,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(811,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(4982,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(4545,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(5002,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(5002,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(5002,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(4401,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); - $io .= ', ...., '; - $this->addItem(4935,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(4944,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(2712,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']); - $this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']); - $this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']); - $this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']); - $this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']); - $this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']); - $this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']); - $this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']); - $this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']); - $this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']); - $this->addItem(2702,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); + $io .= ' ...., '; + $this->addItem(2712,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(2687,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(873,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); // + $this->addItem(2139,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(2140,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(5046,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(2390,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(2390,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(2390,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(4941,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(4942,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(1460,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(2148,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); // + $this->addItem(1001,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(3102,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); ?> \ No newline at end of file diff --git a/_incl_data/class/magic/sun_per_zem.php b/_incl_data/class/magic/sun_per_zem.php index d399b0ee..fd36b3e0 100644 --- a/_incl_data/class/magic/sun_per_zem.php +++ b/_incl_data/class/magic/sun_per_zem.php @@ -3,70 +3,43 @@ if(!defined('GAME')) { die(); } - - $io .= ' , '; - $this->addItem(6406,$this->info['id'],'|nosale=1|srok=604800|sudba='.$this->info['login']); - $this->addItem(6409,$this->info['id'],'|nosale=1|srok=604800|sudba='.$this->info['login']); - $this->addItem(5154,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(5159,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(5167,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(5174,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(2475,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(5183,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(5190,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(5198,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(5207,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(5218,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(5226,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(5234,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(5234,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(5234,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(4401,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); + $io .= ' , '; + $this->addItem(849,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(750,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(668,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(1176,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(821,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(582,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(596,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(643,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(809,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(4985,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(4546,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(5005,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(5005,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(5005,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(4401,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); - $io .= ', ...., '; - $this->addItem(4935,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(4944,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(2712,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); - $this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']); - $this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']); - $this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']); - $this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']); - $this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']); - $this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']); - $this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']); - $this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']); - $this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']); - $this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']); - $this->addItem(2702,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); + $io .= ' ...., '; + $this->addItem(2712,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(2687,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(873,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); // + $this->addItem(2139,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(2140,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(5046,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(2390,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(2390,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(2390,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(4941,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(4942,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(1460,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(2149,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); // + $this->addItem(1001,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); + $this->addItem(3102,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); ?> \ No newline at end of file diff --git a/_incl_data/class/magic/sunduk_78.php b/_incl_data/class/magic/sunduk_78.php index 31f92f21..878aa9c3 100644 --- a/_incl_data/class/magic/sunduk_78.php +++ b/_incl_data/class/magic/sunduk_78.php @@ -42,7 +42,7 @@ if(!defined('GAME')) } $arts_1 = $arts_1[rand(0,count($arts_1)-1)]; if( $arts_1 > 0 ) { - $this->addItem($arts_1,$this->info['id'],'|nosale=1|srok='.(1*1209600).'',NULL,50); + $this->addItem($arts_1,$this->info['id'],'|nosale=1|srok='.(1*259200).'',NULL,50); } //echo '['.$arts_1[rand(0,count($arts_1)-1)].'!'.count($arts_1).'!'.$arts_lvl.']'; } diff --git a/_incl_data/class/magic/sunduk_78.php.bac b/_incl_data/class/magic/sunduk_78.php.bac deleted file mode 100644 index a225180d..00000000 --- a/_incl_data/class/magic/sunduk_78.php.bac +++ /dev/null @@ -1,121 +0,0 @@ -info['id'].' AND `delete` = 0 AND `inShop` = 0 AND `inTransfer` = 0 LIMIT 1')); - $key2 = mysql_fetch_array(mysql_query('SELECT `id` FROM `items_users` WHERE `item_id` = 4461 AND `uid` = '.$this->info['id'].' AND `delete` = 0 AND `inShop` = 0 AND `inTransfer` = 0 LIMIT 1')); - $key3 = mysql_fetch_array(mysql_query('SELECT `id` FROM `items_users` WHERE `item_id` = 4462 AND `uid` = '.$this->info['id'].' AND `delete` = 0 AND `inShop` = 0 AND `inTransfer` = 0 LIMIT 1')); - $key4 = mysql_fetch_array(mysql_query('SELECT `id` FROM `items_users` WHERE `item_id` = 4463 AND `uid` = '.$this->info['id'].' AND `delete` = 0 AND `inShop` = 0 AND `inTransfer` = 0 LIMIT 1')); - - if( isset($key1['id']) && isset($key2['id']) && isset($key3['id']) && isset($key4['id']) ) { - mysql_query('UPDATE `items_users` SET `delete` = "'.time().'" WHERE `id` = '.$key1['id'].' OR `id` = '.$key2['id'].' OR `id` = '.$key3['id'].' OR `id` = '.$key4['id'].' LIMIT 4'); - $trgos = true; - } - - if( $trgos == true ) { - if( rand(0,100) == 57 || $this->info['admin'] > 0 ) { - // - $io .= ' , '; - $arts_1 = array(); - $arts_lvl = $this->info['level']; - if( $arts_lvl < 4 ) { - $arts_lvl = 4; - }elseif( $arts_lvl > 10 ) { - $arts_lvl = 10; - } - $sp1 = mysql_query('SELECT `items_id` FROM `items_main_data` WHERE `data` LIKE "%|art=%" AND `data` LIKE "%tr_lvl='.$arts_lvl.'%"'); - while( $pl1 = mysql_fetch_array($sp1) ) { - $arts_1[] = $pl1['items_id']; - } - $arts_1 = $arts_1[rand(0,count($arts_1)-1)]; - if( $arts_1 > 0 ) { - $this->addItem($arts_1,$this->info['id'],'|nosale=1|srok='.(1*86400).'',NULL,50); - } - //echo '['.$arts_1[rand(0,count($arts_1)-1)].'!'.count($arts_1).'!'.$arts_lvl.']'; - } - - $recr=rand(0,99); // 1% 4510 - 40 /3% 5021 - 20 /10% 5020 -10 / 20% 4465 -5 / 100% 5017 - 1 - $rcr=rand(0,99); // 5%4274 - 400 / 15% 4392/4392 - 100 / 30% 4392 -50 / 100% 4464 - 20 - - if( $recr > 98 ) { - // +40 . - $io .= ' 40 ., '; - $this->addItem(4510,$this->info['id'],'|sudba='.$this->info['login']); - }elseif( $recr > 96 ){ - // +20 . - $io .= ' 20 ., '; - $this->addItem(5021,$this->info['id'],'|sudba='.$this->info['login']); - }elseif( $recr > 89 ){ - // +10 . - $io .= ' 10 ., '; - $this->addItem(5020,$this->info['id'],'|sudba='.$this->info['login']); - }elseif( $recr > 79 ){ - // +5 . - $io .= ' 5 ., '; - $this->addItem(4465,$this->info['id'],'|sudba='.$this->info['login']); - }else{ - // +1 . - $io .= ' 1 ., '; - $this->addItem(5017,$this->info['id'],'|sudba='.$this->info['login']); - } - - if( $rcr > 94 ) { - // 400 . - $io .= ' 400 . '; - $this->addItem(4274,$this->info['id'],'|sudba='.$this->info['login']); - }elseif( $rcr > 84 ){ - // 100 . - $io .= ' 100 . '; - $this->addItem(4392,$this->info['id'],'|sudba='.$this->info['login']); - $this->addItem(4392,$this->info['id'],'|sudba='.$this->info['login']); - }elseif( $rcr > 69 ){ - // 50 . - $io .= ' 50 . '; - $this->addItem(4392,$this->info['id'],'|sudba='.$this->info['login']); - }else{ - // 20 . - $io .= ' 20 . '; - $this->addItem(4464,$this->info['id'],'|sudba='.$this->info['login']); - } - - - - - $elik_1 = array( - 4037,4038,4039,4040 - ); - $elik_1 = $elik_1[rand(0,3)]; - if( $elik_1 > 0 ) { - // 1 4 - $io .= ' +22 , '; - $this->addItem($elik_1,$this->info['id'],'|nosale=1|sudba='.$this->info['login'],NULL,1); - } - - - - // +200% - $io .= ' +100% , '; - $this->addItem(4466,$this->info['id'],''); - - }else{ - $no_open_itm = true; - $this->error = ' 4 .'; - } - - - } - unset($i5,$i3,$i4); -?> \ No newline at end of file diff --git a/_incl_data/class/magic/upexp.php b/_incl_data/class/magic/upexp.php index dfb8e187..52d25269 100644 --- a/_incl_data/class/magic/upexp.php +++ b/_incl_data/class/magic/upexp.php @@ -6,8 +6,6 @@ if(!defined('GAME')) if( $u->info['twink'] != 0 ) { $u->error = ' "'.$itm['name'].'". !'; -}elseif( $u->info['activ'] != 0 ) { - $u->error = ' "'.$itm['name'].'". E-mail!'; }elseif( $itm['id'] > 0 ) { if ($u->info['exp']<469999999) { diff --git a/_incl_data/class/magic/yarostzvezd.php b/_incl_data/class/magic/yarostzvezd.php index aabe48b3..6f5b7226 100644 --- a/_incl_data/class/magic/yarostzvezd.php +++ b/_incl_data/class/magic/yarostzvezd.php @@ -1,69 +1,50 @@ stats['hpNow'] < 1) { - $u->error = ' ...'; - } elseif ($u->info['tactic7'] < $pvr['trs7']) { - $u->error = ' , ' . $pvr['trs7'] . '...'; - } elseif (isset($btl->info['id'])) { - /* - $btl->priemAddLog( $id, 1, 2, $u->info['id'], $u->info['enemy'], - '', - '{tm1} {u1} "'.$itm['name'].'".', - ($btl->hodID) - ); - */ - - mysql_query('UPDATE `stats` SET `tactic7` = `tactic7` - "' . $pvr['trs7'] . '" WHERE `id` = "' . $u->info['id'] . '" LIMIT 1'); - $u->info['tactic7'] = $u->info['tactic7'] - $pvr['trs7']; - $u->stats['tactic7'] = $u->stats['tactic7'] - $pvr['trs7']; - - mysql_query('DELETE FROM `eff_users` WHERE `uid` = "' . $u->info['id'] . '" AND `id_eff` = 22 AND `v1` = "priem" AND `v2` = 325'); - mysql_query(" - INSERT INTO `eff_users` ( - `id_eff`, - `uid`, - `name`, - `data`, - `overType`, - `timeUse`, - `timeAce`, - `user_use`, - `delete`, - `v1`, - `v2`, `img2`, `x`, `hod`, `bj`, `sleeptime`, `no_Ace`, `file_finish`, `tr_life_user`, `deactiveTime`, `deactiveLast`, `mark`, `bs`) VALUES - ( - 22, - '" . $u->info['id'] . "', - ' ', - 'add_acestar=1', - 0, - 77, - 0, - '" . $u->info['id'] . "', - 0, - 'priem', - 325, - 'elementalcrit.gif', 1, -1, '', 0, 0, '', 0, 0, 0, 1, 0); +if( $itm['magic_inci'] == 'yarostzvezd' ) { + + + + $pvr = array(); + + // + $pvr['trs7'] = 5; + if( $u->stats['hpNow'] < 1 ) { + $u->error = ' ...'; + }elseif( $u->info['tactic7'] < $pvr['trs7'] ) { + $u->error = ' , '.$pvr['trs7'].'...'; + }elseif( isset($btl->info['id']) ) { + /* + $btl->priemAddLog( $id, 1, 2, $u->info['id'], $u->info['enemy'], + '', + '{tm1} {u1} "'.$itm['name'].'".', + ($btl->hodID) + ); + */ + + mysql_query('UPDATE `stats` SET `tactic7` = `tactic7` - "'.$pvr['trs7'].'" WHERE `id` = "'.$u->info['id'].'" LIMIT 1'); + $u->info['tactic7'] = $u->info['tactic7']-$pvr['trs7']; + $u->stats['tactic7'] = $u->stats['tactic7']-$pvr['trs7']; + + mysql_query('DELETE FROM `eff_users` WHERE `uid` = "'.$u->info['id'].'" AND `id_eff` = 22 AND `v1` = "priem" AND `v2` = 325'); + mysql_query(" + INSERT INTO `eff_users` ( `id_eff`, `uid`, `name`, `data`, `overType`, `timeUse`, `timeAce`, `user_use`, `delete`, `v1`, `v2`, `img2`, `x`, `hod`, `bj`, `sleeptime`, `no_Ace`, `file_finish`, `tr_life_user`, `deactiveTime`, `deactiveLast`, `mark`, `bs`) VALUES + ( 22, '".$u->info['id']."', ' ', 'add_acestar=1', 0, 77, 0, '".$u->info['id']."', 0, 'priem', 325, 'elementalcrit.gif', 1, -1, '', 0, 0, '', 0, 0, 0, 1, 0); "); - - $u->error = ' ... '; - mysql_query('UPDATE `items_users` SET `iznosNOW` = `iznosNOW` + 1 WHERE `id` = ' . $itm['id'] . ' LIMIT 1'); - } else { - $u->error = ' '; - } - - // - //$this->mintr($pl); - - unset($pvr); + + $u->error = ' ... '; + mysql_query('UPDATE `items_users` SET `iznosNOW` = `iznosNOW` + 1 WHERE `id` = '.$itm['id'].' LIMIT 1'); + + }else{ + $u->error = ' '; + } + + // + //$this->mintr($pl); + + unset($pvr); } ?> \ No newline at end of file diff --git a/_incl_data/class/priem/104.php b/_incl_data/class/priem/104.php index 98b44c7b..690f4da7 100644 --- a/_incl_data/class/priem/104.php +++ b/_incl_data/class/priem/104.php @@ -24,8 +24,8 @@ if( isset($pr_momental_this)) { unset( $pr_used_this ); }else{ - $pvr['hp_0'] = 1; - $pvr['hp_1'] = 95; + $pvr['hp_0'] = 50; + $pvr['hp_1'] = 65; // $pvr['hp'] = floor(rand($pvr['hp_0'],$pvr['hp_1'])); diff --git a/_incl_data/class/priem/113.php b/_incl_data/class/priem/113.php index dca15d45..6b1a3318 100644 --- a/_incl_data/class/priem/113.php +++ b/_incl_data/class/priem/113.php @@ -7,7 +7,7 @@ if(!defined('GAME')) { */ $pvr = array(); // - $pvr['hp'] = rand(34,41); + $pvr['hp'] = rand(46,54); $pvr['hp'] = $this->magatack( $u->info['id'], $this->ue['id'], $pvr['hp'], '', 1 ); $pvr['promah_type'] = $pvr['hp'][3]; $pvr['promah'] = $pvr['hp'][2]; diff --git a/_incl_data/class/priem/121.php b/_incl_data/class/priem/121.php index 6b801fff..c60fc915 100644 --- a/_incl_data/class/priem/121.php +++ b/_incl_data/class/priem/121.php @@ -60,7 +60,11 @@ if( isset($pr_used_this) && isset($pr_moment) ) { mysql_query('UPDATE `eff_users` SET `data` = "'.$pvr['redata'].'" WHERE `id` = "'.$btl->stats[$btl->uids[$u1]]['effects'][$prv['j_priem']]['id'].'" LIMIT 1'); // $pvr['hp'] = floor($pvr['hp']); - + /*$pvr['hp'] = $priem->magatack( $u2, $u1, $pvr['hp'], '', 0 ); + $pvr['promah_type'] = $pvr['hp'][3]; + $pvr['promah'] = $pvr['hp'][2]; + $pvr['krit'] = $pvr['hp'][1]; + $pvr['hp'] = $pvr['hp'][0];*/ $pvr['hpSee'] = '--'; $pvr['hpNow'] = floor($btl->stats[$btl->uids[$u1]]['hpNow']); $pvr['hpAll'] = $btl->stats[$btl->uids[$u1]]['hpAll']; diff --git a/_incl_data/class/priem/122.php b/_incl_data/class/priem/122.php index aac70b39..47b1c4b5 100644 --- a/_incl_data/class/priem/122.php +++ b/_incl_data/class/priem/122.php @@ -60,7 +60,11 @@ if( isset($pr_used_this) && isset($pr_moment) ) { mysql_query('UPDATE `eff_users` SET `data` = "'.$pvr['redata'].'" WHERE `id` = "'.$btl->stats[$btl->uids[$u1]]['effects'][$prv['j_priem']]['id'].'" LIMIT 1'); // $pvr['hp'] = floor($pvr['hp']); - + /*$pvr['hp'] = $priem->magatack( $u2, $u1, $pvr['hp'], '', 0 ); + $pvr['promah_type'] = $pvr['hp'][3]; + $pvr['promah'] = $pvr['hp'][2]; + $pvr['krit'] = $pvr['hp'][1]; + $pvr['hp'] = $pvr['hp'][0];*/ $pvr['hpSee'] = '--'; $pvr['hpNow'] = floor($btl->stats[$btl->uids[$u1]]['hpNow']); $pvr['hpAll'] = $btl->stats[$btl->uids[$u1]]['hpAll']; @@ -122,7 +126,7 @@ if( isset($pr_used_this) && isset($pr_moment) ) { }; unset( $pr_used_this ); }else{ - $pvr['hp'] = floor(rand(66,71)); + $pvr['hp'] = floor(rand(70,81)); $pvr['hp'] = $this->magatack( $u->info['id'], $this->ue['id'], $pvr['hp'], '', 0 ); $pvr['promah_type'] = $pvr['hp'][3]; $pvr['promah'] = $pvr['hp'][2]; diff --git a/_incl_data/class/priem/123.php b/_incl_data/class/priem/123.php index b9f0296e..146c2263 100644 --- a/_incl_data/class/priem/123.php +++ b/_incl_data/class/priem/123.php @@ -60,7 +60,11 @@ if( isset($pr_used_this) && isset($pr_moment) ) { mysql_query('UPDATE `eff_users` SET `data` = "'.$pvr['redata'].'" WHERE `id` = "'.$btl->stats[$btl->uids[$u1]]['effects'][$prv['j_priem']]['id'].'" LIMIT 1'); // $pvr['hp'] = floor($pvr['hp']); - + /*$pvr['hp'] = $priem->magatack( $u2, $u1, $pvr['hp'], '', 0 ); + $pvr['promah_type'] = $pvr['hp'][3]; + $pvr['promah'] = $pvr['hp'][2]; + $pvr['krit'] = $pvr['hp'][1]; + $pvr['hp'] = $pvr['hp'][0];*/ $pvr['hpSee'] = '--'; $pvr['hpNow'] = floor($btl->stats[$btl->uids[$u1]]['hpNow']); $pvr['hpAll'] = $btl->stats[$btl->uids[$u1]]['hpAll']; diff --git a/_incl_data/class/priem/124.php b/_incl_data/class/priem/124.php index f18b0b0c..84875ed0 100644 --- a/_incl_data/class/priem/124.php +++ b/_incl_data/class/priem/124.php @@ -60,7 +60,11 @@ if( isset($pr_used_this) && isset($pr_moment) ) { mysql_query('UPDATE `eff_users` SET `data` = "'.$pvr['redata'].'" WHERE `id` = "'.$btl->stats[$btl->uids[$u1]]['effects'][$prv['j_priem']]['id'].'" LIMIT 1'); // $pvr['hp'] = floor($pvr['hp']); - + /*$pvr['hp'] = $priem->magatack( $u2, $u1, $pvr['hp'], '', 0 ); + $pvr['promah_type'] = $pvr['hp'][3]; + $pvr['promah'] = $pvr['hp'][2]; + $pvr['krit'] = $pvr['hp'][1]; + $pvr['hp'] = $pvr['hp'][0];*/ $pvr['hpSee'] = '--'; $pvr['hpNow'] = floor($btl->stats[$btl->uids[$u1]]['hpNow']); $pvr['hpAll'] = $btl->stats[$btl->uids[$u1]]['hpAll']; diff --git a/_incl_data/class/priem/125.php b/_incl_data/class/priem/125.php index d6a4baf3..37f998da 100644 --- a/_incl_data/class/priem/125.php +++ b/_incl_data/class/priem/125.php @@ -60,7 +60,11 @@ if( isset($pr_used_this) && isset($pr_moment) ) { mysql_query('UPDATE `eff_users` SET `data` = "'.$pvr['redata'].'" WHERE `id` = "'.$btl->stats[$btl->uids[$u1]]['effects'][$prv['j_priem']]['id'].'" LIMIT 1'); // $pvr['hp'] = floor($pvr['hp']); - + /*$pvr['hp'] = $priem->magatack( $u2, $u1, $pvr['hp'], '', 0 ); + $pvr['promah_type'] = $pvr['hp'][3]; + $pvr['promah'] = $pvr['hp'][2]; + $pvr['krit'] = $pvr['hp'][1]; + $pvr['hp'] = $pvr['hp'][0];*/ $pvr['hpSee'] = '--'; $pvr['hpNow'] = floor($btl->stats[$btl->uids[$u1]]['hpNow']); $pvr['hpAll'] = $btl->stats[$btl->uids[$u1]]['hpAll']; diff --git a/_incl_data/class/priem/128.php b/_incl_data/class/priem/128.php index c11ee20e..ed8b525a 100644 --- a/_incl_data/class/priem/128.php +++ b/_incl_data/class/priem/128.php @@ -6,7 +6,7 @@ if(!defined('GAME')) { : [8] */ $pvr = array(); - $pvr['hp_0'] = 13; + $pvr['hp_0'] = 30; // $pvr['hp'] = $pvr['hp_0']; $pvr['hp'] = $this->magatack( $u->info['id'], $this->ue['id'], $pvr['hp'], '', 1 ); diff --git a/_incl_data/class/priem/134.php b/_incl_data/class/priem/134.php index 5df483bb..da36ceab 100644 --- a/_incl_data/class/priem/134.php +++ b/_incl_data/class/priem/134.php @@ -24,8 +24,8 @@ if( isset($pr_momental_this)) { unset( $pr_used_this ); }else{ - $pvr['hp_0'] = 25; - $pvr['hp_1'] = 51; + $pvr['hp_0'] = 30; + $pvr['hp_1'] = 50; // $pvr['hp'] = floor($pvr['hp_1']); diff --git a/_incl_data/class/priem/141.php.bac.php b/_incl_data/class/priem/141.php.bac.php deleted file mode 100644 index 41ef7b63..00000000 --- a/_incl_data/class/priem/141.php.bac.php +++ /dev/null @@ -1,127 +0,0 @@ -stats[$btl->uids[$uid]]['um_priem'][$j_id])) { - global $u, $btl; - $yron = $yron/4; - $btl->priemAddLogFast( $uid, 0, " ", - '{tm1} '.$btl->addlt(1 , 17 , $btl->users[$btl->uids[$uid]]['sex'] , NULL).'', - 0, time() ); - if( $yron < 0 ) { - $yron = 1; - } - $btl->stats[$btl->uids[$uid]]['um_priem'][$j_id] = true; - } - return round($yron); - }; -}elseif( isset($pr_tested_this) ) { - $fx_priem = function( $id , $at , $uid, $j_id ) { - // -- - global $u, $btl; - // - // - $pvr['used'] = 0; - // - $uid1 = $btl->atacks[$id]['uid1']; - $uid2 = $btl->atacks[$id]['uid2']; - if( $uid == $uid2 ) { - $a = 1; - $b = 2; - $u1 = ${'uid1'}; - $u2 = ${'uid2'}; - }elseif( $uid == $uid1 ) { - $a = 2; - $b = 1; - $u1 = ${'uid2'}; - $u2 = ${'uid1'}; - } - /* - if((!isset($btl->atacks[$id]['newsf5']) || $btl->atacks[$id]['newsf5'] == false) && (!isset($btl->atacks[$id]['stopfx']) || $btl->atacks[$id]['stopfx'] == false)) { - if( isset($at['p'][$a]['priems']['kill'][$uid][$j_id]) ) { - mysql_query('UPDATE `eff_users` SET `delete` = "'.time().'" WHERE `id` = "'.$btl->stats[$btl->uids[$uid]]['u_priem'][$j_id][3].'" AND `uid` = "'.$uid.'" LIMIT 1'); - unset($btl->stats[$btl->uids[$uid]]['u_priem'][$j_id]); - $btl->stats[$btl->uids[$uid]]['u_priem'][$j_id] = false; - } - } - */ - // - // -- - return $at; - }; - unset( $pr_used_this ); -}elseif( isset($pr_used_this) ) { - $fx_priem = function( $id , $at , $uid, $j_id ) { - // -- - global $u, $btl; - // - // - $pvr['used'] = 0; - // - $uid1 = $btl->atacks[$id]['uid1']; - $uid2 = $btl->atacks[$id]['uid2']; - if( $uid == $uid2 ) { - $a = 1; - $b = 2; - $u1 = ${'uid1'}; - $u2 = ${'uid2'}; - }elseif( $uid == $uid1 ) { - $a = 2; - $b = 1; - $u1 = ${'uid2'}; - $u2 = ${'uid1'}; - } - if( $a > 0 ) { - $j = 0; $k = 0; $wp = 3; - while($j < count($at['p'][$a]['atack'])) { - if( isset($at['p'][$a]['atack'][$j]['yron']) && ( - $at['p'][$a]['atack'][$j][1] == 1 || - $at['p'][$a]['atack'][$j][1] == 4 || - $at['p'][$a]['atack'][$j][1] == 5 )) { - //if( !isset($at['p'][$a]['priems']['kill'][$uid][$j_id]) ) { - // - $at['p'][$a]['atack'][$j]['yron']['y'] = round($at['p'][$a]['atack'][$j]['yron']['y']/4); - $at['p'][$a]['atack'][$j]['yron']['r'] = round($at['p'][$a]['atack'][$j]['yron']['r']/4); - $at['p'][$a]['atack'][$j]['yron']['k'] = round($at['p'][$a]['atack'][$j]['yron']['k']/4); - $at['p'][$a]['atack'][$j]['yron']['m_k'] = round($at['p'][$a]['atack'][$j]['yron']['m_k']/4); - $at['p'][$a]['atack'][$j]['yron']['m_y'] = round($at['p'][$a]['atack'][$j]['yron']['m_y']/4); - // - if( $at['p'][$a]['atack'][$j]['yron']['y'] < 1 ) { $at['p'][$a]['atack'][$j]['yron']['y'] = 1; } - if( $at['p'][$a]['atack'][$j]['yron']['r'] >= 0 ) { $at['p'][$a]['atack'][$j]['yron']['r'] = -1; } - if( $at['p'][$a]['atack'][$j]['yron']['k'] < 1 ) { $at['p'][$a]['atack'][$j]['yron']['k'] = 1; } - if( $at['p'][$a]['atack'][$j]['yron']['m_k'] < 1 ) { $at['p'][$a]['atack'][$j]['yron']['m_k'] = 1; } - if( $at['p'][$a]['atack'][$j]['yron']['m_y'] < 1 ) { $at['p'][$a]['atack'][$j]['yron']['m_y'] = 1; } - // - if( $pvr['used'] == 0 ) { - $at['p'][$a]['atack'][$j]['yron']['plog'][] = '$this->priemAddLog( '.$id.', '.$b.', '.$a.', '.$u2.', '.$u1.', - " ", - "{tm1} '.$btl->addlt($b , 17 , $btl->users[$btl->uids[$u2]]['sex'] , NULL).'", - '.($btl->hodID + 1).' );'; - } - // - $at['p'][$a]['atack'][$j]['yron']['used'][] = array($j_id,$uid,$pvr['used']); - $at['p'][$a]['atack'][$j]['yron']['kill'][] = array($j_id,$uid,$pvr['kill']); - // - $at['p'][$a]['priems']['kill'][$uid][$j_id] = true; - //} - } - $j++; - } - } - // -- - return $at; - }; - unset( $pr_used_this ); -}else{ - // - $this->addEffPr($pl,$id); -} -unset($pvr); -?> \ No newline at end of file diff --git a/_incl_data/class/priem/141.php.bac1 b/_incl_data/class/priem/141.php.bac1 deleted file mode 100644 index 7aca8200..00000000 --- a/_incl_data/class/priem/141.php.bac1 +++ /dev/null @@ -1,140 +0,0 @@ -stats[$btl->uids[$uid]]['um_priem'][$j_id])) { - global $u, $btl; - if( $btl->stats[$btl->uids[$u2]]['effects'][$btl->stats[$btl->uids[$uid]]['u_priem'][$j_id][0]]['name'] == '' ) { - //$yron = $yron/10; - }else{ - //$yron = $yron/4; - } - $btl->priemAddLogFast( $uid, 0, "".$btl->stats[$btl->uids[$u2]]['effects'][$btl->stats[$btl->uids[$uid]]['u_priem'][$j_id][0]]['name']."", - '{tm1} '.$btl->addlt(1 , 17 , $btl->users[$btl->uids[$uid]]['sex'] , NULL).'', - 0, time() ); - if( $yron < 0 ) { - $yron = 1; - } - $btl->stats[$btl->uids[$uid]]['um_priem'][$j_id] = true; - } - return round($yron); - }; -}elseif( isset($pr_tested_this) ) { - $fx_priem = function( $id , $at , $uid, $j_id ) { - // -- - global $u, $btl; - // - // - $pvr['used'] = 0; - // - $uid1 = $btl->atacks[$id]['uid1']; - $uid2 = $btl->atacks[$id]['uid2']; - if( $uid == $uid2 ) { - $a = 1; - $b = 2; - $u1 = ${'uid1'}; - $u2 = ${'uid2'}; - }elseif( $uid == $uid1 ) { - $a = 2; - $b = 1; - $u1 = ${'uid2'}; - $u2 = ${'uid1'}; - } - if( isset($at['p'][$a]['priems']['kill'][$uid][$j_id]) ) { - mysql_query('UPDATE `eff_users` SET `delete` = "'.time().'" WHERE `id` = "'.$btl->stats[$btl->uids[$uid]]['u_priem'][$j_id][3].'" AND `uid` = "'.$uid.'" LIMIT 1'); - unset($btl->stats[$btl->uids[$uid]]['u_priem'][$j_id]); - } - // - // -- - return $at; - }; - unset( $pr_used_this ); -}elseif( isset($pr_used_this) ) { - $fx_priem = function( $id , $at , $uid, $j_id ) { - // -- - global $u, $btl; - // - // - $pvr['used'] = 0; - // - $uid1 = $btl->atacks[$id]['uid1']; - $uid2 = $btl->atacks[$id]['uid2']; - if( $uid == $uid2 ) { - $a = 1; - $b = 2; - $u1 = ${'uid1'}; - $u2 = ${'uid2'}; - }elseif( $uid == $uid1 ) { - $a = 2; - $b = 1; - $u1 = ${'uid2'}; - $u2 = ${'uid1'}; - } - if( $a > 0 ) { - $j = 0; $k = 0; $wp = 3; - /*$at['p'][$a]['atack'][$j]['yron']['plog'][] = '$this->deleffm(141,'.(0+$uid).','.$btl->stats[$btl->uids[$uid]]['u_priem'][$j_id][3].'); - $this->priemAddLog( '.$id.', '.$b.', '.$a.', '.$u2.', '.$u1.', - "'.$btl->stats[$btl->uids[$u2]]['effects'][$btl->stats[$btl->uids[$uid]]['u_priem'][$j_id][0]]['name'].'", - "{tm1} '.$btl->addlt($b , 17 , $btl->users[$btl->uids[$u2]]['sex'] , NULL).'", - '.($btl->hodID + 1).' );';*/ - while($j < count($at['p'][$a]['atack'])) { - if( isset($at['p'][$a]['atack'][$j]['yron']) && ( - $at['p'][$a]['atack'][$j][1] == 1 || - $at['p'][$a]['atack'][$j][1] == 4 || - $at['p'][$a]['atack'][$j][1] == 5 )) { - //if( !isset($at['p'][$a]['priems']['kill'][$uid][$j_id]) ) { - // - /*if( $btl->stats[$btl->uids[$u2]]['effects'][$btl->stats[$btl->uids[$uid]]['u_priem'][$j_id][0]]['name'] == '' ) { - $at['p'][$a]['atack'][$j]['yron']['y'] = round($at['p'][$a]['atack'][$j]['yron']['y']/10); - $at['p'][$a]['atack'][$j]['yron']['r'] = round($at['p'][$a]['atack'][$j]['yron']['r']/10); - $at['p'][$a]['atack'][$j]['yron']['k'] = round($at['p'][$a]['atack'][$j]['yron']['k']/10); - $at['p'][$a]['atack'][$j]['yron']['m_k'] = round($at['p'][$a]['atack'][$j]['yron']['m_k']/10); - $at['p'][$a]['atack'][$j]['yron']['m_y'] = round($at['p'][$a]['atack'][$j]['yron']['m_y']/10); - }else{ - $at['p'][$a]['atack'][$j]['yron']['y'] = round($at['p'][$a]['atack'][$j]['yron']['y']/4); - $at['p'][$a]['atack'][$j]['yron']['r'] = round($at['p'][$a]['atack'][$j]['yron']['r']/4); - $at['p'][$a]['atack'][$j]['yron']['k'] = round($at['p'][$a]['atack'][$j]['yron']['k']/4); - $at['p'][$a]['atack'][$j]['yron']['m_k'] = round($at['p'][$a]['atack'][$j]['yron']['m_k']/4); - $at['p'][$a]['atack'][$j]['yron']['m_y'] = round($at['p'][$a]['atack'][$j]['yron']['m_y']/4); - } - // - if( $at['p'][$a]['atack'][$j]['yron']['y'] < 1 ) { $at['p'][$a]['atack'][$j]['yron']['y'] = 1; } - if( $at['p'][$a]['atack'][$j]['yron']['r'] >= 0 ) { $at['p'][$a]['atack'][$j]['yron']['r'] = -1; } - if( $at['p'][$a]['atack'][$j]['yron']['k'] < 1 ) { $at['p'][$a]['atack'][$j]['yron']['k'] = 1; } - if( $at['p'][$a]['atack'][$j]['yron']['m_k'] < 1 ) { $at['p'][$a]['atack'][$j]['yron']['m_k'] = 1; } - if( $at['p'][$a]['atack'][$j]['yron']['m_y'] < 1 ) { $at['p'][$a]['atack'][$j]['yron']['m_y'] = 1; } - // - if( $pvr['used'] == 0 ) { - /*$at['p'][$a]['atack'][$j]['yron']['plog'][] = '$this->deleffm(141,'.(0+$uid).','.$btl->stats[$btl->uids[$uid]]['u_priem'][$j_id][3].'); - $this->priemAddLog( '.$id.', '.$b.', '.$a.', '.$u2.', '.$u1.', - "'.$btl->stats[$btl->uids[$u2]]['effects'][$btl->stats[$btl->uids[$uid]]['u_priem'][$j_id][0]]['name'].'", - "{tm1} '.$btl->addlt($b , 17 , $btl->users[$btl->uids[$u2]]['sex'] , NULL).'", - '.($btl->hodID + 1).' );';*/ - /*}*/ - // - $at['p'][$a]['atack'][$j]['yron']['used'][] = array($j_id,$uid,$pvr['used']); - $at['p'][$a]['atack'][$j]['yron']['kill'][] = array($j_id,$uid,$pvr['kill']); - // - $at['p'][$a]['priems']['kill'][$uid][$j_id] = true; - //} - } - $j++; - } - } - // -- - return $at; - }; - unset( $pr_used_this ); -}else{ - // - $this->addEffPr($pl,$id); -} -unset($pvr); -?> \ No newline at end of file diff --git a/_incl_data/class/priem/161.php b/_incl_data/class/priem/161.php index b3e2c835..266553f1 100644 --- a/_incl_data/class/priem/161.php +++ b/_incl_data/class/priem/161.php @@ -36,7 +36,7 @@ $pvr = array(); // $pvr['hp'] = $btl->testYronPriem( $u->info['id'], $pvr['uid'], 21, $pvr['hp'], 5, true ); - if(!$pvr['krit']) { + if( $pvr['krit'] == false ) { if( $pvr['hp'] > $pvr['lim'] ) { $pvr['hp'] = $pvr['lim']; } @@ -48,6 +48,7 @@ $pvr = array(); $pvr['hpSee'] = '-'.$pvr['hp']; $pvr['hpNow'] -= $pvr['hp']; $btl->priemYronSave($u->info['id'],$pvr['uid'],$pvr['hp'],0); + if( $pvr['hpNow'] > $pvr['hpAll'] ) { @@ -61,8 +62,8 @@ $pvr = array(); mysql_query('UPDATE `stats` SET `hpNow` = "'.$btl->stats[$btl->uids[$pvr['uid']]]['hpNow'].'" WHERE `id` = "'.$pvr['uid'].'" LIMIT 1'); // - if(!$pvr['promah']) { - if(!$pvr['krit']) { + if( $pvr['promah'] == false ) { + if( $pvr['krit'] == false ) { $prv['color2'] = '006699'; if(isset($btl->mcolor[$btl->mname['']])) { $prv['color2'] = $btl->mcolor[$btl->mname['']]; @@ -95,7 +96,12 @@ $pvr = array(); ($btl->hodID + 1) ); - + // + //$this->addEffPr($pl,$id); + //$this->addPriem($pvr['uid'],$pl['id'],'atgm='.floor($pvr['hp']/5).'',0,77,5,$u->info['id'],1,'',0,0,1); + + // + //$this->mintr($pl); // $pvr['xx']++; } @@ -104,6 +110,12 @@ $pvr = array(); $btl->delPriem($pvr['x5'],$btl->users[$btl->uids[$this->ue['id']]],2); // + // + //$this->addEffPr($pl,$id); + //$this->addPriem($this->ue['id'],$pl['id'],'atgm='.($pvr['hp']/16).'',2,77,4,$u->info['id'],3,'',0,0,1); + + // + //$this->mintr($pl); unset($pvr); ?> \ No newline at end of file diff --git a/_incl_data/class/priem/170.php b/_incl_data/class/priem/170.php index 31c32841..c4a97970 100644 --- a/_incl_data/class/priem/170.php +++ b/_incl_data/class/priem/170.php @@ -7,7 +7,7 @@ if(!defined('GAME')) { */ $pvr = array(); // - $pvr['hp'] = rand(40,80); + $pvr['hp'] = rand(50,90); //$pvr['hp'] = floor($pvr['hp']*0.95); //$pvr['hp'] = $this->magatackfiz( $u->info['id'], $this->ue['id'], $pvr['hp'], '' /* - 3 */, 1 , '' ); $pvr['hp'] = $this->magatack( $u->info['id'], $this->ue['id'], $pvr['hp'], '', 1 ); // diff --git a/_incl_data/class/priem/180.php b/_incl_data/class/priem/180.php index 163e5c97..5853af34 100644 --- a/_incl_data/class/priem/180.php +++ b/_incl_data/class/priem/180.php @@ -11,7 +11,7 @@ $pvr['x5'] = mysql_fetch_array(mysql_query('SELECT `id`,`x` FROM `eff_users` WHE if( $pvr['x5']['x'] < 5 ) { $prv['x'] = ''; if( $pvr['x5']['x'] > 0 ) { - $prv['x'] = ' x'.($pvr['x5']['x']+1); + $prv['x'] = ' x'.($pvr['x5']['x']+1).''; } // $this->addEffPr($pl,$id); diff --git a/_incl_data/class/priem/193.php.bac b/_incl_data/class/priem/193.php.bac deleted file mode 100644 index eca72ee9..00000000 --- a/_incl_data/class/priem/193.php.bac +++ /dev/null @@ -1,116 +0,0 @@ -atacks[$id]['uid1']; - $uid2 = $btl->atacks[$id]['uid2']; - if( $uid == $uid1 ) { - $a = 1; - $b = 2; - $u1 = ${'uid1'}; - $u2 = ${'uid2'}; - }elseif( $uid == $uid2 ) { - $a = 2; - $b = 1; - $u1 = ${'uid2'}; - $u2 = ${'uid1'}; - } - if( isset($at['p'][$a]['priems']['kill'][$uid][$j_id]) ) { - mysql_query('UPDATE `eff_users` SET `delete` = "'.time().'" WHERE `id` = "'.$btl->stats[$btl->uids[$uid]]['u_priem'][$j_id][3].'" AND `uid` = "'.$uid.'" LIMIT 1'); - unset($btl->stats[$btl->uids[$uid]]['u_priem'][$j_id]); - } - // - // -- - return $at; - }; - unset( $pr_used_this ); -}elseif( isset($pr_used_this) ) { - $fx_priem = function( $id , $at , $uid, $j_id ) { - // -- - global $u, $btl; - // - // - $pvr['used'] = 0; - // - $uid1 = $btl->atacks[$id]['uid1']; - $uid2 = $btl->atacks[$id]['uid2']; - if( $uid == $uid1 ) { - $a = 1; - $b = 2; - $u1 = ${'uid1'}; - $u2 = ${'uid2'}; - }elseif( $uid == $uid2 ) { - $a = 2; - $b = 1; - $u1 = ${'uid2'}; - $u2 = ${'uid1'}; - } - if( $a > 0 ) { - $j = 0; $k = 0; $wp = 3; - while($j < count($at['p'][$a]['atack'])) { - if( isset($at['p'][$a]['atack'][$j]['yron']) && ( - $at['p'][$a]['atack'][$j][1] == 1 || - $at['p'][$a]['atack'][$j][1] == 4 || - $at['p'][$a]['atack'][$j][1] == 5 )) { - //if( $pvr['used'] == 0 && !isset($at['p'][$a]['priems']['kill'][$uid][$j_id]) ) { - // - $pvr['hp'] = 6 * $btl->users[$btl->uids[$u1]]['level']; - $pvr['hp'] = $btl->testYronPriem( $u1, $u2, 12, $pvr['hp'], -1, true, false, 0 ); - if( $pvr['hp'] <= 1 ) { - $pvr['hp'] = 0; - $at['p'][$a]['atack'][$j]['yron']['y'] = 1; - $at['p'][$a]['atack'][$j]['yron']['r'] = -1; - $at['p'][$a]['atack'][$j]['yron']['k'] = 1; - $at['p'][$a]['atack'][$j]['yron']['m_k'] = 1; - $at['p'][$a]['atack'][$j]['yron']['m_y'] = 1; - } - else - { - $at['p'][$a]['atack'][$j]['yron']['y'] += $pvr['hp']; - $at['p'][$a]['atack'][$j]['yron']['r'] -= $pvr['hp']; - $at['p'][$a]['atack'][$j]['yron']['k'] += $pvr['hp']; - $at['p'][$a]['atack'][$j]['yron']['m_y'] += $pvr['hp']; - $at['p'][$a]['atack'][$j]['yron']['m_k'] += $pvr['hp']; - } - //$at['p'][$a]['atack'][$j]['yron'] = $btl->testYronPriemAttack( 193 , $u1 , $u2 , $at['p'][$a]['atack'][$j]['yron'] ); - // - if( $pvr['used'] == 0 && !isset($at['p'][$a]['priems']['kill'][$uid][$j_id]) ) { - $at['p'][$a]['atack'][$j]['yron']['plog'][] = '$this->priemAddLog( '.$id.', '.$a.', '.$b.', '.$u1.', '.$u2.', - " ", - "{tm1} '.$btl->addlt($a , 17 , $btl->users[$btl->uids[$u1]]['sex'] , NULL).'", - '.($btl->hodID + 1).' );'; - // - $at['p'][$a]['atack'][$j]['yron']['used'][] = array($j_id,$uid,$pvr['used']); - $at['p'][$a]['atack'][$j]['yron']['kill'][] = array($j_id,$uid,$pvr['kill']); - } - // - $at['p'][$a]['priems']['kill'][$uid][$j_id] = true; - //} - } - $j++; - } - } - // - // -- - return $at; - }; - unset( $pr_used_this ); -}else{ - // - $this->addEffPr($pl,$id); -} -unset($pvr); -?> \ No newline at end of file diff --git a/_incl_data/class/priem/21.php b/_incl_data/class/priem/21.php index 66cce764..4ed87b06 100644 --- a/_incl_data/class/priem/21.php +++ b/_incl_data/class/priem/21.php @@ -59,9 +59,11 @@ if( isset($pr_used_this) && isset($pr_moment) && !isset($btl->info['id']) && !is mysql_query('UPDATE `eff_users` SET `data` = "'.$pvr['redata'].'" WHERE `id` = "'.$btl->stats[$btl->uids[$u1]]['effects'][$prv['j_priem']]['id'].'" LIMIT 1'); // $pvr['hp'] = floor($pvr['hp']); + //$pvr['hp'] = $priem->magatack( $u2, $u1, $pvr['hp'], '', 0 ); $pvr['promah_type'] = 0; $pvr['promah'] = false; $pvr['krit'] = false; + //$pvr['hp'] = $pvr['hp'][0]; $pvr['hpSee'] = '--'; $pvr['hpNow'] = floor($btl->stats[$btl->uids[$u1]]['hpNow']); $pvr['hpAll'] = $btl->stats[$btl->uids[$u1]]['hpAll']; diff --git a/_incl_data/class/priem/22.php b/_incl_data/class/priem/22.php index d2c542ee..ecd7afa1 100644 --- a/_incl_data/class/priem/22.php +++ b/_incl_data/class/priem/22.php @@ -57,7 +57,11 @@ if( isset($pr_used_this) && isset($pr_moment) ) { mysql_query('UPDATE `eff_users` SET `data` = "'.$pvr['redata'].'" WHERE `id` = "'.$btl->stats[$btl->uids[$u1]]['effects'][$prv['j_priem']]['id'].'" LIMIT 1'); // $pvr['hp'] = floor($pvr['hp']); - + /*$pvr['hp'] = $priem->magatack( $u2, $u1, $pvr['hp'], '', 0 ); + $pvr['promah_type'] = $pvr['hp'][3]; + $pvr['promah'] = $pvr['hp'][2]; + $pvr['krit'] = $pvr['hp'][1]; + $pvr['hp'] = $pvr['hp'][0];*/ $pvr['hpSee'] = '--'; $pvr['hpNow'] = floor($btl->stats[$btl->uids[$u1]]['hpNow']); $pvr['hpAll'] = $btl->stats[$btl->uids[$u1]]['hpAll']; diff --git a/_incl_data/class/priem/23.php b/_incl_data/class/priem/23.php index 87464437..698b4f80 100644 --- a/_incl_data/class/priem/23.php +++ b/_incl_data/class/priem/23.php @@ -57,7 +57,11 @@ if( isset($pr_used_this) && isset($pr_moment) ) { mysql_query('UPDATE `eff_users` SET `data` = "'.$pvr['redata'].'" WHERE `id` = "'.$btl->stats[$btl->uids[$u1]]['effects'][$prv['j_priem']]['id'].'" LIMIT 1'); // $pvr['hp'] = floor($pvr['hp']); - + /*$pvr['hp'] = $priem->magatack( $u2, $u1, $pvr['hp'], '', 0 ); + $pvr['promah_type'] = $pvr['hp'][3]; + $pvr['promah'] = $pvr['hp'][2]; + $pvr['krit'] = $pvr['hp'][1]; + $pvr['hp'] = $pvr['hp'][0];*/ $pvr['hpSee'] = '--'; $pvr['hpNow'] = floor($btl->stats[$btl->uids[$u1]]['hpNow']); $pvr['hpAll'] = $btl->stats[$btl->uids[$u1]]['hpAll']; diff --git a/_incl_data/class/priem/232.php.bac b/_incl_data/class/priem/232.php.bac deleted file mode 100644 index 64f0b365..00000000 --- a/_incl_data/class/priem/232.php.bac +++ /dev/null @@ -1,72 +0,0 @@ -users[$btl->uids[$u->info['id']]]['tactic1']+$btl->users[$btl->uids[$u->info['id']]]['tactic2']+$btl->users[$btl->uids[$u->info['id']]]['tactic3']+$btl->users[$btl->uids[$u->info['id']]]['tactic4']+$btl->users[$btl->uids[$u->info['id']]]['tactic5']+$btl->users[$btl->uids[$u->info['id']]]['tactic6']*0.5 ); -if( $pvr['hp'] > 25 ) { - $pvr['hp'] = 25; -} -$pvr['hp'] = round($btl->stats[$btl->uids[$u->info['id']]]['hpAll']/100*$pvr['hp']); -$pvr['hpSee'] = '--'; -$pvr['hpNow'] = floor($btl->stats[$btl->uids[$this->ue['id']]]['hpNow']); -$pvr['hpAll'] = $btl->stats[$btl->uids[$u->info['id']]]['hpAll']; -$pvr['hp'] = $btl->hphe( $u->info['id'] , $pvr['hp'] , true ); -$pvr['hpTr'] = $pvr['hpAll'] - $pvr['hpNow']; -if( $pvr['hpTr'] > 0 ) { - // - if( $pvr['hpTr'] < $pvr['hp'] ) { - $pvr['hp'] = $pvr['hpTr']; - } - $pvr['hpSee'] = '+'.$pvr['hp']; - $pvr['hpNow'] += $pvr['hp']; -} - -if( $pvr['hpNow'] > $pvr['hpAll'] ) { - $pvr['hpNow'] = $pvr['hpAll']; -}elseif( $pvr['hpNow'] < 0 ) { - $pvr['hpNow'] = 0; -} - -$btl->users[$btl->uids[$u->info['id']]]['last_hp'] = $pvr['hp']; - -$u->info['hpNow'] = $pvr['hpNow']; -$u->stats['hpNow'] = $pvr['hpNow']; -$btl->stats[$btl->uids[$this->ue['id']]]['hpNow'] = $pvr['hpNow']; - -$pvr['i']=1; -while($pvr['i'] <= 6) { - $btl->users[$btl->uids[$u->info['id']]]['tactic'.$pvr['i']] = 0; - $btl->stats[$btl->uids[$u->info['id']]]['tactic'.$pvr['i']] = 0; - $u->info['tactic'.$pvr['i']] = 0; - $u->stats['tactic'.$pvr['i']] = 0; - $pvr['i']++; -} - -mysql_query('UPDATE `stats` SET -`last_hp` = "'.$btl->users[$btl->uids[$u->info['id']]]['last_hp'].'", -`hpNow` = "'.$pvr['hpNow'].'", -`tactic1` = "0", -`tactic2` = "0", -`tactic3` = "0", -`tactic4` = "0", -`tactic5` = "0", -`tactic6` = "0" -WHERE `id` = "'.$u->info['id'].'" LIMIT 1'); - -$btl->priemAddLog( $id, 1, 2, $u->info['id'], $u->info['enemy'], - '', - '{tm1} '.$btl->addlt(1 , 17 , $btl->users[$btl->uids[$u->info['id']]]['sex'] , NULL).' '.$pvr['hpSee'].' ['.$pvr['hpNow'].'/'.$pvr['hpAll'].']', - ($btl->hodID) -); - -// -$this->mintr($pl); - -unset($pvr); -?> \ No newline at end of file diff --git a/_incl_data/class/priem/243.php b/_incl_data/class/priem/243.php index 0dbf6f04..a66d12c2 100644 --- a/_incl_data/class/priem/243.php +++ b/_incl_data/class/priem/243.php @@ -1,5 +1,5 @@ stats[$btl->uids[$this->ue['id']]]['hpNow'] > round($btl->stats[$btl->uids[$this->ue['id']]]['hpAll'] / 100 * 33) ) { - echo ' 33%'; + echo ' 33%'; $cup = true; } elseif (!isset($pvr['mg']['id'])) { - echo ' ( )'; + echo ' ( )'; $cup = true; } else { // @@ -30,6 +24,25 @@ if ( // = 150% ( * * 150/100). $pvr['hp'] = floor($pvr['data']['atgm'] * $pvr['mg']['hod'] * 1.5); +// $pvr['di'] = 0; +// $pvr['dc'] = count($pvr['data']['atgm']); +// $pvr['rd'] = 0; +// $pvr['redata'] = ''; +// while ($pvr['di'] < 4) { +// if (isset($pvr['data']['atgm'][($pvr['dc'] - $pvr['di'])])) { +// if ($pvr['rd'] < 3) { +// $pvr['hp'] += $pvr['data']['atgm'][($pvr['dc'] - $pvr['di'])]; +// $pvr['redata'] = 'atgm=' . $pvr['data']['atgm'][($pvr['dc'] - $pvr['di'])] . '|' . $pvr['redata']; +// $pvr['rd']++; +// } +// } +// $pvr['di']++; +// } + +// $pvr['hp23'] = $pvr['hp']; +// $pvr['hp'] = 450; +// $pvr['hp24'] = $pvr['hp']; + // , ! $pvr['hp_test'] = $this->magatack($u->info['id'], $this->ue['id'], $pvr['hp'], '', 1); @@ -64,13 +77,25 @@ if ( $prv['text'] = $btl->addlt(1, 19, $btl->users[$btl->uids[$u->info['id']]]['sex'], null); - - $prv['color'] = $pvr['krit'] ? "f00" : "a00"; + // + if (!$pvr['krit']) { + $prv['color2'] = '006699'; + if (isset($btl->mcolor[$btl->mname['']])) { + $prv['color2'] = $btl->mcolor[$btl->mname['']]; + } + $prv['color'] = '000000'; + if (isset($btl->mncolor[$btl->mname['']])) { + $prv['color'] = $btl->mncolor[$btl->mname['']]; + } + } else { + $prv['color2'] = 'FF0000'; + $prv['color'] = 'FF0000'; + } $prv['text2'] = '{tm1} ' . $prv['text'] . '. ' . $pvr['hpSee'] . ' [' . $pvr['hpNow'] . '/' . $pvr['hpAll'] . ']'; $btl->priemAddLog($id, 1, 2, $u->info['id'], $this->ue['id'], - ' ', + ' ', $prv['text2'], ($btl->hodID + 1) ); @@ -83,3 +108,4 @@ if ( $this->mintr($pl); } unset($pvr); +?> \ No newline at end of file diff --git a/_incl_data/class/priem/246.php b/_incl_data/class/priem/246.php index cc3c953c..03cf441f 100644 --- a/_incl_data/class/priem/246.php +++ b/_incl_data/class/priem/246.php @@ -32,7 +32,7 @@ if( isset($pr_momental_this)) { ); */ // - $pvr['mp'] = round($u->stats['mpAll']*0.05); + $pvr['mp'] = round($u->stats['mpAll']*0.15); $pvr['mpSee'] = 0; $pvr['mpNow'] = floor($u->stats['mpNow']); $pvr['mpAll'] = $u->stats['mpAll']; @@ -66,7 +66,7 @@ if( isset($pr_momental_this)) { $btl->stats[$btl->uids[$u->info['id']]]['mpNow'] = $pvr['mpNow']; $btl->users[$btl->uids[$u->info['id']]]['mpNow'] = $pvr['mpNow']; // - $pvr['hp'] = round($u->stats['hpAll']*0.05); + $pvr['hp'] = round($u->stats['hpAll']*0.15); $pvr['hpSee'] = 0; $pvr['hpNow'] = floor($u->stats['hpNow']); $pvr['hpAll'] = $u->stats['hpAll']; diff --git a/_incl_data/class/priem/25.php b/_incl_data/class/priem/25.php index 7a782c01..fe1cdfa4 100644 --- a/_incl_data/class/priem/25.php +++ b/_incl_data/class/priem/25.php @@ -2,8 +2,8 @@ /** * : {} - * @var $this Priems - * @var $btl Battle + * @var $this priems + * @var $btl battleClass * @var $id * @var $pl */ diff --git a/_incl_data/class/priem/250.php b/_incl_data/class/priem/250.php index 2f05b58f..1bfd9060 100644 --- a/_incl_data/class/priem/250.php +++ b/_incl_data/class/priem/250.php @@ -11,14 +11,14 @@ $pvr['x5'] = mysql_fetch_array(mysql_query('SELECT `id`,`x` FROM `eff_users` WHE if( $pvr['x5']['x'] < 5 ) { $prv['x'] = ''; if( $pvr['x5']['x'] > 0 ) { - $prv['x'] = ' x'.($pvr['x5']['x']+1); + $prv['x'] = ' x'.($pvr['x5']['x']+1).''; } // $this->addEffPr($pl,$id); // $prv['effx'] = ''; if( $pvr['x5']['x'] > 0 ) { - $prv['eff'] = mysql_fetch_array(mysql_query('SELECT * FROM `eff_users` WHERE `id` = '.$pvr['x5']['id'])); + $prv['eff'] = mysql_fetch_array(mysql_query('SELECT * FROM `eff_users` WHERE `id` = "'.$pvr['x5']['id'].'" LIMIT 1')); if( isset($prv['eff']['id']) ) { // $prv['eff']['data'] $prv['eda'] = $prv['eff']['data']; @@ -34,7 +34,7 @@ if( $pvr['x5']['x'] < 5 ) { $prv['v'] = $u->lookKeys($this->redate($prv['eda'],$u->info['id']),0); // 2 $prv['i'] = 0; $prv['inf'] = ''; while($prv['i']is[$prv['vi']]!='') { if($prv['j'][$prv['v'][$prv['i']]]>0) { diff --git a/_incl_data/class/priem/252.php b/_incl_data/class/priem/252.php index 51cd9f8e..c77edc24 100644 --- a/_incl_data/class/priem/252.php +++ b/_incl_data/class/priem/252.php @@ -57,7 +57,11 @@ if( isset($pr_used_this) && isset($pr_moment) ) { mysql_query('UPDATE `eff_users` SET `data` = "'.$pvr['redata'].'" WHERE `id` = "'.$btl->stats[$btl->uids[$u1]]['effects'][$prv['j_priem']]['id'].'" LIMIT 1'); // $pvr['mp'] = floor($pvr['mp']*$btl->stats[$btl->uids[$u1]]['effects'][$prv['j_priem']]['x']); - + /*$pvr['hp'] = $priem->magatack( $u2, $u1, $pvr['hp'], '', 0 ); + $pvr['promah_type'] = $pvr['hp'][3]; + $pvr['promah'] = $pvr['hp'][2]; + $pvr['krit'] = $pvr['hp'][1]; + $pvr['hp'] = $pvr['hp'][0];*/ $pvr['mpSee'] = '--'; $pvr['mpNow'] = floor($btl->stats[$btl->uids[$u1]]['mpNow']); $pvr['mpAll'] = $btl->stats[$btl->uids[$u1]]['mpAll']; diff --git a/_incl_data/class/priem/255.php b/_incl_data/class/priem/255.php index 563d5683..5c811279 100644 --- a/_incl_data/class/priem/255.php +++ b/_incl_data/class/priem/255.php @@ -99,8 +99,7 @@ if( isset($pr_momental_this)) { // //if( $at['p'][$a]['atack'][$j]['yron']['y'] < 1 ) { $at['p'][$a]['atack'][$j]['yron']['y'] = 0; } if( $at['p'][$a]['atack'][$j]['yron']['r'] >= 0 ) { $at['p'][$a]['atack'][$j]['yron']['r'] = -1; } - $priem->addAirStaticPoints($u1); - + $priem->mg2static_points( $u1 , $btl->stats[$btl->uids[$u1]] ); /* if( $at['p'][$a]['atack'][$j]['yron']['k'] < 1 ) { $at['p'][$a]['atack'][$j]['yron']['k'] = 1; } if( $at['p'][$a]['atack'][$j]['yron']['m_k'] < 1 ) { $at['p'][$a]['atack'][$j]['yron']['m_k'] = 1; } diff --git a/_incl_data/class/priem/26.php b/_incl_data/class/priem/26.php index 141c0e89..b4286d59 100644 --- a/_incl_data/class/priem/26.php +++ b/_incl_data/class/priem/26.php @@ -2,8 +2,8 @@ /** * : {} - * @var $this Priems - * @var $btl Battle + * @var $this priems + * @var $btl battleClass * @var $id * @var $pl */ diff --git a/_incl_data/class/priem/260.php b/_incl_data/class/priem/260.php index d2382c6e..99292215 100644 --- a/_incl_data/class/priem/260.php +++ b/_incl_data/class/priem/260.php @@ -1,4 +1,4 @@ - 0) { $this->addEffPr($pl, $id); $prv['color2'] = '0af'; - $prv['text'] = $btl->addlt(1, 19, $btl->users[$btl->uids[$this->u->info['id']]]['sex'], null); + $prv['text'] = $btl->addlt(1, 19, $btl->users[$btl->uids[$u->info['id']]]['sex'], null); $prv['text2'] = '{tm1} ' . $prv['text']; $btl->priemAddLog($id, 1, 2, $u->info['id'], $this->ue['id'], '', diff --git a/_incl_data/class/priem/261.php b/_incl_data/class/priem/261.php index be48da78..e53d0793 100644 --- a/_incl_data/class/priem/261.php +++ b/_incl_data/class/priem/261.php @@ -1,7 +1,7 @@ logColor['miss']; + $prv['color2'] = '909090'; + $prv['color'] = '909090'; } elseif ($pvr['krit']) { - $prv['color'] = $this->logColor['crit']; + $prv['color2'] = 'FF0000'; + $prv['color'] = 'FF0000'; } else { - $prv['color'] = $this->logColor[$this::WATER]; + $prv['color2'] = '006699'; + if (isset($btl->mcolor[$btl->mname['']])) { + $prv['color2'] = $btl->mcolor[$btl->mname['']]; + } + $prv['color'] = '000000'; + if (isset($btl->mncolor[$btl->mname['']])) { + $prv['color'] = $btl->mncolor[$btl->mname['']]; + } } + $prv['text2'] = '{tm1} ' . $prv['text'] . '. maginfoattack($this->u->info['id'], $this->ue['id'], 3) . '>' . $pvr['hpSee'] . ' [' . $pvr['hpNow'] . '/' . $pvr['hpAll'] . ']'; if ($pvr['promah_type'] == 2) { $prv['text'] = $btl->addlt(1, 20, $btl->users[$btl->uids[$this->u->info['id']]]['sex'], NULL); $prv['text2'] = '{tm1} ' . $prv['text'] . '. maginfoattack($this->u->info['id'], $this->ue['id'], 3) . '>-- [' . $pvr['hpNow'] . '/' . $pvr['hpAll'] . ']'; } - $btl->priemAddLog($id, 1, 2, $this->u->info['id'], $this->u->info['enemy'], ': !', $prv['text2'], ($btl->hodID + 1)); + $btl->priemAddLog($id, 1, 2, $this->u->info['id'], $this->u->info['enemy'], ': !', $prv['text2'], ($btl->hodID + 1)); // $pvr['mg']['priem']['id'] = $pvr['mg']['id']; diff --git a/_incl_data/class/priem/267.php b/_incl_data/class/priem/267.php index 2100fe38..af4e960e 100644 --- a/_incl_data/class/priem/267.php +++ b/_incl_data/class/priem/267.php @@ -1,5 +1,5 @@ addPriem($u1,278,'|add_yzm3=-'.($btl->users[$btl->uids[$u2]]['level']).'',2,77,2,$u2,100,'',0,0,1); $pvr['x55'] = mysql_fetch_array(mysql_query('SELECT `id`,`x` FROM `eff_users` WHERE `uid` = "'.$u1.'" AND `v2` = 25 AND `delete` = 0 LIMIT 1')); if( $pvr['x55']['x'] <1 ) { $priem->addPriem($u1,25,-1,2,77,-1,$u2,5,'',0,0,1); + //$priem->addPriem($u1,25,'|add_zm3=-20',2,77,-1,$u2,100,'',0,0,1); if( $pvr['used'] == 0 ) { $at['p'][$a]['atack'][$j]['yron']['plog'][] = '$this->priemAddLog( '.$id.', '.$b.', '.$a.', '.$u2.', '.$u1.', " ", diff --git a/_incl_data/class/priem/277.php b/_incl_data/class/priem/277.php index 75669120..bfc7832c 100644 --- a/_incl_data/class/priem/277.php +++ b/_incl_data/class/priem/277.php @@ -145,6 +145,8 @@ if( isset($pr_momental_this)) { }*/ //} // + //$priem->addPriem($u1,279,'|add_yzm3=-'.floor($btl->users[$btl->uids[$u2]]['level']*1.25).'',2,77,2,$u2,100,'',0,0,1); + //$priem->addPriem($u1,278,'|add_yzm3=-'.($btl->users[$btl->uids[$u2]]['level']).'',2,77,2,$u2,100,'',0,0,1); $pvr['x5'] = mysql_fetch_array(mysql_query('SELECT `id`,`x` FROM `eff_users` WHERE `uid` = "'.$u1.'" AND `v2` = 25 AND `delete` = 0 LIMIT 1')); if( $pvr['x5']['x'] < 5 ) { $priem->addPriem($u1,25,'|add_zm3=-20',2,77,-1,$u2,100,'',0,0,1); diff --git a/_incl_data/class/priem/28.php b/_incl_data/class/priem/28.php index 135c9698..05502181 100644 --- a/_incl_data/class/priem/28.php +++ b/_incl_data/class/priem/28.php @@ -2,8 +2,8 @@ /** * : {} - * @var $this Priems - * @var $btl Battle + * @var $this priems + * @var $btl battleClass * @var $id * @var $pl */ diff --git a/_incl_data/class/priem/294.php b/_incl_data/class/priem/294.php index 7ca59d50..e3a1a02d 100644 --- a/_incl_data/class/priem/294.php +++ b/_incl_data/class/priem/294.php @@ -39,12 +39,34 @@ if( isset($pr_used_this) && isset($pr_moment) ) { if( $pvr['hp'] < 1 ) { $pvr['hp'] = 1; } - + // + /* + $pvr['data'] = $priem->lookStatsArray($btl->stats[$btl->uids[$u1]]['effects'][$prv['j_priem']]['data']); + $pvr['di'] = 0; + $pvr['dc'] = count($pvr['data']['atgm']); + $pvr['rd'] = 0; + $pvr['redata'] = ''; + while( $pvr['di'] < 4 ) { + if( isset($pvr['data']['atgm'][($pvr['dc']-$pvr['di'])]) ) { + if( $pvr['rd'] < 3 ) { + $pvr['hp'] += $pvr['data']['atgm'][($pvr['dc']-$pvr['di'])]; + $pvr['redata'] = 'atgm='.$pvr['data']['atgm'][($pvr['dc']-$pvr['di'])].'|'.$pvr['redata']; + $pvr['rd']++; + } + } + $pvr['di']++; + } + */ + // $btl->stats[$btl->uids[$u1]]['effects'][$prv['j_priem']]['data'] = $pvr['redata']; mysql_query('UPDATE `eff_users` SET `data` = "'.$pvr['redata'].'" WHERE `id` = "'.$btl->stats[$btl->uids[$u1]]['effects'][$prv['j_priem']]['id'].'" LIMIT 1'); // $pvr['hp'] = floor($pvr['hp']); - + /*$pvr['hp'] = $priem->magatack( $u2, $u1, $pvr['hp'], '', 0 ); + $pvr['promah_type'] = $pvr['hp'][3]; + $pvr['promah'] = $pvr['hp'][2]; + $pvr['krit'] = $pvr['hp'][1]; + $pvr['hp'] = $pvr['hp'][0];*/ $pvr['hpSee'] = '--'; $pvr['hpNow'] = floor($btl->stats[$btl->uids[$u1]]['hpNow']); $pvr['hpAll'] = $btl->stats[$btl->uids[$u1]]['hpAll']; diff --git a/_incl_data/class/priem/295.php b/_incl_data/class/priem/295.php index 395a8381..07ecb25c 100644 --- a/_incl_data/class/priem/295.php +++ b/_incl_data/class/priem/295.php @@ -39,12 +39,34 @@ if( isset($pr_used_this) && isset($pr_moment) ) { if( $pvr['hp'] < 1 ) { $pvr['hp'] = 1; } - + // + /* + $pvr['data'] = $priem->lookStatsArray($btl->stats[$btl->uids[$u1]]['effects'][$prv['j_priem']]['data']); + $pvr['di'] = 0; + $pvr['dc'] = count($pvr['data']['atgm']); + $pvr['rd'] = 0; + $pvr['redata'] = ''; + while( $pvr['di'] < 4 ) { + if( isset($pvr['data']['atgm'][($pvr['dc']-$pvr['di'])]) ) { + if( $pvr['rd'] < 3 ) { + $pvr['hp'] += $pvr['data']['atgm'][($pvr['dc']-$pvr['di'])]; + $pvr['redata'] = 'atgm='.$pvr['data']['atgm'][($pvr['dc']-$pvr['di'])].'|'.$pvr['redata']; + $pvr['rd']++; + } + } + $pvr['di']++; + } + */ + // $btl->stats[$btl->uids[$u1]]['effects'][$prv['j_priem']]['data'] = $pvr['redata']; mysql_query('UPDATE `eff_users` SET `data` = "'.$pvr['redata'].'" WHERE `id` = "'.$btl->stats[$btl->uids[$u1]]['effects'][$prv['j_priem']]['id'].'" LIMIT 1'); // $pvr['hp'] = floor($pvr['hp']); - + /*$pvr['hp'] = $priem->magatack( $u2, $u1, $pvr['hp'], '', 0 ); + $pvr['promah_type'] = $pvr['hp'][3]; + $pvr['promah'] = $pvr['hp'][2]; + $pvr['krit'] = $pvr['hp'][1]; + $pvr['hp'] = $pvr['hp'][0];*/ $pvr['hpSee'] = '--'; $pvr['hpNow'] = floor($btl->stats[$btl->uids[$u1]]['hpNow']); $pvr['hpAll'] = $btl->stats[$btl->uids[$u1]]['hpAll']; diff --git a/_incl_data/class/priem/296.php b/_incl_data/class/priem/296.php index 6a3989fe..53aa2fe1 100644 --- a/_incl_data/class/priem/296.php +++ b/_incl_data/class/priem/296.php @@ -39,12 +39,34 @@ if( isset($pr_used_this) && isset($pr_moment) ) { if( $pvr['hp'] < 1 ) { $pvr['hp'] = 1; } - + // + /* + $pvr['data'] = $priem->lookStatsArray($btl->stats[$btl->uids[$u1]]['effects'][$prv['j_priem']]['data']); + $pvr['di'] = 0; + $pvr['dc'] = count($pvr['data']['atgm']); + $pvr['rd'] = 0; + $pvr['redata'] = ''; + while( $pvr['di'] < 4 ) { + if( isset($pvr['data']['atgm'][($pvr['dc']-$pvr['di'])]) ) { + if( $pvr['rd'] < 3 ) { + $pvr['hp'] += $pvr['data']['atgm'][($pvr['dc']-$pvr['di'])]; + $pvr['redata'] = 'atgm='.$pvr['data']['atgm'][($pvr['dc']-$pvr['di'])].'|'.$pvr['redata']; + $pvr['rd']++; + } + } + $pvr['di']++; + } + */ + // $btl->stats[$btl->uids[$u1]]['effects'][$prv['j_priem']]['data'] = $pvr['redata']; mysql_query('UPDATE `eff_users` SET `data` = "'.$pvr['redata'].'" WHERE `id` = "'.$btl->stats[$btl->uids[$u1]]['effects'][$prv['j_priem']]['id'].'" LIMIT 1'); // $pvr['hp'] = floor($pvr['hp']); - + /*$pvr['hp'] = $priem->magatack( $u2, $u1, $pvr['hp'], '', 0 ); + $pvr['promah_type'] = $pvr['hp'][3]; + $pvr['promah'] = $pvr['hp'][2]; + $pvr['krit'] = $pvr['hp'][1]; + $pvr['hp'] = $pvr['hp'][0];*/ $pvr['hpSee'] = '--'; $pvr['hpNow'] = floor($btl->stats[$btl->uids[$u1]]['hpNow']); $pvr['hpAll'] = $btl->stats[$btl->uids[$u1]]['hpAll']; diff --git a/_incl_data/class/priem/299.php b/_incl_data/class/priem/299.php index ef3dacf7..b62d2a2a 100644 --- a/_incl_data/class/priem/299.php +++ b/_incl_data/class/priem/299.php @@ -41,12 +41,32 @@ if( isset($pr_used_this) && isset($pr_moment) ) { $pvr['promah'] = $pvr['hp'][2]; $pvr['krit'] = $pvr['hp'][1]; $pvr['hp'] = $pvr['hp'][0]; - + /*// + $pvr['data'] = $priem->lookStatsArray($btl->stats[$btl->uids[$u1]]['effects'][$prv['j_priem']]['data']); + $pvr['di'] = 0; + $pvr['dc'] = count($pvr['data']['atgm']); + $pvr['rd'] = 0; + $pvr['redata'] = ''; + while( $pvr['di'] < 4 ) { + if( isset($pvr['data']['atgm'][($pvr['dc']-$pvr['di'])]) ) { + if( $pvr['rd'] < 3 ) { + $pvr['hp'] += $pvr['data']['atgm'][($pvr['dc']-$pvr['di'])]; + $pvr['redata'] = 'atgm='.$pvr['data']['atgm'][($pvr['dc']-$pvr['di'])].'|'.$pvr['redata']; + $pvr['rd']++; + } + } + $pvr['di']++; + }*/ + // $btl->stats[$btl->uids[$u1]]['effects'][$prv['j_priem']]['data'] = $pvr['redata']; mysql_query('UPDATE `eff_users` SET `data` = "'.$pvr['redata'].'" WHERE `id` = "'.$btl->stats[$btl->uids[$u1]]['effects'][$prv['j_priem']]['id'].'" LIMIT 1'); // $pvr['hp'] = floor($pvr['hp']); - + /*$pvr['hp'] = $priem->magatack( $u2, $u1, $pvr['hp'], '', 0 ); + $pvr['promah_type'] = $pvr['hp'][3]; + $pvr['promah'] = $pvr['hp'][2]; + $pvr['krit'] = $pvr['hp'][1]; + $pvr['hp'] = $pvr['hp'][0];*/ $pvr['hpSee'] = '--'; $pvr['hpNow'] = floor($btl->stats[$btl->uids[$u1]]['hpNow']); $pvr['hpAll'] = $btl->stats[$btl->uids[$u1]]['hpAll']; diff --git a/_incl_data/class/priem/300.php b/_incl_data/class/priem/300.php index d0cfa0a8..4d416d0c 100644 --- a/_incl_data/class/priem/300.php +++ b/_incl_data/class/priem/300.php @@ -40,7 +40,23 @@ if( isset($pr_used_this) && isset($pr_moment) ) { // $pvr['hp'] = rand(15,25); - + /*// + $pvr['data'] = $priem->lookStatsArray($btl->stats[$btl->uids[$u1]]['effects'][$prv['j_priem']]['data']); + $pvr['di'] = 0; + $pvr['dc'] = count($pvr['data']['atgm']); + $pvr['rd'] = 0; + $pvr['redata'] = ''; + while( $pvr['di'] < 4 ) { + if( isset($pvr['data']['atgm'][($pvr['dc']-$pvr['di'])]) ) { + if( $pvr['rd'] < 3 ) { + $pvr['hp'] += $pvr['data']['atgm'][($pvr['dc']-$pvr['di'])]; + $pvr['redata'] = 'atgm='.$pvr['data']['atgm'][($pvr['dc']-$pvr['di'])].'|'.$pvr['redata']; + $pvr['rd']++; + } + } + $pvr['di']++; + }*/ + // $pvr['hp'] = rand(15,25); if( $pvr['ijk'] == 1 ) { $pvr['mgtype'] = 5; @@ -85,7 +101,11 @@ if( isset($pr_used_this) && isset($pr_moment) ) { mysql_query('UPDATE `eff_users` SET `data` = "'.$pvr['redata'].'" WHERE `id` = "'.$btl->stats[$btl->uids[$u1]]['effects'][$prv['j_priem']]['id'].'" LIMIT 1'); // $pvr['hp'] = floor($pvr['hp']); - + /*$pvr['hp'] = $priem->magatack( $u2, $u1, $pvr['hp'], '', 0 ); + $pvr['promah_type'] = $pvr['hp'][3]; + $pvr['promah'] = $pvr['hp'][2]; + $pvr['krit'] = $pvr['hp'][1]; + $pvr['hp'] = $pvr['hp'][0];*/ $pvr['hpSee'] = '--'; $pvr['hpNow'] = floor($btl->stats[$btl->uids[$u1]]['hpNow']); $pvr['hpAll'] = $btl->stats[$btl->uids[$u1]]['hpAll']; diff --git a/_incl_data/class/priem/301.php b/_incl_data/class/priem/301.php index c32fce7d..82a4725b 100644 --- a/_incl_data/class/priem/301.php +++ b/_incl_data/class/priem/301.php @@ -41,12 +41,32 @@ if( isset($pr_used_this) && isset($pr_moment) ) { $pvr['promah'] = $pvr['hp'][2]; $pvr['krit'] = $pvr['hp'][1]; $pvr['hp'] = $pvr['hp'][0]; - + /*// + $pvr['data'] = $priem->lookStatsArray($btl->stats[$btl->uids[$u1]]['effects'][$prv['j_priem']]['data']); + $pvr['di'] = 0; + $pvr['dc'] = count($pvr['data']['atgm']); + $pvr['rd'] = 0; + $pvr['redata'] = ''; + while( $pvr['di'] < 4 ) { + if( isset($pvr['data']['atgm'][($pvr['dc']-$pvr['di'])]) ) { + if( $pvr['rd'] < 3 ) { + $pvr['hp'] += $pvr['data']['atgm'][($pvr['dc']-$pvr['di'])]; + $pvr['redata'] = 'atgm='.$pvr['data']['atgm'][($pvr['dc']-$pvr['di'])].'|'.$pvr['redata']; + $pvr['rd']++; + } + } + $pvr['di']++; + }*/ + // $btl->stats[$btl->uids[$u1]]['effects'][$prv['j_priem']]['data'] = $pvr['redata']; mysql_query('UPDATE `eff_users` SET `data` = "'.$pvr['redata'].'" WHERE `id` = "'.$btl->stats[$btl->uids[$u1]]['effects'][$prv['j_priem']]['id'].'" LIMIT 1'); // $pvr['hp'] = floor($pvr['hp']); - + /*$pvr['hp'] = $priem->magatack( $u2, $u1, $pvr['hp'], '', 0 ); + $pvr['promah_type'] = $pvr['hp'][3]; + $pvr['promah'] = $pvr['hp'][2]; + $pvr['krit'] = $pvr['hp'][1]; + $pvr['hp'] = $pvr['hp'][0];*/ $pvr['hpSee'] = '--'; $pvr['hpNow'] = floor($btl->stats[$btl->uids[$u1]]['hpNow']); $pvr['hpAll'] = $btl->stats[$btl->uids[$u1]]['hpAll']; diff --git a/_incl_data/class/priem/33.php b/_incl_data/class/priem/33.php index c80f9771..e38ab9d8 100644 --- a/_incl_data/class/priem/33.php +++ b/_incl_data/class/priem/33.php @@ -1,14 +1,17 @@ stats[$btl->uids[$u1]]['effects'][$prv['j_priem']]['id'].'" LIMIT 1'); // $pvr['hp'] = floor($pvr['hp']); - + /*$pvr['hp'] = $priem->magatack( $u2, $u1, $pvr['hp'], '', 0 ); + $pvr['promah_type'] = $pvr['hp'][3]; + $pvr['promah'] = $pvr['hp'][2]; + $pvr['krit'] = $pvr['hp'][1]; + $pvr['hp'] = $pvr['hp'][0];*/ $pvr['hpSee'] = '--'; $pvr['hpNow'] = floor($btl->stats[$btl->uids[$u1]]['hpNow']); $pvr['hpAll'] = $btl->stats[$btl->uids[$u1]]['hpAll']; diff --git a/_incl_data/class/priem/44.php b/_incl_data/class/priem/44.php index 4b5ead0b..3dd5d50c 100644 --- a/_incl_data/class/priem/44.php +++ b/_incl_data/class/priem/44.php @@ -6,8 +6,8 @@ if(!defined('GAME')) { : [8] */ $pvr = array(); - $pvr['hp_0'] = 40; - $pvr['hp_1'] = 14; + $pvr['hp_0'] = 51; + $pvr['hp_1'] = 45; // $pvr['hp'] = $pvr['hp_0']; $pvr['hp'] = $this->magatack( $u->info['id'], $this->ue['id'], $pvr['hp'], '', 1 ); diff --git a/_incl_data/class/priem/56.php b/_incl_data/class/priem/56.php index 4a8bddaf..3c7a4312 100644 --- a/_incl_data/class/priem/56.php +++ b/_incl_data/class/priem/56.php @@ -1,8 +1,8 @@ stats[$btl->uids[$u1]]['effects'][$prv['j_priem']]['id'].'" LIMIT 1'); // $pvr['hp'] = floor($pvr['hp']); - + /*$pvr['hp'] = $priem->magatack( $u2, $u1, $pvr['hp'], '', 0 ); + $pvr['promah_type'] = $pvr['hp'][3]; + $pvr['promah'] = $pvr['hp'][2]; + $pvr['krit'] = $pvr['hp'][1]; + $pvr['hp'] = $pvr['hp'][0];*/ $pvr['hpSee'] = '--'; $pvr['hpNow'] = floor($btl->stats[$btl->uids[$u1]]['hpNow']); $pvr['hpAll'] = $btl->stats[$btl->uids[$u1]]['hpAll']; diff --git a/_incl_data/class/priem/71.php b/_incl_data/class/priem/71.php index ac0620bc..d93e3cc0 100644 --- a/_incl_data/class/priem/71.php +++ b/_incl_data/class/priem/71.php @@ -57,7 +57,11 @@ if( isset($pr_used_this) && isset($pr_moment) ) { mysql_query('UPDATE `eff_users` SET `data` = "'.$pvr['redata'].'" WHERE `id` = "'.$btl->stats[$btl->uids[$u1]]['effects'][$prv['j_priem']]['id'].'" LIMIT 1'); // $pvr['hp'] = floor($pvr['hp']); - + /*$pvr['hp'] = $priem->magatack( $u2, $u1, $pvr['hp'], '', 0 ); + $pvr['promah_type'] = $pvr['hp'][3]; + $pvr['promah'] = $pvr['hp'][2]; + $pvr['krit'] = $pvr['hp'][1]; + $pvr['hp'] = $pvr['hp'][0];*/ $pvr['hpSee'] = '--'; $pvr['hpNow'] = floor($btl->stats[$btl->uids[$u1]]['hpNow']); $pvr['hpAll'] = $btl->stats[$btl->uids[$u1]]['hpAll']; diff --git a/_incl_data/class/priem/72.php b/_incl_data/class/priem/72.php index 2dbe0d1b..4c5b4ba1 100644 --- a/_incl_data/class/priem/72.php +++ b/_incl_data/class/priem/72.php @@ -59,7 +59,11 @@ if( isset($pr_used_this) && isset($pr_moment) ) { mysql_query('UPDATE `eff_users` SET `data` = "'.$pvr['redata'].'" WHERE `id` = "'.$btl->stats[$btl->uids[$u1]]['effects'][$prv['j_priem']]['id'].'" LIMIT 1'); // $pvr['hp'] = floor($pvr['hp']); - + /*$pvr['hp'] = $priem->magatack( $u2, $u1, $pvr['hp'], '', 0 ); + $pvr['promah_type'] = $pvr['hp'][3]; + $pvr['promah'] = $pvr['hp'][2]; + $pvr['krit'] = $pvr['hp'][1]; + $pvr['hp'] = $pvr['hp'][0];*/ $pvr['hpSee'] = '--'; $pvr['hpNow'] = floor($btl->stats[$btl->uids[$u1]]['hpNow']); $pvr['hpAll'] = $btl->stats[$btl->uids[$u1]]['hpAll']; diff --git a/_incl_data/class/priem/73.php b/_incl_data/class/priem/73.php index db0f5f19..bbf69211 100644 --- a/_incl_data/class/priem/73.php +++ b/_incl_data/class/priem/73.php @@ -59,6 +59,7 @@ if( isset($pr_used_this) && isset($pr_moment) && !isset($btl->info['id']) && !is mysql_query('UPDATE `eff_users` SET `data` = "'.$pvr['redata'].'" WHERE `id` = "'.$btl->stats[$btl->uids[$u1]]['effects'][$prv['j_priem']]['id'].'" LIMIT 1'); // $pvr['hp'] = floor($pvr['hp']); + //$pvr['hp'] = $priem->magatack( $u2, $u1, $pvr['hp'], '', 0 ); $pvr['promah_type'] = 0; $pvr['promah'] = false; $pvr['krit'] = false; diff --git a/_incl_data/class/priem/74.php b/_incl_data/class/priem/74.php index e83e8390..373d1500 100644 --- a/_incl_data/class/priem/74.php +++ b/_incl_data/class/priem/74.php @@ -59,6 +59,7 @@ if( isset($pr_used_this) && isset($pr_moment) && !isset($btl->info['id']) && !is mysql_query('UPDATE `eff_users` SET `data` = "'.$pvr['redata'].'" WHERE `id` = "'.$btl->stats[$btl->uids[$u1]]['effects'][$prv['j_priem']]['id'].'" LIMIT 1'); // $pvr['hp'] = floor($pvr['hp']); + //$pvr['hp'] = $priem->magatack( $u2, $u1, $pvr['hp'], '', 0 ); $pvr['promah_type'] = 0; $pvr['promah'] = false; $pvr['krit'] = false; diff --git a/_incl_data/class/priem/75.php b/_incl_data/class/priem/75.php index 5e48a70c..d2cfa215 100644 --- a/_incl_data/class/priem/75.php +++ b/_incl_data/class/priem/75.php @@ -59,6 +59,7 @@ if( isset($pr_used_this) && isset($pr_moment) && !isset($btl->info['id']) && !is mysql_query('UPDATE `eff_users` SET `data` = "'.$pvr['redata'].'" WHERE `id` = "'.$btl->stats[$btl->uids[$u1]]['effects'][$prv['j_priem']]['id'].'" LIMIT 1'); // $pvr['hp'] = floor($pvr['hp']); + //$pvr['hp'] = $priem->magatack( $u2, $u1, $pvr['hp'], '', 0 ); $pvr['promah_type'] = 0; $pvr['promah'] = false; $pvr['krit'] = false; diff --git a/_incl_data/class/priem/77.php b/_incl_data/class/priem/77.php index 9838fb0d..3c8e205a 100644 --- a/_incl_data/class/priem/77.php +++ b/_incl_data/class/priem/77.php @@ -61,6 +61,7 @@ if( isset($pr_used_this) && isset($pr_moment) && !isset($btl->info['id']) && !is mysql_query('UPDATE `eff_users` SET `data` = "'.$pvr['redata'].'" WHERE `id` = "'.$btl->stats[$btl->uids[$u1]]['effects'][$prv['j_priem']]['id'].'" LIMIT 1'); // $pvr['hp'] = floor($pvr['hp']); + //$pvr['hp'] = $priem->magatack( $u2, $u1, $pvr['hp'], '', 0 ); $pvr['promah_type'] = 0; $pvr['promah'] = false; $pvr['krit'] = false; diff --git a/_incl_data/class/priem/78.php b/_incl_data/class/priem/78.php index 3c68362f..b941b14d 100644 --- a/_incl_data/class/priem/78.php +++ b/_incl_data/class/priem/78.php @@ -56,6 +56,7 @@ if( isset($pr_used_this) && isset($pr_moment) && !isset($btl->info['id']) && !is mysql_query('UPDATE `eff_users` SET `data` = "'.$pvr['redata'].'" WHERE `id` = "'.$btl->stats[$btl->uids[$u1]]['effects'][$prv['j_priem']]['id'].'" LIMIT 1'); // $pvr['hp'] = floor($pvr['hp']); + //$pvr['hp'] = $priem->magatack( $u2, $u1, $pvr['hp'], '', 0 ); $pvr['promah_type'] = 0; $pvr['promah'] = false; $pvr['krit'] = false; diff --git a/_incl_data/class/priem/79.php b/_incl_data/class/priem/79.php index 2fa98418..f849eaca 100644 --- a/_incl_data/class/priem/79.php +++ b/_incl_data/class/priem/79.php @@ -59,6 +59,7 @@ if( isset($pr_used_this) && isset($pr_moment) && !isset($btl->info['id']) && !is mysql_query('UPDATE `eff_users` SET `data` = "'.$pvr['redata'].'" WHERE `id` = "'.$btl->stats[$btl->uids[$u1]]['effects'][$prv['j_priem']]['id'].'" LIMIT 1'); // $pvr['hp'] = floor($pvr['hp']); + //$pvr['hp'] = $priem->magatack( $u2, $u1, $pvr['hp'], '', 0 ); $pvr['promah_type'] = 0; $pvr['promah'] = false; $pvr['krit'] = false; diff --git a/_incl_data/class/priem/81.php b/_incl_data/class/priem/81.php index 2f2d4feb..febc0a7a 100644 --- a/_incl_data/class/priem/81.php +++ b/_incl_data/class/priem/81.php @@ -57,7 +57,11 @@ if( isset($pr_used_this) && isset($pr_moment) ) { mysql_query('UPDATE `eff_users` SET `data` = "'.$pvr['redata'].'" WHERE `id` = "'.$btl->stats[$btl->uids[$u1]]['effects'][$prv['j_priem']]['id'].'" LIMIT 1'); // $pvr['hp'] = floor($pvr['hp']); - + /*$pvr['hp'] = $priem->magatack( $u2, $u1, $pvr['hp'], '', 0 ); + $pvr['promah_type'] = $pvr['hp'][3]; + $pvr['promah'] = $pvr['hp'][2]; + $pvr['krit'] = $pvr['hp'][1]; + $pvr['hp'] = $pvr['hp'][0];*/ $pvr['hpSee'] = '--'; $pvr['hpNow'] = floor($btl->stats[$btl->uids[$u1]]['hpNow']); $pvr['hpAll'] = $btl->stats[$btl->uids[$u1]]['hpAll']; diff --git a/_incl_data/class/priem/82.php b/_incl_data/class/priem/82.php index f6c76eb7..a9039d96 100644 --- a/_incl_data/class/priem/82.php +++ b/_incl_data/class/priem/82.php @@ -57,7 +57,11 @@ if( isset($pr_used_this) && isset($pr_moment) ) { mysql_query('UPDATE `eff_users` SET `data` = "'.$pvr['redata'].'" WHERE `id` = "'.$btl->stats[$btl->uids[$u1]]['effects'][$prv['j_priem']]['id'].'" LIMIT 1'); // $pvr['hp'] = floor($pvr['hp']); - + /*$pvr['hp'] = $priem->magatack( $u2, $u1, $pvr['hp'], '', 0 ); + $pvr['promah_type'] = $pvr['hp'][3]; + $pvr['promah'] = $pvr['hp'][2]; + $pvr['krit'] = $pvr['hp'][1]; + $pvr['hp'] = $pvr['hp'][0];*/ $pvr['hpSee'] = '--'; $pvr['hpNow'] = floor($btl->stats[$btl->uids[$u1]]['hpNow']); $pvr['hpAll'] = $btl->stats[$btl->uids[$u1]]['hpAll']; diff --git a/_incl_data/class/priem/83.php b/_incl_data/class/priem/83.php index 9b4aac10..e638ff5d 100644 --- a/_incl_data/class/priem/83.php +++ b/_incl_data/class/priem/83.php @@ -57,7 +57,11 @@ if( isset($pr_used_this) && isset($pr_moment) ) { mysql_query('UPDATE `eff_users` SET `data` = "'.$pvr['redata'].'" WHERE `id` = "'.$btl->stats[$btl->uids[$u1]]['effects'][$prv['j_priem']]['id'].'" LIMIT 1'); // $pvr['hp'] = floor($pvr['hp']); - + /*$pvr['hp'] = $priem->magatack( $u2, $u1, $pvr['hp'], '', 0 ); + $pvr['promah_type'] = $pvr['hp'][3]; + $pvr['promah'] = $pvr['hp'][2]; + $pvr['krit'] = $pvr['hp'][1]; + $pvr['hp'] = $pvr['hp'][0];*/ $pvr['hpSee'] = '--'; $pvr['hpNow'] = floor($btl->stats[$btl->uids[$u1]]['hpNow']); $pvr['hpAll'] = $btl->stats[$btl->uids[$u1]]['hpAll']; diff --git a/_incl_data/class/priem/84.php b/_incl_data/class/priem/84.php index 1624515d..c54d3f7b 100644 --- a/_incl_data/class/priem/84.php +++ b/_incl_data/class/priem/84.php @@ -57,7 +57,11 @@ if( isset($pr_used_this) && isset($pr_moment) ) { mysql_query('UPDATE `eff_users` SET `data` = "'.$pvr['redata'].'" WHERE `id` = "'.$btl->stats[$btl->uids[$u1]]['effects'][$prv['j_priem']]['id'].'" LIMIT 1'); // $pvr['hp'] = floor($pvr['hp']); - + /*$pvr['hp'] = $priem->magatack( $u2, $u1, $pvr['hp'], '', 0 ); + $pvr['promah_type'] = $pvr['hp'][3]; + $pvr['promah'] = $pvr['hp'][2]; + $pvr['krit'] = $pvr['hp'][1]; + $pvr['hp'] = $pvr['hp'][0];*/ $pvr['hpSee'] = '--'; $pvr['hpNow'] = floor($btl->stats[$btl->uids[$u1]]['hpNow']); $pvr['hpAll'] = $btl->stats[$btl->uids[$u1]]['hpAll']; diff --git a/_incl_data/class/priem/93.php b/_incl_data/class/priem/93.php index b92bc8d3..8c114d84 100644 --- a/_incl_data/class/priem/93.php +++ b/_incl_data/class/priem/93.php @@ -7,7 +7,7 @@ if(!defined('GAME')) { */ $pvr = array(); // - $pvr['hp'] = rand(1,87); + $pvr['hp'] = rand(40,50); $pvr['hp'] = $this->magatack( $u->info['id'], $this->ue['id'], $pvr['hp'], '', 1 ); $pvr['promah_type'] = $pvr['hp'][3]; $pvr['promah'] = $pvr['hp'][2]; diff --git a/_incl_data/class/priem/95.php b/_incl_data/class/priem/95.php index 7d312b87..2554388e 100644 --- a/_incl_data/class/priem/95.php +++ b/_incl_data/class/priem/95.php @@ -59,8 +59,8 @@ $pvr = array(); $prv['color'] = '909090'; } - - $this->addAirStaticPoints(); /* */ + //$this->mg2static_points( $this->ue['id'] , $btl->stats[$btl->uids[$u->info['id']]] ); +$this->addAirStaticPoints(); /* */ $prv['text2'] = '{tm1} '.$prv['text'].'. maginfoattack($u->info['id'],$this->ue['id'],2).'>'.$pvr['hpSee'].' ['.$pvr['hpNow'].'/'.$pvr['hpAll'].']'; if( $pvr['promah_type'] == 2 ) { diff --git a/_incl_data/class/priems/air.php b/_incl_data/class/priems/air.php index 83a29a64..c5c60624 100644 --- a/_incl_data/class/priems/air.php +++ b/_incl_data/class/priems/air.php @@ -149,7 +149,7 @@ if(isset($hod)) }elseif($pl['id']==93) { // [8] - $hpmin = rand(1,87); + $hpmin = rand(40,50); }elseif($pl['id']==94) { // [9] diff --git a/_incl_data/class/priems/bot_priems1.end.php b/_incl_data/class/priems/bot_priems1.end.php index 6ddc92d5..e48ce372 100644 --- a/_incl_data/class/priems/bot_priems1.end.php +++ b/_incl_data/class/priems/bot_priems1.end.php @@ -540,7 +540,6 @@ if ($this->users[$this->uids[$uid1]]['hpNow'] > 0){ 'cityreg' => $this->users[$this->uids[$uid2]]['cityreg'], 'name' => $this->users[$this->uids[$uid2]]['name'], 'sex' => $this->users[$this->uids[$uid2]]['sex'], - 'deviz' => $this->users[$this->uids[$uid2]]['deviz'], 'hobby' => $this->users[$this->uids[$uid2]]['hobby'], 'time_reg' => $this->users[$this->uids[$uid2]]['time_reg'], 'obraz' => $this->users[$this->uids[$uid2]]['obraz'], diff --git a/_incl_data/class/priems/curse_01.php b/_incl_data/class/priems/curse_01.php index edfec68e..b9b79a87 100644 --- a/_incl_data/class/priems/curse_01.php +++ b/_incl_data/class/priems/curse_01.php @@ -1,8 +1,52 @@ -testPower($this->stats[$this->uids[$uid1]],$this->stats[$this->uids[$uid2]],$hpmin,3,2); + //$hpmin = round($hpmin); + //if($hpmin < 0) { $hpmin = 0; } + //$hp2 = $this->stats[$this->uids[$uid2]]['hpNow']; + // + //// + // + //$hp2 -= $hpmin; + //if($hp2<0) + //{ + // $hp2 = 0; + //}elseif($hp2>$this->stats[$this->uids[$uid2]]['hpNow']) + //{ + // $hp2 = $this->stats[$this->uids[$uid2]]['hpNow']; + //} + // + //$this->takeExp($u->info['id'],$hpmin,$uid1,$uid2); + // + //// + //$this->users[$this->uids[$uid2]]['hpNow'] = $hp2; + //$this->stats[$this->uids[$uid2]]['hpNow'] = $hp2; + //mysql_query('UPDATE `stats` SET `hpNow` = '.$hp2.' WHERE `id` = "'.$uid2.'" LIMIT 1'); + // + //// + //$vLog = 'time1='.time().'||s1='.$this->users[$this->uids[$uid1]]['sex'].'||t1='.$this->users[$this->uids[$uid1]]['team'].'||login1='.$this->users[$this->uids[$uid1]]['login'].'||s2='.$this->users[$this->uids[$uid2]]['sex'].'||t2='.$this->users[$this->uids[$uid2]]['team'].'||login2='.$this->users[$this->uids[$uid2]]['login'].''; + //$mas1 = array('time'=>time(),'battle'=>$this->info['id'],'id_hod'=>($this->hodID),'text'=>'','vars'=>$vLog,'zona1'=>'','zonb1'=>'','zona2'=>'','zonb2'=>'','type'=>'1'); + //if($hpmin>0) + //{ + // $hpmin = '-'.$hpmin; + //}else{ + // $hpmin = '--'; + //} + //$mas1['text'] = '{tm1} {u2} "'.$itm['name'].'". '.$hpmin.' ['.ceil($hp2).'/'.$this->stats[$this->uids[$uid2]]['hpAll'].']'; + //$this->add_log($mas1); + } +} + + +?> \ No newline at end of file diff --git a/_incl_data/class/priems/itm286.end.php b/_incl_data/class/priems/itm286.end.php index cb1751a7..f1daadf8 100644 --- a/_incl_data/class/priems/itm286.end.php +++ b/_incl_data/class/priems/itm286.end.php @@ -12,6 +12,7 @@ if($e['bm_a1']=='itm286' && $end > 0) // $hpmin = rand(5,8); $hpmin += round($this->stats[$this->uids[$uid1]]['mg1']*1.35); + //$hpmin = $priem->testPower($this->stats[$this->uids[$uid1]],$this->stats[$this->uids[$uid2]],$hpmin,1,2); // $hpmin = $priem->magatack($uid1,$uid2,$hpmin,'',false); $hpmin = $hpmin[0]; diff --git a/_incl_data/class/priems/itm347.end.php b/_incl_data/class/priems/itm347.end.php index 8fe085b9..2ebfd8b1 100644 --- a/_incl_data/class/priems/itm347.end.php +++ b/_incl_data/class/priems/itm347.end.php @@ -12,6 +12,7 @@ if($e['bm_a1']=='itm347' && $end > 0) // $hpmin = rand(5,8); $hpmin += round($this->stats[$this->uids[$uid1]]['mg1']*1.35); + //$hpmin = $priem->testPower($this->stats[$this->uids[$uid1]],$this->stats[$this->uids[$uid2]],$hpmin,1,2); // $hpmin = $priem->magatack($uid1,$uid2,$hpmin,'',false); $hpmin = $hpmin[0]; diff --git a/_incl_data/class/quest/1september_obmen.php b/_incl_data/class/quest/1september_obmen.php index f56a7e55..e3e30f57 100644 --- a/_incl_data/class/quest/1september_obmen.php +++ b/_incl_data/class/quest/1september_obmen.php @@ -1,3 +1 @@ - ...'; -?> \ No newline at end of file + ...'; diff --git a/_incl_data/class/quest/dailyquest.php b/_incl_data/class/quest/dailyquest.php index 90ba70e6..711498df 100644 --- a/_incl_data/class/quest/dailyquest.php +++ b/_incl_data/class/quest/dailyquest.php @@ -11,7 +11,7 @@ $txt .= '
    '; */ -$txt = isset($txt) ?: ''; + $test = mysql_fetch_array(mysql_query('SELECT * FROM `actions` WHERE `uid` = "'.$u->info['id'].'" AND `vars`= "day_quest" LIMIT 1')); if (!isset($test['id'])) { diff --git a/_incl_data/crons/bank_updateExchangeRates.php b/_incl_data/crons/bank_updateExchangeRates.php new file mode 100644 index 00000000..dad3cd40 --- /dev/null +++ b/_incl_data/crons/bank_updateExchangeRates.php @@ -0,0 +1,101 @@ +load($url)) { + // xml false + return false; + } + // + $result = []; + // xml + $root = $xml->documentElement; + // 'Valute' + $items = $root->getElementsByTagName('Valute'); + // 'Valute' + foreach ($items as $item) { + // + $code = $item->getElementsByTagName('CharCode')->item(0)->nodeValue; + // , + $value = $item->getElementsByTagName('Value')->item(0)->nodeValue; + // + $nominal = $item->getElementsByTagName('Nominal')->item(0)->nodeValue; + // , + $result[$code] = round(str_replace(',', '.', $value), 5) / $nominal; + }// , + return $result; +} + +$get = getCurs(); +if (Config::get('curency_name') === 'RUB') { + $curency = Config::get('curency_value'); +} else { + $curency = round($get[Config::get('curency_name')] * Config::get('curency_value'), 4); +} + +if ($get['USD'] > 0) { + $price = [ + 'AUD', + 'AZN', + 'AMD', + 'BYR', + 'BGN', + 'BRL', + 'HUF', + 'KRW', + 'DKK', + 'USD', + 'EUR', + 'INR', + 'KZT', + 'CAD', + 'KGS', + 'CNY', + 'LVL', + 'LTL', + 'MDL', + 'RON', + 'TMT', + 'NOK', + 'PLN', + 'XDR', + 'SGD', + 'TJS', + 'TRY', + 'UZS', + 'UAH', + 'GBP', + 'CZK', + 'SEK', + 'CHF', + 'ZAR', + 'JPY', + ]; + $r = ''; + foreach ($price as $value) { + if (!$get[$value]) { + continue; + } + $r .= ',`' . $value . '`="' . $get[$value] . '"'; + } + + Db::sql('insert into bank_table set time = unix_timestamp(), cur = ?, data = ?', [$curency, date('d.m.Y') . $r]); +} diff --git a/_incl_data/crons/battle_clear.php b/_incl_data/crons/battle_clear.php new file mode 100644 index 00000000..c95cc3e7 --- /dev/null +++ b/_incl_data/crons/battle_clear.php @@ -0,0 +1,19 @@ + unix_timestamp() - 360)'); + +////, : `time_over` < "'.(time()-120).'" AND `time_over` > "'.(time() - 360).'" AND `time_over` != 0 +//// + +// (1-5 ) +//$sp = mysql_fetch_array(mysql_query('SELECT * FROM `battle` WHERE `type` = 33 AND `time_over` < "'.(time()-120).'" AND `time_over` > "'.(time() - 360).'" AND `time_over` != 0 ORDER BY `battle`.`time_over` DESC LIMIT 1')); +//if (isset($sp['id'])) +// { +// mysql_query('UPDATE `battle` SET `time_over` = `time_over` - 300 WHERE `id` = "'.$sp['id'].'" LIMIT 1'); +// $sps = mysql_query('SELECT * FROM `users` WHERE `mail` LIKE "haot@new-combats.com" AND `battle` = 0'); +// while( $pl = mysql_fetch_array($sps)) +// { +// if (isset($pl['id'])) +// { +// mysql_query('UPDATE `users` SET `inUser` = "0" WHERE `inUser` = "'.$pl['id'].'" LIMIT 1'); +// mysql_query('DELETE FROM `users` WHERE `id` = "'.$pl['id'].'" LIMIT 1'); +// mysql_query('DELETE FROM `stats` WHERE `id` = "'.$pl['id'].'" LIMIT 1'); +// mysql_query('DELETE FROM `items_users` WHERE `uid` = "'.$pl['id'].'" LIMIT 100'); +// mysql_query('DELETE FROM `eff_users` WHERE `uid` = "'.$pl['id'].'" LIMIT 100'); +// } +// } +// } + + +// + +//todo, , . , : || !isset($test['id'] + +//'update users +// left join stats on users.id = stats.id +// left join battle on users.id = battle.id +//set +// users.battle = 0, +// stats.battle_yron = 0 +//where +// users.battle > 0 and +// battle.time_over between 1 and unix_timestamp() - 600'; + +$sps = mysql_query('SELECT * FROM `users` WHERE `battle` > 0'); +while( $pl = mysql_fetch_array($sps)) + { + if (isset($pl['id'])) + { + $test = mysql_fetch_array(mysql_query('SELECT * FROM `battle` WHERE `id` = "'.$pl['battle'].'" LIMIT 1')); + if (($test['time_over'] < (time()-600) && $test['time_over'] !=0) || !isset($test['id'])) + { + mysql_query('UPDATE `users` SET `battle`= 0 WHERE `id` = "'.$pl['id'].'" LIMIT 1'); + mysql_query('UPDATE `stats` SET `battle_yron` = 0 WHERE `id` = "'.$pl['id'].'" LIMIT 1'); + } + } + } +// +unset($sp,$sps,$pl,$test); + diff --git a/_incl_data/crons/battle_start.php b/_incl_data/crons/battle_start.php new file mode 100644 index 00000000..33c3550a --- /dev/null +++ b/_incl_data/crons/battle_start.php @@ -0,0 +1,16 @@ +testCronZv(); +Tournament::startAllBattles(); diff --git a/_incl_data/crons/battle_startPrizhaot.php b/_incl_data/crons/battle_startPrizhaot.php new file mode 100644 index 00000000..0481cca1 --- /dev/null +++ b/_incl_data/crons/battle_startPrizhaot.php @@ -0,0 +1,49 @@ +! ", 'capitalcity', + ] +); + +Db::sql( + 'insert into chat (`text`,`type`,`new`,`time`) values (?,6,1,unix_timestamp())', + [ + "!!! .", + ] +); diff --git a/_incl_data/crons/bot_calls.php b/_incl_data/crons/bot_calls.php new file mode 100644 index 00000000..f57a37af --- /dev/null +++ b/_incl_data/crons/bot_calls.php @@ -0,0 +1,109 @@ +$login [$level]  + + inf + + HTML; +} + +function testMonster(array $mon): bool // ? ? ? +{ + return + ( + $mon['back_day'] === -1 || + ( + $mon['back_day'] === 7 || + $mon['back_day'] === idate('w') + ) && + $mon['back_day'] === 7 + ) && + ( + $mon['back_dd'] === -1 || + $mon['back_dd'] === idate('j') + ) && + ( + $mon['back_mm'] === -1 || + $mon['back_mm'] === idate('n') + ) && + ( + $mon['back_hh'] === -1 || + $mon['back_hh'] === idate('H') && + ( + $mon['back_min'] === -1 || + $mon['back_min'] >= idate('i') + ) + ); +} + +$rows = Db::getRows('select * from users left join stats on users.id = stats.id where no_ip = \'trupojor\' limit 100'); + +foreach ($rows as $row) { + $act = 0; + if ($row['online'] < time() - 60) { + $row['online'] = time(); + Db::sql('update users set online = ? where id = ?', [$row['online'], $row['id']]); + } + + $mon = Db::getRow('select * from aaa_monsters where uid = ?', [$row['id']]); + + if ($row['res_x'] < time()) { + if (isset($mon['id'])) { // + // (303) - + if (testMonster($mon) && $row['room'] == 303) { + Db::sql('update users set room = ? where id = ?', [$mon['start_room'], $row['id']]); + Db::sql('update stats set hpNow = hpAll, mpNow = mpAll where id = ?', [$row['id']]); + if ($mon['start_text']) { + $str = '! '; + $str .= str_replace('{b}', makeLogin($row['id'], $row['login'], $row['level']), $mon['start_text']); + Db::sql( + 'insert into chat (text, city, type, new, time) values (?,?,6,1,unix_timestamp())', + [$str, $row['city']] + ); + } + $act = 1; + } + } else { + //+1hour + Db::sql('update stats set res_x = unix_timestamp() + 3600 where id = ?', [$row['id']]); + } + } + + if ( + $act == 0 && + $row['room'] != 303 && + $row['battle'] == 0 && + isset($mon['id']) && + testMonster($mon) + ) { + // , (303). + Db::sql('update users set room = 303 where id = ?', [$row['id']]); + if ($mon['back_text']) { + $str = '! '; + $str .= str_replace('{b}', makeLogin($row['id'], $row['login'], $row['level']), $mon['back_text']); + Db::sql( + 'insert into chat (text, city, type, new, time) + values + (?,?,6,1,unix_timestamp()), + (?,?,1,1,unix_timestamp())', + [$str, $row['city'], $str, $row['city']] + ); + } + $act = 2; + } + sleep(1); +} diff --git a/_incl_data/crons/bot_core.php b/_incl_data/crons/bot_core.php new file mode 100644 index 00000000..59cb0307 --- /dev/null +++ b/_incl_data/crons/bot_core.php @@ -0,0 +1,60 @@ + 400000 and level = 8 and stats.id in ($uids)"); +Db::sql("update stats left join users on stats.id = users.id set exp = 3500000 where exp > 3500000 and level = 9 and stats.id in ($uids)"); +Db::sql("update stats left join users on stats.id = users.id set exp = 48000000 where exp > 48000000 and level = 10 and stats.id in ($uids)"); +Db::sql("update stats left join users on stats.id = users.id set exp = 148000000 where exp > 148000000 and level = 11 and stats.id in ($uids)"); +Db::sql("update stats left join users on stats.id = users.id set exp = 400000000 where exp > 400000000 and level = 12 and stats.id in ($uids)"); + +Db::sql("update users set online = unix_timestamp() where timereg != 0 and id in ($uids)"); +Db::sql("update users set timereg = unix_timestamp() where timereg = 0 and id in ($uids)"); + +Db::sql("update stats set bot = 2 where bot = 0 and id in ($uids)"); + +Db::sql("update stats set nextAct = unix_timestamp() where id in ($uids)"); + +# ?! +$btltest = []; +$data = Db::getRows('select zv, stats.id, battle from users left join stats on users.id = stats.id where no_ip = ? or pass = ? order by nextAct', ['trupojor', 'saintlucia']); +foreach ($data as $row) { + if ($row['zv']) { + $zv = Db::getValue('select razdel from zayvki where id = ? and btl_id = 0 and razdel != 5', [$row['zv']]); + if ($zv) { + Db::sql('update stats set zv = 0 where id = ?', [$row['id']]); + $row['zv'] = 0; + } + } + if ($row['battle']=== -1) { + Db::sql('update users left join stats on users.id = stats.id set battle = 0, ipreg = 0, zv = 0 where users.id = ?', [$row['id']]); + $row['battle'] = 0; + } + if (in_array(idate('i'), [5, 6, 15, 16, 25, 26, 35, 36, 45]) && $row['zv'] === 0) { + Db::sql('update users set ipreg = 0 where id = ?', [$row['id']]); + } + + if ($row['zv'] === 0 && ($row['battle'] === 0 || empty($btltest[$row['battle']]) || $btltest[$row['battle']] < 1)) { + $btltest[$row['battle']]++; + Db::sql('update users set online = unix_timestamp(), afk = ? where id = ?', ['', $row['id']]); + BotLogic::start($row['id']); + } else { + Db::sql('update users set online = unix_timestamp() where id = ?', [$row['id']]); + } +} + diff --git a/_incl_data/crons/crontab.ini b/_incl_data/crons/crontab.ini new file mode 100644 index 00000000..09c0e03a --- /dev/null +++ b/_incl_data/crons/crontab.ini @@ -0,0 +1,18 @@ +* * * * * /usr/local/bin/php -f /home/newcom1/public_html/cron_tower.php; +0 0 * * * /usr/local/bin/php -f /home/newcom1/public_html/cron/clear.php; +* * * * * /usr/local/bin/php -f /home/newcom1/public_html/cron_dungeon_goBots.php +0 1 * * * /usr/local/bin/php /home/newcom1/public_html/_incl_data/crons/bank_updateExchangeRares.php +20 */3 * * * /usr/local/bin/php /home/newcom1/public_html/_incl_data/crons/battle_clear.php +* * * * * /usr/local/bin/php /home/newcom1/public_html/_incl_data/crons/battle_finish.php +* * * * * /usr/local/bin/php /home/newcom1/public_html/_incl_data/crons/battle_start.php +10 1,2,8-23 * * * /usr/local/bin/php /home/newcom1/public_html/_incl_data/crons/battle_startPrizhaot.php +* * * * * /usr/local/bin/php /home/newcom1/public_html/_incl_data/crons/bot_calls.php +* * * * * /usr/local/bin/php /home/newcom1/public_html/_incl_data/crons/bot_core.php +0 12 * * 1 /usr/local/bin/php /home/newcom1/public_html/_incl_data/crons/cshop_returnToOwner.php +0 */6 * * * /usr/local/bin/php /home/newcom1/public_html/_incl_data/crons/cshop_sellToShop.php +0 */1 * * * /usr/local/bin/php /home/newcom1/public_html/_incl_data/crons/dungeon_clear.php +0 3 */1 * * /usr/local/bin/php /home/newcom1/public_html/_incl_data/crons/game_clear.php +0 */1 * * * /usr/local/bin/php /home/newcom1/public_html/_incl_data/crons/quests.php +0 0 * * * /usr/local/bin/php /home/newcom1/public_html/_incl_data/crons/rating_clans.php +0 0 * * * /usr/local/bin/php /home/newcom1/public_html/_incl_data/crons/rating_pers.php +*/15 * * * * /usr/local/bin/php /home/newcom1/public_html/_incl_data/crons/rupor.php \ No newline at end of file diff --git a/_incl_data/crons/cshop_returnToOwner.php b/_incl_data/crons/cshop_returnToOwner.php new file mode 100644 index 00000000..14816f01 --- /dev/null +++ b/_incl_data/crons/cshop_returnToOwner.php @@ -0,0 +1,98 @@ +Shop.capitalcity": : [id="%s"/ : "%s"/ : "%s"/ : "$s"].'; +const RETURN_ONE = '"Shop.capitalcity": : [id="%s"/ : "%s"/ : "%s"].'; +const SHOP_TYPE = 'Shop.comission'; + +$u = User::start(); + +$q = 'select + items_main.id, + uid, + inGroup, + item_id, + price1, + name +from +items_users + left join items_main on items_main.id = item_id +where inShop = 30 and `delete` = 0'; + + +foreach (Db::getRows($q) as $row) { + if ($row['inGroup']) { + $col = $u->itemsX($row['id']); + if ($col > 1) { + $stmt = Db::prepare(' +update items_users set inShop = 0, 1price = ? +where + item_id = ? and + inShop = 30 and + uid = ? and + inGroup = ? +limit ' . $col); + if ($stmt->execute([$row['price1'], $row['item_id'], $row['uid'], $row['inGroup']])) { + $ld = $u->addDelo( + 1, + $row['uid'], + sprintf(RETURN_GROUP, $row['item_id'], $row['name'], $row['price1'], $row['inGroup'] . '+1'), + time(), + $u->info['city'], + SHOP_TYPE, + 0, + 0 + ); + } + } else { + $stmt = Db::prepare(' +update items_users set inShop = 0, 1price = ? +where + uid = ? and + id = ? and + inOdet = 0 and + `delete` = 0 and + inShop = 30 + '); + if ($stmt->execute([$row['price1'], $row['uid'], $row['id']])) { + $ld = $u->addDelo( + 1, + $row['uid'], + sprintf(RETURN_ONE, $row['item_id'], $row['name'], $row['price1']), + time(), + $u->info['city'], + SHOP_TYPE, + 0, + 0 + ); + } + } + } else { + $stmt = Db::prepare('update items_users set inShop = 0, 1price = ? where id = ? and inShop = 30'); + if ($stmt->execute([$row['price1'], $row['id']])) { + $ld = $u->addDelo( + 1, + $row['uid'], + sprintf(RETURN_ONE, $row['item_id'], $row['name'], $row['price1']), + time(), + $u->info['city'], + SHOP_TYPE, + 0, + 0 + ); + } + } +} diff --git a/_incl_data/crons/cshop_sellToShop.php b/_incl_data/crons/cshop_sellToShop.php new file mode 100644 index 00000000..24ad4292 --- /dev/null +++ b/_incl_data/crons/cshop_sellToShop.php @@ -0,0 +1,59 @@ + + * @todo cshop_returnToOwner. + * @todo . " ", , ? + */ + +const TIME_LAST = 86400; // 1 day +const AUC = ' '; +const AUC_WIN = ' . "%s" %s . .'; +const AUC_SELL = ' "%s" , %s . .'; +const AUC_SELL_LOG = ' : "%s" %s .'; +const AUC_NOT_SELL = ' "%s" , .'; + +$query = [ //all queries + 'insert into chat (new, login, `to`, text, time, type) values (1, ?, ?, ?, unix_timestamp(), 6)', + 'select * from items_auc where time_end = 0 and time < unix_timestamp() - ? order by user_buy', + 'select login from users where id = ?', + 'select count(*) from users where id = ?', + 'update items_users set uid = ?, lastUPD = unix_timestamp() where (id = ? or inGroup = ?) and uid = 0', + 'insert into items_users (`delete`, item_id, 1price, uid, lastUPD, `data`) values (0, 1220, ?, ?, unix_timestamp(), ?)', + 'insert into post (uid, sender_id, time, money, text) values (?, 0, unix_timestamp(), ?, ?)', + 'update items_auc set time_end = unix_timestamp() where id = ?', +]; + +$sp = Db::getRow($query[1], [TIME_LAST]); +foreach ($sp as $pl) { + if ($pl['x'] > 0) { + $pl['name'] .= ' (x' . $pl['x'] . ')'; + } + $userLogin = Db::getValue($query[2], [$pl['uid']]); + if ($pl['user_buy'] && Db::getValue($query[3], [$pl['user_buy']])) { + Db::sql($query[4], [$pl['user_buy'], $pl['item_id'], $pl['item_id']]); + Db::sql($query[0], [AUC, $pl['user_buy'], sprintf(AUC_WIN, $pl['name'], $pl['price'])]); + if ($userLogin) { + Db::sql($query[0], [AUC, $userLogin, sprintf(AUC_SELL, $pl['name'], $pl['price'])]); + Db::sql($query[5], [$pl['price'], '-51' . $pl['uid'], '']); + Db::sql($query[6], [$pl['uid'], $pl['price'], sprintf(AUC_SELL_LOG, $pl['name'], $pl['price'])]); + } + } elseif ($userLogin) { + Db::sql($query[4], [$pl['uid'], $pl['item_id'], $pl['item_id']]); + Db::sql($query[0], [AUC, $userLogin, sprintf(AUC_NOT_SELL, $pl['name'])]); + } + Db::sql($query[7], [$pl['id']]); +} diff --git a/_incl_data/crons/dungeon_clear.php b/_incl_data/crons/dungeon_clear.php new file mode 100644 index 00000000..0f2b374b --- /dev/null +++ b/_incl_data/crons/dungeon_clear.php @@ -0,0 +1,80 @@ + 0 and + users.online < unix_timestamp() - 10800 and + dungeon_now.time_start < unix_timestamp() - 10800 and + dungeon_now.time_finish = 0 and + dungeon_now.bsid = 0 + group by dungeon_now.id order by dungeon_now.id desc + ' +); + +foreach ($dungeons as $dungeon) { + if (!$dungeon['did'] || $dungeon['did'] === 15) { + continue; + } + # [1] `382` + + $podvalRoom = 382; + if ($dungeon['city'] === 'capitalcity') { + $podvalRoom = 321; + } elseif ($dungeon['city'] === 'angelscity') { + $podvalRoom = 242; + } + + Db::sql('update stats set dnow = 0 where id in (select id from stats where dnow = ? limit 10)', [$dungeon['did']]); + # + Db::sql( + 'update users set room = ? where id in (select id from stats where dnow = ? limit 10)', + [$podvalRoom, $dungeon['did']] + ); + # + Db::sql( + 'update items_users set `delete` = unix_timestamp() where dn_delete = 1 and uid in (select id from stats where dnow = ? limit 10)', + [$dungeon['did']] + ); + + # [2] . + Db::sql('delete from dungeon_obj where for_dn = 0 and dn = ?', [$dungeon['did']]); + + # [3] . + Db::sql('delete from dungeon_bots where for_dn = 0 and dn = ?', [$dungeon['did']]); + + # [4] . + Db::sql('delete from dungeon_items where for_dn = 0 and dn = ?', [$dungeon['did']]); + + # [5] (actions) + Db::sql('delete from dungeon_actions where dn = ?', [$dungeon['did']]); + + # [6] Dungeon_Now - time_finish = time(); + Db::sql('update dungeon_now set time_finish = unix_timestamp() where id = ?', [$dungeon['did']]); +} diff --git a/_incl_data/crons/game_clear.php b/_incl_data/crons/game_clear.php new file mode 100644 index 00000000..f774a24b --- /dev/null +++ b/_incl_data/crons/game_clear.php @@ -0,0 +1,78 @@ + 0'); +// Очистка чата, остается 30 минут. +Db::sql('delete from chat where time < unix_timestamp() - 1800'); +Db::sql('delete from chat_system where time < unix_timestamp() - 1800'); +// Очистка заявок в поединки +Db::sql('delete from zayvki where start > 0 or cancel > 0 or time < unix_timestamp() - 43200'); +// Очистка заявок в пещеры +Db::sql('delete from dungeon_zv where `delete` > 0 or time < unix_timestamp() - 43200'); + +// Очистка походов +$uids = getIds('select id from dungeon_now where time_start < unix_timestamp() - 43200 or time_finish > 0'); +Db::sql('delete from dungeon_actions where dn in (?)', [$uids]); +Db::sql('delete from dungeon_bots where dn in (?)', [$uids]); +Db::sql('delete from dungeon_items where dn in (?)', [$uids]); +Db::sql('delete from dungeon_obj where dn in (?)', [$uids]); +Db::sql('delete from dungeon_now where id in (?)', [$uids]); +unset($uids); + +// Очистка банов (10 дней) и отсутствующих (30 дней) и "явных ботов" +$uids = getIds( + 'select id from users where + banned between 1 and unix_timestamp() - 86400 * 10 or + level < 10 and admin = 0 and online between 1 and unix_timestamp() - 86400 * 30 or + ip = 0 and online = 0 and battle = 0 + ' +); +Db::sql('delete from items_users where uid in (?)', [$uids]); +Db::sql('delete from eff_users where uid in (?)', [$uids]); +Db::sql('delete from users where id in (?)', [$uids]); +Db::sql('delete from rep where id in (?)', [$uids]); +Db::sql('delete from stats where id in (?)', [$uids]); +Db::sql('delete from online where uid in (?)', [$uids]); +Db::sql('delete from actions where uid in (?)', [$uids]); +unset($uids); + +// Прочее +$uids = getIds('select id from users'); +Db::sql('delete from items_users where uid > 0 and uid not in (?)', [$uids]); +Db::sql('delete from eff_users where uid > 0 and uid not in (?)', [$uids]); +Db::sql('delete from users_achiv where id > 0 and id not in (?)', [$uids]); +Db::sql('delete from aaa_bonus where uid > 0 and uid not in (?)', [$uids]); +Db::sql('delete from users_delo where uid > 0 and uid not in (?) or time < unix_timestamp() - 86400 * 10', [$uids]); +Db::sql('delete from users_reting where uid > 0 and uid not in (?)', [$uids]); +Db::sql('delete from aaa_reting_list where uid > 0 and uid not in (?)', [$uids]); +Db::sql('delete from rep where id > 0 and id not in (?)', [$uids]); +Db::sql('delete from aaa_znahar where uid > 0 and uid not in (?)', [$uids]); +Db::sql('delete from user_operation where uid > 0 and uid not in (?)', [$uids]); +Db::sql( + 'delete from actions where + uid > 0 and uid not in (?) or + vars = ? or + vals = ? or + vars != ? and time < unix_timestamp() - 86400 * 60', + [$uids, 'day_quest', 'loto', 'read'] +); +unset($uids); + +// Голосовые сообщения +Db::sql('delete from uploads where id > 0'); diff --git a/_incl_data/crons/quests.php b/_incl_data/crons/quests.php new file mode 100644 index 00000000..80a70c22 --- /dev/null +++ b/_incl_data/crons/quests.php @@ -0,0 +1,80 @@ + 0) { + $add_exp_list[$clan['cid']] = $add_exp; // + $all_exp_list[$clan['cid']] = $global_exp + $add_exp; // + + } +} + +arsort($all_exp_list); + +$keys = array_keys($all_exp_list); + +$i = 0; +foreach ($keys as $key) { + $i++; + if (!$key) { + continue; + } + Db::sql( + 'insert into aaa_clan_reting_list (level, xu, win, lose, nich, exp_real, clan, pos, global, exp, date, time) values (?,?,?,?,?,?,?,?,?,?,?,unix_timestamp())', + [ + $level_list[$key], + $xu_list[$key], + $win_list[$key], + $lose_list[$key], + $nich_list[$key], + $exp_list[$key], + $key, + $i, + $all_exp_list[$key], + $add_exp_list[$key], + date('dmY'), + ] + ); +} + +$stmt = Db::prepare('update clan set money2 = money2 + ? where id = ?'); +$stmt->execute([$xu_list[0] * 0.3, $keys[0]]); +$stmt->execute([$xu_list[1] * 0.2, $keys[1]]); +$stmt->execute([$xu_list[2] * 0.1, $keys[2]]); + +Db::sql( + 'insert into chat (text, city, type, new, time) values + (?,\'capitalcity\',6,1,unix_timestamp()), + (?,\'capitalcity\',6,1,unix_timestamp()), + (?,\'capitalcity\',6,1,unix_timestamp()), + (?,\'capitalcity\',6,1,unix_timestamp())', + [ + ' ' . date('d-m-Y') . ' ', + ' ' . $log_list[0] . ' ' . $xu_list[0] * 0.3 . ' . 1- !', + ' ' . $log_list[1] . ' ' . $xu_list[1] * 0.2 . ' . 2- !', + ' ' . $log_list[2] . ' ' . $xu_list[2] * 0.1 . ' . 3- !', + ] +); + +Db::sql('update stats set repexp = 0 where repexp > 0'); diff --git a/_incl_data/crons/rating_pers.php b/_incl_data/crons/rating_pers.php new file mode 100644 index 00000000..90364578 --- /dev/null +++ b/_incl_data/crons/rating_pers.php @@ -0,0 +1,133 @@ + 0 order by id desc'); +foreach ($payOperations as $operation) { + if (!isset($ub[$operation['uid']])) { + $ui[] = $operation['uid']; + } + $ub[$operation['uid']][date('d.m.Y', $operation['good'])] = $operation['ekr']; +} + +// ?! +foreach ($ui as $item) { + if (!$item) { + continue; + } + $k = 0; + $nj = 0; + for ($i = 0; $i <= 1000; $i++) { + $date = date('d.m.Y', time() - (86400 * $i)); + if (isset($ub[$item][$date])) { + $k++; + $nj = 0; + } elseif ($i > 0 && $nj >= 6) { + $j = 1000; + } else { + $nj++; + } + } + Db::sql('replace into users_paybonus (id, level) values (?,?)', [$item, $k]); +} + +$log_list = []; +$add_exp_list = []; +$all_exp_list = []; +$exp_list = []; +$win_list = []; +$global_exp = 0; + +Db::sql('delete from aaa_reting_list where date = ?', [date('dmY')]); + +$users = Db::getRows( + ' +select + stats.id, + login, + users.win as uwin, + stats.exp as sexp, + repexp, + aaa_reting_list.exp as aexp, + global, + exp_real +from users + left join stats on stats.id = users.id + left join aaa_reting_list on users.id = uid +where `real` = 1 and admin = 0 and bot = 0 +' +); +foreach ($users as $user) { + $exp_list[$user['id']] = $user['sexp']; + $win_list[$user['id']] = $user['uwin']; + $log_list[$user['id']] = $user['login']; + $add_exp = $user['sexp']; + + if (idate('d') !== 1) { // 1 + $global_exp = round($user['global']); + } + + $global_exp = $global_exp + round($user['repexp']); + $add_exp_list[$user['id']] = $add_exp; // + $all_exp_list[$user['id']] = $global_exp;// + $add_exp; // + +} + +arsort($all_exp_list); + +$keys = array_keys($all_exp_list); + +$i = 0; +foreach ($keys as $key) { + if (!$key) { + continue; + } + $i++; + Db::sql( + 'insert into aaa_reting_list (uid, pos, global, exp, exp_real, date, time, win) values (?,?,?,?,?,?,unix_timestamp(),?)', + [ + $key, + $i, + $all_exp_list[$key], + $add_exp_list[$key], + $exp_list[$key], + date('dmY'), + $win_list[$key], + ] + ); +} + +$stmt = Db::prepare('update users set money2 = money2 + ? where id = ?'); +$stmt->execute([1, $keys[0]]); +$stmt->execute([0.75, $keys[1]]); +$stmt->execute([0.5, $keys[2]]); +$stmt->execute([0.25, $keys[3]]); +$stmt->execute([0.15, $keys[4]]); + +Db::sql( + 'insert into chat (text, city, type, new, time) values + (?,\'capitalcity\',6,1,unix_timestamp()), + (?,\'capitalcity\',6,1,unix_timestamp()), + (?,\'capitalcity\',6,1,unix_timestamp()), + (?,\'capitalcity\',6,1,unix_timestamp()), + (?,\'capitalcity\',6,1,unix_timestamp()), + (?,\'capitalcity\',6,1,unix_timestamp())', + [ + ' ' . date('d-m-Y') . ' ', + ' ' . $log_list[0] . ' 1 . 1- !', + ' ' . $log_list[1] . ' 0.75 . 2- !', + ' ' . $log_list[2] . ' 0.5 . 3- !', + ' ' . $log_list[3] . ' 0.25 . 4- !', + ' ' . $log_list[4] . ' 0.15 . 5- !', + ] +); diff --git a/_incl_data/crons/rupor.php b/_incl_data/crons/rupor.php new file mode 100644 index 00000000..10e5298b --- /dev/null +++ b/_incl_data/crons/rupor.php @@ -0,0 +1,28 @@ + 0 OR `cancel` > 0 OR `time` < "'.(time()-86400*1).'"'); + +//3. +mysql_query('DELETE FROM `dungeon_zv` WHERE `delete` > 0 OR `time` < "'.(time()-86400*1).'"'); + +//4. +$sp = mysql_query('SELECT * FROM `dungeon_now` WHERE `time_start` < "'.(time()-86400*1).'" OR `time_finish` > 0'); +while( $pl = mysql_fetch_array($sp) ) { + mysql_query('DELETE FROM `dungeon_actions` WHERE `dn` = "'.$pl['id'].'"'); + mysql_query('DELETE FROM `dungeon_bots` WHERE `dn` = "'.$pl['id'].'"'); + mysql_query('DELETE FROM `dungeon_items` WHERE `dn` = "'.$pl['id'].'"'); + mysql_query('DELETE FROM `dungeon_obj` WHERE `dn` = "'.$pl['id'].'"'); + mysql_query('DELETE FROM `dungeon_now` WHERE `id` = "'.$pl['id'].'"'); +} + +//5. +$i = 0; +$sp = mysql_query('SELECT * FROM `users` WHERE `real` = 0 ORDER BY `id` ASC LIMIT 100'); +while( $pl = mysql_fetch_array($sp) ) { + $btl = mysql_fetch_array(mysql_query('SELECT * FROM `battle` WHERE `id` = "'.$pl['battle'].'" LIMIT 1')); + $clon = mysql_fetch_array(mysql_query('SELECT `id` FROM `users` WHERE `inUser` = "'.$pl['id'].'" LIMIT 1')); + if( (!isset($btl['id']) || $btl['team_win'] >= 0) && !isset($clon['id']) ) { + // + delete_user_all( $pl['id'] , $pl['login'] ); + $i++; + } +} +$x = mysql_fetch_array(mysql_query('SELECT COUNT(*) FROM `users` WHERE `real` = 0 LIMIT 1')); +$x = $x[0]; + +mysql_query('DELETE FROM `stats` WHERE `id` NOT IN (SELECT `id` FROM `users`);'); +mysql_query('DELETE FROM `items_users` WHERE `delete` > `time_create` AND `delete` > 0'); + +//6. +mysql_query('DELETE FROM `users_delo` WHERE `time` < "'.(time()-86400*30).'" LIMIT 1000'); + +//7. +mysql_query('UPDATE `users` SET `ang_g` = 0 WHERE `ang_g` > 0'); + diff --git a/_incl_data/crons/undone/cron_dungeon_goBots.php b/_incl_data/crons/undone/cron_dungeon_goBots.php new file mode 100644 index 00000000..d188582e --- /dev/null +++ b/_incl_data/crons/undone/cron_dungeon_goBots.php @@ -0,0 +1,492 @@ + . +function botAttack($bot, $user) +{ + if ($user['userBattle'] > 0) { + $battleID = mysql_fetch_array( + mysql_query( + 'SELECT `id` FROM `battle` WHERE `id` = "' . $user['userBattle'] . '" AND `team_win` = "-1" LIMIT 1' + ) + ); + } + if (!isset($battleID['id'])) { // + $btl_id = 0; + $expB = 0; + $btl = ['players' => '', 'timeout' => 180, 'type' => 0, 'invis' => 0, 'noinc' => 0, 'travmChance' => 0, 'typeBattle' => 0, 'addExp' => $expB, 'money' => 0]; + + $ins = mysql_query( + 'INSERT INTO `battle` + (`dungeon`,`dn_id`,`x`,`y`,`city`,`time_start`,`players`,`timeout`,`type`,`invis`,`noinc`,`travmChance`,`typeBattle`,`addExp`,`money`) + VALUES ( + "' . $bot['dn_id'] . '", + "' . $bot['this_dn'] . '", + "' . $bot['x'] . '", + "' . $bot['y'] . '", + "' . $bot['userCity'] . '", + "' . time() . '", + "' . $btl['players'] . '", + "' . $btl['timeout'] . '", + "' . $btl['type'] . '", + "' . $btl['invis'] . '", + "' . $btl['noinc'] . '", + "' . $btl['travmChance'] . '", + "' . $btl['typeBattle'] . '", + "' . $btl['addExp'] . '", + "' . $btl['money'] . '" + )' + ); + $btl_id = mysql_insert_id(); + + if ($btl_id > 0) { // + $j = 0; + $logins_bot = []; + mysql_query( + 'UPDATE `dungeon_bots` SET `inBattle` = "' . $btl_id . '" WHERE `id2` = "' . $bot['id2'] . '" LIMIT 1' + ); + $jui = 1; + while ($jui <= $bot['colvo']) { + $k = botAddBattle($bot, $logins_bot); + $logins_bot = $k['logins_bot']; + if ($k != false) { + $upd = mysql_query( + 'UPDATE `users` SET `battle` = "' . $btl_id . '" WHERE `id` = "' . $k['id'] . '" LIMIT 1' + ); + if ($upd) { + $upd = mysql_query('UPDATE `stats` SET `team` = "2" WHERE `id` = "' . $k['id'] . '" LIMIT 1'); + if ($upd) { + $j++; + } + } + } + $jui++; + } + unset($logins_bot); + if ($j > 0) { + mysql_query( + 'UPDATE `users` SET `battle` = "' . $btl_id . '" WHERE `id` = "' . $user['userId'] . '" LIMIT 1' + ); + mysql_query('UPDATE `stats` SET `team` = "1" WHERE `id` = "' . $user['userId'] . '" LIMIT 1'); + } + } + } else { # . + $j = 0; + $logins_bot = []; + $logins_bot_text = []; + $logins_bot_vars = ['time1=' . time() . '']; + $logins_bot_inBattle = mysql_query( + 'SELECT SUBSTRING_INDEX(`login`, " (", 1) as login2, count(`login`) as count, `login` FROM `battle_users` WHERE `battle` = "' . $battleID['id'] . '" AND `team`=2 GROUP BY `login2`' + ); + while ($row = mysql_fetch_array($logins_bot_inBattle)) { + $logins_bot[$row['login2']] = (int)$row['count']; + } + mysql_query( + 'UPDATE `dungeon_bots` SET `inBattle` = "' . $battleID['id'] . '" WHERE `id2` = "' . $bot['id2'] . '" LIMIT 1' + ); + $jui = 1; + while ($jui <= $bot['colvo']) { + $k = botAddBattle($bot, $logins_bot); + $logins_bot = $k['logins_bot']; + + $logins_bot_text[] = ' ' . $k['login'] . ''; + if ($k != false) { + $upd = mysql_query( + 'UPDATE `users` SET `battle` = "' . $battleID['id'] . '" WHERE `id` = "' . $k['id'] . '" LIMIT 1' + ); + if ($upd) { + $upd = mysql_query('UPDATE `stats` SET `team` = "2" WHERE `id` = "' . $k['id'] . '" LIMIT 1'); + if ($upd) { + $j++; + } + } + } + $jui++; + } + if ($j > 0) { + $logins_bot_text = '{tm1} : ' . implode(', ', $logins_bot_text) . '.'; + $logins_bot_vars = implode('||', $logins_bot_vars); + $battle_log = mysql_fetch_array( + mysql_query( + 'SELECT * FROM `battle_logs` WHERE `battle`=' . $battleID['id'] . ' ORDER BY `id_hod` DESC LIMIT 1' + ) + ); + if ($battle_log['id_hod'] > 0) { + mysql_query( + 'INSERT INTO `battle_logs` (`time`,`battle`,`id_hod`,`text`,`vars`,`zona1`,`zonb1`,`zona2`,`zonb2`,`type`) VALUES ("' . time( + ) . '","' . $battleID['id'] . '","' . ($battle_log['id_hod'] + 1) . '","' . $logins_bot_text . '","' . $logins_bot_vars . '","","","","",1)' + ); + } + } + unset($logins_bot); + if ($j > 0) { + mysql_query( + 'UPDATE `users` SET `battle` = "' . $battleID['id'] . '" WHERE `id` = "' . $user['id'] . '" LIMIT 1' + ); + mysql_query('UPDATE `stats` SET `team` = "1" WHERE `id` = "' . $user['id'] . '" LIMIT 1'); + } + unset($logins_bot_inBattle); + } +} + +# -> +function botAddBattle($bot, $logins_bot) +{ + $add_bot = mysql_fetch_array( + mysql_query( + 'SELECT + `id`, `login`, `stats`, `obraz`, `level`, `sex`, `name`, `hobby`, `type`, `itemsUse`, `priemUse`, `align`, `clan`, `align_zvanie`, `bonus`, `clan_zvanie`, `time_reg`, `city_reg`, `upLevel`, `active`, `expB`, `p_items`, `agressor`, `priems`, `priems_z`, `award` + FROM `test_bot` + WHERE `id` = "' . $bot['id_bot'] . '" + LIMIT 1' + ) + ); + + if (isset($add_bot['id'])) { + if (isset($logins_bot[$add_bot['login']])) { + $logins_bot[$add_bot['login']]++; + $add_bot['login'] = $add_bot['login'] . ' (' . $logins_bot[$add_bot['login']] . ')'; + } else { + $logins_bot[$add_bot['login']] = 1; + } + $ret = true; + if ($add_bot['time_reg'] == 100) { + $add_bot['time_reg'] = time(); + } + if ($add_bot['city_reg'] == '{thiscity}') { + $add_bot['city_reg'] = $bot['userCity']; + } + $ins1 = mysql_query( + 'INSERT INTO `users` ( + `align`, + `login`, + `level`, + `pass`, + `city`, + `cityreg`, + `name`, + `sex`, + `hobby`, + `timereg`, + `obraz`, + `bot_id` + ) VALUES ( + "' . $add_bot['align'] . '", + "' . $add_bot['login'] . '", + "' . $add_bot['level'] . '", + "' . md5('bot_pass_' . $add_bot['login'] . '_') . '", + "' . $bot['userCity'] . '", + "' . $add_bot['city_reg'] . '", + "' . $add_bot['name'] . '", + "' . $add_bot['sex'] . '", + "' . $add_bot['hobby'] . '", + "' . $add_bot['time_reg'] . '", + "' . $add_bot['obraz'] . '", + "' . $bot['id_bot'] . '" + )' + ); + + # . + if ($ins1) { + $uid = mysql_insert_id(); + $ins2 = mysql_query( + 'INSERT INTO `stats` (`id`,`stats`,`hpNow`,`upLevel`,`bot`) VALUES ("' . $uid . '","' . $add_bot['stats'] . '","1000000","' . $add_bot['upLevel'] . '","1")' + ); + if ($ins2) { + $add_bot['id'] = $uid; + $add_bot['logins_bot'] = $logins_bot; + $ret = $add_bot; + + // + //$this->addItem($item_id,$uid); + $iu = explode(',', $add_bot['itemsUse']); + $i = 0; + $w3b = 0; + while ($i < count($iu)) { + if ($iu[$i] > 0) { + $idiu = botAddItem($iu[$i], $add_bot['id'], $bot['userCity']); + $islot = mysql_fetch_array( + mysql_query('SELECT `id`,`inslot` FROM `items_main` WHERE `id` = "' . $iu[$i] . '" LIMIT 1') + ); + if (isset($islot['id'])) { + if ($islot['inslot'] == 3) { + if ($w3b == 1) { + $islot = 14; + } else { + $islot = 3; + $w3b = 1; + } + } else { + $islot = $islot['inslot']; + } + } else { + $islot = 2000; + } + if (isset($idiu, $islot)) { + mysql_query( + 'UPDATE `items_users` SET `inOdet` = "' . $islot . '" WHERE `id` = "' . $idiu . '" LIMIT 1' + ); + } + } + $i++; + } + + } else { + $ret = false; + } + } else { + $ret = false; + } + return $ret; + } +} + +# . +function botAddItem($item_id, $bot_uid, $city) +{ + $i = mysql_fetch_array( + mysql_query( + 'SELECT `im`.`id`,`im`.`name`,`im`.`img`,`im`.`type`,`im`.`inslot`,`im`.`2h`,`im`.`2too`,`im`.`iznosMAXi`,`im`.`inRazdel`,`im`.`price1`,`im`.`price2`,`im`.`pricerep`,`im`.`magic_chance`,`im`.`info`,`im`.`massa`,`im`.`level`,`im`.`magic_inci`,`im`.`overTypei`,`im`.`group`,`im`.`group_max`,`im`.`geni`,`im`.`ts`,`im`.`srok`,`im`.`class`,`im`.`class_point`,`im`.`anti_class`,`im`.`anti_class_point`,`im`.`max_text`,`im`.`useInBattle`,`im`.`lbtl`,`im`.`lvl_itm`,`im`.`lvl_exp`,`im`.`lvl_aexp` FROM `items_main` AS `im` WHERE `im`.`id` = "' . mysql_real_escape_string( + $item_id + ) . '" LIMIT 1' + ) + ); + if (isset($i['id'])) { + $d = mysql_fetch_array( + mysql_query( + 'SELECT `id`,`items_id`,`data` FROM `items_main_data` WHERE `items_id` = "' . $i['id'] . '" LIMIT 1' + ) + ); + // + $data = $d['data']; + $ins = mysql_query( + ' + INSERT INTO `items_users` ( + `overType`,`item_id`,`uid`,`data`,`iznosMAX`,`geniration`,`magic_inc`,`maidin`,`lastUPD`,`time_create`,`dn_delete` + ) VALUES ( + "' . $i['overTypei'] . '", + "' . $i['id'] . '", + "' . $bot_uid . '", + "' . $data . '", + "' . $i['iznosMAXi'] . '", + "' . $i['geni'] . '", + "' . $i['magic_inci'] . '", + "' . $city . '", + "' . time() . '", + "' . time() . '", + "' . $i['dn_delete'] . '" + )' + ); + + # . + if ($ins) { + $rt = mysql_insert_id(); + # . + } else { + $rt = 0; + } + } + return $rt; +} + +function moveBots($direction, $b) +{ + $toGoX = 0; + $toGoY = 0; + + if (isset($b['noBot']) && $b['noBot'] != '0000') { + if ($b['noBot'][0] != '0') { + $b['goTop'] = 0; + } + if ($b['noBot'][1] != '0') { + $b['goLeft'] = 0; + } + if ($b['noBot'][2] != '0') { + $b['goBottom'] = 0; + } + if ($b['noBot'][3] != '0') { + $b['goRight'] = 0; + } + } + $go = [ + 1 => ['d' => (int)$b['goTop'], 'go1' => (int)$b['goLeft'], 'go2' => (int)$b['goRight'], 'x' => (int)$b['x'], 'y' => (int)$b['y'], 's' => (int)$b['s']], + 2 => ['d' => (int)$b['goLeft'], 'go1' => (int)$b['goBottom'], 'go2' => (int)$b['goTop'], 'x' => (int)$b['x'], 'y' => (int)$b['y'], 's' => (int)$b['s']], + 3 => ['d' => (int)$b['goBottom'], 'go1' => (int)$b['goRight'], 'go2' => (int)$b['goLeft'], 'x' => (int)$b['x'], 'y' => (int)$b['y'], 's' => (int)$b['s']], + 4 => ['d' => (int)$b['goRight'], 'go1' => (int)$b['goTop'], 'go2' => (int)$b['goBottom'], 'x' => (int)$b['x'], 'y' => (int)$b['y'], 's' => (int)$b['s']], + ]; + $dir = [ + 1 => ['moveForward' => ['x' => '0', 'y' => '1'], 'moveBack' => ['x' => '0', 'y' => '-1'], 'moveGo1' => ['x' => '-1', 'y' => '0'], 'moveGo2' => ['x' => '1', 'y' => '0']], + 2 => ['moveForward' => ['x' => '-1', 'y' => '0'], 'moveBack' => ['x' => '1', 'y' => '0'], 'moveGo1' => ['x' => '0', 'y' => '-1'], 'moveGo2' => ['x' => '0', 'y' => '1']], + 3 => ['moveForward' => ['x' => '0', 'y' => '-1'], 'moveBack' => ['x' => '0', 'y' => '1'], 'moveGo1' => ['x' => '1', 'y' => '0'], 'moveGo2' => ['x' => '-1', 'y' => '0']], + 4 => ['moveForward' => ['x' => '1', 'y' => '0'], 'moveBack' => ['x' => '-1', 'y' => '0'], 'moveGo1' => ['x' => '0', 'y' => '1'], 'moveGo2' => ['x' => '0', 'y' => '-1']], + ]; + $go = $go[$direction]; + $dir = $dir[$direction]; + if ($go['d'] == 1) { + $toGoY = $dir['moveForward']['y']; + $toGoX = $dir['moveForward']['x']; + if (rand(1, 100) > 66) { + if ($go['go1'] == 1 && $go['go2'] == 0) { + $toGoY = $dir['moveGo1']['y']; + $toGoX = $dir['moveGo1']['x']; + } elseif ($go['go1'] == 0 && $go['go2'] == 1) { + $toGoY = $dir['moveGo2']['y']; + $toGoX = $dir['moveGo2']['x']; + } elseif ($go['go1'] == 1 && $go['go2'] == 1) { + $a = rand(1, 2); + $toGoY = $dir['moveGo' . $a]['y']; + $toGoX = $dir['moveGo' . $a]['x']; + } + } elseif (rand(1, 100) > 96) { + $toGoY = $dir['moveBack']['y']; + $toGoX = $dir['moveBack']['x']; + } + } elseif ($go['d'] == 0) { + if ($go['go1'] == 1 && $go['go2'] == 1) { + if (rand(0, 1) == 1) { + $toGoY = $dir['moveGo1']['y']; + $toGoX = $dir['moveGo1']['x']; + } else { + $toGoY = $dir['moveGo2']['y']; + $toGoX = $dir['moveGo2']['x']; + } + } elseif ($go['go1'] == 1 && $go['go2'] == 0) { + $toGoY = $dir['moveGo1']['y']; + $toGoX = $dir['moveGo1']['x']; + } elseif ($go['go1'] == 0 && $go['go2'] == 1) { + $toGoY = $dir['moveGo2']['y']; + $toGoX = $dir['moveGo2']['x']; + } elseif ($go['go1'] == 0 && $go['go2'] == 0) { + $toGoY = $dir['moveBack']['y']; + $toGoX = $dir['moveBack']['x']; + } + } + unset($dir, $go, $direction, $a); + return ['x' => (int)$toGoX, 'y' => (int)$toGoY]; +} + + +# . +function start() +{ + # 0.0000 + $mtime = microtime(); + $mtime = explode(" ", $mtime); + $tstart = $mtime[1] + $mtime[0]; + + # . + # : , , , . + $query = mysql_query( + "SELECT + `dn`.`id` as `this_dn`, `dn`.`id2` as `dn_id`, `db`.`id2`, `db`.`id_bot`, `tb`.`login` as login, `db`.`colvo`, `db`.`go_bot`, `db`.`x`, `db`.`y`, `db`.`s`, `db`.`atack`, `tb`.`agressor`, + `dm`.`go_1` as `goRight`, `dm`.`go_2` as `goLeft`, `dm`.`go_3` as `goTop`, `dm`.`go_4` as `goBottom`, `dm`.`no_bot` as `noBot`, + `user_info`.`id` as `userId`, + `user_info`.`login` as `userLogin`, + `user_stats`.`hpNow` as `userHP`, + `user_stats`.`x` as `userPosX`, + `user_stats`.`y` as `userPosY`, + `user_info`.`battle` as `userBattle` + FROM `dungeon_now` as `dn` + LEFT JOIN `dungeon_bots` as `db` ON `db`.`dn` = `dn`.`id` + LEFT JOIN `dungeon_map` as `dm` ON ( `dm`.`x` = `db`.`x` AND `dm`.`y` = `db`.`y` AND `dm`.`id_dng` = `dn`.`id2` ) + LEFT JOIN `test_bot` AS `tb` ON `db`.`id_bot` = `tb`.`id` + LEFT JOIN `stats` AS `user_stats` ON ( ( `user_stats`.`x`+1 >= `db`.`x` AND `user_stats`.`x`-1 <= `db`.`x` ) AND ( `user_stats`.`y`+1 >= `db`.`y` AND `user_stats`.`y`-1 <= `db`.`y`) AND `user_stats`.`dnow` = `dn`.`id` ) + LEFT JOIN `users` AS `user_info` ON ( `user_stats`.`id` = `user_info`.`id` ) + + WHERE + `dn`.`time_finish` = '0' AND + `db`.`atack` = '0' AND + `db`.`delete` = '0' AND + `db`.`for_dn` = '0' AND + ( ( `db`.`go_bot` > '" . (time() - 32400) . "' AND `db`.`go_bot` < '" . (time()) . "') OR `db`.`go_bot`='1') AND + `db`.`inBattle`='0' + GROUP BY `db`.`id2` + ORDER BY `db`.`go_bot` ASC" + ); + + while ($bot = mysql_fetch_array($query)) { + if ($bot['go_bot'] > 0 && $bot['go_bot'] <= time()) { + $sNext = true; + $sTo = $bot['s']; + $xFrom = $bot['x']; # X + $yFrom = $bot['y']; # Y + + $return = moveBots($bot['s'], $bot); + $xTo = $bot['x'] + $return['x']; + $yTo = $bot['y'] + $return['y']; + # , . + $inSight = 0; + if (isset($bot['id2'])) { + if ($xFrom == $xTo && $yFrom == $yTo) { # . + $inSight = 1; + } elseif (isset($bot['goRight']) && $xFrom == $xTo - 1 && $bot['goRight'] == 1) { // + $sTo = 4; + $inSight = 1; + } elseif (isset($bot['goLeft']) && $xFrom == $xTo + 1 && $bot['goLeft'] == 1) { // + $sTo = 2; + $inSight = 1; + } elseif (isset($bot['goTop']) && $yFrom == $yTo - 1 && $bot['goTop'] == 1) { // + $sTo = 1; + $inSight = 1; + } elseif (isset($bot['goBottom']) && $yFrom == $yTo + 1 && $bot['goBottom'] == 1) { // + $sTo = 3; + $inSight = 1; + } + } + + if (isset($bot['userId'], $bot['userPosY'], $bot['userPosX']) && $bot['userId'] != '' && $bot['agressor'] == 1 && ( + ($bot['userPosY'] == $bot['y'] + 1 && $bot['userPosX'] == $bot['x']) or + ($bot['userPosY'] == $bot['y'] - 1 && $bot['userPosX'] == $bot['x']) or + ($bot['userPosY'] == $bot['y'] && $bot['userPosX'] == $bot['x'] - 1) or + ($bot['userPosY'] == $bot['y'] && $bot['userPosX'] == $bot['x'] + 1) + )) { + bot['userPosY'] = $yFrom; + $bot['userPosX'] = $xFrom; + mysql_query( + 'UPDATE `stats` SET `x` = "' . $xFrom . '" , `y` = "' . $yFrom . '" WHERE `id` = "' . $bot['userId'] . '" LIMIT 1' + ); + botAttack($bot, $bot); + } elseif (isset($bot['userId'], $bot['userPosY'], $bot['userPosX']) && $bot['userId'] != '' && $inSight == 1 && $yTo == $bot['userPosY'] && $xTo == $bot['userPosX'] && $bot['atack'] == 1) { + botAttack($bot, $bot); + } elseif ($inSight == 1) { // . + $bot['go_bot'] = time() + rand(7, 15); + mysql_query( + 'UPDATE `dungeon_bots` SET `x` = "' . $xTo . '",`y` = "' . $yTo . '", `s` = "' . $sTo . '", `go_bot` = "' . $bot['go_bot'] . '" WHERE `id2` = "' . $bot['id2'] . '" LIMIT 1 ' + ); + } + unset($xFrom, $yFrom, $xTo, $yTo, $inSight, $sNext, $sTo); + } + unset($bot); + } + unset($query, $bot); + + $mtime = microtime(); + $mtime = explode(" ", $mtime); + $mtime = $mtime[1] + $mtime[0]; + $totaltime = ($mtime - $tstart); + printf(" %f !", $totaltime); +} + +# . +start(); + + + +/* + +UPDATE dungeon_bots SET +x = CASE +WHEN id2 = '.$bot['id2'].' THEN "test2" +WHEN id2 = '.$bot['id2'].' THEN "test1" END +WHERE id2 IN ('.$bot['id2'].', 2, 3, 4) + +*/ diff --git a/cron_tower.php b/_incl_data/crons/undone/cron_tower.php similarity index 97% rename from cron_tower.php rename to _incl_data/crons/undone/cron_tower.php index 7703a15e..419f017d 100644 --- a/cron_tower.php +++ b/_incl_data/crons/undone/cron_tower.php @@ -1,22 +1,19 @@ ' . $_SERVER['SERVER_ADDR']); - } +require_once dirname(__DIR__) . DIRECTORY_SEPARATOR . 'autoload.php'; +//todo: IN PROGRESS function changeSleep($uid, $sleep_action) { $u = User::start(); if ($sleep_action == 1) { - // mysql_query('INSERT INTO `sleep` (`uid`,`time`,`sleep`) VALUES ("' . $uid . '","' . time() . '","1")'); - // mysql_query( "UPDATE `eff_users` SET `sleeptime`=" . time() . ",`deactiveLast` = ( `deactiveTime` - " . time( ) . " ) WHERE `uid`='" . mysql_real_escape_string($uid) . "' AND `no_Ace` = 0 AND `delete` = 0" @@ -26,11 +23,8 @@ function changeSleep($uid, $sleep_action) ) . '" WHERE `uid` = "' . $uid . '" AND `delete` < 1001 AND `data` LIKE "%|sleep_moroz=1%"' ); $u->addAction(time(), 'sleep', $u->info['city']); - // } elseif ($sleep_action == 2) { - // mysql_query('INSERT INTO `sleep` (`uid`,`time`,`sleep`) VALUES ("' . $uid . '","' . time() . '","2")'); - // $sp = mysql_query( 'SELECT * FROM `items_users` WHERE `time_sleep` > 0 AND `uid` = "' . $uid . '" AND `delete` < 1001 AND `data` LIKE "%|sleep_moroz=1%"' ); @@ -75,10 +69,6 @@ $cnfg = [ echo '#start#'; -define('GAME', true); -setlocale(LC_CTYPE, "ru_RU.CP1251"); -include('_incl_data/__config.php'); -include('_incl_data/class/__db_connect.php'); $magic = new Magic(); $itbs = [ @@ -396,9 +386,9 @@ function add_arhiv($pl, $user) { $return = 0; mysql_query( - 'INSERT INTO `users` (`login`,`pass`,`level`,`inTurnir`,`sex`,`obraz`,`name`,`online`,`city`,`room`,`align`,`clan`,`cityreg`,`bithday`,`activ`) VALUES ( + 'INSERT INTO `users` (`login`,`pass`,`level`,`inTurnir`,`sex`,`obraz`,`name`,`online`,`city`,`room`,`align`,`clan`,`cityreg`,`bithday`) VALUES ( "' . $user['login'] . '","bstowerbot","' . $user['level'] . '","' . $pl['id'] . '","' . $user['sex'] . '","' . $user['obraz'] . '","' . $user['login'] . '","' . (time( - ) + 60 * 60 * 24) . '","' . $user['city'] . '","' . $user['room'] . '","' . $user['align'] . '","' . $user['clan'] . '","capitalcity","01.02.2003","0" + ) + 60 * 60 * 24) . '","' . $user['city'] . '","' . $user['room'] . '","' . $user['align'] . '","' . $user['clan'] . '","capitalcity","01.02.2003", )' ); $return = mysql_insert_id(); @@ -804,10 +794,6 @@ while ($pl = mysql_fetch_array($sp)) { unset($stor, $stgo); } } - - } else { - // - } } } @@ -816,7 +802,7 @@ while ($pl = mysql_fetch_array($sp)) { } } elseif ($pl['status'] == 0 && $pl['time_start'] < time()) { // - if (nostart($pl) == false) { + if (!nostart($pl)) { // ! $spm = mysql_query('SELECT `x`,`y` FROM `bs_map` WHERE `mid` = "' . $pl['type_map'] . '"'); @@ -940,8 +926,8 @@ while ($pl = mysql_fetch_array($sp)) { $bus['align'] = 0; } mysql_query( - 'INSERT INTO `users` (`chatColor`,`align`,`inTurnir`,`molch1`,`molch2`,`activ`,`login`,`room`,`name`,`sex`,`level`,`bithday`) VALUES ( - "' . $bus['chatColor'] . '","' . $bus['align'] . '","' . $pl['id'] . '","' . $bus['molch1'] . '","' . $bus['molch2'] . '","0","' . $bus['login'] . '","362","' . $bus['name'] . '","' . $bus['sex'] . '","' . $pl['level'] . '","' . date( + 'INSERT INTO `users` (`chatColor`,`align`,`inTurnir`,`molch1`,`molch2`,`login`,`room`,`name`,`sex`,`level`,`bithday`) VALUES ( + "' . $bus['chatColor'] . '","' . $bus['align'] . '","' . $pl['id'] . '","' . $bus['molch1'] . '","' . $bus['molch2'] . '","' . $bus['login'] . '","362","' . $bus['name'] . '","' . $bus['sex'] . '","' . $pl['level'] . '","' . date( 'd.m.Y' ) . '")' ); @@ -1062,7 +1048,6 @@ while ($pl = mysql_fetch_array($sp)) { if ($pl['status'] == 0) { if ($pl['ch1'] == 0 && $pl['time_start'] - 60 * 60 < time()) { mysql_query('UPDATE `bs_turnirs` SET `ch1` = `ch1` + 1 WHERE `id` = "' . $pl['id'] . '" LIMIT 1'); - //e(' 5 , '.$pl['to_lvl'].' '.timeOut($pl['time_start']-time()).' ('.date('d.m.Y H:i',$pl['time_start']).'), : '.round($pl['money']*0.85,2).' ., : '.$pl['users'].''); } elseif ($pl['ch1'] == 1 && $pl['time_start'] - 10 * 60 < time()) { mysql_query('UPDATE `bs_turnirs` SET `ch1` = `ch1` + 1 WHERE `id` = "' . $pl['id'] . '" LIMIT 1'); e( diff --git a/_incl_data/mysql_override.php b/_incl_data/mysql_override.php new file mode 100644 index 00000000..8bb9f344 --- /dev/null +++ b/_incl_data/mysql_override.php @@ -0,0 +1,699 @@ +query($query); + } + + /** + * @param $string + * @param mysqli $mysqli + * @return string + * @deprecated + */ + function mysql_real_escape_string($string, mysqli $mysqli = null) + { + return getLinkIdentifier($mysqli)->escape_string($string); + } + + /** + * @param mysqli_result $result + * @return bool|array + * @deprecated + */ + function mysql_fetch_assoc(mysqli_result $result) + { + $result = $result->fetch_assoc(); + if ($result === null) { + $result = false; + } + + return $result; + } + + /** + * @param mysqli_result $result + * @return object|stdClass + */ + function mysql_fetch_object(mysqli_result $result) + { + $result = $result->fetch_object(); + if ($result === null) { + $result = false; + } + + return $result; + } + + /** + * @param mysqli_result $result + * @return bool|int + * @deprecated + */ + function mysql_num_rows(mysqli_result $result) + { + $result = $result->num_rows; + if ($result === null) { + $result = false; + } + + return $result; + } + + /** + * @param mysqli_result $result + * @return bool|array + */ + function mysql_fetch_row(mysqli_result $result) + { + $result = $result->fetch_row(); + if ($result === null) { + $result = false; + } + + return $result; + } + + /** + * @param mysqli $mysqli + * @return int + * @deprecated + */ + function mysql_affected_rows(mysqli $mysqli = null) + { + return mysqli_affected_rows(getLinkIdentifier($mysqli)); + } + + /** + * @return void + */ + function mysql_client_encoding(mysqli $mysqli = null) + { + return mysqli_character_set_name(getLinkIdentifier($mysqli)); + } + + /** + * @param mysqli $mysqli + * @return bool + * @deprecated + */ + function mysql_close(mysqli $mysqli = null) + { + return mysqli_close(getLinkIdentifier($mysqli)); + } + + /** + * @return bool + */ + function mysql_create_db($database_name, mysqli $mysqli = null) + { + trigger_error('This function was deprecated in PHP 4.3.0 and is therefor not supported', E_USER_DEPRECATED); + return false; + } + + /** + * @param mysqli $mysqli + * @return int + * @deprecated + */ + function mysql_errno(mysqli $mysqli = null) + { + return mysqli_errno(getLinkIdentifier($mysqli)); + } + + /** + * Not implemented + * + * @return null + * @todo implement + * + */ + function mysql_db_name() + { + trigger_error('The function mysql_db_name() is not implemented', E_USER_WARNING); + return false; + } + + /** + * @param mysqli $mysqli + * @return string + * @deprecated + */ + function mysql_error(mysqli $mysqli = null) + { + return mysqli_error(getLinkIdentifier($mysqli)); + } + + /** + * @param mysqli_result $result + * @param $result_type + * @return void + * @deprecated + */ + function mysql_fetch_array(mysqli_result $result, $result_type = MYSQL_BOTH) + { + return mysqli_fetch_array($result, $result_type); + } + + /** + * @param mysqli $mysqli + * @return bool + */ + function mysql_ping(mysqli $mysqli = null) + { + return mysqli_ping(getLinkIdentifier($mysqli)); + } + + /** + * @param $query + * @param mysqli $mysqli + * @deprecated + */ + function mysql_unbuffered_query($query, mysqli $mysqli = null) + { + return mysqli_query(getLinkIdentifier($mysqli), $query, MYSQLI_USE_RESULT); + } + + /** + * @return string + * @deprecated + */ + function mysql_get_client_info() + { + return mysqli_get_client_info(); + } + + /** + * @param mysqli_result $result + * @return void + * @deprecated + */ + function mysql_free_result(mysqli_result $result) + { + return mysqli_free_result($result); + } + + /** + * @param mysqli $mysqli + * @return bool|mysqli_result + */ + function mysql_list_dbs(mysqli $mysqli = null) + { + trigger_error('This function is deprecated. It is preferable to use mysql_query() to issue an SQL Query: SHOW DATABASES statement instead.', E_USER_DEPRECATED); + + return mysqli_query(getLinkIdentifier($mysqli), 'SHOW DATABASES'); + } + + /** + * @param $database_name + * @param $table_name + * @param null $mysqli + * @return bool|mysqli_result + */ + function mysql_list_fields($database_name, $table_name, mysqli $mysqli = null) + { + trigger_error('This function is deprecated. It is preferable to use mysql_query() to issue an SQL SHOW COLUMNS FROM table [LIKE \'name\'] statement instead.', E_USER_DEPRECATED); + + $mysqli = getLinkIdentifier($mysqli); + $db = mysqli_escape_string($mysqli, $database_name); + $table = mysqli_escape_string($mysqli, $table_name); + + return mysqli_query($mysqli, sprintf('SHOW COLUMNS FROM %s.%s', $db, $table)); + } + + /** + * @param mysqli $mysqli + * @return bool|mysqli_result + */ + function mysql_list_processes(mysqli $mysqli = null) + { + return mysqli_query(getLinkIdentifier($mysqli), 'SHOW PROCESSLIST'); + } + + /** + * @param $charset + * @param null $mysqli + * @return bool + */ + function mysql_set_charset($charset, mysqli $mysqli = null) + { + return mysqli_set_charset(getLinkIdentifier($mysqli), $charset); + } + + /** + * @param null $mysqli + * @return bool|string + */ + function mysql_info(mysqli $mysqli = null) + { + $result = mysqli_info(getLinkIdentifier($mysqli)); + if ($result === null) { + $result = false; + } + + return $result; + } + + /** + * Get current system status + * + * @param null $mysqli + * @return bool|string + */ + function mysql_stat(mysqli $mysqli = null) + { + return mysqli_stat(getLinkIdentifier($mysqli)); + } + + /** + * Return the current thread ID + * + * @param null $mysqli + * @return bool|string + */ + function mysql_thread_id(mysqli $mysqli = null) + { + return mysqli_thread_id(getLinkIdentifier($mysqli)); + } + + /** + * Get MySQL host info + * + * @param null $mysqli + * @return bool|string + */ + function mysql_get_host_info(mysqli $mysqli = null) + { + return mysqli_get_host_info(getLinkIdentifier($mysqli)); + } + + /** + * Get MySQL protocol info + * + * @param null $mysqli + * @return bool|string + * @deprecated + */ + function mysql_get_proto_info(mysqli $mysqli = null) + { + return mysqli_get_proto_info(getLinkIdentifier($mysqli)); + } + + /** + * Get MySQL server info + * + * @param null $mysqli + * @return bool|string + */ + function mysql_get_server_info(mysqli $mysqli = null) + { + return mysqli_get_server_info(getLinkIdentifier($mysqli)); + } + + /** + * Get table name of field + * + * @param $result + * @param $i + * @return bool + */ + function mysql_tablename($result, $i) + { + trigger_error('Not implemented', E_USER_WARNING); + return false; + } + + /** + * Get the ID generated in the last query + * + * @param null $mysqli + * @return int|string + * @deprecated + */ + function mysql_insert_id(mysqli $mysqli = null) + { + return mysqli_insert_id(getLinkIdentifier($mysqli)); + } + + /** + * Get result data + * + * @param $result + * @param $row + * @param int $field + * @return mixed + * @deprecated + */ + function mysql_result($result, $row, $field = 0) + { + $result->data_seek($row); + $row = $result->fetch_array(); + if (!isset($row[$field])) { + return false; + } + + return $row[$field]; + } + + /** + * Get number of fields in result + * + * @param mysqli_result $result + * @return int + * @deprecated + */ + function mysql_num_fields(mysqli_result $result) + { + return mysqli_num_fields($result); + } + + /** + * List tables in a MySQL database + * + * @param null $mysqli + * @return bool|string + */ + function mysql_list_tables($database_name, mysqli $mysqli = null) + { + trigger_error('This function is deprecated. It is preferable to use mysql_query() to issue an SQL SHOW TABLES [FROM db_name] [LIKE \'pattern\'] statement instead.', E_USER_DEPRECATED); + + $mysqli = getLinkIdentifier($mysqli); + $db = mysqli_escape_string($mysqli, $database_name); + + return mysqli_query($mysqli, sprintf('SHOW TABLES FROM %s', $db)); + } + + /** + * Get column information from a result and return as an object + * + * @param mysqli_result $result + * @param int $field_offset + * @return bool|object + * @deprecated + */ + function mysql_fetch_field(mysqli_result $result, $field_offset = 0) + { + if ($field_offset) { + mysqli_field_seek($result, $field_offset); + } + + return mysqli_fetch_field($result); + } + + /** + * Returns the length of the specified field + * + * @param mysqli_result $result + * @param int $field_offset + * @return bool + * @deprecated + */ + function mysql_field_len(mysqli_result $result, $field_offset = 0) + { + trigger_error('This function is not implemented', E_USER_WARNING); + return false; + } + + /** + * @return bool + */ + function mysql_drop_db() + { + trigger_error('This function is deprecated since PHP 4.3.0 and therefore not implemented', E_USER_DEPRECATED); + return false; + } + + /** + * Move internal result pointer + * + * @param mysqli_result $result + * @param int $row_number + * @return void + */ + function mysql_data_seek(mysqli_result $result, $row_number = 0) + { + return mysqli_data_seek($result, $row_number); + } + + /** + * Get the name of the specified field in a result + * + * @param $result + * @param $field_offset + * @return bool + */ + function mysql_field_name($result, $field_offset = 0) + { + $props = mysqli_fetch_field_direct($result, $field_offset); + return is_object($props) ? $props->name : false; + } + + /** + * Get the length of each output in a result + * + * @param mysqli_result $result + * @return array|bool + */ + function mysql_fetch_lengths(mysqli_result $result) + { + return mysqli_fetch_lengths($result); + } + + /** + * Get the type of the specified field in a result + * @param mysqli_result $result + * @param $field_offset + * @return string + */ + function mysql_field_type(mysqli_result $result, $field_offset = 0) + { + $unknown = 'unknown'; + $info = mysqli_fetch_field_direct($result, $field_offset); + if (empty($info->type)) { + return $unknown; + } + + switch ($info->type) { + case MYSQLI_TYPE_FLOAT: + case MYSQLI_TYPE_DOUBLE: + case MYSQLI_TYPE_DECIMAL: + case MYSQLI_TYPE_NEWDECIMAL: + return 'real'; + + case MYSQLI_TYPE_BIT: + return 'bit'; + + case MYSQLI_TYPE_TINY: + return 'tinyint'; + + case MYSQLI_TYPE_TIME: + return 'time'; + + case MYSQLI_TYPE_DATE: + return 'date'; + + case MYSQLI_TYPE_DATETIME: + return 'datetime'; + + case MYSQLI_TYPE_TIMESTAMP: + return 'timestamp'; + + case MYSQLI_TYPE_YEAR: + return 'year'; + + case MYSQLI_TYPE_STRING: + case MYSQLI_TYPE_VAR_STRING: + return 'string'; + + case MYSQLI_TYPE_SHORT: + case MYSQLI_TYPE_LONG: + case MYSQLI_TYPE_LONGLONG: + case MYSQLI_TYPE_INT24: + return 'int'; + + case MYSQLI_TYPE_CHAR: + return 'char'; + + case MYSQLI_TYPE_ENUM: + return 'enum'; + + case MYSQLI_TYPE_TINY_BLOB: + case MYSQLI_TYPE_MEDIUM_BLOB: + case MYSQLI_TYPE_LONG_BLOB: + case MYSQLI_TYPE_BLOB: + return 'blob'; + + case MYSQLI_TYPE_NULL: + return 'null'; + + case MYSQLI_TYPE_NEWDATE: + case MYSQLI_TYPE_INTERVAL: + case MYSQLI_TYPE_SET: + case MYSQLI_TYPE_GEOMETRY: + default: + return $unknown; + } + } + + /** + * Get name of the table the specified field is in + * + * @param mysqli_result $result + * @param $field_offset + * @return bool + */ + function mysql_field_table(mysqli_result $result, $field_offset = 0) + { + $info = mysqli_fetch_field_direct($result, $field_offset); + if (empty($info->table)) { + return false; + } + + return $info->table; + } + + /** + * Get the flags associated with the specified field in a result + * + * @param mysqli_result $result + * @param int $field_offset + * @return bool + * @todo implement + * + */ + function mysql_field_flags(mysqli_result $result, $field_offset = 0) + { + trigger_error('This function is not implemented', E_USER_WARNING); + return false; + } + + /** + * Set result pointer to a specified field offset + * + * @param mysqli_result $result + * @param int $field_offset + * @return bool + */ + function mysql_field_seek(mysqli_result $result, $field_offset = 0) + { + return mysqli_field_seek($result, $field_offset); + } + + /** + * Selects a database and executes a query on it + * + * @param $database + * @param $query + * @param mysqli $mysqli + * @return bool + * @todo implement + * + */ + function mysql_db_query($database, $query, mysqli $mysqli = null) + { + trigger_error('This function is deprecated since PHP 5.3.0 and therefore not implemented', E_USER_DEPRECATED); + return false; + } +} diff --git a/active.php b/active.php deleted file mode 100644 index 3f258298..00000000 --- a/active.php +++ /dev/null @@ -1,44 +0,0 @@ -e-mail .
    , .'); - }elseif($u['activ'] == 0) { - error(' "'.$u['login'].'" .'); - }else{ - if($_GET['code'] == md5($u['login'].'&[new-combats.com]') || $_GET['code'] == 'ILIKECOMBATS') { - mysql_query('UPDATE `users` SET `activ` = "0" WHERE `id` = "'.$u['id'].'" LIMIT 1'); - error(' , !'); - }else{ - error(' .'); - } - } -}else{ - error('
    '. - ' :
    '. - ':  
    '. - ': '. - '
    '. - ''. - '
    '); -} -?> \ No newline at end of file diff --git a/activnew.php b/activnew.php deleted file mode 100644 index a6b2edd4..00000000 --- a/activnew.php +++ /dev/null @@ -1,140 +0,0 @@ - 1000) { - $v = 1000; - } - $r = 0; - $r = (1-( pow(0.5, ($v/250) ) ))*100; - //$r = round($v/800*100); - //$r = round($r/80*100); - return $r; - } - - $i = 1; - while( $i <= 100 ) { - echo (1010-$i*10).' = '.round(zmgo(1010-$i*10),2).'%
    '; - $i++; - } - -die(); - - -$refUrl = mysql_fetch_array(mysql_query('SELECT * FROM `referal_url` WHERE `uid` = "'.$u->info['id'].'" LIMIT 1')); -if(!isset($refUrl['id'])) { - mysql_query('INSERT INTO `referal_url` (`uid`,`url`) VALUES ( - "'.$u->info['id'].'","new-combats.com/r'.$u->info['id'].'" - )'); - $refUrl = mysql_fetch_array(mysql_query('SELECT * FROM `referal_url` WHERE `uid` = "'.$u->info['id'].'" LIMIT 1')); -} - -function ref_url($r) { - $r = str_replace('0','A',$r); - $r = str_replace('1','b',$r); - $r = str_replace('2','C',$r); - $r = str_replace('3','d',$r); - $r = str_replace('4','E',$r); - $r = str_replace('5','f',$r); - $r = str_replace('6','D',$r); - $r = str_replace('7','g',$r); - $r = str_replace('8','H',$r); - $r = str_replace('9','s',$r); - return $r; -} -//$refUrl['url'] = ref_url($refUrl['url']); - -$pf = 0; - -$html_ref = ''; -$i_ref = 0; - -$sp = mysql_query('SELECT `id`,`online`,`activ`,`cityreg` FROM `users` WHERE `host_reg` = "'.$u->info['id'].'"'); -while( $pl = mysql_fetch_array($sp) ) { - - $sp2 = mysql_fetch_array(mysql_query('SELECT COUNT(`id`) FROM `users` WHERE `host_reg` = "'.$pl['id'].'" LIMIT 1')); - $sp2 = 0+$sp2[0]; - $html_ref .= ($i_ref + 1).'. '.$u->microLogin($pl['id'],1).''; - if($sp2==0) { - $html_ref .= ' ['.$sp2.'/1] '; - }else{ - $html_ref .= ' [1/1] !'; - $pf += 10; - } - $pf += 23; - $html_ref .= '
    '; - $i_ref++; -} - -if( $pf >= 99 ) { - $pf = 100; -} - -if($html_ref == '') { - $html_ref = '
    '; -} - -if(isset($_GET['activated'])) { - if($pf == 100) { - $er = ' E-mail , !'; - }else{ - $er = ' '.$pf.'/100%! !'; - } -} - -?> - - - - - v2.1 - - - - -
    -
    -
    -
    - - - - - - - - - - -
    - - 3
    - ( ) -

    - -
    -
    '.$er.'
    '; - } - ?> -
    -
    - :
    - ip , , . -

    -
    -
    -
    -
    -
    %
    - -
    -
    -
    - - -
    -

    v2.1 © , www.new-combats.com    
    - - - \ No newline at end of file diff --git a/balance.php b/adminion/balance.php similarity index 100% rename from balance.php rename to adminion/balance.php diff --git a/dn_editor.php b/adminion/dn_editor.php similarity index 97% rename from dn_editor.php rename to adminion/dn_editor.php index ea9b547b..10cb8ee9 100644 --- a/dn_editor.php +++ b/adminion/dn_editor.php @@ -1,22 +1,10 @@ info['admin']) { @@ -157,18 +145,6 @@ if (isset($_POST['saveObjPosition'])) { ); echo ' '; } else { - // - /* - $('#ore_id').val(op[0]); - $('#ore_img').val(op[4]); - $('#ore_name').val(op[1]); - $('#ore_x').val(op['x']); - $('#ore_y').val(op['y']); - $('#ore_t').val(top.obi['t']); - $('#ore_l').val(top.obi['l']); - $('#ore_w').val(op[7]); - $('#ore_h').val(op[8]); - */ if (isset($_POST['ore_img'])) { echo ' '; if (mysql_query( @@ -262,11 +238,11 @@ if (!isset($_GET['look'])) { © new-combats.com - - - - - + + + + + @@ -308,8 +284,6 @@ if (!isset($_GET['look'])) { 'height': $(objs).height() + 'px' }); resizeObj1(event, iii); - //$('#eo').bind('mousedown',function(event){ moveObj1(event); }); - //$(top.obi['obj']).css({'background-color':'red'}); } function resizeObj1(e, iii) { @@ -395,7 +369,6 @@ if (!isset($_GET['look'])) { $('#Dungeon2').unbind('click'); $('#' + $(top.obi['obj']).attr('id') + '_2').css({'background-color': '', 'opacity': '1.0'}); - //$(top.obi['obj']).css({'top':(y+2)+'px','left':x+'px'}); $('#Dungeon2').css({'display': 'none'}); $('#eo').css({ @@ -438,8 +411,6 @@ if (!isset($_GET['look'])) { 'height': $(objs).height() + 'px' }); moveObj1(event); - //$('#eo').bind('mousedown',function(event){ moveObj1(event); }); - //$(top.obi['obj']).css({'background-color':'red'}); } function moveObj1(e) { @@ -563,10 +534,10 @@ if (!isset($_GET['look'])) { d.innerHTML = ''; var t = ''; if (talk > 0) { - t += '
    '; + t += '
    '; } if (atk == 1) { - t += '
    '; + t += '
    '; } if (look == 1) { t += '
    '; diff --git a/dn_editor_bots.php b/adminion/dn_editor_bots.php similarity index 92% rename from dn_editor_bots.php rename to adminion/dn_editor_bots.php index 7d8a93d1..65aaa2c3 100644 --- a/dn_editor_bots.php +++ b/adminion/dn_editor_bots.php @@ -1,22 +1,10 @@ info['admin']) { diff --git a/adminion/dn_editor_botsAll.php b/adminion/dn_editor_botsAll.php new file mode 100644 index 00000000..4c1a9500 --- /dev/null +++ b/adminion/dn_editor_botsAll.php @@ -0,0 +1,45 @@ +info['id']) || $u->info['ip'] != IP || !$u->info['admin']) { + die(''); +} + +if (isset($_GET['id_dn'])) { + $_POST['id_dn'] = $_GET['id_dn']; + $_POST['xx'] = $_GET['xx']; + $_POST['yy'] = $_GET['yy']; + $_POST['botlogin'] = $_GET['botlogin']; +} + +if ($_POST['new_bot_colvo'] < 1) { + $_POST['new_bot_colvo'] = 1; +} + +?> +
    + id :
    + botlogin:
    + +
    +--------------- -------------:
    ++
    "; + $i++; +} +?> + +
    diff --git a/dn_editor_bots_itms.php b/adminion/dn_editor_bots_itms.php similarity index 87% rename from dn_editor_bots_itms.php rename to adminion/dn_editor_bots_itms.php index 168c2b27..1dc4b25a 100644 --- a/dn_editor_bots_itms.php +++ b/adminion/dn_editor_bots_itms.php @@ -1,22 +1,10 @@ info['admin']) { @@ -39,8 +27,7 @@ if (isset($pl['id'])) { mysql_query( 'UPDATE `test_bot` SET - - `login` = "' . mysql_real_escape_string($_POST['login']) . '", + `login` = "' . mysql_real_escape_string($_POST['login']) . '", `obraz` = "' . mysql_real_escape_string($_POST['obraz']) . '", `level` = "' . mysql_real_escape_string($_POST['level']) . '", `sex` = "' . mysql_real_escape_string($_POST['sex']) . '", diff --git a/editor_shop.php b/adminion/editor_shop.php similarity index 97% rename from editor_shop.php rename to adminion/editor_shop.php index a9d7f367..3694ae55 100644 --- a/editor_shop.php +++ b/adminion/editor_shop.php @@ -28,7 +28,7 @@ $r = round((int)$_GET['r']); -
    + + +

    : @@ -73,7 +73,7 @@ $r = round((int)$_GET['r']); ?>

    -


    +




    diff --git a/adminion/index.php b/adminion/index.php new file mode 100644 index 00000000..15062b10 --- /dev/null +++ b/adminion/index.php @@ -0,0 +1,282 @@ +info['admin']=0){ + die(':KING:'); +} +?> + + + + + + + "Adminion" + + + + + + + + + + + + + + +
    + + + + + + +
    Adminion v0.0.0 + + / : ( ) / "; + } elseif ($la[1] < 0.25) { + echo ""; + } elseif ($la[1] > 0.25) { + echo ""; + } + ?> + ('.time().'-600)'); + while($pl = mysql_fetch_array($sp)) + { + $online++; + } + ?> / : / USI: % 
    +
    + +


    +
    +
    +
    + : + + + + +
    + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
     
     
     
     
     
     
     
     
     
     
     
     
    + '; + } + }else{ + echo '
    '; + } + ?>
    +
    new-combats.com
    + All rights reserved.
    + + \ No newline at end of file diff --git a/item_edit_data.php b/adminion/item_edit_data.php similarity index 100% rename from item_edit_data.php rename to adminion/item_edit_data.php diff --git a/items_editor.php b/adminion/items_editor.php similarity index 100% rename from items_editor.php rename to adminion/items_editor.php diff --git a/adminion/lib/loadItemInfo.php b/adminion/lib/loadItemInfo.php new file mode 100644 index 00000000..11f66072 --- /dev/null +++ b/adminion/lib/loadItemInfo.php @@ -0,0 +1,19 @@ + \ No newline at end of file diff --git a/adminion/mod/dobj.php b/adminion/mod/dobj.php new file mode 100644 index 00000000..e4469185 --- /dev/null +++ b/adminion/mod/dobj.php @@ -0,0 +1,147 @@ + + + + + + + + + + + + + + + +
    : :

    :

    +

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    ID:
    + + +
    :
    + +
    :
    + +
    :
    + + + + + + + + + + + + + + + + +
      
      
    +
    :
    + + + + + + + + + + + + + + + + +
      
      
    +
    :
    + +
    :
    + + px
    :
    + + px
    :
    + + %
    :
    + + %
    X:
    + +
    Y:
    + +
    :

    + +

    +

    ""

    diff --git a/adminion/mod/dungeon.php b/adminion/mod/dungeon.php new file mode 100644 index 00000000..a7efafbe --- /dev/null +++ b/adminion/mod/dungeon.php @@ -0,0 +1,490 @@ + + + + + + + + + + +
    + + + '; + $j = 1; + while($j<$x) + { + $omap .= ''; + echo ''; + $j++; + } + echo ''; + $i++; + } + echo '
    +
    +
    +
    +
    +
    +
    + + +
    +
    +
    + " ". +
    +
    + info['admin']>0){ ?> + + + +
    + '; + $i = 1; + while($i<$y) + { + echo '
    '; + ?> +
    + + + +
    +
    + +
    + diff --git a/adminion/mod/dungeon_bots.php b/adminion/mod/dungeon_bots.php new file mode 100644 index 00000000..3decc19e --- /dev/null +++ b/adminion/mod/dungeon_bots.php @@ -0,0 +1,578 @@ +window.location = 'index.php?mod=dungeon_list';"); +} +if(isset($_GET['id_bot'])){ + $_POST['botSelect'] = $_GET['id_bot']; +} + +$Query = mysql_query("SELECT id, login FROM test_bot ORDER BY id ASC"); +$dungeon_bots = ''; +while($row = mysql_fetch_assoc($Query)){ + $dungeon_bots .= ''; +} +$Query = mysql_query("SELECT id, dungeon_id, dungeon_name FROM dungeon_room ORDER BY active, dungeon_id ASC"); +$dungeon_list = ''; +while($row = mysql_fetch_assoc($Query)){ + $dungeon_list .= ''; +} +?> +
    +

    +
    +
    + + + + + + + + +
    : +         + + : + + + +
    +
    + + +

    + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    ID:  
    :  
    :  
    :  
    :  
    :  
    :    
    :   {thiscity}
    :  
    :  
    :  
    :  
    + + + +
    +
    + + +
    +
    +
    + + +
    + +
    +
    +
    + \ No newline at end of file diff --git a/adminion/mod/dungeon_edit.php b/adminion/mod/dungeon_edit.php new file mode 100644 index 00000000..d3e6e0a4 --- /dev/null +++ b/adminion/mod/dungeon_edit.php @@ -0,0 +1,92 @@ +window.location = 'index.php?mod=dungeon_list';"); +} +?> +
    +

    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    *ID :  
    * :  
    *:  
    *:  
    *ID ( ):    
    *ID ():    
    ID :    
    ID :  
    :  
    :  
    +

    + + +

    * -

    +
    diff --git a/adminion/mod/dungeon_editor.php b/adminion/mod/dungeon_editor.php new file mode 100644 index 00000000..6dced115 --- /dev/null +++ b/adminion/mod/dungeon_editor.php @@ -0,0 +1,10 @@ + + + + + + + + + + \ No newline at end of file diff --git a/adminion/mod/dungeon_list.php b/adminion/mod/dungeon_list.php new file mode 100644 index 00000000..052bf835 --- /dev/null +++ b/adminion/mod/dungeon_list.php @@ -0,0 +1,48 @@ +window.location = 'index.php?mod=dungeon_list';"); +} + + +$Query = mysql_query("SELECT * FROM dungeon_room ORDER BY active, dungeon_id ASC"); +$dungeon_list = ''; +while($row = mysql_fetch_assoc($Query)){ + $dungeon_list .= ' + ' . $row['dungeon_id'] . ' + ' . $row['dungeon_name'] . ' + ' . $row['id'] . ' + ' . ( $row['dungeon_room'] == 0 ? '' : $row['dungeon_room']) . ' + ' . ( $row['shop'] == 0 ? '' : $row['shop']) . ' + ' . ( $row['active'] == 1 ? '' : '') . ' + ' . ( $row['quest'] == 1 ? '' : ''). ' + + + + '; +} +?> +
    +

    +
    +
    : + + + + + + + + + + + + + +



    +
    + \ No newline at end of file diff --git a/mult.php b/adminion/mult.php similarity index 100% rename from mult.php rename to adminion/mult.php diff --git a/mults.php b/adminion/mults.php similarity index 100% rename from mults.php rename to adminion/mults.php diff --git a/quest_dlg_edit.php b/adminion/quest_dlg_edit.php similarity index 100% rename from quest_dlg_edit.php rename to adminion/quest_dlg_edit.php diff --git a/recovery.php b/adminion/recovery.php similarity index 100% rename from recovery.php rename to adminion/recovery.php diff --git a/shop_editor.php b/adminion/shop_editor.php similarity index 96% rename from shop_editor.php rename to adminion/shop_editor.php index e0c2acf2..adfe46f1 100644 --- a/shop_editor.php +++ b/adminion/shop_editor.php @@ -28,7 +28,7 @@ function MM_jumpMenu(targ,selObj,restore){ //v3.0 -
    + ', html, action, over, out, newid, qnewid); +} + +function getCellMenuItemHtml(html, action, over, out) +{ + if (over == null) + { + over = ''; + } + if (out == null) + { + out = ''; + } + var newid = 'cmi_' + dc_menuItemCount; + dc_menuItemCount++; + var qnewid = "'" + newid + "'"; + return format('', html, action, over, out, newid, qnewid); +} + +function getCellMenuSeparatorHtml() +{ + return ''; +} + +function getRowMenuItemHtml(html, action, over, out) +{ + return '' + getCellMenuItemHtml(html, action, over, out) + ''; +} + +function getRowMenuSeparatorHtml() +{ + return ''; +} + +function onCellOver2(id) +{ + var elt = document.getElementById(id); + if (elt != null) + { + elt.className = "ABLinkH2"; + } +} + +function onCellOut2(id) +{ + var elt = document.getElementById(id); + if (elt != null) + { + elt.className = "ABLink2"; + } +} + +function onCellClick2(id) +{ + onCellOut2(id); + return true; +} + +function getCell2MenuItemHtml(html, action, over, out) +{ + if (over == null) + { + over = ''; + } + if (out == null) + { + out = ''; + } + var newid = 'cmi2_' + dc_menuItemCount; + dc_menuItemCount++; + var qnewid = "'" + newid + "'"; + return format('', html, action, over, out, newid, qnewid); +} + +function getCell2MenuControlHtml(text) +{ + return format('', text); +} + +function getCell2MenuFillerHtml(text) +{ + return ''; +} + +function getCell2MenuSeparatorHtml() +{ + return ''; +} + +function getCell2MenuLabelHtml(html) +{ + if (html == null) + { + html = ''; + } + return ''; +} + +// utils + +function CurPos(e) +{ + cursorX = !moz ? event.clientX : e.clientX; + cursorY = !moz ? event.clientY : e.clientY; + cursorX += document.body.scrollLeft; + cursorY += document.body.scrollTop; + if (!opera) + { + cursorX += document.documentElement.scrollLeft; + cursorY += document.documentElement.scrollTop; + } +} + +function isDeveloperMode() +{ + return (window.location.search && window.location.search.indexOf("dev=") >= 0); +} + +// init + +if (typeof (uiOptions) == 'undefined') +{ + uiOptions = { + useAlphaForMenuAndTip: true, + useTransitionEffects: false, + captureMouse: false + }; +} + +document.onmousemove = CurPos; diff --git a/dng/head/dungeon.all.js b/dng/head/dungeon.all.js new file mode 100644 index 00000000..2d2fefdb --- /dev/null +++ b/dng/head/dungeon.all.js @@ -0,0 +1,3 @@ +// JS (Akzhan+Newtonsoft) + +underground.knowAbout({"KnownDungeons":[{"NewLineToBR":true,"IsDungeon":true,"FloorNames":["1 ","2 ","3 "],"Name":"novice","Caption":"","Description":[" .",""," , . ",""," 3 .",""," :",""," , ."]},{"NewLineToBR":true,"IsDungeon":true,"FloorNames":["1 ","2 ","3 ","4 ","5 "],"Name":"capital","Caption":" ","Description":[" () Capital ity, .",""," [8] . .",""," 5 . [8]-[9] . ."," , [9]-[10] . , .",""," , ."," : 24 999.",""," :",""," : , , , , , . . , . ",""," (.) . (Sand city) - 1.",""," , 3 , . ",""," 4 5 . ."]},{"NewLineToBR":true,"IsDungeon":true,"FloorNames":["1 ","2 ","3 "],"Name":"angel","Caption":"","Description":[" Angels city, .",""," [8] . .",""," 3 . , [8]-[9] .",""," ."," : 10 000.",""," :",""," . . . . . ",""," . "," , - ."," 9- 10- .",""," [9] [9] [10] . "]},{"NewLineToBR":true,"IsDungeon":true,"FloorNames":["1 ","2 ","3 ","4 "],"Name":"sand","Caption":" ","Description":[" Sand city, .",""," [8] . 1 ( , ).",""," 4 . , [8]-[9] .",""," ."," : 10 000.",""," :",""," - : , , , . , . ",""," . , - , , . \"\" .",""," , , - (+250 ), . , , .",""," [9] [9] [10] . ",""," . . , ."]},{"NewLineToBR":true,"IsDungeon":true,"FloorNames":["1 ","2 ","3 ","4 "],"Name":"demons","Caption":"","Description":[""," Demons city, .",""," [8] . .",""," 4 . , [9]-[10] . , .",""," ."," : 24 999.",""," :"," . ",""," "," . "," [8]. , - . - . . . , , .",""," "," . /. "," , . - , . , . ",""," "," . "," - , . [9]-[10] . - , , - . "," (). ",""," "," - . . , (). ",""," [9] [10] . 4 ."]},{"NewLineToBR":true,"IsDungeon":true,"FloorNames":["1 ","2 ","3 ","4 "],"Name":"emerald","Caption":" ","Description":[""," Emeralds city, .",""," [8] . , , : (.) , (.). , 1 . 0/500 500 .",""," 4 . , [9]-[10] , .",""," ."," : 24 999.",""," :",""," , . : , . , , ."]},{"NewLineToBR":true,"IsDungeon":true,"FloorNames":["","","",""],"Name":"abandon","Caption":" ","Description":["
    23 2007 - Abandoned Plains.

    ","

    : @@ -67,7 +67,7 @@ function MM_jumpMenu(targ,selObj,restore){ //v3.0 ?>

    -


    +




    diff --git a/testing.php b/adminion/testing.php similarity index 99% rename from testing.php rename to adminion/testing.php index efa37206..39015d96 100644 --- a/testing.php +++ b/adminion/testing.php @@ -314,7 +314,7 @@ while ($i < 100) { $dv = ''; $da = ''; $dv .= ' + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + +

    :

    + + 3991930370 + + + +0.00 +0.17 + + + +
    +
    +20%.....
    +50%.....
    +100%.....
    .....
    +50%.....
    +50%.....
    -30%
    +1
    .....
    .....
    50%.....
    .....
    .....
    2.5%.....
    50%.....
    +50%.....
    +50%.....
    +5%.....
    2.00 4.00 7.00 15.00 30.00
    + +
    + +
    + + +
    + +
    + +
    +
    +
    + +
    + + +
    + +
    +
    +
    +
    +
    + +
    + + +
    + +
    +
    +
    +
    +
    + +
    + + +
    + +
    +
    +
    +
    +
    + +
    + + +
    + +
    +
    +
    + + +

    +
    + + \ No newline at end of file diff --git a/bot_q/mini_wm1.png b/bot_q/mini_wm1.png new file mode 100644 index 00000000..c0f9cf5f Binary files /dev/null and b/bot_q/mini_wm1.png differ diff --git a/bot_q/wm1.jpg b/bot_q/wm1.jpg new file mode 100644 index 00000000..392419b4 Binary files /dev/null and b/bot_q/wm1.jpg differ diff --git a/buttons.php b/buttons.php index 9ae547cb..7850d15a 100644 --- a/buttons.php +++ b/buttons.php @@ -6,22 +6,9 @@ function er($e) exit('

    :

    ' . $e . '


    (c) ' . $c[1] . '

    '); } -function GetRealIp() -{ - if (!empty($_SERVER['HTTP_CLIENT_IP'])) { - $ip = $_SERVER['HTTP_CLIENT_IP']; - } elseif (!empty($_SERVER['HTTP_X_FORWARDED_FOR'])) { - $ip = $_SERVER['HTTP_X_FORWARDED_FOR']; - } else { - $ip = $_SERVER['REMOTE_ADDR']; - } - return $ip; -} - -define('IP', GetRealIp()); - include_once('_incl_data/__config.php'); include_once('_incl_data/class/__db_connect.php'); +define('IP', UserIp::get()); $u = User::start(); $filter = new Filter(); $chat = new Chat(); @@ -56,11 +43,6 @@ if ($u->info['online'] < time() - 60) { $u->stats = $u->getStats($u->info['id'], 0); -if ($u->info['activ'] > 0) { - include('activnew.php'); - die(); -} - ?> @@ -80,7 +62,7 @@ if ($u->info['activ'] > 0) { - + + + info['activ'] > 0) { } ?> - - + + + + + + + diff --git a/contacts.html b/contacts.html index b8a897e5..75fe36b8 100644 --- a/contacts.html +++ b/contacts.html @@ -1,41 +1,43 @@ - - - - - - - - - - + + + - + + + + + + - - -
             new-combats.com -
    -        -        -        -        -        -        -
    -
    -
    -
    -

    + + +
    +          new-combats.com +
    +        +        +        +        +        +        +
    +

    -


    - : . , . .8 .1
    - : +79107779911
    - : - 10:00 18:00, - -




    -
    -     -     -     -     -     -
    - +
    +
    + : . , . .8 .1
    + : +79107779911
    + : - 10:00 18:00, - - +
    +
    +     +     +     +     +     +
    +
    + \ No newline at end of file diff --git a/cron/auction.php b/cron/auction.php deleted file mode 100644 index 84e9f854..00000000 --- a/cron/auction.php +++ /dev/null @@ -1,53 +0,0 @@ - - */ - -use Insallah\Db; - -const GAME = true; -const TIME_LAST = 86400; // 1 day -const AUC = ' '; -const AUC_WIN = ' . "%s" %s . .'; -const AUC_SELL = ' "%s" , %s . .'; -const AUC_SELL_LOG = ' : "%s" %s .'; -const AUC_NOT_SELL = ' "%s" , .'; -require_once '_incl_data/class/Insallah/Core/Db.php'; - -$query = [ //all queries - 'insert into chat (new, login, `to`, text, time, type) values (1, ?, ?, ?, unix_timestamp(), 6)', - 'select * from items_auc where time_end = 0 and time < unix_timestamp() - ? order by user_buy', - 'select login from users where id = ?', - 'select count(*) from users where id = ?', - 'update items_users set uid = ?, lastUPD = unix_timestamp() where (id = ? or inGroup = ?) and uid = 0', - 'insert into items_users (`delete`, item_id, 1price, uid, lastUPD, `data`) values (0, 1220, ?, ?, unix_timestamp(), ?)', - 'insert into post (uid, sender_id, time, money, text) values (?, 0, unix_timestamp(), ?, ?)', - 'update items_auc set time_end = unix_timestamp() where id = ?', -]; - -$sp = Db::getRow($query[1], [TIME_LAST]); -foreach ($sp as $pl) { - if ($pl['x'] > 0) { - $pl['name'] .= ' (x' . $pl['x'] . ')'; - } - $userLogin = Db::getValue($query[2], [$pl['uid']]); - if ($pl['user_buy'] && Db::getValue($query[3], [$pl['user_buy']])) { - Db::sql($query[4], [$pl['user_buy'], $pl['item_id'], $pl['item_id']]); - Db::sql($query[0], [AUC, $pl['user_buy'], sprintf(AUC_WIN, $pl['name'], $pl['price'])]); - if ($userLogin) { - Db::sql($query[0], [AUC, $userLogin, sprintf(AUC_SELL, $pl['name'], $pl['price'])]); - Db::sql($query[5], [$pl['price'], '-51' . $pl['uid'], '']); - Db::sql($query[6], [$pl['uid'], $pl['price'], sprintf(AUC_SELL_LOG, $pl['name'], $pl['price'])]); - } - } elseif ($userLogin) { - Db::sql($query[4], [$pl['uid'], $pl['item_id'], $pl['item_id']]); - Db::sql($query[0], [AUC, $userLogin, sprintf(AUC_NOT_SELL, $pl['name'])]); - } - Db::sql($query[7], [$pl['id']]); -} diff --git a/cron/battle_dell.php b/cron/battle_dell.php deleted file mode 100644 index f9ef95a6..00000000 --- a/cron/battle_dell.php +++ /dev/null @@ -1,32 +0,0 @@ -"; - if (isset($tbtl['id'])) { - sleep(2); - } else { - mysql_query('UPDATE `users` SET `battle` = 0 WHERE `battle` > 0'); - mysql_query( - 'LOCK TABLES `battle_act` WRITE,`battle_end` WRITE,`battle_last` WRITE,`battle_out` WRITE,`battle_stat` WRITE,`battle_users` WRITE,`battle` WRITE,`battle_logs` WRITE,`battle_logs_save` WRITE,`zayvki` WRITE' - ); - mysql_query('TRUNCATE TABLE `battle_act`'); - mysql_query('TRUNCATE TABLE `battle_end`'); - mysql_query('TRUNCATE TABLE `battle_last`'); - mysql_query('TRUNCATE TABLE `battle_out`'); - mysql_query('TRUNCATE TABLE `battle_stat`'); - mysql_query('TRUNCATE TABLE `battle_users`'); - mysql_query('TRUNCATE TABLE `battle`'); - mysql_query('TRUNCATE TABLE `battle_logs`'); - mysql_query('TRUNCATE TABLE `battle_logs_save`'); - mysql_query('TRUNCATE TABLE `zayvki`'); - mysql_query('UNLOCK TABLES'); - - $test = 1; - } -} diff --git a/cron/battle_finish.php b/cron/battle_finish.php deleted file mode 100644 index cca13afd..00000000 --- a/cron/battle_finish.php +++ /dev/null @@ -1,80 +0,0 @@ - "'.(time() - 360).'" AND `time_over` != 0 ORDER BY `battle`.`time_over` DESC LIMIT 1')); -if (isset($sp['id'])) - { - mysql_query('UPDATE `battle` SET `time_over` = `time_over` - 300 WHERE `id` = "'.$sp['id'].'" LIMIT 1'); - $sps = mysql_query('SELECT * FROM `users` WHERE `mail` LIKE "haot@new-combats.com" AND `battle` = 0'); - while( $pl = mysql_fetch_array($sps)) - { - if (isset($pl['id'])) - { - mysql_query('UPDATE `users` SET `inUser` = "0" WHERE `inUser` = "'.$pl['id'].'" LIMIT 1'); - mysql_query('DELETE FROM `users` WHERE `id` = "'.$pl['id'].'" LIMIT 1'); - mysql_query('DELETE FROM `stats` WHERE `id` = "'.$pl['id'].'" LIMIT 1'); - mysql_query('DELETE FROM `items_users` WHERE `uid` = "'.$pl['id'].'" LIMIT 100'); - mysql_query('DELETE FROM `eff_users` WHERE `uid` = "'.$pl['id'].'" LIMIT 100'); - } - } - } -// -$sps = mysql_query('SELECT * FROM `users` WHERE `battle` > 0'); -while( $pl = mysql_fetch_array($sps)) - { - if (isset($pl['id'])) - { - $test = mysql_fetch_array(mysql_query('SELECT * FROM `battle` WHERE `id` = "'.$pl['battle'].'" LIMIT 1')); - if (($test['time_over'] < (time()-600) && $test['time_over'] !=0) || !isset($test['id'])) - { - mysql_query('UPDATE `users` SET `battle`= 0 WHERE `id` = "'.$pl['id'].'" LIMIT 1'); - mysql_query('UPDATE `stats` SET `battle_yron` = 0 WHERE `id` = "'.$pl['id'].'" LIMIT 1'); - } - } - } -// -unset($sp,$sps,$pl,$test); - diff --git a/cron/battle_optimize.php b/cron/battle_optimize.php deleted file mode 100644 index c86f4019..00000000 --- a/cron/battle_optimize.php +++ /dev/null @@ -1,21 +0,0 @@ -prepare("delete from $table where time < unix_timestamp() - ?")->execute(DAY); -} -$pdo->prepare($q[0])->execute(DAY); -$pdo->prepare($q[1])->execute(DAY); diff --git a/cron/battle_save.php b/cron/battle_save.php deleted file mode 100644 index 681c6d42..00000000 --- a/cron/battle_save.php +++ /dev/null @@ -1,126 +0,0 @@ -0'); - -//1. , -mysql_query('DELETE FROM `chat` WHERE `time` < "'.(time()-1000).'"'); -mysql_query('DELETE FROM `chat_system` WHERE `time` < "'.(time()-1000).'"'); - -//2. -mysql_query('DELETE FROM `zayvki` WHERE `start` > 0 OR `cancel` > 0 OR `time` < "'.(time()-43200*1).'"'); - -//3. -mysql_query('DELETE FROM `dungeon_zv` WHERE `delete` > 0 OR `time` < "'.(time()-43200*1).'"'); - -//4. -$sp = mysql_query('SELECT * FROM `dungeon_now` WHERE `time_start` < "'.(time()-43200*1).'" OR `time_finish` > 0'); -while( $pl = mysql_fetch_array($sp) ) { - mysql_query('DELETE FROM `dungeon_actions` WHERE `dn` = "'.$pl['id'].'"'); - mysql_query('DELETE FROM `dungeon_bots` WHERE `dn` = "'.$pl['id'].'"'); - mysql_query('DELETE FROM `dungeon_items` WHERE `dn` = "'.$pl['id'].'"'); - mysql_query('DELETE FROM `dungeon_obj` WHERE `dn` = "'.$pl['id'].'"'); - mysql_query('DELETE FROM `dungeon_now` WHERE `id` = "'.$pl['id'].'"'); -} - - -//5. - 10 -$dusr = mysql_query('SELECT * FROM `users` WHERE `banned` < "'.(time()-86400*10).'" AND `banned` > 0'); -while( $ddusr = mysql_fetch_array($dusr) ) { - - mysql_query('DELETE FROM `items_users` WHERE `uid` = "'.$ddusr['id'].'"'); - mysql_query('DELETE FROM `eff_users` WHERE `uid` = "'.$ddusr['id'].'"'); - - // - mysql_query('DELETE FROM `users` WHERE `id` = "'.$ddusr['id'].'" LIMIT 1'); - mysql_query('DELETE FROM `rep` WHERE `id` = "'.$ddusr['id'].'" LIMIT 1'); - mysql_query('DELETE FROM `stats` WHERE `id` = "'.$ddusr['id'].'" LIMIT 1'); - mysql_query('DELETE FROM `online` WHERE `uid` = "'.$ddusr['id'].'" LIMIT 1'); - mysql_query('DELETE FROM `actions` WHERE `uid` = "'.$ddusr['id'].'" LIMIT 1'); -} -//6. 30 - -$dusr = mysql_query('SELECT * FROM `users` WHERE `online` < "'.(time()-86400*30).'" AND `online` > 0 AND `level` < 10'); -while( $ddusr = mysql_fetch_array($dusr) ) { - - mysql_query('DELETE FROM `items_users` WHERE `uid` = "'.$ddusr['id'].'"'); - mysql_query('DELETE FROM `eff_users` WHERE `uid` = "'.$ddusr['id'].'"'); - - // - mysql_query('DELETE FROM `users` WHERE `id` = "'.$ddusr['id'].'" LIMIT 1'); - mysql_query('DELETE FROM `rep` WHERE `id` = "'.$ddusr['id'].'" LIMIT 1'); - mysql_query('DELETE FROM `stats` WHERE `id` = "'.$ddusr['id'].'" LIMIT 1'); - mysql_query('DELETE FROM `online` WHERE `uid` = "'.$ddusr['id'].'" LIMIT 1'); - mysql_query('DELETE FROM `actions` WHERE `uid` = "'.$ddusr['id'].'" LIMIT 1'); - -} - -//7. - -mysql_query('DELETE FROM `users` WHERE `ip` = "0" AND `online` = "0" AND `battle` = "0"'); - -//8. -10 - -mysql_query('DELETE FROM `users_delo` WHERE `time` < "'.(time()-86400*10).'"'); - -//9. - -mysql_query('DELETE FROM `items_users` WHERE `items_users`.`uid` > 0 AND `items_users`.`uid` NOT IN (SELECT `users`.`id` FROM `users`)'); -//mysql_query('OPTIMIZE TABLE `items_users`'); - -//9.1. - -mysql_query('DELETE FROM `eff_users` WHERE `eff_users`.`uid` > 0 AND `eff_users`.`uid` NOT IN (SELECT `users`.`id` FROM `users`)'); -//mysql_query('OPTIMIZE TABLE `eff_users`'); -//9.2. users_achiv - -mysql_query('DELETE FROM `users_achiv` WHERE `users_achiv`.`id` > 0 AND `users_achiv`.`id` NOT IN (SELECT `users`.`id` FROM `users`)'); -//mysql_query('OPTIMIZE TABLE `users_achiv`'); -//9.3. aaa_bonus - -mysql_query('DELETE FROM `aaa_bonus` WHERE `aaa_bonus`.`uid` > 0 AND `aaa_bonus`.`uid` NOT IN (SELECT `users`.`id` FROM `users`)'); -//mysql_query('OPTIMIZE TABLE `aaa_bonus`'); -//9.4. `users_delo` -mysql_query('DELETE FROM `users_delo` WHERE `users_delo`.`uid` > 0 AND `users_delo`.`uid` NOT IN (SELECT `users`.`id` FROM `users`)'); -//mysql_query('OPTIMIZE TABLE `users_delo`'); -//9.5. users_reting -mysql_query('DELETE FROM `users_reting` WHERE `users_reting`.`uid` > 0 AND `users_reting`.`uid` NOT IN (SELECT `users`.`id` FROM `users`)'); -//mysql_query('OPTIMIZE TABLE `users_reting`'); -//9.6. `aaa_reting_list` -mysql_query('DELETE FROM `aaa_reting_list` WHERE `aaa_reting_list`.`uid` > 0 AND `aaa_reting_list`.`uid` NOT IN (SELECT `users`.`id` FROM `users`)'); -//mysql_query('OPTIMIZE TABLE `aaa_reting_list`'); -//9.7 rep -mysql_query('DELETE FROM `rep` WHERE `rep`.`id` > 0 AND `rep`.`id` NOT IN (SELECT `users`.`id` FROM `users`)'); -//mysql_query('OPTIMIZE TABLE `rep`'); -//9.8 aaa_znahar -mysql_query('DELETE FROM `aaa_znahar` WHERE `aaa_znahar`.`uid` > 0 AND `aaa_znahar`.`uid` NOT IN (SELECT `users`.`id` FROM `users`)'); -//mysql_query('OPTIMIZE TABLE `aaa_znahar`'); -//9.9 user_operation -mysql_query('DELETE FROM `user_operation` WHERE `user_operation`.`uid` > 0 AND `user_operation`.`uid` NOT IN (SELECT `users`.`id` FROM `users`)'); -//mysql_query('OPTIMIZE TABLE `user_operation`'); - -//10. actions - -mysql_query('DELETE FROM `actions` WHERE `vars`= "day_quest"'); -mysql_query('DELETE FROM `actions` WHERE `time` < "'.(time()-86400*60).'" AND `vars` != "read"'); -mysql_query('DELETE FROM `actions` WHERE `actions`.`uid` > 0 AND `actions`.`uid` NOT IN (SELECT `users`.`id` FROM `users`)'); -mysql_query('DELETE FROM `actions` WHERE `vals`= "loto"'); -//mysql_query('OPTIMIZE TABLE `actions`'); -// - -mysql_query('DELETE FROM `uploads` WHERE `id` > 0'); - diff --git a/cron/comission.php b/cron/comission.php deleted file mode 100644 index 7ebadcee..00000000 --- a/cron/comission.php +++ /dev/null @@ -1,43 +0,0 @@ -Shop.capitalcity": : [id="%s"/ : "%s"/ : "%s"/ : "$s"].'; -const RETURN_ONE = '"Shop.capitalcity": : [id="%s"/ : "%s"/ : "%s"].'; -const SHOP_TYPE = 'Shop.comission'; -setlocale(LC_CTYPE, "ru_RU.CP1251"); -include('/home/newcom1/public_html/_incl_data/__config.php'); -include('/home/newcom1/public_html/_incl_data/class/__db_connect.php'); -$u = User::start(); - -$q = 'select items_main.id, uid, inGroup, item_id, price1, name from items_users left join items_main on items_main.id = item_id where inShop = 30 and `delete` = 0'; -foreach ($pdo->query($q) as $row) { - if ($row['inGroup']) { - $col = $u->itemsX($row['id']); - if ($col > 1) { - $stmt = $pdo->prepare('update items_users set inShop = 0, 1price = ? where item_id = ? and inShop = 30 and uid = ? and inGroup = ? limit ' . $col); - if ($stmt->execute([$row['price1'], $row['item_id'], $row['uid'], $row['inGroup']])) { - $ld = $u->addDelo(1, $row['uid'], - sprintf(RETURN_GROUP, $row['item_id'], $row['name'], $row['price1'], $row['inGroup'] . '+1'), - time(), $u->info['city'], SHOP_TYPE, 0, 0); - } - } else { - $stmt = $pdo->prepare('update items_users set inShop = 0, 1price = ? where uid = ? and id = ? and inOdet = 0 and `delete` = 0 and inShop = 30'); - if ($stmt->execute([$row['price1'], $row['uid'], $row['id']])) { - $ld = $u->addDelo(1, $row['uid'], sprintf(RETURN_ONE, $row['item_id'], $row['name'], $row['price1']), - time(), $u->info['city'], SHOP_TYPE, 0, 0); - } - } - } else { - $stmt = $pdo->prepare('update items_users set inShop = 0, 1price = ? where id = ? and inShop = 30'); - if ($stmt->execute([$row['price1'], $row['id']])) { - $ld = $u->addDelo(1, $row['uid'], sprintf(RETURN_ONE, $row['item_id'], $row['name'], $row['price1']), - time(), $u->info['city'], SHOP_TYPE, 0, 0); - } - } -} diff --git a/cron/cron_clear.php b/cron/cron_clear.php deleted file mode 100644 index efe1505c..00000000 --- a/cron/cron_clear.php +++ /dev/null @@ -1,160 +0,0 @@ - 0 OR `cancel` > 0 OR `time` < "'.(time()-86400*1).'"'); - -//3. -mysql_query('DELETE FROM `dungeon_zv` WHERE `delete` > 0 OR `time` < "'.(time()-86400*1).'"'); - -//4. -$sp = mysql_query('SELECT * FROM `dungeon_now` WHERE `time_start` < "'.(time()-86400*1).'" OR `time_finish` > 0'); -while( $pl = mysql_fetch_array($sp) ) { - mysql_query('DELETE FROM `dungeon_actions` WHERE `dn` = "'.$pl['id'].'"'); - mysql_query('DELETE FROM `dungeon_bots` WHERE `dn` = "'.$pl['id'].'"'); - mysql_query('DELETE FROM `dungeon_items` WHERE `dn` = "'.$pl['id'].'"'); - mysql_query('DELETE FROM `dungeon_obj` WHERE `dn` = "'.$pl['id'].'"'); - mysql_query('DELETE FROM `dungeon_now` WHERE `id` = "'.$pl['id'].'"'); -} - -//5. -$i = 0; -$sp = mysql_query('SELECT * FROM `users` WHERE `real` = 0 ORDER BY `id` LIMIT 100000'); -while( $pl = mysql_fetch_array($sp) ) { - $btl = mysql_fetch_array(mysql_query('SELECT * FROM `battle` WHERE `id` = "'.$pl['battle'].'" LIMIT 1')); - $clon = mysql_fetch_array(mysql_query('SELECT `id` FROM `users` WHERE `inUser` = "'.$pl['id'].'" LIMIT 1')); - if( (!isset($btl['id']) || $btl['team_win'] >= 0) && !isset($clon['id']) ) { - // - delete_user_all( $pl['id'] , $pl['login'] ); - $i++; - } -} -$x = mysql_fetch_array(mysql_query('SELECT COUNT(*) FROM `users` WHERE `real` = 0 LIMIT 1')); -$x = $x[0]; - -mysql_query('DELETE FROM `stats` WHERE `id` NOT IN (SELECT `id` FROM `users`);'); -mysql_query('DELETE FROM `items_users` WHERE `delete` > `time_create` AND `delete` > 0'); - -//6. -mysql_query('DELETE FROM `users_delo` WHERE `time` < "'.(time()-86400*30).'" LIMIT 10000'); diff --git a/cron/php.ini b/cron/php.ini deleted file mode 100644 index 2c350d1a..00000000 --- a/cron/php.ini +++ /dev/null @@ -1,2 +0,0 @@ -;display_errors = on -;error_reporting = E_ALL & ~E_NOTICE diff --git a/cron/rupor.php b/cron/rupor.php deleted file mode 100644 index b8a5410a..00000000 --- a/cron/rupor.php +++ /dev/null @@ -1,24 +0,0 @@ -prepare($q)->execute([': ' . $rupor[0], '#F00']); diff --git a/cron/stats_correct.php b/cron/stats_correct.php deleted file mode 100644 index 59f80cfa..00000000 --- a/cron/stats_correct.php +++ /dev/null @@ -1,31 +0,0 @@ - 1999 order by add_stats desc', - 'update rep set - nu_capitalcity = 0, - nu_demonscity = 0, - nu_angelscity = 0, - nu_suncity = 0, - nu_dreamscity = 0, - nu_abandonedplain = 0, - nu_sandcity = 0, - nu_emeraldscity = 0, - add_stats = 0, - add_skills = 0, - add_slot = 0 - where id = ?', -]; - -$correct = $pdo->prepare($q[1]); -foreach ($pdo->query($q[0]) as $row) { - echo 'id: ' . $row['id'] . '
    '; - $correct->execute($row['id']); -} diff --git a/cron/tom_check.php b/cron/tom_check.php deleted file mode 100644 index befdaa7e..00000000 --- a/cron/tom_check.php +++ /dev/null @@ -1,90 +0,0 @@ - 10'); -while( $pl = mysql_fetch_array($sp) ) { - $test = mysql_fetch_array(mysql_query('SELECT * FROM `rep` WHERE `id` = "'.$pl['id'].'" LIMIT 1')); - $userst = mysql_fetch_array(mysql_query('SELECT * FROM `users` WHERE `id` = "'.$pl['id'].'" LIMIT 1')); - $kolvo = mysql_fetch_array(mysql_query('SELECT COUNT(*) FROM `actions` WHERE `uid` ="'.$pl['id'].'" AND `vars` ="read"')); - $overtop=$pl['priemslot']-10-$test['add_slot']-($kolvo['COUNT(*)']+1); - $overtopkorrect=$pl['priemslot']-10-$test['add_slot']; - $prevish = $overtop > 8 ? $overtop - 8 : 0; - if ($overtopkorrect>8){$overtopkorrect=8;} - $resultslot= 10 + $test['add_slot'] + $overtopkorrect; - if($overtop>0) - { - - echo "!!! :".$userst['login']." :".$pl['priemslot']." :".$resultslot." :".$test['add_slot']." :".$kolvo['COUNT(*)']." :".$overtop." :".$prevish." :".$overtopkorrect."
    "; - - mysql_query('UPDATE `stats` SET `priemslot` = "'.$resultslot.'" WHERE `id` = "'.$pl['id'].'"'); - mysql_query('DELETE FROM `actions` WHERE `uid` = "'.$pl['id'].'" AND `vars` = "read" '); - - if($overtopkorrect==5){$overtopkorrect=6;} - - if ($overtopkorrect==1) - { - mysql_query('INSERT INTO `actions`(`uid`, `time`, `city`, `room`, `vars`, `vals`) VALUES ("'.$pl['id'].'","'.time().'","capitalcity","10","read","1044")'); - } - elseif ($overtopkorrect==2) - { - mysql_query('INSERT INTO `actions`(`uid`, `time`, `city`, `room`, `vars`, `vals`) VALUES ("'.$pl['id'].'","'.time().'","capitalcity","10","read","1044")'); - mysql_query('INSERT INTO `actions`(`uid`, `time`, `city`, `room`, `vars`, `vals`) VALUES ("'.$pl['id'].'","'.time().'","capitalcity","10","read","1045")'); - } - elseif ($overtopkorrect==3) - { - mysql_query('INSERT INTO `actions`(`uid`, `time`, `city`, `room`, `vars`, `vals`) VALUES ("'.$pl['id'].'","'.time().'","capitalcity","10","read","1044")'); - mysql_query('INSERT INTO `actions`(`uid`, `time`, `city`, `room`, `vars`, `vals`) VALUES ("'.$pl['id'].'","'.time().'","capitalcity","10","read","1045")'); - mysql_query('INSERT INTO `actions`(`uid`, `time`, `city`, `room`, `vars`, `vals`) VALUES ("'.$pl['id'].'","'.time().'","capitalcity","10","read","1046")'); - } - elseif ($overtopkorrect==4) - { - mysql_query('INSERT INTO `actions`(`uid`, `time`, `city`, `room`, `vars`, `vals`) VALUES ("'.$pl['id'].'","'.time().'","capitalcity","10","read","1044")'); - mysql_query('INSERT INTO `actions`(`uid`, `time`, `city`, `room`, `vars`, `vals`) VALUES ("'.$pl['id'].'","'.time().'","capitalcity","10","read","1045")'); - mysql_query('INSERT INTO `actions`(`uid`, `time`, `city`, `room`, `vars`, `vals`) VALUES ("'.$pl['id'].'","'.time().'","capitalcity","10","read","1046")'); - mysql_query('INSERT INTO `actions`(`uid`, `time`, `city`, `room`, `vars`, `vals`) VALUES ("'.$pl['id'].'","'.time().'","capitalcity","10","read","1047")'); - } - elseif ($overtopkorrect==6) - { - mysql_query('INSERT INTO `actions`(`uid`, `time`, `city`, `room`, `vars`, `vals`) VALUES ("'.$pl['id'].'","'.time().'","capitalcity","10","read","1044")'); - mysql_query('INSERT INTO `actions`(`uid`, `time`, `city`, `room`, `vars`, `vals`) VALUES ("'.$pl['id'].'","'.time().'","capitalcity","10","read","1045")'); - mysql_query('INSERT INTO `actions`(`uid`, `time`, `city`, `room`, `vars`, `vals`) VALUES ("'.$pl['id'].'","'.time().'","capitalcity","10","read","1046")'); - mysql_query('INSERT INTO `actions`(`uid`, `time`, `city`, `room`, `vars`, `vals`) VALUES ("'.$pl['id'].'","'.time().'","capitalcity","10","read","1047")'); - - - mysql_query('INSERT INTO `actions`(`uid`, `time`, `city`, `room`, `vars`, `vals`) VALUES ("'.$pl['id'].'","'.time().'","capitalcity","10","read","4811")'); - } - elseif ($overtopkorrect==7) - { - - mysql_query('INSERT INTO `actions`(`uid`, `time`, `city`, `room`, `vars`, `vals`) VALUES ("'.$pl['id'].'","'.time().'","capitalcity","10","read","1044")'); - mysql_query('INSERT INTO `actions`(`uid`, `time`, `city`, `room`, `vars`, `vals`) VALUES ("'.$pl['id'].'","'.time().'","capitalcity","10","read","1045")'); - mysql_query('INSERT INTO `actions`(`uid`, `time`, `city`, `room`, `vars`, `vals`) VALUES ("'.$pl['id'].'","'.time().'","capitalcity","10","read","1046")'); - mysql_query('INSERT INTO `actions`(`uid`, `time`, `city`, `room`, `vars`, `vals`) VALUES ("'.$pl['id'].'","'.time().'","capitalcity","10","read","1047")'); - - - mysql_query('INSERT INTO `actions`(`uid`, `time`, `city`, `room`, `vars`, `vals`) VALUES ("'.$pl['id'].'","'.time().'","capitalcity","10","read","4811")'); - mysql_query('INSERT INTO `actions`(`uid`, `time`, `city`, `room`, `vars`, `vals`) VALUES ("'.$pl['id'].'","'.time().'","capitalcity","10","read","4812")'); - - } - elseif ($overtopkorrect==8) - { - - mysql_query('INSERT INTO `actions`(`uid`, `time`, `city`, `room`, `vars`, `vals`) VALUES ("'.$pl['id'].'","'.time().'","capitalcity","10","read","1044")'); - mysql_query('INSERT INTO `actions`(`uid`, `time`, `city`, `room`, `vars`, `vals`) VALUES ("'.$pl['id'].'","'.time().'","capitalcity","10","read","1045")'); - mysql_query('INSERT INTO `actions`(`uid`, `time`, `city`, `room`, `vars`, `vals`) VALUES ("'.$pl['id'].'","'.time().'","capitalcity","10","read","1046")'); - mysql_query('INSERT INTO `actions`(`uid`, `time`, `city`, `room`, `vars`, `vals`) VALUES ("'.$pl['id'].'","'.time().'","capitalcity","10","read","1047")'); - - - mysql_query('INSERT INTO `actions`(`uid`, `time`, `city`, `room`, `vars`, `vals`) VALUES ("'.$pl['id'].'","'.time().'","capitalcity","10","read","4811")'); - mysql_query('INSERT INTO `actions`(`uid`, `time`, `city`, `room`, `vars`, `vals`) VALUES ("'.$pl['id'].'","'.time().'","capitalcity","10","read","4812")'); - mysql_query('INSERT INTO `actions`(`uid`, `time`, `city`, `room`, `vars`, `vals`) VALUES ("'.$pl['id'].'","'.time().'","capitalcity","10","read","4813")'); - } - - - - echo "!!! :".$userst['login']." :".$resultslot." :".$test['add_slot']." :".$overtopkorrect."
    "; - } -} diff --git a/cron_GAMECORE.php b/cron_GAMECORE.php deleted file mode 100644 index 632e8881..00000000 --- a/cron_GAMECORE.php +++ /dev/null @@ -1,87 +0,0 @@ -'.$_SERVER['SERVER_ADDR']); - } -} - - -define('GAME',true); - -include('_incl_data/__config.php'); -include('_incl_data/class/__db_connect.php'); - -function e($t) { - mysql_query('INSERT INTO `chat` (`text`,`city`,`to`,`type`,`new`,`time`) VALUES ("core #'.date('d.m.Y').' %'.date('H:i:s').' ( ): '.mysql_real_escape_string($t).'","capitalcity","LEL","6","1","-1")'); -} - -$count = array( - 0, // - 0, - 0, - 0, - 0, - 0 -); - -function clear_user($plid) { - mysql_query('UPDATE `users` SET `login` = "delete",`login2` = `login` WHERE `id` = "'.$plid.'" LIMIT 1'); - /* mysql_query('DELETE FROM `users` WHERE `id` = "'.$plid.'" LIMIT 1'); - mysql_query('DELETE FROM `items_users` WHERE `uid` = "'.$plid.'"'); - mysql_query('DELETE FROM `eff_users` WHERE `uid` = "'.$plid.'"'); - mysql_query('DELETE FROM `bank` WHERE `uid` = "'.$plid.'"');*/ -} - -/*$sp = mysql_query('SELECT `id` FROM `users` WHERE `cityreg` = "" && `timereg` = "0" LIMIT 100'); -while($pl = mysql_fetch_array($sp)) { - $n_st = mysql_fetch_array(mysql_query('SELECT `id` FROM `stats` WHERE `id` = "'.$pl['id'].'" LIMIT 1')); - if(!isset($n_st['id'])) { - clear_user($pl['id']); - } -}*/ - -function inuser_go_btl($id) { - if(isset($id['id'])) { - echo file_get_contents('https://new-combats.com/jx/battle/refresh.php?uid='.$id['id'].'&cron_core='.md5($id['id'].'_brfCOreW@!_'.$id['pass']).'&pass='.$id['pass']); - echo '
    '; - } -} - -/* */ -//e(' .'); -$i = 0; -while( $i < 3 ) { - $sp = mysql_query('SELECT `id`,`time_start` FROM `battle` WHERE `team_win` = "-1" AND `time_over` = "0" AND `type` = 329 LIMIT 100'); - while($pl = mysql_fetch_array($sp)) { - $user1 = mysql_fetch_array(mysql_query('SELECT * FROM `users` WHERE `battle` = "'.$pl['id'].'" LIMIT 1')); - inuser_go_btl($user1); - } - $i++; -} - -//$i = 0; -//while( $i < 3 ) { -/* $sp = mysql_query('SELECT `id`,`time_start` FROM `battle` WHERE `team_win` = "-1" AND `time_over` = "0" AND `time_start` < "'.(time()-3600).'" LIMIT 100'); - while($pl = mysql_fetch_array($sp)) { - $user1 = mysql_fetch_array(mysql_query('SELECT * FROM `users` WHERE `battle` = "'.$pl['id'].'" LIMIT 1')); - inuser_go_btl($user1); - }*/ - //$i++; -//} -?> \ No newline at end of file diff --git a/cron_GoBattle.php b/cron_GoBattle.php deleted file mode 100644 index 7cc86a2b..00000000 --- a/cron_GoBattle.php +++ /dev/null @@ -1,67 +0,0 @@ -' . $_SERVER['SERVER_ADDR']); -} - -const GAME = true; - -include('_incl_data/__config.php'); -include('_incl_data/class/__db_connect.php'); -$u = User::start(); - -$sp = mysql_query( - 'SELECT `u`.*,`s`.*,`u`.`id`,`s`.`id` FROM `users` AS `u` LEFT JOIN `stats` AS `s` ON ( `s`.`id` = `u`.`id` AND `s`.`bot` = 0 ) WHERE `login` = "Crowley"' -); -while ($pl = mysql_fetch_array($sp)) { - if ($pl['inUser'] > 0 && $pl['inTurnir'] > 0) { - $txt = '! , !'; - mysql_query( - "INSERT INTO `chat` (`new`,`city`,`room`,`login`,`to`,`text`,`time`,`type`,`toChat`,`typeTime`) VALUES (1,'" . $u->info['city'] . "','" . $u->info['room'] . "','','','" . $txt . "','" . time( - ) . "','6','0','1')" - ); - } - if ($pl['dnow'] > 0) { - // - mysql_query( - 'INSERT INTO `save_dungeon` (`x`,`y`,`dnow`,`time`,`uid`) VALUES ("' . $pl['x'] . '","' . $pl['y'] . '","' . $pl['dnow'] . '","' . time( - ) . '","' . $pl['id'] . '")' - ); - // - mysql_query('UPDATE `stats` SET `dnow` = "0" WHERE `id` = "' . $pl['id'] . '"'); - mysql_query('UPDATE `users` SET `room` = "9",`battle` = "0" WHERE `id` = "' . $pl['id'] . '"'); - // - mysql_query('DELETE FROM `eff_users` WHERE `uid` = "' . $pl['id'] . '" AND `v1` = "priem" AND `delete` = "0"'); - mysql_query('DELETE FROM `battle` WHERE `id` = "' . $pl['battle'] . '"'); - mysql_query('DELETE FROM `battle_act` WHERE `battle` = "' . $pl['battle'] . '"'); - mysql_query( - 'DELETE FROM `battle_actions` WHERE `btl` = "' . $pl['battle'] . '" AND `uid` = "' . $pl['id'] . '"' - ); - mysql_query('DELETE FROM `battle_end` WHERE `battle_id` = "' . $pl['battle'] . '"'); - mysql_query('DELETE FROM `battle_last` WHERE `battle_id` = "' . $pl['battle'] . '"'); - mysql_query('DELETE FROM `battle_logs` WHERE `battle` = "' . $pl['battle'] . '"'); - mysql_query('DELETE FROM `battle_out` WHERE `battle` = "' . $pl['battle'] . '"'); - mysql_query('DELETE FROM `battle_stat` WHERE `battle` = "' . $pl['battle'] . '"'); - mysql_query('DELETE FROM `battle_users` WHERE `battle` = "' . $pl['battle'] . '"'); - } else { - $txt = '! 22:00 00:00! +100%, , !'; - mysql_query( - "INSERT INTO `chat` (`new`,`city`,`room`,`login`,`to`,`text`,`time`,`type`,`toChat`,`typeTime`) VALUES (1,'" . $pl['city'] . "','','','','" . $txt . "','" . time( - ) . "','6','0','1')" - ); - } -} diff --git a/cron_bot_core.php b/cron_bot_core.php deleted file mode 100644 index 534bb1b8..00000000 --- a/cron_bot_core.php +++ /dev/null @@ -1,139 +0,0 @@ - 0) { - $zv = mysql_fetch_array( - mysql_query( - 'SELECT `id`,`time`,`razdel` FROM `zayvki` WHERE `id` = "' . $pl['zv'] . '" AND `btl_id` = 0 LIMIT 1' - ) - ); - if (!isset($zv['id']) || $zv['razdel'] != 5) { - $pl['zv'] = 0; - mysql_query('UPDATE `stats` SET `zv` = "0" WHERE `id` = "' . $pl['id'] . '" LIMIT 1'); - } - } - if ($pl['battle'] == -1) { - mysql_query('UPDATE `users` SET `battle` = 0,`ipreg` = 0 WHERE `id` = "' . $pl['id'] . '" LIMIT 1'); - mysql_query('UPDATE `stats` SET `zv` = "0" WHERE `id` = "' . $pl['id'] . '" LIMIT 1'); - $pl['battle'] = 0; - $pl['ipreg'] = 0; - } - if ((date('i') == 5 || date('i') == 6 || date('i') == 15 || date('i') == 16 || date('i') == 25 || date( - 'i' - ) == 26 || date('i') == 35 || date('i') == 36 || date('i') == 45) && $pl['zv'] == 0) { - mysql_query('UPDATE `users` SET `ipreg` = 0 WHERE `id` = "' . $pl['id'] . '" LIMIT 1'); - } - - if ((!isset($btltest2[$pl['battle']]) || $btltest2[$pl['battle']] == 0) && $pl['battle'] > 0) { - $btltest2[$pl['battle']]++; - echo '|' . $pl['battle'] . '|' . $pl['id'] . '|inBATTLE | '; - inuser_go_btl($pl); - echo '{!}'; - } - - if ($pl['zv'] == 0 && ($pl['battle'] == 0 || !isset($btltest[$pl['battle']]) || $btltest[$pl['battle']] < 1)) { - - $btltest[$pl['battle']]++; - - if ($pl['timereg'] == 0) { - mysql_query('UPDATE `users` SET `timereg` = "' . time() . '" WHERE `id` = "' . $pl['id'] . '" LIMIT 1'); - } else { - mysql_query('UPDATE `users` SET `online` = "' . time() . '" WHERE `id` = "' . $pl['id'] . '" LIMIT 1'); - } - - if ($pl['exp'] > 400000 && $pl['level'] == 8) { - $pl['exp'] = 400000; - mysql_query('UPDATE `stats` SET `exp` = "400000" WHERE `id` = "' . $pl['id'] . '" LIMIT 1'); - } elseif ($pl['exp'] > 3500000 && $pl['level'] == 9) { - $pl['exp'] = 3500000; - mysql_query('UPDATE `stats` SET `exp` = "3500000" WHERE `id` = "' . $pl['id'] . '" LIMIT 1'); - } elseif ($pl['exp'] > 48000000 && $pl['level'] == 10) { - $pl['exp'] = 48000000; - mysql_query('UPDATE `stats` SET `exp` = "48000000" WHERE `id` = "' . $pl['id'] . '" LIMIT 1'); - } elseif ($pl['exp'] > 148000000 && $pl['level'] == 11) { - $pl['exp'] = 148000000; - mysql_query('UPDATE `stats` SET `exp` = "148000000" WHERE `id` = "' . $pl['id'] . '" LIMIT 1'); - } elseif ($pl['exp'] > 400000000 && $pl['level'] == 12) { - $pl['exp'] = 400000000; - mysql_query('UPDATE `stats` SET `exp` = "400000000" WHERE `id` = "' . $pl['id'] . '" LIMIT 1'); - } - - if ($pl['bot'] == 0) { - mysql_query('UPDATE `stats` SET `bot` = "2" WHERE `id` = "' . $pl['id'] . '" LIMIT 1'); - } - - mysql_query('UPDATE `stats` SET `nextAct` = "' . time() . '" WHERE `id` = "' . $pl['id'] . '" LIMIT 1'); - mysql_query( - 'UPDATE `users` SET `online` = "' . time() . '",`afk` = "" WHERE `id` = "' . $pl['id'] . '" LIMIT 1' - ); - - BotLogic::start($pl['id']); - - } else { - if ($pl['timereg'] == 0) { - mysql_query('UPDATE `users` SET `timereg` = "' . time() . '" WHERE `id` = "' . $pl['id'] . '" LIMIT 1'); - } else { - mysql_query('UPDATE `users` SET `online` = "' . time() . '" WHERE `id` = "' . $pl['id'] . '" LIMIT 1'); - } - - if ($pl['exp'] > 400000 && $pl['level'] == 8) { - $pl['exp'] = 400000; - mysql_query('UPDATE `stats` SET `exp` = "400000" WHERE `id` = "' . $pl['id'] . '" LIMIT 1'); - } elseif ($pl['exp'] > 3500000 && $pl['level'] == 9) { - $pl['exp'] = 3500000; - mysql_query('UPDATE `stats` SET `exp` = "3500000" WHERE `id` = "' . $pl['id'] . '" LIMIT 1'); - } elseif ($pl['exp'] > 48000000 && $pl['level'] == 10) { - $pl['exp'] = 48000000; - mysql_query('UPDATE `stats` SET `exp` = "48000000" WHERE `id` = "' . $pl['id'] . '" LIMIT 1'); - } elseif ($pl['exp'] > 148000000 && $pl['level'] == 11) { - $pl['exp'] = 148000000; - mysql_query('UPDATE `stats` SET `exp` = "148000000" WHERE `id` = "' . $pl['id'] . '" LIMIT 1'); - } elseif ($pl['exp'] > 400000000 && $pl['level'] == 12) { - $pl['exp'] = 400000000; - mysql_query('UPDATE `stats` SET `exp` = "148000000" WHERE `id` = "' . $pl['id'] . '" LIMIT 1'); - } - - if ($pl['bot'] == 0) { - mysql_query('UPDATE `stats` SET `bot` = "2" WHERE `id` = "' . $pl['id'] . '" LIMIT 1'); - } - mysql_query('UPDATE `stats` SET `nextAct` = "' . time() . '" WHERE `id` = "' . $pl['id'] . '" LIMIT 1'); - mysql_query('UPDATE `users` SET `online` = "' . time() . '" WHERE `id` = "' . $pl['id'] . '" LIMIT 1'); - } - } - - $ii++; - echo 'TEST:' . $ii; - unset($btltest, $btl_ref, $btltest2); - sleep(4); -} diff --git a/cron_bs.php b/cron_bs.php deleted file mode 100644 index 2d440a51..00000000 --- a/cron_bs.php +++ /dev/null @@ -1,86 +0,0 @@ -'.$_SERVER['SERVER_ADDR']); -} - -define('GAME',true); -setlocale(LC_CTYPE ,"ru_RU.CP1251"); -include('_incl_data/__config.php'); -include('_incl_data/class/__db_connect.php'); - -function send($text) { - return mysql_query('INSERT INTO `chat` (`new`,`type`,`to`,`text`,`time`) VALUES (1,6,"","'.$text.'",'.time().')'); -} - -$i = 7; -while($i <= 11) { - $t = mysql_fetch_array(mysql_query('SELECT * FROM `bs_turnirs` WHERE `city` = "capitalcity" AND `level` = "'.$i.'" LIMIT 1')); - if(isset($t['id'])) { - //send(' ['.$i.'] - status'.$t['status'].''); - if($t['status'] == 1) { - // - $users = mysql_fetch_array(mysql_query('SELECT COUNT(*) FROM `users` WHERE `room` = "264" AND `login` NOT LIKE "%%" AND `lose` = "0" AND `nich` = "0" LIMIT 1')); - if($users[0] < 2) { - // - // - mysql_query('UPDATE `bs_turnirs` SET `status` = "0",`users_finish` = "0",`money` = "0",`time_start` = "'.(time()+$t['time_out']*60).'",`users` = "0" WHERE `id` = "'.$t['id'].'" LIMIT 1'); - - // - $sp = mysql_query('SELECT * FROM `bs_zv` WHERE `bsid` = "'.$t['id'].'" AND `time` = "'.$t['time_start'].'" AND `finish` = "0" ORDER BY `money` DESC LIMIT 100'); - while($pl = mysql_fetch_array($sp)) - { - $ur = mysql_fetch_array(mysql_query('SELECT `id`,`login`,`room`,`name`,`sex`,`inUser` FROM `users` WHERE `id` = "'.$pl['uid'].'" LIMIT 1')); - if(isset($ur['id'])) - { - //del - mysql_query('DELETE FROM `users` WHERE `id` = "'.$ur['inUser'].'" LIMIT 1'); - mysql_query('DELETE FROM `stats` WHERE `id` = "'.$ur['inUser'].'" LIMIT 1'); - mysql_query('DELETE FROM `items_users` WHERE `uid` = "'.$ur['inUser'].'" LIMIT 1'); - mysql_query('DELETE FROM `eff_users` WHERE `uid` = "'.$ur['inUser'].'" LIMIT 1'); - //upd - mysql_query('UPDATE `bs_zv` SET `finish` = "'.time().'" WHERE `id` = "'.$pl['id'].'" LIMIT 1'); - mysql_query('UPDATE `users` SET `inUser` = "0" WHERE `id` = "'.$pl['uid'].'" LIMIT 1'); - } - } - mysql_query('DELETE FROM `dungeon_now` WHERE `bsid` = "'.$t['inUser'].'" AND `time_start` = "'.$t['time_start'].'" LIMIT 1'); - // - unset($tz); - $t['status'] = 0; - $t['money'] = 0; - $t['users'] = 0; - $t['time_start'] = (time()+$t['time_out']*60); - send(' ['.$i.'] - '.$users[0].' - '); - }else{ - // - - } - }else{ - // - - } - } - $i++; -} -?> \ No newline at end of file diff --git a/cron_dungeon.php b/cron_dungeon.php deleted file mode 100644 index 5f6e1bd7..00000000 --- a/cron_dungeon.php +++ /dev/null @@ -1,4 +0,0 @@ - \ No newline at end of file diff --git a/cron_dungeon_getOut.php b/cron_dungeon_getOut.php deleted file mode 100644 index a464fc9c..00000000 --- a/cron_dungeon_getOut.php +++ /dev/null @@ -1,111 +0,0 @@ -'.$_SERVER['SERVER_ADDR']); - } -}*/ - - -define('GAME', true); -setlocale(LC_CTYPE ,"ru_RU.CP1251"); - -include('_incl_data/__config.php'); -include('_incl_data/class/__db_connect.php'); - -# . -function start() { - # 0.0000 - $mtime = microtime();$mtime = explode(" ",$mtime);$tstart = $mtime[1] + $mtime[0]; - - # . - # : , , , . - $query = mysql_query( - "SELECT - `dn`.time_start as dn_start, - `dn`.city as city, - `dn`.id as dn_id, - `uc`.countUsers as u_count - FROM `dungeon_now` as `dn` - LEFT JOIN `stats` as `st` ON `st`.id = `dn`.uid - LEFT JOIN `users` as `u` ON `u`.id = `dn`.uid - LEFT JOIN (SELECT dnow, count(id) as countUsers FROM `stats` group by dnow ) as `uc` ON `uc`.dnow = `dn`.id - - WHERE - `st`.dnow > 0 AND - `st`.dnow != '' AND - `u`.online < ".(time()-10800)." AND - `dn`.time_start < ".(time()-18000)." AND - `dn`.time_finish = '0' AND `dn`.`bsid` = '0' - GROUP BY `dn`.id - ORDER BY `dn`.id DESC;" - ); - - while( $dungeon = mysql_fetch_array( $query ) ) { - if(isset($dungeon['dn_id']) && $dungeon['dn_id'] != 15) { - # [1] `382` (.) - $users = mysql_query('SELECT `id` FROM `stats` WHERE `dnow` = "'.$dungeon['dn_id'].'" LIMIT 10'); - while( $cur = mysql_fetch_array($users) ) { - mysql_query('UPDATE `stats` SET `dnow` = "0" WHERE `id` = "'.$cur['id'].'" LIMIT 1'); - // - $podval_room = 382; - // - print_r($dungeon); - if( $dungeon['city'] == 'capitalcity' ) { - //$podval_room = 372; - $podval_room = 321; - }elseif( $dungeon['city'] == 'angelscity' ) { - $podval_room = 242; - } - - mysql_query('UPDATE `users` SET `room` = "'.$podval_room.'" WHERE `id` = "'.$cur['id'].'" LIMIT 1'); - #echo ' '.$cur['id'].' '.$dungeon['dn_id'].'
    '; - mysql_query('UPDATE `items_users` SET `delete` = "'.time().'" WHERE `uid` = "'.$cur['id'].'" AND `dn_delete` = "1"'); - # echo ' '.$cur['id'].'
    '; - } - unset( $cur ); - # [2] . - mysql_query('DELETE FROM `dungeon_obj` WHERE `dn` = "'.$dungeon['dn_id'].'" AND `for_dn` = "0"'); - # echo ' '.$dungeon['dn_id'].'
    '; - - # [3] . - mysql_query('DELETE FROM `dungeon_bots` WHERE `dn` = "'.$dungeon['dn_id'].'" AND `for_dn` = "0"'); - # echo ' '.$dungeon['dn_id'].'
    '; - - # [4] . - mysql_query('DELETE FROM `dungeon_items` WHERE `dn` = "'.$dungeon['dn_id'].'" AND `for_dn` = "0"'); - # echo ' '.$dungeon['dn_id'].'
    '; - - # [5] (actions) - mysql_query('DELETE FROM `dungeon_actions` WHERE `dn` = "'.$dungeon['dn_id'].'"'); - # echo ' '.$dungeon['dn_id'].'
    '; - - # [6] Dungeon_Now - time_finish = time(); - mysql_query('UPDATE `dungeon_now` SET `time_finish` = "'.time().'" WHERE `id` = "'.$dungeon['dn_id'].'" LIMIT 1'); - - echo ' '.$dungeon['dn_id'].'

    '; - } else { - echo ' .

    '; - } - } - unset($query,$dungeon,$users); - - $mtime = microtime(); - $mtime = explode(" ",$mtime);$mtime = $mtime[1] + $mtime[0];$totaltime = ($mtime - $tstart); - printf (" %f !", $totaltime); -} - -# . -start(); diff --git a/cron_dungeon_goBots.php b/cron_dungeon_goBots.php index c244d9e0..986ab2ce 100644 --- a/cron_dungeon_goBots.php +++ b/cron_dungeon_goBots.php @@ -143,7 +143,7 @@ function botAddBattle($bot, $logins_bot) $add_bot = mysql_fetch_array( mysql_query( 'SELECT - `id`, `login`, `stats`, `obraz`, `level`, `sex`, `name`, `deviz`, `hobby`, `type`, `itemsUse`, `priemUse`, `align`, `clan`, `align_zvanie`, `bonus`, `clan_zvanie`, `time_reg`, `city_reg`, `upLevel`, `active`, `expB`, `p_items`, `agressor`, `priems`, `priems_z`, `award` + `id`, `login`, `stats`, `obraz`, `level`, `sex`, `name`, `hobby`, `type`, `itemsUse`, `priemUse`, `align`, `clan`, `align_zvanie`, `bonus`, `clan_zvanie`, `time_reg`, `city_reg`, `upLevel`, `active`, `expB`, `p_items`, `agressor`, `priems`, `priems_z`, `award` FROM `test_bot` WHERE `id` = "' . $bot['id_bot'] . '" LIMIT 1' @@ -174,7 +174,6 @@ function botAddBattle($bot, $logins_bot) `cityreg`, `name`, `sex`, - `deviz`, `hobby`, `timereg`, `obraz`, @@ -188,7 +187,6 @@ function botAddBattle($bot, $logins_bot) "' . $add_bot['city_reg'] . '", "' . $add_bot['name'] . '", "' . $add_bot['sex'] . '", - "' . $add_bot['deviz'] . '", "' . $add_bot['hobby'] . '", "' . $add_bot['time_reg'] . '", "' . $add_bot['obraz'] . '", diff --git a/cron_dungeon_save.php b/cron_dungeon_save.php deleted file mode 100644 index 1d7ae9a7..00000000 --- a/cron_dungeon_save.php +++ /dev/null @@ -1,19 +0,0 @@ -'.$_SERVER['SERVER_ADDR']); -} - - -define('GAME',true); - -include('_incl_data/__config.php'); -include('_incl_data/class/__db_connect.php'); - -function e($t) { - mysql_query('INSERT INTO `chat` (`text`,`city`,`to`,`type`,`new`,`time`) VALUES ("core #'.date('d.m.Y').' %'.date('H:i:s').' ( ): '.mysql_real_escape_string($t).'","capitalcity","ENERGY STAR","6","1","-1")'); -} - -function send_chat($type,$from,$text,$time) { - mysql_query('INSERT INTO `chat` (`text`,`city`,`login`,`to`,`type`,`new`,`time`,`room`) VALUES ("'.mysql_real_escape_string($text).'","capitalcity","'.mysql_real_escape_string($from).'","","'.$type.'","1","'.mysql_real_escape_string($time).'","3")'); -} - - -/* */ -function many_start() { - $qtext = ''; - $atext = ''; - $msec = 120; - $lmvc = array(); - $lmv = mysql_query('SELECT `id` FROM `aaa_many` WHERE `time` < "'.(time()-86400).'" ORDER BY `time` ASC'); - while( $plmv = mysql_fetch_array($lmv) ) { - $lmvc[] = $plmv['id']; - } - $lmvc = $lmvc[rand(0,(count($lmvc)-1))]; - $lmv = mysql_fetch_array(mysql_query('SELECT * FROM `aaa_many` WHERE `id` = "'.$lmvc.'" LIMIT 1')); - if( isset($lmv['id']) ) { - $qtext = $lmv['text']; - $atext = $lmv['answer']; - mysql_query('UPDATE `aaa_many` SET `time` = "'.time().'" WHERE `id` = "'.$lmv['id'].'" LIMIT 1'); - } - if( $qtext != '' ) { - $qtext = str_replace('"','"',$qtext); - $qtext = str_replace("'",'"',$qtext); - $qtext = str_replace('<','<',$qtext); - $qtext = str_replace('>','>',$qtext); - $qtext = str_replace(' -',' ',$qtext); - $qtext = str_replace("\r",' ',$qtext); - $qtext = str_replace('','c',$qtext); - $qtext = str_replace('','x',$qtext); - $qtext = str_replace('','y',$qtext); - $qtext = str_replace('','e',$qtext); - $qtext = str_replace('','o',$qtext); - $qtext = str_replace('','p',$qtext); - $qtext = str_replace('','u',$qtext); - mysql_query('UPDATE `users` SET `online` = "'.time().'" WHERE `id` = 1003553 LIMIT 1'); - send_chat(1,' ','! ! , . '.$msec.' . to [ ]. , : '.$qtext.'',time()); - mysql_query('INSERT INTO `aaa_many_now` (`qid`,`time`) VALUES ("'.$lmv['id'].'","'.(time()+$msec).'")'); - send_chat(1,' ',' ! : '.$atext.'.',-(time()+$msec)); - } -} - -many_start(); -?> \ No newline at end of file diff --git a/cron_killusers.php b/cron_killusers.php deleted file mode 100644 index 4aef3587..00000000 --- a/cron_killusers.php +++ /dev/null @@ -1,223 +0,0 @@ -' . $_SERVER['SERVER_ADDR']); -} - - -const GAME = true; - -include('_incl_data/__config.php'); -include('_incl_data/class/__db_connect.php'); - -function e($t) -{ - mysql_query( - 'INSERT INTO `chat` (`text`,`city`,`to`,`type`,`new`,`time`) VALUES ("core #' . date('d.m.Y') . ' %' . date( - 'H:i:s' - ) . ' ( ): ' . mysql_real_escape_string($t) . '","capitalcity","LEL","6","1","-1")' - ); -} - -function send_chat($type, $from, $text, $time) -{ - mysql_query( - 'INSERT INTO `chat` (`text`,`city`,`login`,`to`,`type`,`new`,`time`,`room`) VALUES ("' . mysql_real_escape_string( - $text - ) . '","capitalcity","' . mysql_real_escape_string( - $from - ) . '","","' . $type . '","1","' . mysql_real_escape_string($time) . '","3")' - ); -} - -$kp = [ - 0 => 1, - 1 => 1, - 2 => 3, - 3 => 3, - 4 => 3, - 5 => 7, - 6 => 7, - 7 => 7, - 8 => 90, - 9 => 90, - 10 => 90, - 11 => 90, - 12 => 90, - 13 => 90, - 14 => 90, - 15 => 90, - 16 => 90, - 17 => 90, - 18 => 90, - 19 => 90, - 20 => 90, - 21 => 90, -]; - -function addUser($userData) -{ - $query = "INSERT INTO `users_kill` ( " . - mysql_real_escape_string(implode(' , ', array_keys($userData))) . - " ) VALUES ( '" . - (implode("' , '", $userData)) . - "' )"; - - return $query; -} - -// ( ) -mysql_query('DELETE FROM `eff_users` WHERE `delete` > "1392211522" AND `delete` < "' . time() . '"'); -mysql_query('DELETE FROM `items_users` WHERE `delete` > "1392211522" AND `delete` < "' . time() . '"'); - -$lvl = 0; -while ($lvl <= 21) { - $last_time = round(time() - (2 * $kp[$lvl] * 86400)); - $sp = mysql_query( - 'SELECT `u`.*,`s`.*,`u`.`id` AS `id1`,`s`.`id` AS `id2` FROM `users` AS `u` LEFT JOIN `stats` AS `s` ON ( `s`.`id` = `u`.`id` AND `s`.`bot` = 0 ) WHERE `u`.`admin` = 0 AND `u`.`pass` != "" AND `u`.`no_ip` = "" AND `u`.`level` = "' . $lvl . '" AND `align` != 50 AND `u`.`online` < ' . $last_time . ' LIMIT 1000' - ); - while ($pl = mysql_fetch_array($sp)) { - - if ($pl['id'] < 1) { - if ($pl['id1'] > 0) { - $pl['id'] = $pl['id1']; - } elseif ($pl['id2'] > 0) { - $pl['id'] = $pl['id2']; - } - } - - // - $pl['bank'] = mysql_fetch_array( - mysql_query('SELECT SUM(`money1`),SUM(`money2`) FROM `bank` WHERE `uid` = "' . $pl['id'] . '" LIMIT 1') - ); - $pl['money'] += $pl['bank'][0]; - $pl['money2'] += $pl['bank'][1]; - $sitm = mysql_query( - 'SELECT `id`,`item_id`,`1price`,`2price` FROM `items_users` WHERE (`delete` = 1000 OR `delete` = 0) AND `delete` = "0" AND `data` NOT LIKE "%|frompisher=%" AND `uid` = "' . $pl['id'] . '"' - ); - while ($pitm = mysql_fetch_array($sitm)) { - if ($pitm['1price'] != 0) { - $pl['money'] += $pitm['1price']; - } elseif ($pitm['2price'] != 0) { - $pl['money'] += $pitm['2price']; - } else { - $pitems = mysql_fetch_array( - mysql_query( - 'SELECT `price1`,`price2` FROM `items_main` WHERE `id` = "' . $sitm['item_id'] . '" LIMIT 1' - ) - ); - if ($pitems['price2'] > 0) { - $pl['money'] += $pitems['price2']; - } else { - $pl['money2'] += $pitems['price1']; - } - } - } - if ($pl['id'] > 0) { - // - mysql_query('DELETE FROM `aaa_znahar` WHERE `uid` = "' . $pl['id'] . '"'); - mysql_query('DELETE FROM `actions` WHERE `uid` = "' . $pl['id'] . '"'); - mysql_query('DELETE FROM `add_smiles` WHERE `uid` = "' . $pl['id'] . '"'); - mysql_query('DELETE FROM `a_com_act` WHERE `uid` = "' . $pl['id'] . '"'); - mysql_query('DELETE FROM `a_noob` WHERE `uid` = "' . $pl['id'] . '"'); - mysql_query('DELETE FROM `a_system` WHERE `uid` = "' . $pl['id'] . '"'); - mysql_query('DELETE FROM `a_vaucher` WHERE `uid` = "' . $pl['id'] . '"'); - mysql_query('DELETE FROM `a_vaucher_active` WHERE `uid` = "' . $pl['id'] . '"'); - mysql_query('DELETE FROM `bank` WHERE `uid` = "' . $pl['id'] . '"'); - mysql_query('DELETE FROM `bank_alh` WHERE `uid` = "' . $pl['id'] . '"'); - mysql_query('DELETE FROM `battle_actions` WHERE `uid` = "' . $pl['id'] . '"'); - mysql_query('DELETE FROM `battle_cache` WHERE `uid` = "' . $pl['id'] . '"'); - mysql_query('DELETE FROM `bid` WHERE `uid` = "' . $pl['id'] . '"'); - mysql_query('DELETE FROM `bs_actions` WHERE `uid` = "' . $pl['id'] . '"'); - mysql_query('DELETE FROM `bs_zv` WHERE `uid` = "' . $pl['id'] . '"'); - mysql_query('DELETE FROM `complects_priem` WHERE `uid` = "' . $pl['id'] . '"'); - mysql_query('DELETE FROM `dump` WHERE `uid` = "' . $pl['id'] . '"'); - mysql_query('DELETE FROM `dungeon_actions` WHERE `uid` = "' . $pl['id'] . '"'); - mysql_query('DELETE FROM `dungeon_now` WHERE `uid` = "' . $pl['id'] . '"'); - mysql_query('DELETE FROM `dungeon_zv` WHERE `uid` = "' . $pl['id'] . '"'); - mysql_query('DELETE FROM `eff_users` WHERE `uid` = "' . $pl['id'] . '"'); - mysql_query('DELETE FROM `feerverks` WHERE `uid` = "' . $pl['id'] . '"'); - mysql_query('DELETE FROM `fontan` WHERE `uid` = "' . $pl['id'] . '"'); - mysql_query('DELETE FROM `fontan_hp` WHERE `uid` = "' . $pl['id'] . '"'); - mysql_query( - 'DELETE FROM `friends` WHERE `user` = "' . $pl['id'] . '" OR `friend` = "' . $pl['id'] . '" OR `enemy` = "' . $pl['id'] . '" OR `notinlist` = "' . $pl['id'] . '"' - ); - mysql_query('DELETE FROM `house` WHERE `owner` = "' . $pl['id'] . '"'); - mysql_query('DELETE FROM `items_img` WHERE `uid` = "' . $pl['id'] . '"'); - mysql_query('DELETE FROM `items_users` WHERE `uid` = "' . $pl['id'] . '"'); - mysql_query('DELETE FROM `izlom_rating` WHERE `uid` = "' . $pl['id'] . '"'); - //mysql_query('DELETE FROM `obraz` WHERE `uid` = "'.$pl['id'].'"'); - mysql_query('DELETE FROM `online` WHERE `uid` = "' . $pl['id'] . '"'); - mysql_query('DELETE FROM `post` WHERE `uid` = "' . $pl['id'] . '"'); - mysql_query('DELETE FROM `reimage` WHERE `uid` = "' . $pl['id'] . '"'); - mysql_query('DELETE FROM `rep` WHERE `id` = "' . $pl['id'] . '"'); - mysql_query('DELETE FROM `repass` WHERE `uid` = "' . $pl['id'] . '"'); - mysql_query('DELETE FROM `ruletka_coin` WHERE `uid` = "' . $pl['id'] . '"'); - mysql_query('DELETE FROM `save_com` WHERE `uid` = "' . $pl['id'] . '"'); - mysql_query('DELETE FROM `stats` WHERE `id` = "' . $pl['id'] . '"'); - mysql_query('DELETE FROM `telegram` WHERE `uid` = "' . $pl['id'] . '"'); - mysql_query('DELETE FROM `transfers` WHERE `uid1` = "' . $pl['id'] . '" OR `uid2` = "' . $pl['id'] . '"'); - mysql_query('DELETE FROM `users` WHERE `id` = "' . $pl['id'] . '"'); - mysql_query('DELETE FROM `users_animal` WHERE `uid` = "' . $pl['id'] . '"'); - //mysql_query('DELETE FROM `users_delo` WHERE `uid` = "'.$pl['id'].'"'); - mysql_query('DELETE FROM `users_ico` WHERE `uid` = "' . $pl['id'] . '"'); - mysql_query('DELETE FROM `users_turnirs` WHERE `uid` = "' . $pl['id'] . '"'); - mysql_query('DELETE FROM `zayvki` WHERE `uid` = "' . $pl['id'] . '"'); - mysql_query('DELETE FROM `_clan` WHERE `uid` = "' . $pl['id'] . '"'); - echo '•' . $pl['login'] . '
    '; - } - - // - $usrData = [ - '`uid`' => $pl['id'], - '`money1`' => $pl['money'], - '`money2`' => $pl['money2'], - '`money4`' => $pl['money4'], - '`ip`' => $pl['ip'], - '`timereg`' => $pl['timereg'], - '`ipreg`' => $pl['ipreg'], - '`sex`' => $pl['sex'], - '`login`' => $pl['login'], - '`pass`' => $pl['pass'], - '`mail`' => $pl['mail'], - '`level`' => $pl['level'], - '`exp`' => $pl['exp'], - '`online`' => $pl['online'], - '`time_kill`' => time(), - '`align`' => $pl['align'], - '`clan`' => $pl['clan'], - '`banned`' => $pl['banned'], - '`win`' => $pl['win'], - '`lose`' => $pl['lose'], - '`nich`' => $pl['nich'], - '`marry`' => $pl['marry'], - '`send`' => $pl['send'], - '`activ`' => $pl['activ'], - '`name`' => $pl['name'], - '`obraz`' => $pl['obraz'], - '`bithday`' => $pl['bithday'], - '`host_reg`' => $pl['host_reg'], - ]; - mysql_query(addUser($usrData)); - } - $lvl++; -} diff --git a/cron_prizhaot.php b/cron_prizhaot.php deleted file mode 100644 index 1403ae40..00000000 --- a/cron_prizhaot.php +++ /dev/null @@ -1,31 +0,0 @@ -' . $_SERVER['SERVER_ADDR']); -} - -const GAME = true; -setlocale(LC_CTYPE, "ru_RU.CP1251"); -include('_incl_data/class/__db_connect.php'); -// () 8-11 -$inc = $pdo->prepare( - 'insert into zayvki (`comment`,`arand`,`noatack`,`city`,`creator`,`type`,`time_start`,`timeout`,`min_lvl_1`,`min_lvl_2`,`max_lvl_1`,`max_lvl_2`,`noinc`,`razdel`,`time`,`fastfight`,`priz`,`maxplayers`,`tm1max`,`tm2max`) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,unix_timestamp(),?,?,?,?,?)' -)->execute( - [ - "! ", - 1, 1, 'capitalcity', 0, 33, 300, 180, 8, 8, 12, 12, 1, 5, 1, 1, 40, 0, 0, - ] -); - -$pdo->prepare('insert into chat (`text`,`type`,`new`,`time`) values (?,?,?,unix_timestamp())') - ->execute( - ["!!! .", 6, 1,] - ); - -echo $inc ? 'true' : 'false'; diff --git a/cron_psh.php b/cron_psh.php deleted file mode 100644 index a348dc71..00000000 --- a/cron_psh.php +++ /dev/null @@ -1,111 +0,0 @@ -' . $_SERVER['SERVER_ADDR']); -} - -const GAME = true; - -require_once('_incl_data/__config.php'); -require_once('_incl_data/class/__db_connect.php'); -$d = new Dungeon; -$d->start(); - -function send_chat($type, $from, $text, $time) -{ - mysql_query( - 'INSERT INTO `chat` (`text`,`city`,`login`,`to`,`type`,`new`,`time`,`room`) VALUES ("' . mysql_real_escape_string( - $text - ) . '","capitalcity","' . mysql_real_escape_string( - $from - ) . '","","' . $type . '","1","' . mysql_real_escape_string($time) . '","3")' - ); -} - -// -$sp = mysql_query('SELECT * FROM `dungeon_items` WHERE `user` = 0 AND `take` = 0'); -while ($pl = mysql_fetch_array($sp)) { - $fxv = ['itm' => mysql_fetch_array( - mysql_query( - 'SELECT `im`.*,`ish`.* FROM `dungeon_items` AS `ish` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `ish`.`item_id`) WHERE `ish`.`id` = "' . mysql_real_escape_string( - $pl['id'] - ) . '" AND `ish`.`take` = "0" AND `ish`.`delete` = "0" LIMIT 1' - ) - ), 'luck_count' => mysql_fetch_array( - mysql_query( - 'SELECT COUNT(*) FROM `dungeon_actions` WHERE `dn` = "' . $pl['dn'] . '" AND `vars` = "luck_itm' . mysql_real_escape_string( - $pl['id'] - ) . '" LIMIT 1' - ) - ), 'user_count' => mysql_fetch_array( - mysql_query('SELECT COUNT(*) FROM `stats` WHERE `dnow` = "' . $pl['dn'] . '" LIMIT 1') - )]; - $fxv['luck_count'] = $fxv['luck_count'][0]; - $fxv['user_count'] = $fxv['user_count'][0]; - - if ($fxv['itm']['user'] <= 0 && $fxv['luck_count'] >= 1 && ($fxv['luck_count'] >= $fxv['user_count'] || $fxv['itm']['time'] + 300 < time( - ))) { - $fxv['sp'] = mysql_query( - 'SELECT * FROM `dungeon_actions` WHERE `dn` = "' . $pl['dn'] . '" AND `vars` = "luck_itm' . mysql_real_escape_string( - $pl['id'] - ) . '" ORDER BY `vals` DESC LIMIT ' . $fxv['luck_count'] - ); - $fxv['winner'] = []; - $fxv['win_val'] = 0; - while ($fxv['pl'] = mysql_fetch_array($fxv['sp'])) { - if ($fxv['pl']['vals'] > $fxv['win_val']) { - // - unset($fxv['winner']); - $fxv['winner'][] = $fxv['pl']['uid']; - $fxv['win_val'] = $fxv['pl']['vals']; - } elseif ($fxv['pl']['vals'] > 0 && $fxv['pl']['vals'] == $fxv['win_val']) { - // - $fxv['winner'][] = $fxv['pl']['uid']; - } - } - unset($fxv['pl'], $fxv['sp']); - if (count($fxv['winner']) > 1) { - // - $fxv['text'] = 'test2'; - } elseif (count($fxv['winner']) == 1) { - $fxv['user_win'] = mysql_fetch_array( - mysql_query( - 'SELECT `id`,`login`,`sex`,`city`,`room` FROM `users` WHERE `id` = "' . $fxv['winner'][0] . '" LIMIT 1' - ) - ); - $fxv['text'] = '' . $fxv['user_win']['login'] . ' "' . $fxv['itm']['name'] . '"'; - mysql_query( - "INSERT INTO `chat` (`dn`,`city`,`room`,`login`,`to`,`text`,`time`,`type`,`toChat`,`typeTime`,`new`) VALUES ('" . $pl['dn'] . "','" . $fxv['user_win']['city'] . "','" . $fxv['user_win']['room'] . "','','','" . $fxv['text'] . "','" . time( - ) . "','6','0','1','1')" - ); - mysql_query( - 'UPDATE `dungeon_items` SET `time` = "' . time( - ) . '",`user` = "' . $fxv['user_win']['id'] . '" WHERE `id` = "' . $fxv['itm']['id'] . '" LIMIT 1' - ); - } else { - // - mysql_query('UPDATE `dungeon_items` SET `user` = "1" WHERE `id` = "' . $pl['id'] . '" LIMIT 1'); - } - } - unset($fxv); -} diff --git a/cron_q.php b/cron_q.php deleted file mode 100644 index 28fff632..00000000 --- a/cron_q.php +++ /dev/null @@ -1,79 +0,0 @@ -'; -$html .= ' : '.$y.''; - -echo $html; - -?> \ No newline at end of file diff --git a/cron_rating.php b/cron_rating.php deleted file mode 100644 index 698c62ae..00000000 --- a/cron_rating.php +++ /dev/null @@ -1,15 +0,0 @@ -'; -} - -?> \ No newline at end of file diff --git a/cron_trupojor.php b/cron_trupojor.php deleted file mode 100644 index b42a8711..00000000 --- a/cron_trupojor.php +++ /dev/null @@ -1,190 +0,0 @@ -

    ;)

    '); - }*/ - if(getIP() != $_SERVER['SERVER_ADDR'] && getIP() != '127.0.0.1' && getIP() != '' && getIP() != '31.131.97.206') - { - die(getIP().'
    '.$_SERVER['SERVER_ADDR']); - } -} -/* - if( $_SERVER['HTTP_CF_CONNECTING_IP'] != $_SERVER['SERVER_ADDR'] && $_SERVER['HTTP_CF_CONNECTING_IP'] != '127.0.0.1' ) { die('

    ;)

    '); } -}*/ - - - -define('GAME',true); - -include('_incl_data/__config.php'); -include('_incl_data/class/__db_connect.php'); - -function e($t) { - mysql_query('INSERT INTO `chat` (`text`,`city`,`to`,`type`,`new`,`time`) VALUES ("core #'.date('d.m.Y').' %'.date('H:i:s').' ( ): '.mysql_real_escape_string($t).'","capitalcity","LEL","6","1","-1")'); -} - -function testMonster( $mon , $type , $mbk ) { - $r = true; - $mbk2 = ''; - if(isset($mon['id'])) { - // - if($type == 'start') { - //? - if( $mon['start_day'] != -1 ) { - if( ($mon['start_day'] < 7 && $mon['start_day'] != (int)date('w')) || $mon['start_day'] != 7 ) { - $r = false; - $mbk2 .= '()'; - } - } - //? - if( $mon['start_dd'] != -1 ) { - if( $mon['start_dd'] != date('j') ) { - $r = false; - $mbk2 .= '()'; - } - } - // - if( $mon['start_mm'] != -1 ) { - if( $mon['start_mm'] != date('n') ) { - $r = false; - $mbk2 .= '()'; - } - } - // - if( $mon['start_hh'] != -1 ) { - if( $mon['start_hh'] != (int)date('H') ) { - $r = false; - $mbk2 .= '('.$mon['start_hh'].'|'.((int)date('H')).' )'; - } - if( $mon['start_min'] != -1 ) { - if( $mon['start_min'] < (int)date('i') ) { - $r = false; - $mbk2 .= '('.$mon['start_min'].'|'.((int)date('i')).' )'; - } - } - } - }elseif($type == 'back') { - //? - if( $mon['back_day'] != -1 ) { - if( ($mon['back_day'] < 7 && $mon['back_day'] != date('w')) || $mon['back_day'] != 7 ) { - $r = false; - $mbk2 .= '( )'; - } - } - //? - if( $mon['back_dd'] != -1 ) { - if( $mon['back_dd'] != date('j') ) { - $r = false; - $mbk2 .= '()'; - } - } - // - if( $mon['back_mm'] != -1 ) { - if( $mon['back_mm'] != date('n') ) { - $r = false; - $mbk2 .= '()'; - } - } - // - if( $mon['back_hh'] != -1 ) { - if( $mon['back_hh'] != (int)date('H') ) { - $r = false; - $mbk2 .= '()'; - } - if( $mon['back_min'] != -1 ) { - if( $mon['back_min'] < (int)date('i') ) { - $r = false; - $mbk2 .= '()'; - } - } - } - }else{ - //- - $r = false; - $mbk2 .= '(- )'; - } - // - } - if( $mbk == true ) { - return $mbk2; - }else{ - return $r; - } -} - -$sp = mysql_query('SELECT `u`.*,`st`.* FROM `users` AS `u` LEFT JOIN `stats` AS `st` ON `st`.`id` = `u`.`id` WHERE `u`.`no_ip` = "trupojor" LIMIT 100'); -while($pl = mysql_fetch_array($sp)) { - /*echo "ID:".$pl['id']."
    "; - echo "online:".$pl['online']."
    "; - $testtime=time()-60; - echo "time:".$testtime."
    ";*/ - $act = 0; - if($pl['online'] < time()-60) { - $pl['online'] = time(); - mysql_query('UPDATE `users` SET `online` = "'.$pl['online'].'" WHERE `id` = "'.$pl['id'].'" LIMIT 1'); - } - - //$testb=mysql_fetch_array(mysql_query('SELECT * FROM `battle` WHERE `type` = 500 AND `team_win` = -1 LIMIT 1')); - if($pl['res_x'] < time() /*&& !isset($testb['id'])*/) { - // ! - $mon = mysql_fetch_array(mysql_query('SELECT * FROM `aaa_monsters` WHERE `uid` = "'.$pl['id'].'" LIMIT 1')); - if( isset($mon['id']) ) { - if( testMonster($mon,'start',false) == true && $pl['room'] == 303 ) { - $pl['room'] = $mon['start_room']; - mysql_query('UPDATE `users` SET `room` = "'.$pl['room'].'" WHERE `id` = "'.$pl['id'].'" LIMIT 1'); - mysql_query('UPDATE `stats` SET `hpNow` = "1000000000000",`mpNow` = "1000000000000" WHERE `id` = "'.$pl['id'].'" LIMIT 1'); - if( $mon['start_text'] != '' /*&& $pl['level'] <10*/) { - mysql_query('INSERT INTO `chat` (`text`,`city`,`to`,`type`,`new`,`time`) VALUES ("! '.mysql_real_escape_string(str_replace('{b}',''.$pl['login'].' ['.$pl['level'].']',$mon['start_text'])).'","'.$pl['city'].'","","6","1","'.time().'")'); - //mysql_query('INSERT INTO `chat` (`text`,`city`,`to`,`type`,`new`,`time`) VALUES ("! '.mysql_real_escape_string(str_replace('{b}',''.$pl['login'].' ['.$pl['level'].']',$mon['start_text'])).'","'.$pl['city'].'","","1","1","'.time().'")'); - } - $act = 1; - } - }else{ - mysql_query('UPDATE `stats` SET `res_x` = "'.(time()+3600).'" WHERE `id` = "'.$pl['id'].'" LIMIT 1'); - } - } - - //e('['.date('d.m.Y H:i:s').'] TRUPOJOR -> '.$pl['login'].' -> [room: '.$pl['room'].' , test: '.testMonster($mon,'start',true).' , res_x: '.$pl['res_x'].' , battle: '.$pl['battle'].' , act: '.$act.' ]'); - - if( $act == 0 && $pl['room'] != 303 && $pl['battle'] == 0 ) { - if(!isset($mon['id'])) { - $mon = mysql_fetch_array(mysql_query('SELECT * FROM `aaa_monsters` WHERE `uid` = "'.$pl['id'].'" LIMIT 1')); - } - if( isset($mon['id']) ) { - if( testMonster($mon,'back',false) == true ) { - $pl['room'] = 303; - mysql_query('UPDATE `users` SET `room` = "'.$pl['room'].'" WHERE `id` = "'.$pl['id'].'" LIMIT 1'); - mysql_query('UPDATE `stats` SET `hpNow` = "1000000000000",`mpNow` = "1000000000000" WHERE `id` = "'.$pl['id'].'" LIMIT 1'); - if( $mon['back_text'] != '' ) { - mysql_query('INSERT INTO `chat` (`text`,`city`,`to`,`type`,`new`,`time`) VALUES ("! '.mysql_real_escape_string(str_replace('{b}',''.$pl['login'].' ['.$pl['level'].']',$mon['back_text'])).'","'.$pl['city'].'","","6","1","'.time().'")'); - mysql_query('INSERT INTO `chat` (`text`,`city`,`to`,`type`,`new`,`time`) VALUES ("! '.mysql_real_escape_string(str_replace('{b}',''.$pl['login'].' ['.$pl['level'].']',$mon['back_text'])).'","'.$pl['city'].'","","1","1","'.time().'")'); - } - $act = 2; - }else{ - echo '[: '.$mon['id'].' -> '.$mon['login'].' | '.testMonster($mon,'back',true).']
    '; - } - } - } - /*if($pl['battle'] > 0) { - //inuser_go_atack($pl); - }else{ - if($pl['room'] == 303 && $pl['timeGo'] < time()) { - if($pl['res_x'] < time()) { - $pl['room'] = $pl['invBlock']; - mysql_query('UPDATE `users` SET `room` = "'.$pl['room'].'" WHERE `id` = "'.$pl['id'].'" LIMIT 1'); - mysql_query('UPDATE `stats` SET `hpNow` = "1000000000000",`mpNow` = "1000000000000" WHERE `id` = "'.$pl['id'].'" LIMIT 1'); - mysql_query('INSERT INTO `chat` (`text`,`city`,`to`,`type`,`new`,`time`) VALUES ("! '.$pl['login'].' ['.$pl['level'].'] , !","'.$pl['city'].'","","6","1","'.time().'")'); - } - } - }*/ - usleep(300000); -} -?> \ No newline at end of file diff --git a/cron_turnir.php b/cron_turnir.php deleted file mode 100644 index c613ce4e..00000000 --- a/cron_turnir.php +++ /dev/null @@ -1,85 +0,0 @@ -' . $_SERVER['SERVER_ADDR']); - } - -const GAME = true; -setlocale(LC_CTYPE, "ru_RU.CP1251"); -include('_incl_data/__config.php'); -include('_incl_data/class/__db_connect.php'); -$u = User::start(); -// -$sp = mysql_query('SELECT * FROM `battle` WHERE `otmorozok` = 1 AND `team_win` = -1 AND `otmorozok_use` = 0'); -while ($pl = mysql_fetch_array($sp)) { - if (rand(0, 100) < 11) { - // - mysql_query('UPDATE `battle` SET `otmorozok_use` = 1 WHERE `id` = "' . $pl['id'] . '" LIMIT 1'); - // - $usr = mysql_fetch_array( - mysql_query( - 'SELECT `level`,`city` FROM `users` WHERE `battle` = "' . $pl['id'] . '" ORDER BY `level` DESC LIMIT 1' - ) - ); - $bot = mysql_fetch_array( - mysql_query('SELECT * FROM `test_bot` WHERE `login` LIKE "% [%' . $usr['level'] . '%]%" LIMIT 1') - ); - // - $tmr = rand(1, 2); - // - $logins_bot = []; - $bot = $u->addNewbot($bot['id'], null, null, $logins_bot, null); - $otmz = mysql_fetch_array( - mysql_query( - 'SELECT COUNT(*) FROM `users` WHERE `login` LIKE "% (%" AND `battle` = "' . $pl['id'] . '" LIMIT 1' - ) - ); - // - $otmz[0]++; - // - mysql_query( - 'UPDATE `users` SET `city` = "' . $usr['city'] . '",`login` = " (' . $otmz[0] . ')",`battle` = "' . $pl['id'] . '" WHERE `id` = "' . $bot['id'] . '" LIMIT 1' - ); - // - mysql_query('UPDATE `stats` SET `team` = "' . $tmr . '" WHERE `id` = "' . $bot['id'] . '" LIMIT 1'); - // - $vtvl = '{tm1} {u1} . ! ! !'; - $last_hod = mysql_fetch_array( - mysql_query( - 'SELECT `id_hod` FROM `battle_logs` WHERE `battle` = "' . $pl['id'] . '" ORDER BY `id_hod` DESC LIMIT 1' - ) - ); - $last_hod = $last_hod['id_hod']; - // - $mass = [ - 'time' => time(), - 'battle' => $pl['id'], - 'id_hod' => ($last_hod + 1), - 'vars' => '||time1=' . time() . '||time2=0||s1=0||t1=' . $tmr . '||login1= (' . $otmz[0] . ')', - 'type' => 1, - ]; - // - $ins = mysql_query( - 'INSERT INTO `battle_logs` ( - `time`,`battle`,`id_hod`,`text`,`vars`,`zona1`,`zonb1`,`zona2`,`zonb2`,`type` - ) VALUES ( - "' . $mass['time'] . '", - "' . $mass['battle'] . '", - "' . $mass['id_hod'] . '", - "' . $vtvl . '", - "' . $mass['vars'] . '", - "", - "", - "", - "", - "' . $mass['type'] . '" - )' - ); - } -} diff --git a/cron_zv.php b/cron_zv.php deleted file mode 100644 index c11d7479..00000000 --- a/cron_zv.php +++ /dev/null @@ -1,44 +0,0 @@ -' . $_SERVER['SERVER_ADDR']); -} - -const GAME = true; - -include('_incl_data/__config.php'); -include('_incl_data/class/__db_connect.php'); -/**@var $pdo PDO */ -$zv = new FightRequest(); - -function send_chat($type, $from, $text, $time) -{ - global $pdo; - $pdo->prepare('insert into chat (text, city, login, type, new, time, room) values (?,?,?,?,?,?,?)')->execute([$text, 'capitalcity', $from, $type, 1, $time, 3]); -} - -function inuser_go_btl($id) -{ - if (isset($id['id'])) { - echo file_get_contents('https://new-combats.com/jx/battle/refresh.php?uid=' . $id['id'] . '&cron_core=' . md5($id['id'] . '_brfCOreW@!_' . $id['pass']) . '&pass=' . $id['pass']); - echo '
    '; - } -} - -$sp = $pdo->query('select id, pass from users where battle in (select id from battle where team_win = -1 and time_over = 0 and time_start < unix_timestamp() - 3600 limit 100)'); -foreach ($sp as $pl) { - inuser_go_btl($pl); -} - -$zv->testCronZv(); diff --git a/dn_editor_botsAll.php b/dn_editor_botsAll.php deleted file mode 100644 index 1a79dcf2..00000000 --- a/dn_editor_botsAll.php +++ /dev/null @@ -1,53 +0,0 @@ -info['id']) || $u->info['ip'] != IP || !$u->info['admin']) { - die(''); -} - -if (isset($_GET['id_dn'])) { - $_POST['id_dn'] = $_GET['id_dn']; - $_POST['xx'] = $_GET['xx']; - $_POST['yy'] = $_GET['yy']; - $_POST['botlogin'] = $_GET['botlogin']; -} - -if ($_POST['new_bot_colvo'] < 1) { - $_POST['new_bot_colvo'] = 1; -} - -?> -
    - id :
    - botlogin:
    - -
    ---------------- -------------:
    -+
    "; - $i++; -} -?> - - diff --git a/cron/index.php b/dnew/Left/0_0.gif similarity index 100% rename from cron/index.php rename to dnew/Left/0_0.gif diff --git a/dnew/Left/1_0.gif b/dnew/Left/1_0.gif new file mode 100644 index 00000000..e69de29b diff --git a/dnew/Left/2_0.gif b/dnew/Left/2_0.gif new file mode 100644 index 00000000..e69de29b diff --git a/dnew/Left/3_0.gif b/dnew/Left/3_0.gif new file mode 100644 index 00000000..e69de29b diff --git a/dnew/Left/3_1.gif b/dnew/Left/3_1.gif new file mode 100644 index 00000000..e69de29b diff --git a/dnew/Left/4_0.gif b/dnew/Left/4_0.gif new file mode 100644 index 00000000..e69de29b diff --git a/dnew/Left/4_1.gif b/dnew/Left/4_1.gif new file mode 100644 index 00000000..e69de29b diff --git a/dnew/Left/Front/1_0.gif b/dnew/Left/Front/1_0.gif new file mode 100644 index 00000000..e69de29b diff --git a/dnew/Left/Front/1_1.gif b/dnew/Left/Front/1_1.gif new file mode 100644 index 00000000..e69de29b diff --git a/dnew/Left/Front/2_0.gif b/dnew/Left/Front/2_0.gif new file mode 100644 index 00000000..e69de29b diff --git a/dnew/Left/Front/2_1.gif b/dnew/Left/Front/2_1.gif new file mode 100644 index 00000000..e69de29b diff --git a/dnew/Left/Front/3_0.gif b/dnew/Left/Front/3_0.gif new file mode 100644 index 00000000..e69de29b diff --git a/dnew/Left/Front/3_1.gif b/dnew/Left/Front/3_1.gif new file mode 100644 index 00000000..e69de29b diff --git a/dnew/Left/Front/4_0.gif b/dnew/Left/Front/4_0.gif new file mode 100644 index 00000000..e69de29b diff --git a/dnew/Left/Front/4_1.gif b/dnew/Left/Front/4_1.gif new file mode 100644 index 00000000..e69de29b diff --git a/dnew/Left/Front/4_2.gif b/dnew/Left/Front/4_2.gif new file mode 100644 index 00000000..e69de29b diff --git a/dnew/Right/0_0.gif b/dnew/Right/0_0.gif new file mode 100644 index 00000000..e69de29b diff --git a/dnew/Right/1_0.gif b/dnew/Right/1_0.gif new file mode 100644 index 00000000..e69de29b diff --git a/dnew/Right/2_0.gif b/dnew/Right/2_0.gif new file mode 100644 index 00000000..e69de29b diff --git a/dnew/Right/3_0.gif b/dnew/Right/3_0.gif new file mode 100644 index 00000000..e69de29b diff --git a/dnew/Right/3_1.gif b/dnew/Right/3_1.gif new file mode 100644 index 00000000..e69de29b diff --git a/dnew/Right/4_0.gif b/dnew/Right/4_0.gif new file mode 100644 index 00000000..e69de29b diff --git a/dnew/Right/4_1.gif b/dnew/Right/4_1.gif new file mode 100644 index 00000000..e69de29b diff --git a/dnew/Right/Front/1_1.gif b/dnew/Right/Front/1_1.gif new file mode 100644 index 00000000..e69de29b diff --git a/dnew/Right/Front/2_1.gif b/dnew/Right/Front/2_1.gif new file mode 100644 index 00000000..e69de29b diff --git a/dnew/Right/Front/3_1.gif b/dnew/Right/Front/3_1.gif new file mode 100644 index 00000000..e69de29b diff --git a/dnew/Right/Front/4_1.gif b/dnew/Right/Front/4_1.gif new file mode 100644 index 00000000..e69de29b diff --git a/dnew/Right/Front/4_2.gif b/dnew/Right/Front/4_2.gif new file mode 100644 index 00000000..e69de29b diff --git a/dnew/bg0.gif b/dnew/bg0.gif new file mode 100644 index 00000000..e69de29b diff --git a/dnew/bg1.gif b/dnew/bg1.gif new file mode 100644 index 00000000..e69de29b diff --git a/dnew/newb5/Left/0_0.gif b/dnew/newb5/Left/0_0.gif new file mode 100644 index 00000000..c18571a5 Binary files /dev/null and b/dnew/newb5/Left/0_0.gif differ diff --git a/dnew/newb5/Left/1_0.gif b/dnew/newb5/Left/1_0.gif new file mode 100644 index 00000000..6d671ed7 Binary files /dev/null and b/dnew/newb5/Left/1_0.gif differ diff --git a/dnew/newb5/Left/2_0.gif b/dnew/newb5/Left/2_0.gif new file mode 100644 index 00000000..d7bcdfe4 Binary files /dev/null and b/dnew/newb5/Left/2_0.gif differ diff --git a/dnew/newb5/Left/3_0.gif b/dnew/newb5/Left/3_0.gif new file mode 100644 index 00000000..68805f66 Binary files /dev/null and b/dnew/newb5/Left/3_0.gif differ diff --git a/dnew/newb5/Left/3_1.gif b/dnew/newb5/Left/3_1.gif new file mode 100644 index 00000000..793608e8 Binary files /dev/null and b/dnew/newb5/Left/3_1.gif differ diff --git a/dnew/newb5/Left/4_0.gif b/dnew/newb5/Left/4_0.gif new file mode 100644 index 00000000..bbdf2ef9 Binary files /dev/null and b/dnew/newb5/Left/4_0.gif differ diff --git a/dnew/newb5/Left/4_1.gif b/dnew/newb5/Left/4_1.gif new file mode 100644 index 00000000..d538c60d Binary files /dev/null and b/dnew/newb5/Left/4_1.gif differ diff --git a/dnew/newb5/Left/Front/1_0.gif b/dnew/newb5/Left/Front/1_0.gif new file mode 100644 index 00000000..da60566e Binary files /dev/null and b/dnew/newb5/Left/Front/1_0.gif differ diff --git a/dnew/newb5/Left/Front/1_1.gif b/dnew/newb5/Left/Front/1_1.gif new file mode 100644 index 00000000..edd6c8be Binary files /dev/null and b/dnew/newb5/Left/Front/1_1.gif differ diff --git a/dnew/newb5/Left/Front/2_0.gif b/dnew/newb5/Left/Front/2_0.gif new file mode 100644 index 00000000..4762c7e7 Binary files /dev/null and b/dnew/newb5/Left/Front/2_0.gif differ diff --git a/dnew/newb5/Left/Front/2_1.gif b/dnew/newb5/Left/Front/2_1.gif new file mode 100644 index 00000000..92c75b6d Binary files /dev/null and b/dnew/newb5/Left/Front/2_1.gif differ diff --git a/dnew/newb5/Left/Front/3_0.gif b/dnew/newb5/Left/Front/3_0.gif new file mode 100644 index 00000000..cf7b2c03 Binary files /dev/null and b/dnew/newb5/Left/Front/3_0.gif differ diff --git a/dnew/newb5/Left/Front/3_1.gif b/dnew/newb5/Left/Front/3_1.gif new file mode 100644 index 00000000..a6d05933 Binary files /dev/null and b/dnew/newb5/Left/Front/3_1.gif differ diff --git a/dnew/newb5/Left/Front/4_0.gif b/dnew/newb5/Left/Front/4_0.gif new file mode 100644 index 00000000..ddde4d8b Binary files /dev/null and b/dnew/newb5/Left/Front/4_0.gif differ diff --git a/dnew/newb5/Left/Front/4_1.gif b/dnew/newb5/Left/Front/4_1.gif new file mode 100644 index 00000000..bb6d7aa7 Binary files /dev/null and b/dnew/newb5/Left/Front/4_1.gif differ diff --git a/dnew/newb5/Left/Front/4_2.gif b/dnew/newb5/Left/Front/4_2.gif new file mode 100644 index 00000000..19142bb2 Binary files /dev/null and b/dnew/newb5/Left/Front/4_2.gif differ diff --git a/dnew/newb5/Right/0_0.gif b/dnew/newb5/Right/0_0.gif new file mode 100644 index 00000000..71ec7878 Binary files /dev/null and b/dnew/newb5/Right/0_0.gif differ diff --git a/dnew/newb5/Right/1_0.gif b/dnew/newb5/Right/1_0.gif new file mode 100644 index 00000000..dabc9c3e Binary files /dev/null and b/dnew/newb5/Right/1_0.gif differ diff --git a/dnew/newb5/Right/2_0.gif b/dnew/newb5/Right/2_0.gif new file mode 100644 index 00000000..de78f2fc Binary files /dev/null and b/dnew/newb5/Right/2_0.gif differ diff --git a/dnew/newb5/Right/3_0.gif b/dnew/newb5/Right/3_0.gif new file mode 100644 index 00000000..22f8608c Binary files /dev/null and b/dnew/newb5/Right/3_0.gif differ diff --git a/dnew/newb5/Right/3_1.gif b/dnew/newb5/Right/3_1.gif new file mode 100644 index 00000000..5081366d Binary files /dev/null and b/dnew/newb5/Right/3_1.gif differ diff --git a/dnew/newb5/Right/4_0.gif b/dnew/newb5/Right/4_0.gif new file mode 100644 index 00000000..fb55402d Binary files /dev/null and b/dnew/newb5/Right/4_0.gif differ diff --git a/dnew/newb5/Right/4_1.gif b/dnew/newb5/Right/4_1.gif new file mode 100644 index 00000000..3990301d Binary files /dev/null and b/dnew/newb5/Right/4_1.gif differ diff --git a/dnew/newb5/Right/Front/1_1.gif b/dnew/newb5/Right/Front/1_1.gif new file mode 100644 index 00000000..bfb9b36f Binary files /dev/null and b/dnew/newb5/Right/Front/1_1.gif differ diff --git a/dnew/newb5/Right/Front/2_1.gif b/dnew/newb5/Right/Front/2_1.gif new file mode 100644 index 00000000..9548aef3 Binary files /dev/null and b/dnew/newb5/Right/Front/2_1.gif differ diff --git a/dnew/newb5/Right/Front/3_1.gif b/dnew/newb5/Right/Front/3_1.gif new file mode 100644 index 00000000..faf8bf67 Binary files /dev/null and b/dnew/newb5/Right/Front/3_1.gif differ diff --git a/dnew/newb5/Right/Front/4_1.gif b/dnew/newb5/Right/Front/4_1.gif new file mode 100644 index 00000000..9a3daf6b Binary files /dev/null and b/dnew/newb5/Right/Front/4_1.gif differ diff --git a/dnew/newb5/Right/Front/4_2.gif b/dnew/newb5/Right/Front/4_2.gif new file mode 100644 index 00000000..41fccdd8 Binary files /dev/null and b/dnew/newb5/Right/Front/4_2.gif differ diff --git a/dnew/newb5/bg0.gif b/dnew/newb5/bg0.gif new file mode 100644 index 00000000..97a352ae Binary files /dev/null and b/dnew/newb5/bg0.gif differ diff --git a/dnew/newb5/bg1.gif b/dnew/newb5/bg1.gif new file mode 100644 index 00000000..b0996544 Binary files /dev/null and b/dnew/newb5/bg1.gif differ diff --git a/dng/dungeonoffline.js b/dng/dungeonoffline.js new file mode 100644 index 00000000..9cd9041b --- /dev/null +++ b/dng/dungeonoffline.js @@ -0,0 +1,29 @@ +function override(o, overrides) { + if(overrides) { + for(var method in overrides) { + o[method] = overrides[method]; + } + } +}; + + +override(underground, { + domReady: function() { + this.offline = true; + this.settings.jsBase = '/head/'; + this.settings.mobImagesUrl = '/i/ugmob/'; + this.settings.objectImagesUrl = '/i/ugobj/'; + this.settings.blankImageUrl = '/i/blank.gif'; + this.settings.cellMarkImageUrl = '/i/ugetc/cellmark.gif'; + this.settings.loadingImageUrl = '/i/loading.gif'; + this.settings.compassLocation = '/i/ugetc/compass/'; + this.settings.chapterHeaderPlace = '/i/ugetc/'; + this.offlineFrame = document.getElementById('offline_frame'); + this.offlineFrameSrc = this.offlineFrame.src; + this.updateFrame = function() { + this.offlineFrame.src = this.offlineFrameSrc + '&rnd=' + Math.random(); + }; + setInterval('underground.updateFrame()', 1000 * 60 * 60 * 6); + this.domReadyCore(); + } +}); \ No newline at end of file diff --git a/dng/head/ahtmlv.js b/dng/head/ahtmlv.js new file mode 100644 index 00000000..774b114e --- /dev/null +++ b/dng/head/ahtmlv.js @@ -0,0 +1,97 @@ + +var isAHTMLEditorMode;var msie=false;var opera=false;var msie7=false;var _domLoaded=[];function attachDomLoaded(f) +{_domLoaded.push(f);} +function detectClient() +{var userAgent=navigator.userAgent;msie=(userAgent.indexOf('MSIE')>0);opera=(navigator.appName=='Opera')||(userAgent.indexOf('Opera')>0);msie7=(userAgent.indexOf('MSIE 7.')>0);if(typeof(isAHTMLEditorMode)=='undefined') +{isAHTMLEditorMode=false;}} +detectClient();if(typeof HTMLElement!='undefined'&&!HTMLElement.prototype.insertAdjacentElement&&typeof window.Range!='undefined'&&typeof Range.prototype.createContextualFragment=='function') +{HTMLElement.prototype.insertAdjacentElement=function(where,parsedNode) +{switch(where) +{case'beforeBegin':this.parentNode.insertBefore(parsedNode,this) +break;case'afterBegin':this.insertBefore(parsedNode,this.firstChild);break;case'beforeEnd':this.appendChild(parsedNode);break;case'afterEnd':if(this.nextSibling) +this.parentNode.insertBefore(parsedNode,this.nextSibling);else +this.parentNode.appendChild(parsedNode);break;}} +HTMLElement.prototype.insertAdjacentHTML=function(where,htmlStr) +{var r=this.ownerDocument.createRange();r.setStartBefore(this);var parsedHTML=r.createContextualFragment(htmlStr);this.insertAdjacentElement(where,parsedHTML)} +HTMLElement.prototype.insertAdjacentText=function(where,txtStr) +{var parsedText=document.createTextNode(txtStr) +this.insertAdjacentElement(where,parsedText)}} +function init(){if(arguments.callee.done)return;arguments.callee.done=true;if(_timer)clearInterval(_timer);for(var i=0;i<_domLoaded.length;i++)_domLoaded[i]();};if(document.addEventListener){document.addEventListener("DOMContentLoaded",init,false);} +if(/WebKit/i.test(navigator.userAgent)){var _timer=setInterval(function(){if(/loaded|complete/.test(document.readyState)){init();}},10);} +window.onload=init;var hiddenTextIndex=0;var hiddenTexts=[];var tabsDivIndex=0;var tabsDivPrefix='$tabs$div$_';if(typeof(addEvent)=='undefined') +{function addEvent(elm,evType,fn,useCapture) +{if(elm.addEventListener) +{elm.addEventListener(evType,fn,useCapture);return true;} +else if(elm.attachEvent) +{var r=elm.attachEvent('on'+evType,fn);return r;} +else +{elm['on'+evType]=fn;}}} +function getHTextHtml(hti) +{var html=['');} +else +{html.push('
    ');html.push('
    ');html.push(ht.data);html.push('
    ');} +return html.join('');} +function toggleHText(hti) +{var ht=hiddenTexts[hti];ht.hidden=!ht.hidden;ht.elt.innerHTML=getHTextHtml(hti);hideHTextsOf(ht.elt);rebuildTabsIn(ht.elt);} +function hideHText(e) +{hiddenTextIndex++;hiddenTexts[hiddenTextIndex]={hidden:true,elt:e,data:e.innerHTML};e.innerHTML=getHTextHtml(hiddenTextIndex);e.className='htext2';} +function getElementsByClass(searchClass,node,tag) +{var classElements=[];if(node==null) +node=document;if(tag==null) +tag='*';var els=node.getElementsByTagName(tag);var elsLen=els.length;var pattern=new RegExp("(^|\\s)"+searchClass+"(\\s|$)");for(var i=0;i
      ');for(var i=0;i=ec.length)break;var ecw=ec[i];if(msie&&!msie7) +{ecw=document.createElement('div');ecw.className='tabc_wrapper';ecw.style.width='100%';ecw.style.display='none';ec[i].style.display='';ecw.innerHTML=ec[i].outerHTML;if(tabs.replaceChild) +{tabs.replaceChild(ecw,ec[i]);} +else +{tabs.insertBefore(ecw,ec[i]);tabs.removeChild(ec[i]);}} +thtml.push('');thtml.push(enames[i].innerHTML);thtml.push('');} +thtml.push('
    ');thtml=thtml.join('');for(var i=enames.length-1;i>=0;i--) +{tabs.removeChild(enames[i]);} +for(var i=tabs.childNodes.length-1;i>=0;i--) +{if(tabs.childNodes[i].nodeType==3) +{tabs.removeChild(tabs.childNodes[i]);}} +if(tabs.insertAdjacentHTML) +{tabs.insertAdjacentHTML('afterBegin',thtml);} +else +{tabs.innerHTML=thtml+tabs.innerHTML;} +tabs.className='tabs2';} +function ui_switchAHTMLETab(parentn,index) +{var parent=document.getElementById(parentn);var ec=getChildrenByClass((msie&&!msie7)?'tabc_wrapper':'tabc',parent,'div');var ul=getElementsByClass('dtab',parent,'ul')[0];var fs=getChildrenByTag(ul,'font');if(fs.length>0)ul=fs[0];var lis=getChildrenByTag(ul,'li');for(var i=ec.length-1;i>=0;i--) +{if(i>=lis.length)continue;var active=(i==index);ec[i].style.display=active?'':'none';lis[i].className=active?'activeLink':'';}} +function rebuildTabsIn(b) +{var coll=getElementsByClass('tabs',b,'div');for(var i=0;i= 0) + { + retValue.push(source.substr(0, i)); + retValue.push(replaceWith); + source = source.substr(i + what.length); + } + else + { + break; + } + } + retValue.push(source); + return retValue.join(''); +} + +var htmlEntities = new Array( + { what: '<', replaceWith: '<' }, + { what: '>', replaceWith: '>' }, + { what: "'", replaceWith: ''' }, + { what: '"', replaceWith: '"' } + ); + +function htmlstring(s) +{ + for (var i = 0; i < htmlEntities.length; i++) + { + s = replacestr(s, htmlEntities[i].what, htmlEntities[i].replaceWith); + } + return s; +} + +function format(fmt) +{ + var retValue = fmt; + for (var i = 1; i < format.arguments.length; i++) + { + var sp = '{' + (i - 1) + '}'; + retValue = replacestr(retValue, sp, '' + format.arguments[i]); + } + return retValue; +} + +function trim(s) +{ + var li = 0; + var ri = s.length - 1; + for (; li < ri; li++) + { + if (s.charAt(li) != ' ') + { + break; + } + } + for (; ri >= li; ri--) + { + if (s.charAt(ri) != ' ') + { + break; + } + } + return s.substring(li, ri); +} + +// browser compatibility + +if(document.all && !document.getElementById) +{ + document.getElementById = function(id) + { + return document.all[id]; + } +} + +// images preloading + +function dc_preimg() +{ + for (var i = 0; i < dc_preimg.arguments.length; i++) + { + var img = new Image(); + img.src = dc_preimg.arguments[i]; + } +} + +// popups + +function showPopup(message) +{ + var obj_id = document.getElementById(popupDivId); + obj_id.innerHTML = message; + objWidth = obj_id.offsetWidth; + popupActive = true; + if (uiOptions.useTransitionEffects) + { + obj_id.filters['blendtrans'].apply(); + } + obj_id.style.visibility = "visible"; + if (uiOptions.useTransitionEffects) + { + obj_id.filters['blendtrans'].play(); + } + followMouse(); +} + +function followMouse() +{ + if (!popupActive) + { + return; + } + var obj_id = document.getElementById(popupDivId); + var x = 0; + var y = 0; + if(cursorX > document.body.clientWidth / 2 && cursorX < document.body.clientWidth) + { + x = cursorX - objWidth; + y = cursorY + popupYOffset; + } + else + { + x = cursorX + popupXOffset; + y = cursorY + popupYOffset; + } + obj_id.style.left = x + "px"; + obj_id.style.top = y + "px"; + popupTimer = setTimeout("followMouse()", 50); +} + +function hidePopup() +{ + var obj_id = document.getElementById(popupDivId); + obj_id.style.visibility = "hidden"; + clearTimeout(popupTimer); + popupActive = false; +} + +// menus + +function prepareMenuCore(menu) +{ + if (msie) + { + menu.style.backgroundColor = 'window'; + menu.style.color = 'windowtext'; + menu.style.borderColor = 'windowtext'; + } +} + +function prepareMenu() +{ + var menu = document.getElementById(menuDivId); + prepareMenuCore(menu); +} + +function showMenuCore(menu, capture) +{ + var x = cursorX; + var y = cursorY; + menu.style.left = x + "px"; + menu.style.top = y + "px"; + hidePopup(); + if (menu.style.visibility != "visible") + { + if (uiOptions.useTransitionEffects) + { + menu.filters['blendtrans'].apply(); + } + menu.style.visibility = "visible"; + if (uiOptions.useTransitionEffects) + { + menu.filters['blendtrans'].play(); + } + if (msie) + { + var trange = document.body.createTextRange(); + trange.moveToElementText(menu); + trange.scrollIntoView(); + } + } + if ((capture == null || capture) && menu.setCapture && uiOptions.captureMouse) + { + menu.setCapture(false); + } +} + +function showMenu(content, capture) +{ + if (document.releaseCapture) + { + document.releaseCapture(); + } + var menu = document.getElementById(menuDivId); + menu.innerHTML = content; + showMenuCore(menu, capture); +} + +function reshowMenu(capture) +{ + var menu = document.getElementById(menuDivId); + hidePopup(); + menu.style.visibility = "visible"; + if ((capture == null || capture) && menu.setCapture && uiOptions.captureMouse) + { + menu.setCapture(false); + } +} + +function hideMenu() +{ + if (document.releaseCapture) + { + document.releaseCapture(); + } + hideMenuCore(); +} + +function hideMenuCore() +{ + var menu = document.getElementById(menuDivId); + if (clearMenuOnceWhenClosed) + { + menu.innerHTML = ''; + clearMenuOnceWhenClosed = false; + } + menu.style.visibility = 'hidden'; + hidePopup(); +} + +function onMenuClick() +{ + var menu = document.getElementById(menuDivId); + if (!msie) + { + return; + } + var o = window.event.srcElement; + if (menu != o && !menu.contains(o)) + { + hideMenu(); + } +} + + +function getMenuItemHtml(html, action) +{ + return format('{0}', html, action); +} + +function onCellOver(id) +{ + var elt = document.getElementById(id); + if (elt != null) + { + elt.className = "ABLinkH"; + } +} + +function onCellOut(id) +{ + var elt = document.getElementById(id); + if (elt == null) + { + return; + } + elt.className = "ABLink"; +} + +function onCellClick_Core(id) +{ + var oldv = clearMenuOnceWhenClosed; + clearMenuOnceWhenClosed = false; + var r = onCellClick(id); + clearMenuOnceWhenClosed = oldv; + return r; +} + +function onCellClick(id) +{ + onCellOut(id); + hideMenu(); + return true; +} + +function getCellMenuItemHtml_Core(html, action, over, out) +{ + if (over == null) + { + over = ''; + } + if (out == null) + { + out = ''; + } + var newid = 'cmi_' + dc_menuItemCount; + dc_menuItemCount++; + var qnewid = "'" + newid + "'"; + return format('
    |

    {0}{0} |' + html + '
    .
    Abandoned Plains.
    \" \", .

    P.S. , 22:00 Abandoned Plains.
    Events

    Abandoned Plains. , , ."]},{"NewLineToBR":false,"IsDungeon":false,"FloorNames":[],"Name":"altar","Caption":" ","Description":[" [6] .
    ","
    \"Devils Devils city, :","

    \"","

    . , . , , . ","

    , , . .","

    , 100 . 100 .","

    [9] [10] .","
    ","

    : , , , , .","
    ","
    ","
    ","
    "]},{"NewLineToBR":true,"IsDungeon":false,"FloorNames":[],"Name":"bookshop","Caption":" ","Description":[" , \"Capital . , , .",""," ( ) . , , . , . , , . , , , , , ( ).",""," . - , - .","",", , . , (), : 25. : 25 . , . .",""," 5 9 . .",""," : , , , ."]},{"NewLineToBR":true,"IsDungeon":false,"FloorNames":[],"Name":"temple","Caption":" ","Description":["

    11 2007 Abandoned Plains \"\" . .
    ","

    .

    ","

    , . . , 4- , .
    , . , , . . , , , . , , , .

    ","

    ?
    - ;
    -

    ","

    .
    () . . , , .

    ","

    .
    , . , . , .

    :
    - , , .
    - : , , , , , , , , , .
    - , ( )

    ","


    ","

    : , , , , .


    "]}]}); diff --git a/dng/head/dungeon.all.js1 b/dng/head/dungeon.all.js1 new file mode 100644 index 00000000..24588294 --- /dev/null +++ b/dng/head/dungeon.all.js1 @@ -0,0 +1,3 @@ +// JS (Akzhan+Newtonsoft) + +new-combats.com.knowAbout({"KnownDungeons":[{"NewLineToBR":true,"IsDungeon":true,"FloorNames":["1 ","2 "],"Name":"novice","Caption":"","Description":[" , Capital city.",""," . [4] , . ",""," 2 . [4], [5] [6] . [7] .",""," :",""," . , , [4]-[6] , . , , .",""," , ? : , , , . , ."]},{"NewLineToBR":true,"IsDungeon":true,"FloorNames":["1 ","2 ","3 ","4 ","5 "],"Name":"capital","Caption":" ","Description":[" () Capital ity, .",""," [8] . .",""," 5 . [8]-[9] . ."," , [9]-[10] . , .",""," , ."," : 24 999.",""," :",""," : , , , , , . . , . ",""," (.) . (Sand city) - 1.",""," , 3 , . ",""," 4 5 . ."]},{"NewLineToBR":true,"IsDungeon":true,"FloorNames":["1 ","2 ","3 "],"Name":"angel","Caption":"","Description":[" Angels city, .",""," [8] . .",""," 3 . , [8]-[9] .",""," ."," : 10 000.",""," :",""," . . . . . ",""," . "," , - ."," 9- 10- .",""," [9] [9] [10] . "]},{"NewLineToBR":true,"IsDungeon":true,"FloorNames":["1 ","2 ","3 ","4 "],"Name":"sand","Caption":" ","Description":[" Sand city, .",""," [8] . 1 ( , ).",""," 4 . , [8]-[9] .",""," ."," : 10 000.",""," :",""," - : , , , . , . ",""," . , - , , . \"\" .",""," , , - (+250 ), . , , .",""," [9] [9] [10] . ",""," . . , ."]},{"NewLineToBR":true,"IsDungeon":true,"FloorNames":["1 ","2 ","3 ","4 "],"Name":"demons","Caption":"","Description":[""," Demons city, .",""," [8] . .",""," 4 . , [9]-[10] . , .",""," ."," : 24 999.",""," :"," . ",""," "," . "," [8]. , - . - . . . , , .",""," "," . /. "," , . - , . , . ",""," "," . "," - , . [9]-[10] . - , , - . "," (). ",""," "," - . . , (). ",""," [9] [10] . 4 ."]},{"NewLineToBR":true,"IsDungeon":true,"FloorNames":["1 ","2 ","3 ","4 "],"Name":"emerald","Caption":" ","Description":[""," Emeralds city, .",""," [8] . , , : (.) , (.). , 1 . 0/500 500 .",""," 4 . , [9]-[10] , .",""," ."," : 24 999.",""," :",""," , . : , . , , ."]},{"NewLineToBR":true,"IsDungeon":true,"FloorNames":["","","",""],"Name":"abandon","Caption":" ","Description":["
    23 2007 - Abandoned Plains.

    ","
    .
    Abandoned Plains.
    \" \", .

    P.S. , 22:00 Abandoned Plains.
    Events

    Abandoned Plains. , , ."]},{"NewLineToBR":false,"IsDungeon":false,"FloorNames":[],"Name":"altar","Caption":" ","Description":[" [6] .
    ","
    \"Devils Devils city, :","

    \"","

    . , . , , . ","

    , , . .","

    , 100 . 100 .","

    [9] [10] .","
    ","

    : , , , , .","
    ","
    ","
    ","
    "]},{"NewLineToBR":true,"IsDungeon":false,"FloorNames":[],"Name":"bookshop","Caption":" ","Description":[" , \"Capital . , , .",""," ( ) . , , . , . , , . , , , , , ( ).",""," . - , - .","",", , . , (), : 25. : 25 . , . .",""," 5 9 . .",""," : , , , ."]},{"NewLineToBR":true,"IsDungeon":false,"FloorNames":[],"Name":"temple","Caption":" ","Description":["

    11 2007 Abandoned Plains \"\" . .
    ","

    .

    ","

    , . . , 4- , .
    , . , , . . , , , . , , , .

    ","

    ?
    - ;
    -

    ","

    .
    () . . , , .

    ","

    .
    , . , . , .

    :
    - , , .
    - : , , , , , , , , , .
    - , ( )

    ","


    ","

    : , , , , .


    "]}]}); diff --git a/dng/head/dungeon.constructor.js b/dng/head/dungeon.constructor.js new file mode 100644 index 00000000..0eea8e6f --- /dev/null +++ b/dng/head/dungeon.constructor.js @@ -0,0 +1 @@ +underground.loadCostructorData({"NewLineToBR":true,"Description":[],"Categories":[{"ImageBasePath":"https://img.new-combats.com/i/items/","NewLineToBR":true,"Items":[{"Recipes":[],"NewLineToBR":false,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"mater1","Caption":" ","Description":[": 1
    ",": 0/1
    ","
    ","


    "," : 0.1 ."]},{"Recipes":[],"NewLineToBR":false,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"mater2","Caption":"","Description":[": 1
    ",": 0/1
    ","
    ","


    "," : 0.1 ."]},{"Recipes":[],"NewLineToBR":false,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"mater3","Caption":"","Description":[": 1
    ",": 0/1
    ","
    ","


    "," : 0.1 ."]},{"Recipes":[],"NewLineToBR":false,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"mater4","Caption":" ","Description":[": 1
    ",": 0/1
    ","
    ","


    "," : 0.1 ."]},{"Recipes":[],"NewLineToBR":false,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"mater5","Caption":" ","Description":[": 1
    ",": 0/1
    ","
    ","


    "," : 0.1 ."]},{"Recipes":[],"NewLineToBR":false,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"mater6","Caption":" ","Description":[": 1
    ",": 0/1
    ","
    ","


    "," : 0.1 ."]},{"Recipes":[],"NewLineToBR":false,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"mater7","Caption":" ","Description":[": 1
    ",": 0/1
    ","
    ","


    "," : 0.1 ."]},{"Recipes":[],"NewLineToBR":false,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"mater8","Caption":"","Description":[": 1
    ",": 0/1
    ","
    ","


    "," : 0.1 ."]},{"Recipes":[],"NewLineToBR":false,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"mater9","Caption":" ","Description":[": 1
    ",": 0/1
    ","
    ","


    "," : 0.1 ."]},{"Recipes":[],"NewLineToBR":false,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"mater10","Caption":" ","Description":[": 1
    ",": 0/1
    ","
    ","


    "," : 0.1 ."]},{"Recipes":[],"NewLineToBR":false,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"mater11","Caption":" ","Description":[": 1
    ",": 0/1
    ","
    ","


    "," : 0.1 ."]},{"Recipes":[],"NewLineToBR":false,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"mater12","Caption":"","Description":[": 1
    ",": 0/1
    ","
    ","


    "," : 0.1 ."]},{"Recipes":[],"NewLineToBR":false,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"mater13","Caption":" ","Description":[": 1
    ",": 0/1
    ","
    ","


    "," : 0.3 ."]},{"Recipes":[],"NewLineToBR":false,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"mater14","Caption":" ","Description":[": 1
    ",": 0/1
    ","
    ","


    "," : 0.3 ."]},{"Recipes":[],"NewLineToBR":false,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"mater15","Caption":" ","Description":[": 1
    ",": 0/1
    ","
    ","


    "," : 0.3 ."]},{"Recipes":[],"NewLineToBR":false,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"mater16","Caption":" ","Description":[": 1
    ",": 0/1
    ","
    ","


    "," : 0.3 ."]},{"Recipes":[],"NewLineToBR":false,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"mater17","Caption":" ","Description":[": 1
    ",": 0/1
    ","
    ","


    "," : 0.3 ."]},{"Recipes":[],"NewLineToBR":false,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"mater18","Caption":" ","Description":[": 1
    ",": 0/1
    ","
    ","


    "," : 0.3 ."]},{"Recipes":[],"NewLineToBR":false,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"mater19","Caption":" ","Description":[": 1
    ",": 0/1
    ","
    ","


    "," : 0.3 ."]},{"Recipes":[],"NewLineToBR":false,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"mater25","Caption":" ","Description":[": 1
    ",": 0/1
    ","
    ","


    "," : 1 ."]},{"Recipes":[],"NewLineToBR":false,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"mater26","Caption":" ","Description":[": 1
    ",": 0/1
    ","
    ","


    "," : 1 ."]},{"Recipes":[],"NewLineToBR":false,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"mater27","Caption":" ","Description":[": 1
    ",": 0/1
    ","
    ","


    "," : 1 ."]},{"Recipes":[],"NewLineToBR":false,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"mater28","Caption":" ","Description":[": 1
    ",": 0/1
    ","
    ","


    "," : 1 ."]},{"Recipes":[],"NewLineToBR":false,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"mater29","Caption":" ","Description":[": 1
    ",": 0/1
    ","
    ","


    "," : 1 ."]},{"Recipes":[],"NewLineToBR":false,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"mater30","Caption":" ","Description":[": 1
    ",": 0/1
    ","
    ","


    "," : 1 ."]},{"Recipes":[],"NewLineToBR":false,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"mater20","Caption":" ","Description":[": 1
    ",": 0/1
    ","
    ","


    "," : 3 ."]},{"Recipes":[],"NewLineToBR":false,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"mater21","Caption":" ","Description":[": 1
    ",": 0/1
    ","
    ","


    "," : 3 ."]},{"Recipes":[],"NewLineToBR":false,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"mater22","Caption":" ","Description":[": 1
    ",": 0/1
    ","
    ","


    "," : 3 ."]},{"Recipes":[],"NewLineToBR":false,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"mater23","Caption":"","Description":[": 1
    ",": 0/1
    ","
    ","


    "," : 3 ."]},{"Recipes":[],"NewLineToBR":false,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"mater24","Caption":"","Description":[": 1
    ",": 0/1
    ","
    ","


    "," : 3 ."]},{"Recipes":[],"NewLineToBR":false,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"mater31","Caption":" ","Description":[": 1
    ",": 0/1
    ","
    ","


    "," : 3 ."]}],"Name":"mater","Caption":"","Description":[]},{"ImageBasePath":"https://img.new-combats.com/i/items/","NewLineToBR":true,"Items":[{"Recipes":[],"NewLineToBR":true,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"mater267","Caption":" ","Description":[": 1
    ",": 40
    ",": 0/1
    "," "]},{"Recipes":[],"NewLineToBR":true,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"mater261","Caption":" ","Description":[": 1
    ",": 20
    ",": 0/1
    "," "]},{"Recipes":[],"NewLineToBR":true,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"mater262","Caption":" ","Description":[": 1
    ",": 48
    ",": 0/1
    "," "]},{"Recipes":[],"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"mater276","Caption":" ","Description":[": 1
    ",": 28
    ",": 0/1
    "," "]},{"Recipes":[],"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"mater275","Caption":" ","Description":[": 1
    ",": 28
    ",": 0/1
    "," "]}],"Name":"mater_knshop","Caption":" ","Description":[]},{"ImageBasePath":"https://img.new-combats.com/i/items/","NewLineToBR":true,"Items":[{"Recipes":[],"NewLineToBR":false,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"mater_shop7","Caption":" ","Description":[": 0.1
    ",": 0/1
    "," Angels city
    ","
    "]}],"Name":"mater_shop7","Caption":" ","Description":[]},{"ImageBasePath":"https://img.new-combats.com/i/items/","NewLineToBR":true,"Items":[{"Recipes":[],"NewLineToBR":true,"W":40,"H":25,"Binding":3,"IsGift":false,"Name":"sp_mat1","Caption":" ","Description":[": 1 ",": 0/1"," Angels city"," "," "]},{"Recipes":[],"NewLineToBR":true,"W":40,"H":25,"Binding":3,"IsGift":false,"Name":"sp_mat3","Caption":" ","Description":[": 1 ",": 0/1"," Angels city"," "," "]},{"Recipes":[],"NewLineToBR":true,"W":40,"H":25,"Binding":3,"IsGift":false,"Name":"sp_mat5","Caption":" ","Description":[": 1 ",": 0/1"," Angels city"," "," "]},{"Recipes":[],"NewLineToBR":true,"W":40,"H":25,"Binding":3,"IsGift":false,"Name":"sp_mat7","Caption":" ","Description":[": 1 ",": 0/1"," Angels city"," "," "]},{"Recipes":[],"NewLineToBR":true,"W":40,"H":25,"Binding":3,"IsGift":false,"Name":"sp_mat9","Caption":" ","Description":[]},{"Recipes":[],"NewLineToBR":true,"W":40,"H":25,"Binding":3,"IsGift":false,"Name":"sp_mat11","Caption":" ","Description":[]},{"Recipes":[],"NewLineToBR":true,"W":40,"H":25,"Binding":3,"IsGift":false,"Name":"sp_mat13","Caption":" ","Description":[": 1 ",": 0/1"," Angels city"," "," "]},{"Recipes":[],"NewLineToBR":true,"W":40,"H":25,"Binding":3,"IsGift":false,"Name":"sp_mat15","Caption":" ","Description":[": 1 ",": 0/1"," Angels city"," "," "]},{"Recipes":[],"NewLineToBR":true,"W":40,"H":25,"Binding":3,"IsGift":false,"Name":"sp_mat17","Caption":" ","Description":[": 1 ",": 0/1"," Angels city"," "," "]},{"Recipes":[],"NewLineToBR":true,"W":40,"H":25,"Binding":3,"IsGift":false,"Name":"sp_mat19","Caption":" ","Description":[]},{"Recipes":[],"NewLineToBR":true,"W":40,"H":25,"Binding":3,"IsGift":false,"Name":"sp_mat23","Caption":" ","Description":[]},{"Recipes":[],"NewLineToBR":true,"W":40,"H":25,"Binding":3,"IsGift":false,"Name":"sp_mat30","Caption":" ","Description":[]},{"Recipes":[],"NewLineToBR":true,"W":40,"H":25,"Binding":3,"IsGift":false,"Name":"sp_mat21","Caption":" ","Description":[]}],"Name":"sp_mat","Caption":" ","Description":[]},{"ImageBasePath":"https://img.new-combats.com/i/items/","NewLineToBR":true,"Items":[{"Recipes":[{"Price":0,"PlaceName":"laba_ang","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater7","Count":3}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_tacpts_HIT1","Caption":" : 1","Description":[": 1 ",": 10 . ",": 0/1"," : 3 ."," "," :"," : 5"," Angels city"," "," ",""," +1"]},{"Recipes":[{"Price":0,"PlaceName":"laba_ang","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater18","Count":2}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_tacpts_HIT2","Caption":" : 2","Description":[": 1 ",": 20 . ",": 0/1"," : 3 ."," "," :"," : 5"," Angels city"," "," ",""," +2"]},{"Recipes":[{"Price":0,"PlaceName":"laba_ang","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater30","Count":2}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_tacpts_HIT3","Caption":" : 3","Description":[": 1 ",": 30 . ",": 0/1"," : 3 ."," "," :"," : 5"," Angels city"," "," ",""," +3"]},{"Recipes":[{"Price":0,"PlaceName":"laba_ang","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater22","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_tacpts_HIT4","Caption":" : 4","Description":[": 1 ",": 40 . ",": 0/1"," : 3 ."," "," :"," : 5"," Angels city"," "," ",""," +4"]},{"Recipes":[{"Price":0,"PlaceName":"laba_ang","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater23","Count":1},{"Category":"mater","Item":"mater24","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_tacpts_HIT5","Caption":" : 5","Description":[": 1 ",": 50 . ",": 0/1"," : 3 ."," "," :"," : 5"," Angels city"," "," ",""," +5"]},{"Recipes":[{"Price":0,"PlaceName":"laba_ang","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater11","Count":3}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_tacpts_BLK1","Caption":" : 1","Description":[": 1 ",": 10 . ",": 0/1"," : 3 ."," "," :"," : 5"," Angels city"," "," ",""," +1 "]},{"Recipes":[{"Price":0,"PlaceName":"laba_ang","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater19","Count":2}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_tacpts_BLK2","Caption":" : 2","Description":[": 1 ",": 20 . ",": 0/1"," : 3 ."," "," :"," : 5"," Angels city"," "," ",""," +2 "]},{"Recipes":[{"Price":0,"PlaceName":"laba_ang","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater29","Count":2}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_tacpts_BLK3","Caption":" : 3","Description":[": 1 ",": 30 . ",": 0/1"," : 3 ."," "," :"," : 5"," Angels city"," "," ",""," +3 "]},{"Recipes":[{"Price":0,"PlaceName":"laba_ang","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater21","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_tacpts_BLK4","Caption":" : 4","Description":[": 1 ",": 40 . ",": 0/1"," : 3 ."," "," :"," : 5"," Angels city"," "," ",""," +4 "]},{"Recipes":[{"Price":0,"PlaceName":"laba_ang","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater21","Count":1},{"Category":"mater","Item":"mater23","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_tacpts_BLK5","Caption":" : 5","Description":[": 1 ",": 50 . ",": 0/1"," : 3 ."," "," :"," : 5"," Angels city"," "," ",""," +5 "]},{"Recipes":[{"Price":0,"PlaceName":"laba_ang","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater9","Count":3}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_tacpts_KRT1","Caption":" : 1","Description":[": 1 ",": 10 . ",": 0/1"," : 3 ."," "," :"," : 5"," Angels city"," "," ",""," +1"]},{"Recipes":[{"Price":0,"PlaceName":"laba_ang","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater16","Count":2}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_tacpts_KRT2","Caption":" : 2","Description":[": 1 ",": 20 . ",": 0/1"," : 3 ."," "," :"," : 5"," Angels city"," "," ",""," +2"]},{"Recipes":[{"Price":0,"PlaceName":"laba_ang","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater27","Count":2}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_tacpts_KRT3","Caption":" : 3","Description":[": 1 ",": 30 . ",": 0/1"," : 3 ."," "," :"," : 5"," Angels city"," "," ",""," +3"]},{"Recipes":[{"Price":0,"PlaceName":"laba_ang","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater31","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_tacpts_KRT4","Caption":" : 4","Description":[": 1 ",": 40 . ",": 0/1"," : 3 ."," "," :"," : 5"," Angels city"," "," ",""," +4"]},{"Recipes":[{"Price":0,"PlaceName":"laba_ang","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater31","Count":1},{"Category":"mater","Item":"mater23","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_tacpts_KRT5","Caption":" : 5","Description":[": 1 ",": 50 . ",": 0/1"," : 3 ."," "," :"," : 5"," Angels city"," "," ",""," +5"]},{"Recipes":[{"Price":0,"PlaceName":"laba_ang","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater10","Count":3}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_tacpts_CNTR1","Caption":" : 1","Description":[": 1 ",": 10 . ",": 0/1"," : 3 ."," "," :"," : 5"," Angels city"," "," ",""," +1 "]},{"Recipes":[{"Price":0,"PlaceName":"laba_ang","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater17","Count":2}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_tacpts_CNTR2","Caption":" : 2","Description":[": 1 ",": 20 . ",": 0/1"," : 3 ."," "," :"," : 5"," Angels city"," "," ",""," +2 "]},{"Recipes":[{"Price":0,"PlaceName":"laba_ang","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater28","Count":2}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_tacpts_CNTR3","Caption":" : 3","Description":[": 1 ",": 30 . ",": 0/1"," : 3 ."," "," :"," : 5"," Angels city"," "," ",""," +3 "]},{"Recipes":[{"Price":0,"PlaceName":"laba_ang","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater20","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_tacpts_CNTR4","Caption":" : 4","Description":[": 1 ",": 40 . ",": 0/1"," : 3 ."," "," :"," : 5"," Angels city"," "," ",""," +4 "]},{"Recipes":[{"Price":0,"PlaceName":"laba_ang","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater20","Count":1},{"Category":"mater","Item":"mater23","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_tacpts_CNTR5","Caption":" : 5","Description":[": 1 ",": 50 . ",": 0/1"," : 3 ."," "," :"," : 5"," Angels city"," "," ",""," +5 "]},{"Recipes":[{"Price":0,"PlaceName":"laba_ang","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater8","Count":3}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_tacpts_PRY1","Caption":" : 1","Description":[": 1 ",": 10 . ",": 0/1"," : 3 ."," "," :"," : 5"," Angels city"," "," ",""," +1 "]},{"Recipes":[{"Price":0,"PlaceName":"laba_ang","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater15","Count":2}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_tacpts_PRY2","Caption":" : 2","Description":[": 1 ",": 20 . ",": 0/1"," : 3 ."," "," :"," : 5"," Angels city"," "," ",""," +2 "]},{"Recipes":[{"Price":0,"PlaceName":"laba_ang","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater26","Count":2}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_tacpts_PRY3","Caption":" : 3","Description":[": 1 ",": 30 . ",": 0/1"," : 3 ."," "," :"," : 5"," Angels city"," "," ",""," +3 "]},{"Recipes":[{"Price":0,"PlaceName":"laba_ang","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater24","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_tacpts_PRY4","Caption":" : 4","Description":[": 1 ",": 10 . ",": 0/1"," : 3 ."," "," :"," : 5"," Angels city"," "," ",""," +4 "]},{"Recipes":[{"Price":0,"PlaceName":"laba_ang","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater24","Count":1},{"Category":"mater","Item":"mater23","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_tacpts_PRY5","Caption":" : 5","Description":[": 1 ",": 10 . ",": 0/1"," : 3 ."," "," :"," : 5"," Angels city"," "," ",""," +5 "]}],"Name":"sp_tacpts","Caption":" ","Description":[" . , .","","C . , - () .",""," 3 . 10 .",""]},{"ImageBasePath":"https://img.new-combats.com/i/items/","NewLineToBR":true,"Items":[{"Recipes":[],"NewLineToBR":true,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"key_cube_1","Caption":" ","Description":[": 1",": 0/1"," Demons city"," "," ",""," K7 . "," , ."]},{"Recipes":[],"NewLineToBR":true,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"key_cube_2","Caption":" ","Description":[": 1",": 0/1"," Demons city"," "," ",""," U2 . "," , ."]},{"Recipes":[{"Price":0,"PlaceName":"altar_dem","Binding":4,"RecipeParts":[{"Category":"key_cube","Item":"key_cube_1","Count":1},{"Category":"key_cube","Item":"key_cube_2","Count":1}],"Name":"key_cube_recipe","Caption":" ","Description":[]}],"NewLineToBR":true,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"key_cube_3","Caption":" ","Description":[": 1",": 0/1"," Demons city"," "," "]}],"Name":"key_cube","Caption":" ","Description":[]},{"ImageBasePath":"https://img.new-combats.com/i/items/","NewLineToBR":true,"Items":[{"Recipes":[],"NewLineToBR":true,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"key_amul_1","Caption":" ","Description":[": 1",": 0/1 "," Capital city "," "," ",""," L12 ."," , 2 ."]},{"Recipes":[],"NewLineToBR":true,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"key_amul_2","Caption":" ","Description":[": 1",": 0/1 "," Capital city "," "," ",""," I12 ."," , 2 ."]},{"Recipes":[],"NewLineToBR":true,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"key_amul_3","Caption":" ","Description":[": 1",": 0/1 "," Capital city "," "," ",""," L15 ."," , 2 ."]},{"Recipes":[{"Price":0,"PlaceName":"altar_cap","Binding":4,"RecipeParts":[{"Category":"key_amul","Item":"key_amul_1","Count":1},{"Category":"key_amul","Item":"key_amul_2","Count":1},{"Category":"key_amul","Item":"key_amul_3","Count":1}],"Name":"key_amul_recipe","Caption":" ","Description":[]}],"NewLineToBR":true,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"key_amul_4","Caption":" ","Description":[": 1",": 0/1 "," Capital city "," "," ",""," G2 . "]}],"Name":"key_amul","Caption":" ","Description":[]},{"ImageBasePath":"https://img.new-combats.com/i/items/","NewLineToBR":true,"Items":[{"Recipes":[],"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"key_TR_1","Caption":" ","Description":[": 1",": 0/1 "," Capital city "," "," ",""," K15 ."," ."]},{"Recipes":[],"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"key_TR_2","Caption":" ","Description":[": 1",": 0/1 "," Capital city "," "," ",""," I15 ."," ."]},{"Recipes":[],"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"key_TR_3","Caption":" ","Description":[": 1",": 0/1 "," Capital city "," "," ",""," G15 ."," ."]},{"Recipes":[],"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"key_TR_4","Caption":" ","Description":[": 1",": 0/1 "," Capital city "," "," ",""," E15 ."," ."]},{"Recipes":[],"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"key_TR_5","Caption":" ","Description":[": 1",": 0/1 "," Capital city "," "," ",""," C15 ."," ."]},{"Recipes":[{"Price":0,"PlaceName":"altar_cap","Binding":4,"RecipeParts":[{"Category":"key_TR","Item":"key_TR_1","Count":1},{"Category":"key_TR","Item":"key_TR_2","Count":1},{"Category":"key_TR","Item":"key_TR_3","Count":1},{"Category":"key_TR","Item":"key_TR_4","Count":1},{"Category":"key_TR","Item":"key_TR_5","Count":1}],"Name":"key_TR_recipe","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"key_TR_6","Caption":" ","Description":[": 1",": 0/1 "," Capital city "," "," ",""," . ."]}],"Name":"key_TR","Caption":" ","Description":[]},{"ImageBasePath":"https://img.new-combats.com/i/items/","NewLineToBR":true,"Items":[{"Recipes":[],"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"enh_1_0","Caption":" [0]","Description":[": 1 ",": 5 . ",": 0/1 ",":"," - . ..."," Demons city"," "," ",""]},{"Recipes":[{"Price":0,"PlaceName":"laba_dem","Binding":4,"RecipeParts":[{"Category":"enh","Item":"enh_1_0","Count":3},{"Category":"key_cube","Item":"key_cube_3","Count":1}],"Name":"enh_1_recipe","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"enh_1_1","Caption":" [1]","Description":[": 1 ",": 15 . ",": 0/1 "," : 99%",":"," - . , ."," Demons city"," "," ",""]},{"Recipes":[{"Price":0,"PlaceName":"laba_dem","Binding":4,"RecipeParts":[{"Category":"enh","Item":"enh_1_1","Count":3},{"Category":"key_cube","Item":"key_cube_3","Count":1}],"Name":"enh_2_recipe","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"enh_1_2","Caption":" [2]","Description":[": 1 ",": 50 . ",": 0/1 "," : 99%",":"," - . , ."," Demons city"," "," ","","."]},{"Recipes":[{"Price":0,"PlaceName":"laba_dem","Binding":4,"RecipeParts":[{"Category":"enh","Item":"enh_1_2","Count":3},{"Category":"key_cube","Item":"key_cube_3","Count":1},{"Category":"mater","Item":"mater24","Count":1}],"Name":"enh_1_3_recipe","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"enh_1_3","Caption":" [3]","Description":[": 1 ",": 150 . "," : 99%",": 0/1 ",":"," , ."," Demons city"," "," "]},{"Recipes":[],"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"enh_3_0","Caption":" [0]","Description":[": 1 ",": 5 . ",": 0/1 ",":"," - . ..."," Demons city"," "," ",""]},{"Recipes":[{"Price":0,"PlaceName":"laba_dem","Binding":4,"RecipeParts":[{"Category":"enh","Item":"enh_3_0","Count":3},{"Category":"key_cube","Item":"key_cube_3","Count":1}],"Name":"enh_3_1_recipe","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"enh_3_1","Caption":" [1]","Description":[": 1 ",": 15 . ",": 0/1 "," : 99%",":"," - . ."," Demons city"," "," ",""]},{"Recipes":[{"Price":0,"PlaceName":"laba_dem","Binding":4,"RecipeParts":[{"Category":"enh","Item":"enh_3_1","Count":3},{"Category":"key_cube","Item":"key_cube_3","Count":1}],"Name":"enh_3_2_recipe","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"enh_3_2","Caption":" [2]","Description":[": 1 ",": 50 . ",": 0/1 "," : 99%",":"," - . ."," Demons city"," "," ",""]},{"Recipes":[{"Price":0,"PlaceName":"laba_dem","Binding":4,"RecipeParts":[{"Category":"enh","Item":"enh_3_2","Count":3},{"Category":"key_cube","Item":"key_cube_3","Count":1},{"Category":"mater","Item":"mater22","Count":1}],"Name":"enh_3_3_recipe","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"enh_3_3","Caption":" [3]","Description":[": 1 ",": 150 . "," : 99%",": 0/1 ",":"," ."," Demons city"," "," "]},{"Recipes":[],"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"enh_4_0","Caption":" [0]","Description":[": 1 ",": 5 . ",": 0/1 ",":"," - . ..."," Demons city"," "," ",""]},{"Recipes":[{"Price":0,"PlaceName":"laba_dem","Binding":4,"RecipeParts":[{"Category":"enh","Item":"enh_4_0","Count":3},{"Category":"key_cube","Item":"key_cube_3","Count":1}],"Name":"enh_4_1_recipe","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"enh_4_1","Caption":" [1]","Description":[": 1 ",": 15 . ",": 0/1 "," : 99%",":"," - . ."," Demons city"," "," ",""]},{"Recipes":[{"Price":0,"PlaceName":"laba_dem","Binding":4,"RecipeParts":[{"Category":"enh","Item":"enh_4_1","Count":3},{"Category":"key_cube","Item":"key_cube_3","Count":1}],"Name":"enh_4_2_recipe","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"enh_4_2","Caption":" [2]","Description":[": 1 ",": 50 . ",": 0/1 "," : 99%",":"," - . ."," Demons city"," "," "]},{"Recipes":[{"Price":0,"PlaceName":"laba_dem","Binding":4,"RecipeParts":[{"Category":"enh","Item":"enh_4_2","Count":3},{"Category":"key_cube","Item":"key_cube_3","Count":1},{"Category":"mater","Item":"mater21","Count":1}],"Name":"enh_4_3_recipe","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"enh_4_3","Caption":" [3]","Description":[": 1 ",": 150 . "," : 99%",": 0/1 ",":"," ."," Demons city"," "," "]},{"Recipes":[],"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"enh_5_0","Caption":" [0]","Description":[": 1 ",": 5 . ",": 0/1 ",":"," - . ..."," Demons city"," "," ",""]},{"Recipes":[{"Price":0,"PlaceName":"laba_dem","Binding":4,"RecipeParts":[{"Category":"enh","Item":"enh_5_0","Count":3},{"Category":"key_cube","Item":"key_cube_3","Count":1}],"Name":"enh_5_1_recipe","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"enh_5_1","Caption":" [1]","Description":[": 1 ",": 15 . ",": 0/1 "," : 99%",":"," - . , ."," Demons city"," "," ",""]},{"Recipes":[{"Price":0,"PlaceName":"laba_dem","Binding":4,"RecipeParts":[{"Category":"enh","Item":"enh_5_1","Count":3},{"Category":"key_cube","Item":"key_cube_3","Count":1}],"Name":"enh_5_2_recipe","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"enh_5_2","Caption":" [2]","Description":[": 1 ",": 50 . ",": 0/1 "," : 99%",":"," - . , ."," Demons city"," "," "]},{"Recipes":[{"Price":0,"PlaceName":"laba_dem","Binding":4,"RecipeParts":[{"Category":"enh","Item":"enh_5_2","Count":3},{"Category":"key_cube","Item":"key_cube_3","Count":1},{"Category":"mater","Item":"mater20","Count":1}],"Name":"enh_5_3_recipe","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"enh_5_3","Caption":" [3]","Description":[": 1 ",": 150 . "," : 99%",": 0/1 ",":"," , ."," Demons city"," "," "]},{"Recipes":[],"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"enh_9_0","Caption":" [0]","Description":[": 1 ",": 5 . ",": 0/1 ",":"," - . ..."," Demons city"," "," ",""]},{"Recipes":[{"Price":0,"PlaceName":"laba_dem","Binding":4,"RecipeParts":[{"Category":"enh","Item":"enh_9_0","Count":3},{"Category":"key_cube","Item":"key_cube_3","Count":1}],"Name":"enh_9_1_recipe","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"enh_9_1","Caption":" [1]","Description":[": 1 ",": 15 . ",": 0/1 "," : 99%",":"," - . ."," Demons city"," "," ",""]},{"Recipes":[{"Price":0,"PlaceName":"laba_dem","Binding":4,"RecipeParts":[{"Category":"enh","Item":"enh_9_1","Count":3},{"Category":"key_cube","Item":"key_cube_3","Count":1}],"Name":"enh_9_2_recipe","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"enh_9_2","Caption":" [2]","Description":[": 1 ",": 50 . ",": 0/1 "," : 99%",":"," - . ."," Demons city"," "," "]},{"Recipes":[{"Price":0,"PlaceName":"laba_dem","Binding":4,"RecipeParts":[{"Category":"enh","Item":"enh_9_2","Count":3},{"Category":"key_cube","Item":"key_cube_3","Count":1},{"Category":"mater","Item":"mater31","Count":1}],"Name":"enh_9_3_recipe","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"enh_9_3","Caption":" [3]","Description":[": 1 ",": 150 . "," : 99%",": 0/1 ",":"," ."," Demons city"," "," "]}],"Name":"enh","Caption":" ","Description":[]},{"ImageBasePath":"https://img.new-combats.com/i/items/","NewLineToBR":true,"Items":[{"Recipes":[{"Price":0,"PlaceName":"mastershop_cap","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater10","Count":1},{"Category":"mater","Item":"mater16","Count":1},{"Category":"mater","Item":"mater18","Count":1},{"Category":"mater","Item":"mater19","Count":1},{"Category":"mater","Item":"mater27","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"spell_ug_undam2c","Caption":" ","Description":[": 1",": 10 . ",": 0/1"," : 6 . 0 ."," : "," :"," . : -20"," Capital city"," "," "]},{"Recipes":[{"Price":0,"PlaceName":"mastershop_cap","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater28","Count":1},{"Category":"mater","Item":"mater26","Count":1},{"Category":"mater","Item":"mater24","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"spell_ug_unexprc","Caption":" ","Description":[": 1",": 10 . ",": 0/1"," : 6 . 0 ."," : "," :"," (%): -10"," : "," Capital city"," "," "]},{"Recipes":[{"Price":0,"PlaceName":"mastershop_cap","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater12","Count":1},{"Category":"mater","Item":"mater15","Count":1},{"Category":"mater","Item":"mater17","Count":1},{"Category":"mater","Item":"mater18","Count":1},{"Category":"mater","Item":"mater30","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"spell_ug_undam3c","Caption":" ","Description":[": 1",": 10 . ",": 0/1"," : 6 . 0 ."," : "," :"," . : -20"," Capital city"," "," "]},{"Recipes":[{"Price":0,"PlaceName":"mastershop_cap","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater11","Count":1},{"Category":"mater","Item":"mater14","Count":1},{"Category":"mater","Item":"mater17","Count":1},{"Category":"mater","Item":"mater18","Count":1},{"Category":"mater","Item":"mater29","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"spell_ug_undam1c","Caption":" ","Description":[": 1",": 10 . ",": 0/1"," : 6 . 0 ."," : "," :"," . : -20"," Capital city"," "," "]},{"Recipes":[{"Price":0,"PlaceName":"mastershop_cap","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater25","Count":1},{"Category":"mater","Item":"mater26","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"spell_ug_undam4c","Caption":" ","Description":[": 1",": 10 . ",": 0/1"," : 6 . 0 ."," : "," :"," . : -20"," Capital city"," "," "]},{"Recipes":[{"Price":0,"PlaceName":"mastershop_cap","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater26","Count":1},{"Category":"mater","Item":"mater28","Count":1},{"Category":"mater","Item":"mater24","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"spell_ug_unp10c","Caption":" ","Description":[": 1",": 10 . ",": 0/1"," : 6 . 0 ."," : "," :"," . : -100"," Capital city"," "," "]},{"Recipes":[{"Price":0,"PlaceName":"mastershop_cap","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater4","Count":1},{"Category":"mater","Item":"mater14","Count":3},{"Category":"mater","Item":"mater25","Count":1},{"Category":"mater","Item":"mater27","Count":1},{"Category":"mater","Item":"mater30","Count":1},{"Category":"mater","Item":"mater31","Count":1},{"Category":"mater","Item":"mater24","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"spell_curseb","Caption":" ","Description":[": 1",": 1 .",": 0/1"," : 70%"," : 1440 ."," :"," : 10"," : 8"," : "," Capital city"," "," "]},{"Recipes":[{"Price":0,"PlaceName":"mastershop_cap","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater12","Count":1},{"Category":"mater","Item":"mater28","Count":1},{"Category":"mater","Item":"mater16","Count":1},{"Category":"mater","Item":"mater17","Count":1},{"Category":"mater","Item":"mater18","Count":1},{"Category":"mater","Item":"mater29","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"spell_curse","Caption":" ","Description":[": 1",": 1 .",": 0/1"," : 70%"," : 1440 ."," :"," : 10"," : 8"," : "," Capital city"," "," "]}],"Name":"spell_ug","Caption":"","Description":[]},{"ImageBasePath":"https://img.new-combats.com/i/items/","NewLineToBR":true,"Items":[{"Recipes":[{"Price":0,"PlaceName":"mastershop_cap","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater1","Count":4},{"Category":"mater","Item":"mater5","Count":4},{"Category":"mater","Item":"mater9","Count":3},{"Category":"mater","Item":"mater16","Count":2},{"Category":"mater","Item":"mater19","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":20,"H":20,"Binding":0,"IsGift":false,"Name":"ing104","Caption":" ","Description":[": 1",": 23 . ",": 0/40"," :"," : 10 "," : 3 "," :"," : +3"," Capital city"," "," "]},{"Recipes":[{"Price":0,"PlaceName":"mastershop_cap","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater2","Count":5},{"Category":"mater","Item":"mater11","Count":2},{"Category":"mater","Item":"mater14","Count":1},{"Category":"mater","Item":"mater15","Count":2}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":20,"H":20,"Binding":0,"IsGift":false,"Name":"ring83","Caption":" ","Description":[": 1",": 16 . ",": 0/40"," :"," : 10 "," : 10 "," : 2 "," :"," : +2"," Capital city"," "," "]},{"Recipes":[{"Price":0,"PlaceName":"mastershop_cap","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater3","Count":5},{"Category":"mater","Item":"mater10","Count":2},{"Category":"mater","Item":"mater17","Count":1},{"Category":"mater","Item":"mater18","Count":1},{"Category":"mater","Item":"mater19","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":20,"H":20,"Binding":0,"IsGift":false,"Name":"ring85","Caption":" ","Description":[": 1",": 16 . ",": 0/40"," :"," : 10 "," : 2 "," :"," : +2"," Capital city"," "," "]},{"Recipes":[{"Price":0,"PlaceName":"mastershop_cap","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater4","Count":3},{"Category":"mater","Item":"mater7","Count":4},{"Category":"mater","Item":"mater8","Count":4},{"Category":"mater","Item":"mater13","Count":3}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":20,"H":20,"Binding":0,"IsGift":false,"Name":"ring106","Caption":" ","Description":[": 1",": 20 . ",": 0/20"," :"," : 12 "," : 12 "," : 3 "," :"," (HP): +33"," Capital city"," "," "]},{"Recipes":[{"Price":0,"PlaceName":"mastershop_cap","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater12","Count":2},{"Category":"mater","Item":"mater13","Count":3},{"Category":"mater","Item":"mater28","Count":1},{"Category":"mater","Item":"mater29","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":20,"H":20,"Binding":0,"IsGift":false,"Name":"ring207","Caption":"Simplicity Ring","Description":[": 1",": 31 . (6 .) ",": 0/30"," :"," : 15 "," : 15 "," : 15 "," : 4 "," :"," : +2 "," : +3"," Capital city"," "," "]},{"Recipes":[{"Price":0,"PlaceName":"mastershop_cap","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater6","Count":5},{"Category":"mater","Item":"mater15","Count":2},{"Category":"mater","Item":"mater26","Count":2},{"Category":"mater","Item":"mater22","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":20,"H":20,"Binding":0,"IsGift":false,"Name":"ring99","Caption":" ","Description":[": 1",": 61 . ",": 0/30"," :"," : 20 "," : 20 "," : 20 "," : 7 "," :"," . : +5 % "," . : +1 % "," :"," : +5"," Capital city"," "," "]}],"Name":"rings","Caption":"","Description":[]},{"ImageBasePath":"https://img.new-combats.com/i/items/","NewLineToBR":true,"Items":[{"Recipes":[{"Price":150,"PlaceName":"shop_ang","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater25","Count":1},{"Category":"mater","Item":"mater6","Count":5}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":80,"Binding":0,"IsGift":false,"Name":"leg11","Caption":" ","Description":[": 10",": 150 .",": 0/50"," :"," : 15"," : 15"," : 9"," : 50"," : 45"," :"," : +20"," (HP): +42"," : 13-48 (12+d36)"," : 13-48 (12+d36)"," :"," : +50"," : [13]"]},{"Recipes":[{"Price":150,"PlaceName":"shop_ang","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater25","Count":1},{"Category":"mater","Item":"mater6","Count":5}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":40,"Binding":0,"IsGift":false,"Name":"boots23","Caption":" ","Description":[": 10 ",": 150 .",": 0/50"," :"," : 15"," : 15"," : 9"," : 50"," : 45"," :"," . (%): +20"," . (%): +20"," : -2"," (HP): +66"," : 35-84 (34+d50)"," :"," : +50"," : [13]"]},{"Recipes":[{"Price":130,"PlaceName":"shop_ang","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater25","Count":1},{"Category":"mater","Item":"mater6","Count":3}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":40,"Binding":0,"IsGift":false,"Name":"naruchi79","Caption":" ","Description":[": 1",": 130 .",": 0/30"," :"," : 15"," : 15"," : 8"," : 50"," : 45"," :"," . (%): +40"," : +3"," , : +3"," , : +3"," , : +3"," : +20"," : +1"," : [13]"]},{"Recipes":[{"Price":380,"PlaceName":"shop_ang","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater31","Count":1},{"Category":"mater","Item":"mater6","Count":8}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":80,"Binding":0,"IsGift":false,"Name":"armor107","Caption":" ","Description":[": 60",": 380 .",": 0/100"," :"," : 15"," : 15"," : 9"," : 50"," : 45"," :"," . (%): +50"," . (%): +25"," : +1"," : +30"," (HP): +99"," : +6"," : 31-90 (30+d60)"," :"," : +150",":"," : "," : "," : "," : "," : [13]"]},{"Recipes":[{"Price":215,"PlaceName":"shop_ang","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater19","Count":5},{"Category":"mater","Item":"mater6","Count":6}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"helmet81","Caption":" ","Description":[": 20",": 215 .",": 0/100"," :"," : 15"," : 15"," : 9"," : 50"," : 45"," :"," . (%): +20"," : +1"," , : +1"," , : +1"," , : +1"," : +50"," (HP): +66"," : 36-85 (35+d50)"," :"," : +25"," : [13]"]},{"Recipes":[{"Price":140,"PlaceName":"shop_ang","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater25","Count":1},{"Category":"mater","Item":"mater6","Count":3}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":40,"Binding":0,"IsGift":false,"Name":"braslet25","Caption":" ","Description":[": 2",": 140 .",": 0/40"," :"," : 15"," : 15"," : 9"," : 50"," : 45"," :"," . (%): +20"," : +2"," , : +2"," , : +2"," , : +2"," : +30"," (HP): +33"," : +2"," :"," : +25"," : [13]"]},{"Recipes":[{"Price":140,"PlaceName":"shop_ang","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater25","Count":1},{"Category":"mater","Item":"mater6","Count":4}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":40,"Binding":0,"IsGift":false,"Name":"belt37","Caption":" ","Description":[": 2",": 140 .",": 0/50"," :"," : 15"," : 15"," : 9"," : 50"," : 45"," :"," : +20"," : +25"," (HP): +99"," : 19-68 (18+d50)"," : [13]"]},{"Recipes":[{"Price":200,"PlaceName":"shop_ang","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater25","Count":2}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":20,"Binding":0,"IsGift":false,"Name":"clip81","Caption":" ","Description":[": 1",": 200 .",": 0/50"," :"," : 15"," : 15"," : 9"," : 50"," : 45"," :"," . (%): +40"," . (%): +40"," , : +1"," : +10"," : +25"," (HP): +66"," : 1-30 (d30)"," : 1-30 (d30)"," : 1-30 (d30)"," : 1-30 (d30)"," : [13]"]},{"Recipes":[{"Price":240,"PlaceName":"shop_ang","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater25","Count":2}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":20,"Binding":0,"IsGift":false,"Name":"amulet81","Caption":" ","Description":[": 1",": 240 .",": 0/50"," :"," : 15"," : 15"," : 9"," : 50"," : 45"," :"," . (%): +35"," . (%): +35"," : +40"," (HP): +99"," : +6"," : 1-25 (d25)"," : 1-25 (d25)"," : 1-25 (d25)"," : 1-25 (d25)"," : [13]"]},{"Recipes":[{"Price":100,"PlaceName":"shop_ang","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater25","Count":1}],"Name":"","Caption":"","Description":[]},{"Price":0,"PlaceName":"mastershop_cap","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater25","Count":1},{"Category":"mater","Item":"mater21","Count":3}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":20,"H":20,"Binding":0,"IsGift":false,"Name":"ring117","Caption":" ","Description":[": 1",": 100 .",": 0/60"," :"," : 15"," : 15"," : 9"," : 50"," : 45"," :"," . (%): +20"," . (%): +10"," : +25"," (HP): +33"," : 1-15 (d15)"," : 1-15 (d15)"," : 1-15 (d15)"," : 1-15 (d15)"," : [13]","",", , "]},{"Recipes":[{"Price":250,"PlaceName":"shop_ang","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater25","Count":2},{"Category":"mater","Item":"mater6","Count":5}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"mace68","Caption":" ","Description":[": 30",": 250 .",": 0/60"," :"," : 15"," : 15"," : 9"," , : 5"," : 50"," : 45"," :"," : +1"," :"," : 22 - 34"," . (%): +80"," . : +20"," , : +1",":"," : "," : "," : [13]"]},{"Recipes":[{"Price":220,"PlaceName":"shop_ang","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater25","Count":1},{"Category":"mater","Item":"mater6","Count":12}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"sword104","Caption":" ","Description":[": 17",": 220 .",": 0/50"," :"," : 15"," : 15"," : 9"," : 5"," : 50"," : 45"," :"," . (%): +40"," : +2"," :"," : 12 - 34"," . (%): +40"," . : +10"," : +2",":"," : "," : "," : "," : [13]"]},{"Recipes":[{"Price":370,"PlaceName":"shop_ang","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater19","Count":9},{"Category":"mater","Item":"mater6","Count":10}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"hammer71","Caption":" ","Description":[": 30",": 370 .",": 0/60"," :"," : 15"," : 15"," : 9"," , : 5"," : 50"," : 55"," :"," . (%): +20"," : +2"," :"," : 30 - 48"," . (%): +80"," . : +25"," , : +2"," ",":"," : "," : "," : [13]"]},{"Recipes":[{"Price":260,"PlaceName":"shop_ang","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater19","Count":8},{"Category":"mater","Item":"mater6","Count":8}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"axe89","Caption":" ","Description":[": 20",": 260 .",": 0/60"," :"," : 15"," : 15"," : 9"," , : 5"," : 50"," : 45"," :"," : +2"," : +2"," :"," : 15 - 35"," . (%): +80"," . : +20"," , : +2",":"," : "," : "," : [13]"]},{"Recipes":[{"Price":220,"PlaceName":"shop_ang","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater25","Count":1},{"Category":"mater","Item":"mater6","Count":12}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"knife73","Caption":" ","Description":[": 10",": 220 .",": 0/50"," :"," : 20"," : 20"," : 9"," , : 5"," : 50"," : 45"," :"," . (%): +35"," . : +25"," :"," : 5 - 17"," . (%): +80"," , : +3"," . (%): +30"," ",":"," : "," : "," : "," : "," : [13]"]},{"Recipes":[{"Price":190,"PlaceName":"shop_ang","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater25","Count":1},{"Category":"mater","Item":"mater19","Count":3}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"shield84","Caption":" ","Description":[": 20",": 190 .",": 0/50"," :"," : 15"," : 15"," : 9"," : 50"," : 45"," :"," . (%): +55"," : +25"," (HP): +33"," : 10-36 (9+d27)"," : 10-36 (9+d27)"," : 10-36 (9+d27)"," : 10-36 (9+d27)"," :"," . (%): +10",":"," : "," : "," : "," : "," : [13]"]}],"Name":"set1","Caption":"o ax p","Description":[]},{"ImageBasePath":"https://img.new-combats.com/i/items/","NewLineToBR":true,"Items":[{"Recipes":[{"Price":150,"PlaceName":"shop_dem","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater28","Count":1},{"Category":"mater","Item":"mater5","Count":5}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":80,"Binding":0,"IsGift":false,"Name":"leg12","Caption":" ","Description":[": 10 ",": 150 .",": 0/50"," :"," : 15"," : 50"," : 9"," : 30"," : 30"," :"," . (%): +20"," . (%): +20"," . (%): +35"," : +10"," (HP): +30"," : 9-35 (8+d27)"," : 9-35 (8+d27)"," :"," : +40"," : [13]"]},{"Recipes":[{"Price":150,"PlaceName":"shop_dem","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater28","Count":1},{"Category":"mater","Item":"mater5","Count":5}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":40,"Binding":0,"IsGift":false,"Name":"boots22","Caption":" ","Description":[": 10 ",": 150 .",": 0/50"," :"," : 15"," : 50"," : 9"," : 30"," : 30"," :"," . (%): +30"," . (%): +30"," . (%): +25"," : +10"," : +25"," (HP): +33"," : +2"," : 9-35 (8+d27)"," : [13]"]},{"Recipes":[{"Price":131,"PlaceName":"shop_dem","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater28","Count":1},{"Category":"mater","Item":"mater5","Count":3}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":40,"Binding":0,"IsGift":false,"Name":"naruchi77","Caption":" ","Description":[": 1 ",": 131 .",": 0/30"," :"," : 15"," : 50"," : 8"," : 30"," : 30"," :"," . . (%): +10"," . (%): +30"," . (%): +5"," : +3"," , : +3"," , : +3"," , : +3"," : +1"," : [13]"]},{"Recipes":[{"Price":380,"PlaceName":"shop_dem","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater20","Count":1},{"Category":"mater","Item":"mater5","Count":8}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":80,"Binding":0,"IsGift":false,"Name":"armor106","Caption":" ","Description":[": 40",": 380 .",": 0/100"," :"," : 15"," : 50"," : 9"," : 30"," : 30"," :"," . (%): +75"," . (%): +30"," . (%): +45"," : +2"," : +2"," : +40"," (HP): +66"," : +4"," : 19-54 (18+d36)"," :"," : +125",":"," : "," : "," : "," : "," : [13]"]},{"Recipes":[{"Price":210,"PlaceName":"shop_dev","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater15","Count":5},{"Category":"mater","Item":"mater5","Count":6}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"helmet80","Caption":" ","Description":[": 15 ",": 210 .",": 0/60"," :"," : 15"," : 50"," : 9"," : 30"," : 30"," :"," . (%): +40"," . (%): +20"," . (%): +45"," : +50"," (HP): +33"," : 10-36 (9+d27)"," :"," : +50"," : [13]"]},{"Recipes":[{"Price":140,"PlaceName":"shop_dem","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater28","Count":1},{"Category":"mater","Item":"mater5","Count":3}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":40,"Binding":0,"IsGift":false,"Name":"braslet24","Caption":" ","Description":[": 2",": 140 .",": 0/40"," :"," : 15"," : 50"," : 9"," : 30"," : 30"," :"," . . (%): +20"," . (%): +10"," . (%): +25"," : +2"," , : +2"," , : +2"," , : +2"," : +3"," : [13]"]},{"Recipes":[{"Price":140,"PlaceName":"shop_dem","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater28","Count":1},{"Category":"mater","Item":"mater5","Count":4}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":40,"Binding":0,"IsGift":false,"Name":"belt36","Caption":" ","Description":[": 1 ",": 140 .",": 0/50"," :"," : 15"," : 50"," : 9"," : 30"," : 30"," :"," . . (%): +15"," : +20"," : +25"," : 19-63 (18+d45)"," : [13]"]},{"Recipes":[{"Price":200,"PlaceName":"shop_dem","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater28","Count":2}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":20,"Binding":0,"IsGift":false,"Name":"clip80","Caption":" ","Description":[": 1 ",": 200 .",": 0/50"," :"," : 15"," : 50"," : 9"," : 30"," : 30"," :"," . . (%): +25"," . (%): +35"," . (%): +70"," : +2"," : +1"," , : +1"," , : +1"," , : +1"," : +4"," : [13]"]},{"Recipes":[{"Price":240,"PlaceName":"shop_dem","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater28","Count":2}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":20,"Binding":0,"IsGift":false,"Name":"amulet80","Caption":" ","Description":[": 1",": 240 .",": 0/50"," :"," : 15"," : 50"," : 9"," : 30"," : 30"," :"," . (%): +65"," . (%): +45"," : +1"," : +30"," : +75"," (HP): +48"," : +1"," : [13]"]},{"Recipes":[{"Price":100,"PlaceName":"shop_dem","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater28","Count":1}],"Name":"","Caption":"","Description":[]},{"Price":0,"PlaceName":"mastershop_cap","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater27","Count":1},{"Category":"mater","Item":"mater20","Count":3}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":20,"H":20,"Binding":0,"IsGift":false,"Name":"ring116","Caption":" ","Description":[": 1",": 100 .",": 0/50"," :"," : 15"," : 50"," : 9"," : 30"," : 30"," :"," . . (%): +10"," . (%): +35"," . (%): +45"," (HP): +33"," : [13]","",", , "]},{"Recipes":[{"Price":250,"PlaceName":"shop_dem","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater28","Count":2},{"Category":"mater","Item":"mater5","Count":5}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"mace67","Caption":" ","Description":[": 30",": 250 .",": 0/50"," :"," : 15"," : 45"," : 9"," , : 5"," : 35"," : 40"," :"," : -2"," :"," : 22 - 34"," . (%): +60"," . (%): +60"," . : +20"," , : +1",":"," : "," : "," : [13]"]},{"Recipes":[{"Price":220,"PlaceName":"shop_dem","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater28","Count":1},{"Category":"mater","Item":"mater5","Count":12}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"sword103","Caption":" ","Description":[": 17",": 220 .",": 0/50"," :"," : 15"," : 50"," : 9"," : 5"," : 30"," : 30"," :"," : 12 - 34"," . . (%): +10"," . (%): +50"," . (%): +80"," : +2",":"," : "," : "," : "," : "," : [13]"]},{"Recipes":[{"Price":370,"PlaceName":"shop_dem","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater15","Count":9},{"Category":"mater","Item":"mater5","Count":10}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"hammer70","Caption":" ","Description":[": 30",": 370 .",": 0/60"," :"," : 15"," : 50"," : 9"," , : 5"," : 35"," : 45"," :"," : -1"," : +1"," :"," : 30 - 48"," . (%): +60"," . (%): +80"," . : +25"," , : +2"," ",":"," : "," : "," : [13]"]},{"Recipes":[{"Price":260,"PlaceName":"shop_dem","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater15","Count":9},{"Category":"mater","Item":"mater5","Count":8}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"axe88","Caption":" ","Description":[": 20",": 260 .",": 0/50"," :"," : 30"," : 50"," : 9"," , : 5"," : 30"," : 30"," :"," : +5"," :"," : 15 - 35"," . (%): +60"," . (%): +50"," . : +10"," , : +2"," ",":"," : "," : "," : "," : [13]"]},{"Recipes":[{"Price":220,"PlaceName":"shop_dem","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater28","Count":1},{"Category":"mater","Item":"mater5","Count":12}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"knife72","Caption":" ","Description":[": 10",": 220 .",": 0/50"," :"," : 20"," : 55"," : 9"," , : 5"," : 30"," : 30"," :"," . . (%): +10"," . (%): +3"," : +2"," :"," : 6 - 17"," . (%): +80"," . (%): +80"," , : +3"," . (%): +25"," ",":"," : "," : "," : "," : "," : [13]"]},{"Recipes":[{"Price":190,"PlaceName":"shop_dem","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater28","Count":1},{"Category":"mater","Item":"mater15","Count":3}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"shield83","Caption":" ","Description":[": 20",": 190 .",": 0/50"," :"," : 15"," : 50"," : 9"," : 30"," : 30"," :"," . (%): +55"," . (%): +30"," . (%): +5"," (HP): +48"," : 10-36 (9+d27)"," : 10-36 (9+d27)"," : 10-36 (9+d27)"," : 10-36 (9+d27)",":"," : "," : "," : "," : "," : [13]"]}],"Name":"set2","Caption":"o poao ","Description":[]},{"ImageBasePath":"https://img.new-combats.com/i/items/","NewLineToBR":true,"Items":[{"Recipes":[{"Price":150,"PlaceName":"shop_sand","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater30","Count":1},{"Category":"mater","Item":"mater11","Count":5}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":80,"Binding":0,"IsGift":false,"Name":"leg13","Caption":" ","Description":[": 10 ",": 150 .",": 0/50"," :"," : 50"," : 15"," : 9"," : 30"," : 30"," :"," . (%): +35"," . (%): +35"," : +25"," (HP): +18"," : 10-36 (9+d27)"," : 10-36 (9+d27)"," :"," : 30"," : [13]"]},{"Recipes":[{"Price":150,"PlaceName":"shop_sand","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater30","Count":1},{"Category":"mater","Item":"mater12","Count":5}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":40,"Binding":0,"IsGift":false,"Name":"boots21","Caption":" ","Description":[": 10",": 150 .",": 0/50"," :"," : 50"," : 15"," : 9"," : 30"," : 30"," :"," . (%): +50"," . (%): +50"," : +30"," : 10-36 (9+d27)"," :"," : 50"," : [13]"]},{"Recipes":[{"Price":130,"PlaceName":"shop_sand","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater30","Count":1},{"Category":"mater","Item":"mater12","Count":3}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":40,"Binding":0,"IsGift":false,"Name":"naruchi76","Caption":" ","Description":[": 2",": 140 .",": 0/30"," :"," : 50"," : 15"," : 9"," : 30"," : 30"," :"," . (%): +25"," . (%): +25"," . : +15"," : +1"," (HP): +18"," : [13]"]},{"Recipes":[{"Price":380,"PlaceName":"shop_sand","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater22","Count":1},{"Category":"mater","Item":"mater12","Count":8}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":80,"Binding":0,"IsGift":false,"Name":"armor105","Caption":" ","Description":[": 35",": 380 .",": 0/50"," :"," : 50"," : 15"," : 9"," : 30"," : 30"," :"," . (%): +40"," . (%): +70"," . (%): +10"," . (%): +80"," . (%): +10"," : +2"," : +30"," (HP): +45"," : 12-44 (11+d33)"," :"," : 75"," : [13]"]},{"Recipes":[{"Price":210,"PlaceName":"laba_sand","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater18","Count":5},{"Category":"mater","Item":"mater12","Count":6}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"helmet79","Caption":" ","Description":[": 15",": 210 .",": 0/60"," :"," : 50"," : 15"," : 9"," : 30"," : 30"," :"," . (%): +35"," . (%): +40"," : +2"," : +1"," , : +1"," , : +1"," , : +1"," : +40"," (HP): +45"," : 10-36 (9+d27)"," :"," : +50",":"," : "," : "," : [13]"]},{"Recipes":[{"Price":140,"PlaceName":"shop_sand","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater30","Count":1},{"Category":"mater","Item":"mater12","Count":3}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":40,"Binding":0,"IsGift":false,"Name":"naruchi78","Caption":" ","Description":[": 1",": 130 .",": 0/30"," :"," : 50"," : 15"," : 8"," : 30"," : 30"," :"," . (%): +35"," : +4"," : +3"," , : +3"," , : +3"," , : +3"," : +1"," : [13]"]},{"Recipes":[{"Price":140,"PlaceName":"shop_sand","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater30","Count":1},{"Category":"mater","Item":"mater12","Count":4}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":40,"Binding":0,"IsGift":false,"Name":"belt35","Caption":" ","Description":[": 2",": 140 .",": 0/40"," :"," : 50"," : 15"," : 9"," : 30"," : 30"," :"," . (%): +45"," : +20"," (HP): +33"," : +4"," : 19-63 (18+d45)"," : [13]"]},{"Recipes":[{"Price":200,"PlaceName":"laba_sand","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater30","Count":2}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":20,"Binding":0,"IsGift":false,"Name":"clip76","Caption":" ","Description":[": 1",": 200 .",": 0/60"," :"," : 50"," : 15"," : 9"," : 30"," : 30"," :"," . (%): +25"," . (%): +25"," . (%): +85"," . (%): +15"," : +2"," : +20"," (HP): +33"," : +4"," : [13]"]},{"Recipes":[{"Price":240,"PlaceName":"shop_sand","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater30","Count":2}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":20,"Binding":0,"IsGift":false,"Name":"amulet75","Caption":" ","Description":[": 1",": 240 .",": 0/50"," :"," : 50"," : 15"," : 9"," : 30"," : 30"," :"," . (%): +35"," . (%): +35"," . (%): +110"," . (%): +15"," : +30"," (HP): +66"," : +4"," : [13]"]},{"Recipes":[{"Price":100,"PlaceName":"shop_sand","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater30","Count":1}],"Name":"","Caption":"","Description":[]},{"Price":0,"PlaceName":"mastershop_cap","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater30","Count":1},{"Category":"mater","Item":"mater23","Count":3}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":20,"H":20,"Binding":0,"IsGift":false,"Name":"ring110","Caption":" ","Description":[": 1",": 100 .",": 0/40"," :"," : 50"," : 15"," : 9"," : 30"," : 30"," :"," . (%): +20"," . (%): +3"," . (%): +45"," . (%): +5"," : +15"," (HP): +18"," : +1"," : [13]","",", , "]},{"Recipes":[{"Price":220,"PlaceName":"shop_sand","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater30","Count":1},{"Category":"mater","Item":"mater12","Count":12}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"sword102","Caption":" ","Description":[": 17",": 220 .",": 0/50"," :"," : 55"," : 15"," : 9"," : 5"," : 30"," : 30"," :"," . (%): +35"," . (%): +75"," : +1"," :"," : 12 - 34"," : +2"," . (%): +20"," ",":"," : "," : "," : "," : [13]"]},{"Recipes":[{"Price":260,"PlaceName":"shop_sand","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater18","Count":9},{"Category":"mater","Item":"mater12","Count":8}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"axe87","Caption":" ","Description":[": 10 ",": 260 .",": 0/50"," :"," : 60"," : 15"," : 9"," , : 5"," : 30"," : 30"," :"," . (%): +65"," : +3"," :"," : 15 - 35"," . (%): +70"," . : +10"," , : +2"," . (%): +10",":"," : "," : "," : [13]"]},{"Recipes":[{"Price":220,"PlaceName":"shop_sand","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater30","Count":1},{"Category":"mater","Item":"mater12","Count":12}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"knife71","Caption":" ","Description":[": 10",": 220 .",": 0/50"," :"," : 50"," : 25"," : 9"," , : 5"," : 30"," : 30"," :"," . (%): +50"," . : +20"," :"," : 5 - 17"," . (%): +70"," , : +3"," . (%): +65"," ",":"," : "," : "," : "," : "," : [13]"]},{"Recipes":[{"Price":190,"PlaceName":"shop_sand","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater30","Count":1},{"Category":"mater","Item":"mater18","Count":3}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"shield82","Caption":" ","Description":[": 15 ",": 190 .",": 0/50"," :"," : 50"," : 15"," : 9"," : 30"," : 30"," :"," . (%): +80"," . (%): +35"," : +15"," (HP): +24"," : 10-36 (9+d27)"," : 10-36 (9+d27)"," : 10-36 (9+d27)"," : 10-36 (9+d27)",":"," : "," : "," : "," : "," : [13]"]}],"Name":"set3","Caption":"o aa","Description":[]},{"ImageBasePath":"https://img.new-combats.com/i/items/","NewLineToBR":true,"Items":[{"Recipes":[{"Price":150,"PlaceName":"shop_sun","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater27","Count":1},{"Category":"mater","Item":"mater2","Count":5}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":80,"Binding":0,"IsGift":false,"Name":"leg14","Caption":" ","Description":[": 13",": 150 .",": 0/60"," :"," : 30"," : 30"," : 9"," : 35"," : 35"," :"," . (%): +30"," . (%): +15"," . (%): +2"," : +10"," : +10"," : -10"," (HP): +39"," : 10-36 (9+d27)"," : 10-36 (9+d27)"," :"," : +35"," : [13]"]},{"Recipes":[{"Price":150,"PlaceName":"shop_sun","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater27","Count":1},{"Category":"mater","Item":"mater2","Count":5}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":40,"Binding":0,"IsGift":false,"Name":"boots24_du2","Caption":" ","Description":[": 13",": 150 .",": 0/60"," :"," : 30"," : 30"," : 9"," : 35"," : 35"," :"," . (%): +30"," . (%): +15"," : +10"," : -10"," (HP): +33"," : +2"," : 10-36 (9+d27)"," :"," : +75"," : [13]"]},{"Recipes":[{"Price":130,"PlaceName":"shop_sun","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater27","Count":1},{"Category":"mater","Item":"mater2","Count":3}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":40,"Binding":0,"IsGift":false,"Name":"naruchi83_du2","Caption":" ","Description":[": 130 .",": 0/30"," :"," : 25"," : 25"," : 8"," : 30"," : 30"," :"," . (%): +30"," . (%): +4"," : +3"," , : +3"," , : +3"," , : +3"," : +2"," : [13]"]},{"Recipes":[{"Price":380,"PlaceName":"shop_sun","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater23","Count":1},{"Category":"mater","Item":"mater2","Count":8}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":80,"Binding":0,"IsGift":false,"Name":"armor108_du1","Caption":" ","Description":[": 23",": 380 .",": 0/50"," :"," : 30"," : 30"," : 9"," : 35"," : 35"," :"," . (%): +85"," . (%): +60"," . (%): +5"," : +50"," : +25"," (HP): +66"," : +5"," : 13-48 (12+d36)"," :"," : +100"," : [13]"]},{"Recipes":[{"Price":210,"PlaceName":"shop_sun","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater16","Count":5},{"Category":"mater","Item":"mater2","Count":6}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"helmet82_du2","Caption":" ","Description":[": 15",": 210 .",": 0/60"," :"," : 30"," : 30"," : 9"," : 35"," : 35"," :"," . (%): +45"," . (%): +35"," : +20"," : +10"," : -5"," (HP): +33"," : +4"," : 10-36 (9+d27)"," :"," : +75"," : [13]"]},{"Recipes":[{"Price":140,"PlaceName":"shop_sun","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater27","Count":1},{"Category":"mater","Item":"mater2","Count":3}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":40,"Binding":0,"IsGift":false,"Name":"braslet26_du2","Caption":" ","Description":[": 2",": 140 .",": 0/40"," :"," : 30"," : 30"," : 9"," : 35"," : 35"," :"," . (%): +25"," . (%): +25"," . : +5"," : +2"," , : +2"," , : +2"," , : +2"," : +20"," (HP): +33"," : [13]"]},{"Recipes":[{"Price":140,"PlaceName":"shop_sun","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater27","Count":1},{"Category":"mater","Item":"mater2","Count":4}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":40,"Binding":0,"IsGift":false,"Name":"belt38_du2","Caption":" ","Description":[" : 1",": 140 .",": 0/50"," :"," : 30"," : 30"," : 9"," : 35"," : 35"," :"," . (%): +35"," : +10"," : +25"," : -10"," (HP): +33"," : +4"," : 19-68 (18+d50)"," : [13]"]},{"Recipes":[{"Price":200,"PlaceName":"shop_sun","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater27","Count":2}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":20,"Binding":0,"IsGift":false,"Name":"clip82_du2","Caption":" ","Description":[": 1",": 200 .",": 0/50"," :"," : 30"," : 30"," : 9"," : 35"," : 35"," :"," . (%): +35"," . (%): +30"," . : +10"," : +1"," , : +1"," , : +1"," , : +1"," : +30"," : +10"," : -10"," : +6"," : [13]"]},{"Recipes":[{"Price":240,"PlaceName":"shop_sun","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater27","Count":2}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":20,"Binding":0,"IsGift":false,"Name":"amulet83_du2","Caption":" ","Description":[": 1",": 240 .",": 0/50"," :"," : 30"," : 30"," : 9"," : 35"," : 35"," :"," . (%): +90"," . (%): +10"," : +20"," : +10"," : -10"," (HP): +66"," : +8"," : [13]"]},{"Recipes":[{"Price":100,"PlaceName":"shop_sun","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater27","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":20,"H":20,"Binding":0,"IsGift":false,"Name":"ring119_du2","Caption":" ","Description":[": 1",": 100 .",": 0/50"," :"," : 30"," : 30"," : 9"," : 35"," : 35"," :"," . (%): +40"," . (%): +25"," . (%): +3"," (HP): +33"," : +3"," : [13]"]},{"Recipes":[{"Price":250,"PlaceName":"shop_sun","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater27","Count":2},{"Category":"mater","Item":"mater2","Count":5}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"hammer72_du2","Caption":" ","Description":[": 30",": 250 .",": 0/100"," :"," : 30"," : 30"," : 9"," , : 5"," : 40"," : 40"," :"," : -1"," : +6"," :"," : 22 - 34"," . (%): +40"," . : +15",":"," : "," : "," : [13]"]},{"Recipes":[{"Price":220,"PlaceName":"shop_sun","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater27","Count":1},{"Category":"mater","Item":"mater2","Count":11},{"Category":"mater","Item":"mater16","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"sword105_du2","Caption":" ","Description":[": 17",": 220 .",": 0/50"," :"," : 30"," : 30"," : 9"," : 5"," : 35"," : 35"," : "," :"," . (%): +55"," . (%): +3"," : +1"," : +1"," :"," : 12 - 34"," . (%): +30"," : +1"," . (%): +10",":"," : "," : "," : "," : "," : [13]"]},{"Recipes":[{"Price":260,"PlaceName":"shop_sun","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater2","Count":8},{"Category":"mater","Item":"mater16","Count":9}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"axe90_du2","Caption":" ","Description":[": 15",": 260 .",": 0/50"," :"," : 35"," : 30"," : 9"," , : 5"," : 35"," : 35"," :"," . (%): +50"," . (%): +55"," : +4"," :"," : 16 - 35"," , : +2",":"," : "," : "," : [13]"]},{"Recipes":[{"Price":220,"PlaceName":"shop_sun","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater27","Count":1},{"Category":"mater","Item":"mater2","Count":11},{"Category":"mater","Item":"mater16","Count":12}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"knife74_du2","Caption":" ","Description":[": 8",": 220 .",": 0/50"," :"," : 35"," : 35"," : 9"," , : 5"," : 35"," : 35"," :"," . (%): +15"," . (%): +15"," . (%): +10"," . : +10"," , : +1"," : +2"," :"," : 6 - 17"," . (%): +65"," ",":"," : "," : "," : [13]"]},{"Recipes":[{"Price":190,"PlaceName":"shop_sun","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater27","Count":1},{"Category":"mater","Item":"mater16","Count":3}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"shield85_du2","Caption":" ","Description":[": 15",": 190 .",": 0/50"," :"," : 30"," : 30"," : 9"," : 35"," : 35"," :"," . (%): +60"," . (%): +6"," : +10"," (HP): +45"," : 10-36 (9+d27)"," : 10-36 (9+d27)"," : 10-36 (9+d27)"," : 10-36 (9+d27)"," : [13]"]}],"Name":"set4","Caption":"o po oa","Description":[]},{"ImageBasePath":"https://img.new-combats.com/i/items/","NewLineToBR":true,"Items":[{"Recipes":[{"Price":215,"PlaceName":"shop_moon","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater17","Count":5},{"Category":"mater","Item":"mater1","Count":6}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"helmet83","Caption":" ","Description":[": 5",": 215 .",": 0/50"," :"," : 40"," : 9"," : 50"," :"," : +6"," : +1"," : +30"," (HP): +60"," : +120"," : 8-8"]},{"Recipes":[{"Price":380,"PlaceName":"shop_moon","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater24","Count":1},{"Category":"mater","Item":"mater1","Count":8}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":80,"Binding":0,"IsGift":false,"Name":"roba51","Caption":" ","Description":[": 5",": 380 .",": 0/50"," :"," : 40"," : 9"," : 50"," :"," . (%): +25"," : +3"," . : +20"," (HP): +42"," : +120"," : 5-16 (4+d12)"," :"," : 100"]},{"Recipes":[{"Price":150,"PlaceName":"shop_moon","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater26","Count":1},{"Category":"mater","Item":"mater1","Count":5}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":80,"Binding":0,"IsGift":false,"Name":"leg15","Caption":" ","Description":[": 5",": 150 .",": 0/50"," :"," : 40"," : 9"," : 50"," :"," : +2"," . : +3"," (HP): +24"," : +90"," : 5-16 (4+d12)"," : 5-16 (4+d12)"," :"," : 10"]},{"Recipes":[{"Price":360,"PlaceName":"shop_moon","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater24","Count":1},{"Category":"mater","Item":"mater17","Count":2}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"staff52","Caption":" ","Description":[": 5",": 360 .",": 0/50"," : 70%"," :"," : 50"," : 9"," : 3"," : 80"," : 50"," :"," : +2"," . : +15"," : +6"," : +1"," : +50"," (HP): +60"," (%): +3"," :"," : 1 - 20"," ",":"," : "]},{"Recipes":[{"Price":160,"PlaceName":"shop_moon","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater26","Count":1},{"Category":"mater","Item":"mater1","Count":6}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":40,"Binding":0,"IsGift":false,"Name":"naruchi84","Caption":" ","Description":[": 1 ",": 160 .",": 0/50"," :"," : 40"," : 9"," : 50"," :"," : +5 "," . (%): +2 "," : +2 "," : +2 "," : +5 "," (HP): +18 "]},{"Recipes":[{"Price":140,"PlaceName":"shop_moon","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater26","Count":1},{"Category":"mater","Item":"mater1","Count":3}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":40,"Binding":0,"IsGift":false,"Name":"braslet27","Caption":" P","Description":[": 2",": 140 .",": 0/50"," :"," : 40"," : 9"," : 50"," :"," : +2 "," : +5 "," (HP): +60"," : +120 "]},{"Recipes":[{"Price":140,"PlaceName":"shop_moon","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater26","Count":1},{"Category":"mater","Item":"mater1","Count":4}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":40,"Binding":0,"IsGift":false,"Name":"belt39","Caption":" ","Description":[": 1",": 140 .",": 0/50"," :"," : 40"," : 9"," : 10"," : 50"," :"," : +2 "," : +2"," : +130 "," : 5-16 (4+d12) "]},{"Recipes":[{"Price":150,"PlaceName":"shop_moon","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater26","Count":1},{"Category":"mater","Item":"mater1","Count":5}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":40,"Binding":0,"IsGift":false,"Name":"boots25","Caption":" ","Description":[": 5",": 150 .",": 0/50"," :"," : 40"," : 9"," : 50"," :"," : +1"," . : +5"," (HP): +24"," : +60"," : 5-16 (4+d12)"," :"," : 50"]}],"Name":"set5","Caption":"oe Peoc","Description":[]},{"ImageBasePath":"https://img.new-combats.com/i/items/","NewLineToBR":true,"Items":[{"Recipes":[{"Price":150,"PlaceName":"shop_cap","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater30","Count":1},{"Category":"mater","Item":"mater3","Count":5}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":80,"Binding":0,"IsGift":false,"Name":"leg16","Caption":" ","Description":[": 10 ",": 150 .",": 0/50"," :"," : 15"," : 45"," : 9"," : 45"," : 35"," :"," . (%): +25"," . (%): +25"," . (%): +25"," (HP): +33"," : +2"," : 10-36 (9+d27)"," : 10-36 (9+d27)"," :"," : +30"," : [12]"]},{"Recipes":[{"Price":150,"PlaceName":"shop_cap","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater30","Count":1},{"Category":"mater","Item":"mater3","Count":5}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":40,"Binding":0,"IsGift":false,"Name":"boots27","Caption":" ","Description":[": 10",": 150 .",": 0/50"," :"," : 15"," : 45"," : 9"," : 45"," : 35"," :"," . (%): +50"," . (%): +30"," . (%): +25"," : +25"," (HP): +45"," : +1"," : 10-36 (9+d27)"," : [12]"]},{"Recipes":[{"Price":130,"PlaceName":"shop_cap","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater30","Count":1},{"Category":"mater","Item":"mater3","Count":3}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":40,"Binding":0,"IsGift":false,"Name":"naruchi86","Caption":" ","Description":[": 1",": 130 .",": 0/30"," :"," : 15"," : 45"," : 8"," : 45"," : 35"," :"," . (%): +40"," . (%): +5"," . (%): +1"," : +3"," , : +3"," , : +3"," , : +3"," : +3"," : [12]"]},{"Recipes":[{"Price":380,"PlaceName":"shop_cap","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater22","Count":1},{"Category":"mater","Item":"mater3","Count":8}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":80,"Binding":0,"IsGift":false,"Name":"armor109","Caption":" ","Description":[": 40",": 380 .",": 0/100"," :"," : 15"," : 45"," : 9"," : 45"," : 35"," :"," . (%): +90"," . (%): +60"," . (%): +60"," . (%): +3"," : +20"," (HP): +78"," : +3"," : 18-53 (17+d36)"," :"," : +125",":"," : "," : "," : "," : "," : [12]"]},{"Recipes":[{"Price":210,"PlaceName":"shop_cap","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater16","Count":5},{"Category":"mater","Item":"mater3","Count":6}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"helmet85","Caption":" ","Description":[": 15 ",": 210 .",": 0/60"," :"," : 15"," : 45"," : 9"," : 45"," : 35"," :"," . (%): +45"," . (%): +70"," . (%): +50"," : +15"," (HP): +42"," : 10-36 (9+d27)"," :"," : +50"," : [12]"]},{"Recipes":[{"Price":140,"PlaceName":"shop_cap","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater30","Count":1},{"Category":"mater","Item":"mater3","Count":3}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":40,"Binding":0,"IsGift":false,"Name":"braslet32","Caption":" ","Description":[": 2",": 140 .",": 0/40"," :"," : 15"," : 45"," : 9"," : 45"," : 35"," :"," . (%): +20"," . (%): +40"," . (%): +35"," : +1"," , : +1"," , : +1"," , : +1"," : +25"," (HP): +18"," : +3"," : [12]"]},{"Recipes":[{"Price":140,"PlaceName":"shop_cap","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater30","Count":1},{"Category":"mater","Item":"mater3","Count":4}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":40,"Binding":0,"IsGift":false,"Name":"belt44","Caption":" ","Description":[": 1",": 140 .",": 0/50"," :"," : 15"," : 45"," : 9"," : 45"," : 35"," :"," . (%): +55"," : +15"," : +25"," (HP): +30"," : 19-63 (18+d45)"," : [12]"]},{"Recipes":[{"Price":200,"PlaceName":"shop_cap","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater30","Count":2}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":20,"Binding":0,"IsGift":false,"Name":"clip90","Caption":" ","Description":[": 1",": 200 .",": 0/50"," :"," : 15"," : 45"," : 9"," : 45"," : 35"," :"," . (%): +90"," . (%): +90"," : +1"," , : +1"," , : +1"," , : +1"," : +25"," (HP): +24"," : +4"," : [12]"]},{"Recipes":[{"Price":240,"PlaceName":"shop_cap","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater30","Count":2}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":20,"Binding":0,"IsGift":false,"Name":"amulet98","Caption":" ","Description":[": 1",": 240 .",": 0/50"," :"," : 15"," : 45"," : 9"," : 45"," : 35"," :"," . (%): +50"," . (%): +60"," . (%): +4"," : +30"," : +50"," (HP): +72"," : +1"," : [12]"]},{"Recipes":[{"Price":100,"PlaceName":"shop_cap","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater30","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":20,"H":20,"Binding":0,"IsGift":false,"Name":"ring129","Caption":" ","Description":[": 1",": 100 .",": 0/50"," :"," : 15"," : 45"," : 9"," : 45"," : 35"," :"," . (%): +10"," . (%): +75"," . (%): +50"," . (%): +1"," (HP): +18"," : [12]"]},{"Recipes":[{"Price":250,"PlaceName":"shop_cap","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater30","Count":2},{"Category":"mater","Item":"mater3","Count":5}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"hammer74","Caption":" ","Description":[": 25",": 250 .",": 0/50"," :"," : 15"," : 45"," : 9"," , : 5"," : 45"," : 35"," :"," , : +1"," :"," : 22 - 34"," . (%): +100"," . (%): +30"," . : +15",":"," : "," : "," : "," : [12]"]},{"Recipes":[{"Price":220,"PlaceName":"shop_cap","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater30","Count":1},{"Category":"mater","Item":"mater3","Count":12}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"sword105","Caption":" ","Description":[": 17",": 220 .",": 0/50"," :"," : 15"," : 50"," : 9"," : 5"," : 30"," : 30"," :"," : +2"," :"," : 11 - 33"," . (%): +100"," . (%): +100"," : +1",":"," : "," : "," : "," : "," : [12]"]},{"Recipes":[{"Price":260,"PlaceName":"shop_cap","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater3","Count":8},{"Category":"mater","Item":"mater16","Count":9}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"axe90","Caption":" ","Description":[": 20",": 260 .",": 0/50"," :"," : 15"," : 45"," : 9"," , : 5"," : 45"," : 35"," :"," : +2"," : +5"," :"," : 15 - 35"," . (%): +35"," . (%): +35"," . : +10"," , : +2"," ",":"," : "," : "," : "," : [12]"]},{"Recipes":[{"Price":220,"PlaceName":"shop_cap","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater30","Count":1},{"Category":"mater","Item":"mater3","Count":12}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"knife77","Caption":" ","Description":[": 10",": 220 .",": 0/50"," :"," : 15"," : 45"," : 9"," : 5"," : 45"," : 35"," :"," . (%): +7"," : +5"," :"," : 6 - 17"," . (%): +75"," . (%): +90"," : +2"," . (%): +25"," ",":"," : "," : "," : "," : "," : [12]"]},{"Recipes":[{"Price":190,"PlaceName":"shop_cap","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater30","Count":1},{"Category":"mater","Item":"mater16","Count":3}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"shield86","Caption":" ","Description":[": 20",": 190 .",": 0/50"," :"," : 15"," : 45"," : 9"," : 45"," : 35"," :"," . (%): +30"," . (%): +30"," . (%): +10"," (HP): +36"," : 10-36 (9+d27)"," : 10-36 (9+d27)"," : 10-36 (9+d27)"," : 10-36 (9+d27)"," : [12]"]}],"Name":"set6","Caption":"oe Copoa","Description":[]},{"ImageBasePath":"https://img.new-combats.com/i/items/","NewLineToBR":true,"Items":[{"Recipes":[{"Price":150,"PlaceName":"shop_dev","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater29","Count":1},{"Category":"mater","Item":"mater10","Count":5}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":80,"Binding":0,"IsGift":false,"Name":"leg17","Caption":" ","Description":[": 10",": 150 .",": 0/50"," :"," : 50"," : 40"," : 9"," : 30"," : 25"," :"," . (%): +20"," . (%): +20"," . (%): +20"," : +2"," : +2"," : +20"," : 10-36 (9+d27)"," : 10-36 (9+d27)"," :"," : +25"," : [12]"]},{"Recipes":[{"Price":150,"PlaceName":"shop_dev","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater29","Count":1},{"Category":"mater","Item":"mater10","Count":5}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":40,"Binding":0,"IsGift":false,"Name":"boots26","Caption":" ","Description":[": 10",": 150 .",": 0/50"," :"," : 50"," : 40"," : 9"," : 30"," : 25"," :"," . (%): +20"," . (%): +30"," . (%): +50"," : +4"," : +20"," : +20"," : 9-35 (8+d27)"," : [12]"]},{"Recipes":[{"Price":130,"PlaceName":"shop_dev","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater29","Count":1},{"Category":"mater","Item":"mater10","Count":3}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":40,"Binding":0,"IsGift":false,"Name":"naruchi85","Caption":" ","Description":[": 1",": 130 .",": 0/30"," :"," : 50"," : 40"," : 8"," : 30"," : 25"," :"," . (%): +30"," . (%): +25"," : +2"," : +2"," : +3"," , : +3"," , : +3"," , : +3"," : [12]"]},{"Recipes":[{"Price":380,"PlaceName":"shop_dev","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater21","Count":1},{"Category":"mater","Item":"mater10","Count":8}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":80,"Binding":0,"IsGift":false,"Name":"armor108","Caption":" ","Description":[": 40 ",": 380 .",": 0/100"," :"," : 50"," : 40"," : 9"," : 30"," : 25"," :"," . (%): +55"," . (%): +50"," . (%): +60"," : +7"," : +3"," : +65"," (HP): +54"," : +2"," : 12-44 (11+d33)"," :"," : +75"," : [12]"]},{"Recipes":[{"Price":210,"PlaceName":"shop_dev","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater14","Count":5},{"Category":"mater","Item":"mater10","Count":6}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"helmet84","Caption":" ","Description":[": 15",": 210 .",": 0/60"," :"," : 50"," : 40"," : 9"," : 30"," : 25"," :"," . (%): +30"," . (%): +45"," . (%): +20"," : +2"," : +50"," (HP): +24"," : 10-36 (9+d27)"," :"," : +50"," : [12]"]},{"Recipes":[{"Price":140,"PlaceName":"shop_dev","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater29","Count":1},{"Category":"mater","Item":"mater10","Count":3}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":40,"Binding":0,"IsGift":false,"Name":"braslet31","Caption":" ","Description":[": 2",": 140 .",": 0/40"," :"," : 50"," : 40"," : 9"," : 30"," : 25"," :"," . (%): +15"," . (%): +50"," . (%): +15"," : +2"," : +2"," : +1"," , : +1"," , : +1"," , : +1"," (HP): +12"," : [12]"]},{"Recipes":[{"Price":140,"PlaceName":"shop_dev","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater29","Count":1},{"Category":"mater","Item":"mater10","Count":4}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":40,"Binding":0,"IsGift":false,"Name":"belt43","Caption":" ","Description":[": 2",": 140 .",": 0/40"," :"," : 50"," : 40"," : 9"," : 30"," : 25"," :"," . (%): +20"," . (%): +15"," : +30"," (HP): +12"," : 19-63 (18+d45)"," : [12]"]},{"Recipes":[{"Price":200,"PlaceName":"shop_dev","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater29","Count":2}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":20,"Binding":0,"IsGift":false,"Name":"clip89","Caption":" ","Description":[": 1",": 200 .",": 0/50"," :"," : 50"," : 40"," : 9"," : 30"," : 25"," :"," . (%): +95"," . (%): +100"," . (%): +10"," : +5"," : +2"," : +1"," , : +1"," , : +1"," , : +1"," : [12]"]},{"Recipes":[{"Price":240,"PlaceName":"shop_dev","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater29","Count":2}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":20,"Binding":0,"IsGift":false,"Name":"amulet97","Caption":" ","Description":[": 1",": 240 .",": 0/50"," :"," : 50"," : 40"," : 9"," : 30"," : 25"," :"," . (%): +40"," . (%): +85"," : +4"," : +50"," : +50"," (HP): +45"," : [12]"]},{"Recipes":[{"Price":100,"PlaceName":"shop_dev","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater29","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":20,"H":20,"Binding":0,"IsGift":false,"Name":"ring128","Caption":" ","Description":[": 1",": 100 .",": 0/50"," :"," : 50"," : 40"," : 9"," : 30"," : 25"," :"," . (%): +10"," . (%): +75"," . (%): +35"," : +2"," (HP): +18"," : +1"," : [12]"]},{"Recipes":[{"Price":370,"PlaceName":"shop_dev","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater14","Count":8},{"Category":"mater","Item":"mater10","Count":9}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"sword100","Caption":" ","Description":[": 25",": 330 . ",": 0/50 "," : "," : 50 "," : 40 "," : 9 "," , : 5 "," : 30 "," : 25 "," : "," : +6 "," : "," : 17 - 51 "," . (%): +180 "," "," : + ",": "," : "," : "," : "," : [0/12] ",": "," "]},{"Recipes":[{"Price":220,"PlaceName":"shop_dev","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater29","Count":1},{"Category":"mater","Item":"mater10","Count":12}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"knife76","Caption":" ","Description":[": 10",": 220 .",": 0/50"," :"," : 50"," : 40"," : 9"," , : 5"," : 30"," : 25"," :"," . (%): +80"," : +4"," : +1"," :"," : 5 - 17"," . (%): +50"," . (%): +70"," , : +2"," . (%): +70"," ",":"," : "," : "," : [12]"]},{"Recipes":[{"Price":190,"PlaceName":"shop_dev","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater14","Count":3},{"Category":"mater","Item":"mater29","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"shield85","Caption":" ","Description":[": 15",": 190 .",": 0/50"," :"," : 50"," : 40"," : 9"," : 30"," : 25"," :"," . (%): +30"," . (%): +75"," . (%): +75"," : +10"," (HP): +36"," : 6-26 (5+d21)"," : 6-26 (5+d21)"," : 6-26 (5+d21)"," : 6-26 (5+d21)",":"," : "," : "," : "," : "," : [12]"]}],"Name":"set7","Caption":"oe ","Description":[]},{"ImageBasePath":"https://img.new-combats.com/i/items/","NewLineToBR":true,"Items":[{"Recipes":[{"Price":300,"PlaceName":"shop_moon","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater27","Count":3},{"Category":"mater","Item":"mater7","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":20,"Binding":0,"IsGift":false,"Name":"clip83","Caption":" ","Description":[": 1",": 300 .",": 0/50"," :"," : 50"," : 9"," : 7"," : 50"," :"," . (%): +25"," . : +35"," : +10"," : +2"," (HP): +48"," (%): +5"," : [5]"]},{"Recipes":[{"Price":240,"PlaceName":"shop_moon","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater28","Count":2},{"Category":"mater","Item":"mater7","Count":4}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":20,"Binding":0,"IsGift":false,"Name":"amulet86","Caption":" ","Description":[": 1",": 240 .",": 0/50"," :"," : 50"," : 9"," : 7"," : 50"," :"," . (%): +40"," . : +5"," : +5"," : +30"," : +60"," : +120"," : [5]"]},{"Recipes":[{"Price":150,"PlaceName":"shop_moon","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater28","Count":1},{"Category":"mater","Item":"mater7","Count":5}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":20,"H":20,"Binding":0,"IsGift":false,"Name":"ring120","Caption":" ","Description":[": 1",": 150 .",": 0/50"," :"," : 50"," : 9"," : 7"," : 50"," :"," . (%): +10"," : +7"," : +2"," : +20"," : +80"," : [5]"]}],"Name":"set8","Caption":" ","Description":[]},{"ImageBasePath":"https://img.new-combats.com/i/items/","NewLineToBR":true,"Items":[{"Recipes":[{"Price":300,"PlaceName":"shop_sand","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater30","Count":3},{"Category":"mater","Item":"mater8","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":20,"Binding":0,"IsGift":false,"Name":"clip84","Caption":" ","Description":[": 1",": 300 .",": 0/50"," :"," : 50"," : 9"," : 7"," : 50"," :"," . (%): +35"," . : +25"," : +10"," : +2"," (HP): +90"," (%): +5"," : [5]"]},{"Recipes":[{"Price":240,"PlaceName":"shop_sand","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater26","Count":2},{"Category":"mater","Item":"mater8","Count":4}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":20,"Binding":0,"IsGift":false,"Name":"amulet87","Caption":" ","Description":[": 1 ",": 240 .",": 0/50"," :"," : 50"," : 9"," : 7"," : 50"," :"," : +5"," : +2"," : +10"," : +35"," : +10"," (HP): +90"," : +120"," : [5]"]},{"Recipes":[{"Price":150,"PlaceName":"shop_sand","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater26","Count":1},{"Category":"mater","Item":"mater8","Count":5}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":20,"H":20,"Binding":0,"IsGift":false,"Name":"ring121","Caption":" ","Description":[": 1",": 150 ",": 0/50"," :"," : 50"," : 9"," : 7"," : 50"," :"," : +5"," : +2"," (HP): +39"," : +120"," : [5]"]}],"Name":"set9","Caption":" ","Description":[]},{"ImageBasePath":"https://img.new-combats.com/i/items/","NewLineToBR":true,"Items":[{"Recipes":[{"Price":300,"PlaceName":"shop_ang","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater30","Count":3},{"Category":"mater","Item":"mater3","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":20,"Binding":0,"IsGift":false,"Name":"clip85","Caption":" ","Description":[": 1",": 300 .",": 0/50"," :"," : 50"," : 9"," : 7"," : 50"," :"," . (%): +40"," . : +15"," : +10"," : +2"," (HP): +33"," (%): +10"," : [5]"]},{"Recipes":[{"Price":240,"PlaceName":"shop_ang","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater26","Count":2},{"Category":"mater","Item":"mater3","Count":4}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":20,"Binding":0,"IsGift":false,"Name":"amulet88","Caption":" ","Description":[": 1",": 240 .",": 0/50"," :"," : 50"," : 9"," : 7"," : 50"," :"," . (%): +45"," . : +5"," : +7"," : +25"," : +30"," (HP): +40"," : +120"," : [5]"]},{"Recipes":[{"Price":150,"PlaceName":"shop_ang","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater26","Count":1},{"Category":"mater","Item":"mater3","Count":5}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":20,"H":20,"Binding":0,"IsGift":false,"Name":"ring122","Caption":" ","Description":[": 1",": 150 .",": 0/50"," :"," : 50"," : 9"," : 7"," : 50"," :"," : +9"," : +2"," : +90"," (%): +1"," : [5]"]}],"Name":"set10","Caption":" ","Description":[]},{"ImageBasePath":"https://img.new-combats.com/i/items/","NewLineToBR":true,"Items":[{"Recipes":[{"Price":300,"PlaceName":"shop_dev","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater27","Count":3},{"Category":"mater","Item":"mater4","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":20,"Binding":0,"IsGift":false,"Name":"clip82","Caption":" ","Description":[": 1",": 300 .",": 0/50"," :"," : 50"," : 9"," : 7"," : 50"," :"," . (%): +70"," . : +20"," : +7"," : +2"," : +35"," (HP): +42"," (%): +5"," : [5]"]},{"Recipes":[{"Price":240,"PlaceName":"shop_dev","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater28","Count":2},{"Category":"mater","Item":"mater4","Count":4}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":20,"Binding":0,"IsGift":false,"Name":"amulet85","Caption":" ","Description":[": 1",": 240 .",": 0/50"," :"," : 50"," : 9"," : 7"," : 50"," :"," . (%): +35"," . : +5"," : +5"," : +2"," : +30"," : +90"," : +10"," : [5]"]},{"Recipes":[{"Price":150,"PlaceName":"shop_dev","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater28","Count":1},{"Category":"mater","Item":"mater4","Count":5}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":20,"H":20,"Binding":0,"IsGift":false,"Name":"ring119","Caption":" ","Description":[": 1",": 150 .",": 0/50"," :"," : 50"," : 9"," : 7"," : 50"," :"," : +7"," : +2"," : +30"," : +25"," : +20"," : [5]"]}],"Name":"set11","Caption":" ","Description":[]},{"ImageBasePath":"https://img.new-combats.com/i/items/","NewLineToBR":true,"Items":[{"Recipes":[{"Price":200,"PlaceName":"shop_dev","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater28","Count":2}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":20,"Binding":1,"IsGift":false,"Name":"clip91","Caption":" ","Description":[": 1 ",": 200 . ",": 0/50 "," : "," : 15 "," : 15 "," : 9 "," : 50 "," : 50 "," : "," . (%): +70 "," . (%): +70 "," , : +1 "," (HP): +55 "," : +10 "]},{"Recipes":[{"Price":100,"PlaceName":"shop_dev","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater28","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":20,"H":20,"Binding":1,"IsGift":false,"Name":"ring135","Caption":" ","Description":[": 1 ",": 100 . ",": 0/50 "," : "," : 15 "," : 15 "," : 9 "," : 50 "," : 50 "," : "," . (%): +40 "," . (%): +40 "," : +7 "]}],"Name":"set12","Caption":" ","Description":[]},{"ImageBasePath":"https://img.new-combats.com/i/items/","NewLineToBR":true,"Items":[{"Recipes":[{"Price":300,"PlaceName":"shop_moon","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater21","Count":1},{"Category":"mater","Item":"mater29","Count":3},{"Category":"mater","Item":"mater4","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"staff53","Caption":" ","Description":[": 5",": 300 . ",": 0/50 "," : "," : 75 "," : 9 "," : 3 "," : 50 "," : "," . (%): +100 "," : +5 "," : +2 "," : +40 "," : +40 "," (HP): +150 "," : "," : 1 - 20 "," ",": "," : "," : "," : "," : "]}],"Name":"staff53","Caption":" ","Description":[]},{"ImageBasePath":"https://img.new-combats.com/i/items/","NewLineToBR":true,"Items":[{"Recipes":[{"Price":260,"PlaceName":"shop_dev","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater31","Count":1},{"Category":"mater","Item":"mater5","Count":5},{"Category":"mater","Item":"mater30","Count":3}],"Name":"","Caption":"","Description":[]},{"Price":260,"PlaceName":"shop_dem","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater31","Count":1},{"Category":"mater","Item":"mater5","Count":5},{"Category":"mater","Item":"mater30","Count":3}],"Name":"","Caption":"","Description":[]},{"Price":260,"PlaceName":"shop_ang","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater31","Count":1},{"Category":"mater","Item":"mater5","Count":5},{"Category":"mater","Item":"mater30","Count":3}],"Name":"","Caption":"","Description":[]},{"Price":260,"PlaceName":"shop_cap","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater31","Count":1},{"Category":"mater","Item":"mater5","Count":5},{"Category":"mater","Item":"mater30","Count":3}],"Name":"","Caption":"","Description":[]},{"Price":260,"PlaceName":"shop_sand","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater31","Count":1},{"Category":"mater","Item":"mater5","Count":5},{"Category":"mater","Item":"mater30","Count":3}],"Name":"","Caption":"","Description":[]},{"Price":260,"PlaceName":"shop_sun","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater31","Count":1},{"Category":"mater","Item":"mater5","Count":5},{"Category":"mater","Item":"mater30","Count":3}],"Name":"","Caption":"","Description":[]},{"Price":260,"PlaceName":"shop_moon","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater31","Count":1},{"Category":"mater","Item":"mater5","Count":5},{"Category":"mater","Item":"mater30","Count":3}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"axe91","Caption":" ","Description":[": 20 ",": 260 . ",": 0/50 "," : "," : 25 "," : 25 "," : 9 "," , : 5 "," : 50 "," : 50 "," : "," , : +2 "," : "," : 10 - 40 "," . . (%): 20 "," . (%): 50 "," . : 15 "," : + ",": "," : "," : "," : ",": "," ... ",""," . . : 5% ."]}],"Name":"axe91","Caption":" ","Description":[]},{"ImageBasePath":"https://img.new-combats.com/i/items/","NewLineToBR":true,"Items":[{"Recipes":[{"Price":220,"PlaceName":"shop_dev","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater24","Count":1},{"Category":"mater","Item":"mater13","Count":3},{"Category":"mater","Item":"mater12","Count":5}],"Name":"","Caption":"","Description":[]},{"Price":220,"PlaceName":"shop_dem","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater24","Count":1},{"Category":"mater","Item":"mater13","Count":3},{"Category":"mater","Item":"mater12","Count":5}],"Name":"","Caption":"","Description":[]},{"Price":220,"PlaceName":"shop_ang","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater24","Count":1},{"Category":"mater","Item":"mater13","Count":3},{"Category":"mater","Item":"mater12","Count":5}],"Name":"","Caption":"","Description":[]},{"Price":220,"PlaceName":"shop_cap","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater24","Count":1},{"Category":"mater","Item":"mater13","Count":3},{"Category":"mater","Item":"mater12","Count":5}],"Name":"","Caption":"","Description":[]},{"Price":220,"PlaceName":"shop_sand","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater24","Count":1},{"Category":"mater","Item":"mater13","Count":3},{"Category":"mater","Item":"mater12","Count":5}],"Name":"","Caption":"","Description":[]},{"Price":220,"PlaceName":"shop_sun","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater24","Count":1},{"Category":"mater","Item":"mater13","Count":3},{"Category":"mater","Item":"mater12","Count":5}],"Name":"","Caption":"","Description":[]},{"Price":220,"PlaceName":"shop_moon","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater24","Count":1},{"Category":"mater","Item":"mater13","Count":3},{"Category":"mater","Item":"mater12","Count":5}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"sword106","Caption":" ","Description":[": 17 ",": 220 . ",": 0/50 "," : "," : 50 "," : 25 "," : 9 "," : 5 "," : 30 "," : 25 "," : "," . (%): +20 "," . (%): +20 "," . (%): +5 "," : "," : 15 - 30 "," . : 10 "," : 2 "," : + ",": "," : "," : "," : ",": "," , ... ","",". . : 1% . "]}],"Name":"sword106","Caption":" ","Description":[]},{"ImageBasePath":"https://img.new-combats.com/i/items/","NewLineToBR":true,"Items":[{"Recipes":[{"Price":30,"PlaceName":"altar_blood","Binding":4,"RecipeParts":[{"Category":"mater_shop7","Item":"mater_shop7","Count":6},{"Category":"set1","Item":"leg11","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":80,"Binding":1,"IsGift":false,"Name":"leg11_1","Caption":"oo ax p [10]","Description":["aa: 10","a: 180 p. ","ooo: 0/50 ","p ao: "," oo: 15 "," : 15 "," po: 9 "," oo: 65 "," a: 45 "," a: "," aa o a: +25 "," po (HP): +57 "," po oa: 16-55 (15+d40) "," po o: 16-55 (15+d40) ","oa pa: "," aa o poa: 55 "," a oa: o ax p [10] [0/12] "]},{"Recipes":[{"Price":0,"PlaceName":"forge_sand","Binding":4,"RecipeParts":[{"Category":"mater_knshop","Item":"mater275","Count":1},{"Category":"sp_mat","Item":"sp_mat5","Count":1},{"Category":"set1","Item":"braslet25","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"braslet25_1","Caption":" [10] ","Description":[": 2",": 168 . ",": 0/40 "," : "," : 15 "," : 15 "," : 10 "," : 65 "," : 45 "," : "," . (%): +30 "," : +2 "," : +40 "," (HP): +41 "," : +2 "," : "," : 30 "," : [10] [0/12] "]},{"Recipes":[{"Price":0,"PlaceName":"forge_sand","Binding":4,"RecipeParts":[{"Category":"mater_knshop","Item":"mater276","Count":1},{"Category":"sp_mat","Item":"sp_mat13","Count":1},{"Category":"set1","Item":"belt37","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"belt37_1","Caption":" [10]","Description":[": 2",": 168 . ",": 0/50 "," : "," : 15 "," : 15 "," : 10 "," : 65 "," : 45 "," : "," : +25 "," : +25 "," (HP): +121 "," : 21-80 (20+d60) "," : [10] [0/14] "]},{"Recipes":[{"Price":0,"PlaceName":"forge_dem","Binding":4,"RecipeParts":[{"Category":"mater_knshop","Item":"mater267","Count":1},{"Category":"sp_mat","Item":"sp_mat15","Count":1},{"Category":"set1","Item":"clip81","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":20,"Binding":1,"IsGift":false,"Name":"clip81","Caption":" [10] ","Description":[": 1 ",": 240 . ",": 0/50 "," : "," : 10 "," : 45 "," : 15 "," : 15 "," : 65 "," : "," : +1 "," : +75 "," . : +45% "," . : +45% "," : +35 "," : +20 "," : 1-33 "," : 1-33 "," : 1-33 "," : 1-33 "," : [10] [0/14] "]},{"Recipes":[{"Price":0,"PlaceName":"forge_ang2","Binding":4,"RecipeParts":[{"Category":"mater_knshop","Item":"mater262","Count":1},{"Category":"sp_mat","Item":"sp_mat7","Count":1},{"Category":"set1","Item":"amulet81","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":20,"Binding":1,"IsGift":false,"Name":"amulet81_1","Caption":" [10] ","Description":[": 1 ",": 288 . ",": 0/50 "," : "," : 15 "," : 15 "," : 10 "," : 65 "," : 45 "," : "," . (%): +45 "," . (%): +45 "," : +50 "," (HP): +118 "," : +6 "," : 1-30 (d30) "," : 1-30 (d30) "," : 1-30 (d30) "," : 1-30 (d30) "," : [10] [0/12] "]},{"Recipes":[{"Price":0,"PlaceName":"forge_ang2","Binding":4,"RecipeParts":[{"Category":"mater_knshop","Item":"mater261","Count":1},{"Category":"sp_mat","Item":"sp_mat3","Count":1},{"Category":"set1","Item":"ring117","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":20,"H":20,"Binding":1,"IsGift":false,"Name":"ring117_1","Caption":" [10] ","Description":[": 1 ",": 120 . ",": 0/60 "," : "," : 15 "," : 15 "," : 10 "," : 65 "," : 45 "," : "," . (%): +20 "," . (%): +10 "," : +25 "," (HP): +66 (33) "," : 1-15 (d15) "," : 1-15 (d15) "," : 1-15 (d15) "," : 1-15 (d15) "," : [10] [0/12] "]}],"Name":"set1_10","Caption":"o ax p [10]","Description":[]},{"ImageBasePath":"https://img.new-combats.com/i/items/","NewLineToBR":true,"Items":[{"Recipes":[{"Price":30,"PlaceName":"altar_blood","Binding":4,"RecipeParts":[{"Category":"mater_shop7","Item":"mater_shop7","Count":6},{"Category":"set2","Item":"leg12","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":80,"Binding":1,"IsGift":false,"Name":"leg12_1","Caption":"oo poao [10]","Description":["aa: 10","a: 180 p. ","ooo: 0/50 ","p ao: "," oo: 15 "," : 60 "," po: 10 "," oo: 35 "," a: 35 "," a: "," . po poo apa (%): +25 "," . po pa (%): +25 "," . poo apa (%): +45 "," aa o a: +15 "," po (HP): +35 "," po oa: 11-40 (10+d30) "," po o: 11-40 (10+d30) ","oa pa: "," aa o poa: 40 "," a oa: o poao [10] [0/12] "]},{"Recipes":[{"Price":0,"PlaceName":"forge_sand","Binding":4,"RecipeParts":[{"Category":"mater_knshop","Item":"mater275","Count":1},{"Category":"sp_mat","Item":"sp_mat5","Count":1},{"Category":"set2","Item":"braslet24","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"braslet24_1","Caption":" [10]","Description":[": 2",": 167 . ",": 2 ",": 0/40 "," : "," : 10 "," : 35 "," : 15 "," : 60 "," : 35 "," : "," : +3 "," : +2 "," . : +23% "," . : +40% "," . : +25% "," : [10] [0/12] "]},{"Recipes":[{"Price":0,"PlaceName":"forge_sand","Binding":4,"RecipeParts":[{"Category":"mater_knshop","Item":"mater276","Count":1},{"Category":"sp_mat","Item":"sp_mat13","Count":1},{"Category":"set2","Item":"belt36","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"belt36_1","Caption":" [10] ","Description":[": 1 ",": 168 . ",": 0/50 "," :"," : 10 "," : 35 "," : 15 "," : 60 "," : 35 "," : "," . : +15% "," . : +20% "," : +30 "," : +25 "," : 21-70 "," : [10] [0/12] "]},{"Recipes":[{"Price":0,"PlaceName":"forge_dem","Binding":4,"RecipeParts":[{"Category":"mater_knshop","Item":"mater267","Count":1},{"Category":"sp_mat","Item":"sp_mat15","Count":1},{"Category":"set2","Item":"clip80","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":20,"Binding":1,"IsGift":false,"Name":"clip80_1","Caption":" [10] ","Description":[": 1",": 240 . ",": 0/50 "," : "," : 15 "," : 60 "," : 10 "," : 35 "," : 35 "," : "," . . (%): +30 (25) "," . (%): +45 (35) "," . (%): +100 (70) "," : +2 "," : +1 "," : +4 "," : [10] [0/12] "]},{"Recipes":[{"Price":0,"PlaceName":"forge_ang2","Binding":4,"RecipeParts":[{"Category":"mater_knshop","Item":"mater262","Count":1},{"Category":"sp_mat","Item":"sp_mat7","Count":1},{"Category":"set2","Item":"amulet80","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":20,"Binding":1,"IsGift":false,"Name":"amulet80_1","Caption":" [10] (: 1) ","Description":[": 1",": 288 . ",": 0/50 "," : "," : 15 "," : 60 "," : 10 "," : 35 "," : 35 "," : "," . (%): +80 "," . (%): +60 "," : +1 "," : +40 "," : +85 "," (HP): +62 "," : +1 "," : [10] [0/12]"]},{"Recipes":[{"Price":0,"PlaceName":"forge_ang2","Binding":4,"RecipeParts":[{"Category":"mater_knshop","Item":"mater261","Count":1},{"Category":"sp_mat","Item":"sp_mat3","Count":1},{"Category":"set2","Item":"ring116","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":20,"H":20,"Binding":1,"IsGift":false,"Name":"ring116_1","Caption":" [10] ","Description":[": 1",": 120 . ",": 0/50 "," : "," : 15 "," : 60 "," : 10 "," : 35 "," : 35 "," : "," . . (%): +13 "," . (%): +35 "," . (%): +45 "," (HP): +50 "," : [10] [0/12] "]}],"Name":"set2_10","Caption":"o poao [10]","Description":[]},{"ImageBasePath":"https://img.new-combats.com/i/items/","NewLineToBR":true,"Items":[{"Recipes":[{"Price":30,"PlaceName":"altar_blood","Binding":4,"RecipeParts":[{"Category":"mater_shop7","Item":"mater_shop7","Count":6},{"Category":"set3","Item":"leg13","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":80,"Binding":1,"IsGift":false,"Name":"leg13_1","Caption":"oo aa [10] ","Description":["aa: 10 ","a: 180 p. ","ooo: 0/50 ","p ao: "," oo: 60 "," : 15 "," po: 10 "," oo: 35 "," a: 35 "," a: "," . po poo apa (%): +45 "," . pa (%): +50 "," aa o a: +30 "," po (HP): +27 "," po oa: 11-40 (10+d30) "," po o: 11-40 (10+d30) ","oa pa: "," aa o poa: 35 "," a oa: o aa [10] [0/12] "]},{"Recipes":[{"Price":0,"PlaceName":"forge_sand","Binding":4,"RecipeParts":[{"Category":"mater_knshop","Item":"mater275","Count":1},{"Category":"sp_mat","Item":"sp_mat5","Count":1},{"Category":"set3","Item":"naruchi76","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"naruchi76_1","Caption":" [10]","Description":[": 2 ",": 168 . ",": 0/30 "," : "," : 60 "," : 15 "," : 10 "," : 35 "," : 35 "," : "," . (%): +35 "," . (%): +35 "," . : +17 "," : +1 "," (HP): +26 "," : [10] [0/12]"]},{"Recipes":[{"Price":0,"PlaceName":"forge_sand","Binding":4,"RecipeParts":[{"Category":"mater_knshop","Item":"mater276","Count":1},{"Category":"sp_mat","Item":"sp_mat13","Count":1},{"Category":"set3","Item":"belt35","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"belt35_1","Caption":" [10]","Description":[": 2 ",": 168 . ",": 0/40 "," :"," : 10 "," : 35 "," : 60 "," : 15 "," : 35 "," : "," : +4 "," : +41 "," . : +55% "," . : +15% "," : +25 "," : 21-70 "," : [10] [0/12] "]},{"Recipes":[{"Price":0,"PlaceName":"forge_dem","Binding":4,"RecipeParts":[{"Category":"mater_knshop","Item":"mater267","Count":1},{"Category":"sp_mat","Item":"sp_mat15","Count":1},{"Category":"set3","Item":"clip76","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":20,"Binding":1,"IsGift":false,"Name":"clip76_1","Caption":" [10] ","Description":[": 1",": 240 . ",": 0/60 "," : "," : 10 "," : 35 "," : 60 "," : 15 "," : 35 "," : "," : +4 "," : +2 "," : +41 "," . : +35% "," . : +110% "," . : +35% "," . : +17% "," : +25 "," : [10] [0/12] "]},{"Recipes":[{"Price":0,"PlaceName":"forge_ang2","Binding":4,"RecipeParts":[{"Category":"mater_knshop","Item":"mater262","Count":1},{"Category":"sp_mat","Item":"sp_mat7","Count":1},{"Category":"set3","Item":"amulet75","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":20,"Binding":1,"IsGift":false,"Name":"amulet75_1","Caption":" [10] ","Description":[": 1",": 288 . ",": 0/50 "," : "," : 60 "," : 15 "," : 10 "," : 35 "," : 35 "," : "," . (%): +45 "," . (%): +45 "," . (%): +120 "," . (%): +20 "," : +40 "," (HP): +74 (66) "," : +4 "," : [10] [0/12] "]},{"Recipes":[{"Price":0,"PlaceName":"forge_ang2","Binding":4,"RecipeParts":[{"Category":"mater_knshop","Item":"mater261","Count":1},{"Category":"sp_mat","Item":"sp_mat3","Count":1},{"Category":"set3","Item":"ring110","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":20,"H":20,"Binding":1,"IsGift":false,"Name":"ring110_1","Caption":" [10] ","Description":[": 1",": 120 . ",": 0/40 "," : "," : 10 "," : 35 "," : 60 "," : 15 "," : 35 "," : "," : +1 "," : +30 "," . : +20% "," . : +45% "," . : +5% "," . : +5% "," : +15 "," : [10] [0/12] "]}],"Name":"set3_10","Caption":"o aa [10]","Description":[]},{"ImageBasePath":"https://img.new-combats.com/i/items/","NewLineToBR":true,"Items":[{"Recipes":[{"Price":30,"PlaceName":"altar_blood","Binding":4,"RecipeParts":[{"Category":"mater_shop7","Item":"mater_shop7","Count":6},{"Category":"set4","Item":"leg14","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":80,"Binding":1,"IsGift":false,"Name":"leg14_1","Caption":"oo po oa [10] ","Description":["aa: 13","a: 180 p. ","ooo: 0/60 ","p ao: "," oo: 30 "," : 30 "," po: 10 "," oo: 45 "," a: 45 "," a: "," . po poo apa (%): +40 "," . po pa (%): +20 "," . appoa (%): +2 "," aa o a o: +15 "," aa o poa: +15 "," aa o a o: -10 "," po (HP): +45 "," po oa: 11-40 (10+d30) "," po o: 11-40 (10+d30) ","oa pa: "," aa o poa: 40 "," a oa: o po oa [10] [0/12] "]},{"Recipes":[{"Price":0,"PlaceName":"forge_sand","Binding":4,"RecipeParts":[{"Category":"mater_knshop","Item":"mater275","Count":1},{"Category":"sp_mat","Item":"sp_mat5","Count":1},{"Category":"set4","Item":"braslet26_du2","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"braslet26_du2_1","Caption":" [10] ","Description":[": 2",": 168 . ",": 0/40 "," : "," : 10 "," : 45 "," : 30 "," : 30 "," : 45 "," : "," : +2 "," : +37 "," . : +35% "," . : +35% "," . : +5% "," : +30 "," : [10] [0/12] "]},{"Recipes":[{"Price":0,"PlaceName":"forge_sand","Binding":4,"RecipeParts":[{"Category":"mater_knshop","Item":"mater276","Count":1},{"Category":"sp_mat","Item":"sp_mat13","Count":1},{"Category":"set4","Item":"belt38_du2","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"belt38_du2_1","Caption":" [10] ","Description":[": 1 ",": 168 . ",": 0/50 "," : "," : 30 "," : 30 "," : 10 "," : 45 "," : 45 "," : "," . (%): +40 "," : +20 "," : +30 "," : -10 "," (HP): +42 "," : +4 "," : 21-75 (20+d55) "," a oa: o po oa [10] [0/12] "]},{"Recipes":[{"Price":0,"PlaceName":"forge_dem","Binding":4,"RecipeParts":[{"Category":"mater_knshop","Item":"mater267","Count":1},{"Category":"sp_mat","Item":"sp_mat15","Count":1},{"Category":"set4","Item":"clip82_du2","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":20,"Binding":1,"IsGift":false,"Name":"clip82_du2_1","Caption":" [10] ","Description":[": 1",": 240 . ",": 0/50 "," : "," : 10 "," : 45 "," : 30 "," : 30 "," : 45 "," : "," : +6 "," : +1 "," . : +45% "," . : +40% "," . : +12% "," : +40 "," : +20 "," : -10 "," : [10] [0/12] "]},{"Recipes":[{"Price":0,"PlaceName":"forge_ang2","Binding":4,"RecipeParts":[{"Category":"mater_knshop","Item":"mater262","Count":1},{"Category":"sp_mat","Item":"sp_mat7","Count":1},{"Category":"set4","Item":"amulet83_du2","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":20,"Binding":1,"IsGift":false,"Name":"amulet83_du2_1","Caption":" [10] ","Description":[": 1",": 288 . ",": 0/50 "," : "," : 30 "," : 30 "," : 10 "," : 45 "," : 45 "," : "," . (%): +110 "," . (%): +12 "," : +30 "," : +20 "," : -10 "," (HP): +80 "," : +8 "," : [10] [0/12] "]},{"Recipes":[{"Price":0,"PlaceName":"forge_ang2","Binding":4,"RecipeParts":[{"Category":"mater_knshop","Item":"mater261","Count":1},{"Category":"sp_mat","Item":"sp_mat3","Count":1},{"Category":"set4","Item":"ring119_du2","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":20,"H":20,"Binding":1,"IsGift":false,"Name":"ring119_du2_1","Caption":" [10] ","Description":[": 1 ",": 120 . ",": 0/50 "," : "," : 30 "," : 30 "," : 10 "," : 45 "," : 45 "," : "," . (%): +55 "," . (%): +35 "," . (%): +3 "," (HP): +40 "," : +3 "," : [10] [0/12]"]}],"Name":"set4_10","Caption":"o po oa [10] ","Description":[]},{"ImageBasePath":"https://img.new-combats.com/i/items/","NewLineToBR":true,"Items":[{"Recipes":[{"Price":30,"PlaceName":"altar_blood","Binding":4,"RecipeParts":[{"Category":"mater_shop7","Item":"mater_shop7","Count":6},{"Category":"set5","Item":"leg15","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":80,"Binding":1,"IsGift":false,"Name":"leg15_1","Caption":" [10]","Description":[": 5",": 180 . ",": 0/50 "," : "," : 50 "," : 10 "," : 60 "," : "," : +2 "," . : +5 "," (HP): +25 "," : +100 "," : 6-20 (5+d15) "," : 6-20 (5+d15) "," : "," : 15 "," : [10] [0/7] "]},{"Recipes":[{"Price":0,"PlaceName":"forge_sand","Binding":4,"RecipeParts":[{"Category":"mater_knshop","Item":"mater275","Count":1},{"Category":"sp_mat","Item":"sp_mat5","Count":1},{"Category":"set5","Item":"braslet27","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":40,"Binding":2,"IsGift":false,"Name":"braslet27_1","Caption":" [10] ","Description":[": 2",": 168 . ",": 2 ",": 0/50 "," : "," : 10 "," : 50 "," : 60 "," : "," : +2 "," : +135 "," : +77 "," : +20 "," : [10] [0/7] "]},{"Recipes":[{"Price":0,"PlaceName":"forge_sand","Binding":4,"RecipeParts":[{"Category":"mater_knshop","Item":"mater276","Count":1},{"Category":"sp_mat","Item":"sp_mat13","Count":1},{"Category":"set5","Item":"belt39","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"belt39_1","Caption":" [10]","Description":[": 1",": 168 . ",": 0/50 "," :"," : 10 "," : 10 "," : 50 "," : 60 "," : "," : +2 "," : +150 "," : +22 "," : +2% "," : 6-20 "," : [10] [0/7] "]}],"Name":"set5_10","Caption":"oe Peoc [10]","Description":[]},{"ImageBasePath":"https://img.new-combats.com/i/items/","NewLineToBR":true,"Items":[{"Recipes":[{"Price":30,"PlaceName":"altar_blood","Binding":4,"RecipeParts":[{"Category":"mater_shop7","Item":"mater_shop7","Count":6},{"Category":"set6","Item":"leg16","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":80,"Binding":1,"IsGift":false,"Name":"leg16_1","Caption":"oo Copoa [10] ","Description":["acca: 10 ","ea: 180 p. ","ooeoc: 0/50 ","peec aoe: "," ooc: 15 "," : 60 "," poe: 10 "," ococ: 50 "," Ca: 35 ","ece a: "," . po pecoo apa (%): +30 "," . po epa (%): +35 "," . pecoo apa (%): +35 "," poe (HP): +43 "," Ca: +2 "," po oca: 11-40 (10+d30) "," po o: 11-40 (10+d30) ","Coca peea: "," aa o poa: 35 "," ac oea: oe Copoa [10] [0/12] "]},{"Recipes":[{"Price":0,"PlaceName":"forge_sand","Binding":4,"RecipeParts":[{"Category":"mater_knshop","Item":"mater275","Count":1},{"Category":"sp_mat","Item":"sp_mat5","Count":1},{"Category":"set6","Item":"braslet32","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"braslet32_1","Caption":" [10] ","Description":[": 2 ",": 168 . ",": 0/40 "," : "," : 15 "," : 60 "," : 10 "," : 50 "," : 35 "," : "," . (%): +30 "," . (%): +45 "," . (%): +50 "," : +1 "," : +30 "," (HP): +26 "," : +3 "," : [10] [0/12] "]},{"Recipes":[{"Price":0,"PlaceName":"forge_sand","Binding":4,"RecipeParts":[{"Category":"mater_knshop","Item":"mater276","Count":1},{"Category":"sp_mat","Item":"sp_mat13","Count":1},{"Category":"set6","Item":"belt44","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"belt44_1","Caption":" [10] ","Description":[": 1 ",": 168 . ",": 0/50 "," : "," : 15 "," : 60 "," : 10 "," : 50 "," : 35 "," : "," . (%):+65 "," : +20 "," : +30 "," (HP): +39 "," : 21-70 (20+d50) "," : [10] [0/12] "]},{"Recipes":[{"Price":0,"PlaceName":"forge_dem","Binding":4,"RecipeParts":[{"Category":"mater_knshop","Item":"mater267","Count":1},{"Category":"sp_mat","Item":"sp_mat15","Count":1},{"Category":"set6","Item":"clip90","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":20,"Binding":1,"IsGift":false,"Name":"clip90_1","Caption":" [10] ","Description":[": 1 ",": 240 . ",": 0/50 "," : "," : 15 "," : 60 "," : 10 "," : 50 "," : 35 "," : "," . (%): +100 "," . (%): +100 "," : +1 "," : +35 "," (HP): +48 "," : +4 "," : [10] [0/14] "]},{"Recipes":[{"Price":0,"PlaceName":"forge_ang2","Binding":4,"RecipeParts":[{"Category":"mater_knshop","Item":"mater262","Count":1},{"Category":"sp_mat","Item":"sp_mat7","Count":1},{"Category":"set6","Item":"amulet98","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":20,"Binding":1,"IsGift":false,"Name":"amulet98_1","Caption":" [10] ","Description":[": 1",": 288 . ",": 0/50 "," : "," : 15 "," : 60 "," : 10 "," : 50 "," : 35 "," : "," . (%): +60 "," . (%): +70 "," . (%): +5 "," : +40 "," : +60 "," (HP): +84 "," : +1 "," : [10] [0/12] "]},{"Recipes":[{"Price":0,"PlaceName":"forge_ang2","Binding":4,"RecipeParts":[{"Category":"mater_knshop","Item":"mater261","Count":1},{"Category":"sp_mat","Item":"sp_mat3","Count":1},{"Category":"set6","Item":"ring129","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":20,"H":20,"Binding":1,"IsGift":false,"Name":"ring129_1","Caption":" [10]","Description":[": 1 ",": 120 . ",": 0/50 "," : "," : 15 "," : 60 "," : 10 "," : 50 "," : 35 "," : "," . (%): +15 "," . (%): +80 "," . (%): +60 "," . (%): +1 "," (HP): +31 "," : [10] [0/12] "]}],"Name":"set6_10","Caption":"oe Copoa [10]","Description":[]},{"ImageBasePath":"https://img.new-combats.com/i/items/","NewLineToBR":true,"Items":[{"Recipes":[{"Price":30,"PlaceName":"altar_blood","Binding":4,"RecipeParts":[{"Category":"mater_shop7","Item":"mater_shop7","Count":6},{"Category":"set7","Item":"leg17","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":80,"Binding":1,"IsGift":false,"Name":"leg17_1","Caption":"oo oe [10] ","Description":["acca: 10 ","ea: 180 p. ","peec pee: oo oe, [Coc Pecpca]x6 ","ooeoc: 0/50 ","peec aoe: "," ooc: 60 "," : 45 "," poe: 10 "," ococ: 35 "," Ca: 25 ","ece a: "," . po pecoo apa (%): +25 "," . pecoo apa (%): +30 "," . epa (%): +30 "," ooc: +2 "," : +2 "," aa o a: +25 "," po oca: 11-40 (10+d30) "," po o: 11-40 (10+d30) ","Coca peea: "," aa o poa: 30 "," ac oea: oe oe [10] [0/12] "]},{"Recipes":[{"Price":0,"PlaceName":"forge_sand","Binding":4,"RecipeParts":[{"Category":"mater_knshop","Item":"mater275","Count":1},{"Category":"sp_mat","Item":"sp_mat5","Count":1},{"Category":"set7","Item":"braslet31","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"braslet31_1","Caption":" [10] ","Description":[": 2",": 168 . ",": 0/40 "," : "," : 60 "," : 45 "," : 10 "," : 35 "," : 25 "," : "," . (%): +25 "," . (%): +65 "," . (%): +17 "," : +2 "," : +2 "," : +1 "," (HP): +24 "," : [0/12] "]},{"Recipes":[{"Price":0,"PlaceName":"forge_sand","Binding":4,"RecipeParts":[{"Category":"mater_knshop","Item":"mater276","Count":1},{"Category":"sp_mat","Item":"sp_mat13","Count":1},{"Category":"set7","Item":"belt43","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"belt43_1","Caption":" [10] ","Description":[": 1",": 168 . ",": 0/40 "," : "," : 10 "," : 25 "," : 60 "," : 45 "," : 35 "," : "," (HP): +20 "," . (%): +30% "," . (%): +17% "," : +35 "," : 21-70 "," : [10] [0/12] "]},{"Recipes":[{"Price":0,"PlaceName":"forge_dem","Binding":4,"RecipeParts":[{"Category":"mater_knshop","Item":"mater267","Count":1},{"Category":"sp_mat","Item":"sp_mat15","Count":1},{"Category":"set7","Item":"clip89","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":20,"Binding":1,"IsGift":false,"Name":"clip89_1","Caption":" [10] ","Description":[": 1",": 240 . ",": 0/50 "," : "," : 10 "," : 25 "," : 60 "," : 45 "," : 35 "," : "," : +5 "," : +2 "," : +1 "," : +28 "," . : +110% "," . : +120% "," . : +12% "," : [10] [0/12] "]},{"Recipes":[{"Price":0,"PlaceName":"forge_ang2","Binding":4,"RecipeParts":[{"Category":"mater_knshop","Item":"mater262","Count":1},{"Category":"sp_mat","Item":"sp_mat7","Count":1},{"Category":"set7","Item":"amulet97","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":20,"Binding":1,"IsGift":false,"Name":"amulet97_1","Caption":" [10] ","Description":[": 1 ",": 288 . ",": 0/50 "," : "," : 60 "," : 45 "," : 10 "," : 35 "," : 25 "," : "," . (%): +50 "," . (%): +110 "," : +4 "," : +60 "," : +60 "," (HP): +61 "," : [10] [0/12] "]},{"Recipes":[{"Price":0,"PlaceName":"forge_ang2","Binding":4,"RecipeParts":[{"Category":"mater_knshop","Item":"mater261","Count":1},{"Category":"sp_mat","Item":"sp_mat3","Count":1},{"Category":"set7","Item":"ring128","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":20,"H":20,"Binding":1,"IsGift":false,"Name":"ring128_1","Caption":" [10]","Description":[": 1 ",": 120 . ",": 0/50 "," : "," : 60 "," : 45 "," : 10 "," : 35 "," : 25 "," : "," . (%): +15 "," . (%): +85 "," . (%): +45 "," : +2 "," (HP): +28 "," : +1 "," : [10] [0/12] "]}],"Name":"set7_10","Caption":"oe oe [10]","Description":[]},{"ImageBasePath":"https://img.new-combats.com/i/items/","NewLineToBR":true,"Items":[{"Recipes":[{"Price":20,"PlaceName":"bookshop","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater21","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_6","Caption":" ()","Description":[": 1",": 20 . ",": 0/1"," :"," : 7"," : 25",": 1 .",":"," , ."," : "]},{"Recipes":[{"Price":20,"PlaceName":"bookshop","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater31","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_7","Caption":" ()","Description":[": 1",": 20 . ",": 0/1"," :"," : 7"," : 25",": 1 .",":"," , ."," : "]},{"Recipes":[{"Price":20,"PlaceName":"bookshop","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater28","Count":3}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_8","Caption":" () ","Description":[": 1",": 20 . ",": 0/1"," :"," : 25"," : 7",": 1 .",":"," , ."," : "]},{"Recipes":[{"Price":20,"PlaceName":"bookshop","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater22","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_9","Caption":" () ","Description":[": 1",": 20 . ",": 0/1"," :"," : 25"," : 7",": 1 .",":"," ."," : "]},{"Recipes":[{"Price":20,"PlaceName":"bookshop","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater30","Count":3}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_10","Caption":" ()","Description":[": 1",": 20 . ",": 0/1"," :"," : 7"," : 25",": 1 .",":"," , , ."," : "]},{"Recipes":[{"Price":20,"PlaceName":"bookshop","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater27","Count":3}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_spell5","Caption":" () ","Description":[": 1",": 20 .",": 0/1"," :"," : 25"," : 7"," : 4",": 1 .",":","... - , "," : "]},{"Recipes":[{"Price":20,"PlaceName":"bookshop","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater22","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_spell2","Caption":" ()","Description":[": 1",": 20 .",": 0/1"," :"," : 25"," : 7"," : 4",": 1 .",":"," ? 10% - ?"," ! "," : "]},{"Recipes":[{"Price":20,"PlaceName":"bookshop","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater24","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_spell3","Caption":" ()","Description":[": 1",": 20 .",": 0/1"," :"," : 25"," : 7"," : 4",": 1 .",":"," : ."," : "]},{"Recipes":[{"Price":20,"PlaceName":"bookshop","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater26","Count":3}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_spell7","Caption":" ()","Description":[": 1",": 20 .",": 0/1"," :"," : 25"," : 7"," : 7",": 1 .",":"," , ."," : "]},{"Recipes":[{"Price":20,"PlaceName":"bookshop","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater21","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_spell4","Caption":" ()","Description":[": 1",": 20 .",": 0/1"," :"," : 25"," : 7"," : 7",": 1 .",":"," , ."," : "]},{"Recipes":[{"Price":20,"PlaceName":"bookshop","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater23","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_spell1","Caption":" ()","Description":[": 1",": 20 . ",": 0/1"," :"," : 25"," : 7"," : 7",": 1 .",":"," , ."," : "]}],"Name":"books","Caption":" ","Description":[]},{"ImageBasePath":"https://img.new-combats.com/i/items/","NewLineToBR":true,"Items":[{"Recipes":[{"Price":300,"PlaceName":"bookshop","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater27","Count":3},{"Category":"mater","Item":"mater26","Count":3},{"Category":"mater","Item":"mater28","Count":3},{"Category":"mater","Item":"mater29","Count":3},{"Category":"mater","Item":"mater25","Count":3},{"Category":"mater","Item":"mater30","Count":3}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_slot9","Caption":" ( 3)","Description":[": 1",": 300 .",": 0/1"," :"," : 9",": 1 .",":"," +1 ."," ."," .",""]},{"Recipes":[{"Price":500,"PlaceName":"bookshop","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater20","Count":5},{"Category":"mater","Item":"mater21","Count":5},{"Category":"mater","Item":"mater22","Count":5},{"Category":"mater","Item":"mater23","Count":5},{"Category":"mater","Item":"mater24","Count":5},{"Category":"mater","Item":"mater31","Count":5}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_slot10","Caption":" ( 4) ","Description":[": 1",": 500 .",": 0/1"," :"," : 10",": 1 .",":"," +1 ."," ."," ."]}],"Name":"slots","Caption":" ","Description":[]}],"RecipePlaces":[{"Name":"altar_blood","Caption":" ","Description":[]},{"Name":"altar_ang","Caption":" ()","Description":[]},{"Name":"altar_cap","Caption":" ()","Description":[]},{"Name":"altar_dem","Caption":" ()","Description":[]},{"Name":"laba_dem","Caption":" ()","Description":[]},{"Name":"laba_ang","Caption":" ()","Description":[]},{"Name":"laba_sand","Caption":" ( )","Description":[]},{"Name":"shop_dev","Caption":" Devils city","Description":[]},{"Name":"shop_dem","Caption":" Demons city","Description":[]},{"Name":"shop_ang","Caption":" Angels city","Description":[]},{"Name":"shop_cap","Caption":" Capital city","Description":[]},{"Name":"shop_sand","Caption":" Sandcity","Description":[]},{"Name":"shop_sun","Caption":" Suncity","Description":[]},{"Name":"shop_moon","Caption":" Mooncity","Description":[]},{"Name":"shop_em","Caption":" Emeralds city","Description":[]},{"Name":"forge_ang1","Caption":" ()","Description":[]},{"Name":"forge_ang2","Caption":" ()","Description":[]},{"Name":"forge_dem","Caption":" ()","Description":[]},{"Name":"forge_sand","Caption":" ( )","Description":[]},{"Name":"mastershop_cap","Caption":" ()","Description":[" , , ."]},{"Name":"bookshop","Caption":" ","Description":[]}]}); diff --git a/dng/head/dungeon.constructor.js1 b/dng/head/dungeon.constructor.js1 new file mode 100644 index 00000000..1a8cdf3d --- /dev/null +++ b/dng/head/dungeon.constructor.js1 @@ -0,0 +1 @@ +new-combats.com.loadCostructorData({"NewLineToBR":true,"Description":[],"Categories":[{"ImageBasePath":"http://img.combats.ru/i/items/","NewLineToBR":true,"Items":[{"Recipes":[],"NewLineToBR":false,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"mater1","Caption":" ","Description":[": 1
    ",": 0/1
    ","
    ","


    "," : 0.1 ."]},{"Recipes":[],"NewLineToBR":false,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"mater2","Caption":"","Description":[": 1
    ",": 0/1
    ","
    ","


    "," : 0.1 ."]},{"Recipes":[],"NewLineToBR":false,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"mater3","Caption":"","Description":[": 1
    ",": 0/1
    ","
    ","


    "," : 0.1 ."]},{"Recipes":[],"NewLineToBR":false,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"mater4","Caption":" ","Description":[": 1
    ",": 0/1
    ","
    ","


    "," : 0.1 ."]},{"Recipes":[],"NewLineToBR":false,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"mater5","Caption":" ","Description":[": 1
    ",": 0/1
    ","
    ","


    "," : 0.1 ."]},{"Recipes":[],"NewLineToBR":false,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"mater6","Caption":" ","Description":[": 1
    ",": 0/1
    ","
    ","


    "," : 0.1 ."]},{"Recipes":[],"NewLineToBR":false,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"mater7","Caption":" ","Description":[": 1
    ",": 0/1
    ","
    ","


    "," : 0.1 ."]},{"Recipes":[],"NewLineToBR":false,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"mater8","Caption":"","Description":[": 1
    ",": 0/1
    ","
    ","


    "," : 0.1 ."]},{"Recipes":[],"NewLineToBR":false,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"mater9","Caption":" ","Description":[": 1
    ",": 0/1
    ","
    ","


    "," : 0.1 ."]},{"Recipes":[],"NewLineToBR":false,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"mater10","Caption":" ","Description":[": 1
    ",": 0/1
    ","
    ","


    "," : 0.1 ."]},{"Recipes":[],"NewLineToBR":false,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"mater11","Caption":" ","Description":[": 1
    ",": 0/1
    ","
    ","


    "," : 0.1 ."]},{"Recipes":[],"NewLineToBR":false,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"mater12","Caption":"","Description":[": 1
    ",": 0/1
    ","
    ","


    "," : 0.1 ."]},{"Recipes":[],"NewLineToBR":false,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"mater13","Caption":" ","Description":[": 1
    ",": 0/1
    ","
    ","


    "," : 0.3 ."]},{"Recipes":[],"NewLineToBR":false,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"mater14","Caption":" ","Description":[": 1
    ",": 0/1
    ","
    ","


    "," : 0.3 ."]},{"Recipes":[],"NewLineToBR":false,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"mater15","Caption":" ","Description":[": 1
    ",": 0/1
    ","
    ","


    "," : 0.3 ."]},{"Recipes":[],"NewLineToBR":false,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"mater16","Caption":" ","Description":[": 1
    ",": 0/1
    ","
    ","


    "," : 0.3 ."]},{"Recipes":[],"NewLineToBR":false,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"mater17","Caption":" ","Description":[": 1
    ",": 0/1
    ","
    ","


    "," : 0.3 ."]},{"Recipes":[],"NewLineToBR":false,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"mater18","Caption":" ","Description":[": 1
    ",": 0/1
    ","
    ","


    "," : 0.3 ."]},{"Recipes":[],"NewLineToBR":false,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"mater19","Caption":" ","Description":[": 1
    ",": 0/1
    ","
    ","


    "," : 0.3 ."]},{"Recipes":[],"NewLineToBR":false,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"mater25","Caption":" ","Description":[": 1
    ",": 0/1
    ","
    ","


    "," : 1 ."]},{"Recipes":[],"NewLineToBR":false,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"mater26","Caption":" ","Description":[": 1
    ",": 0/1
    ","
    ","


    "," : 1 ."]},{"Recipes":[],"NewLineToBR":false,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"mater27","Caption":" ","Description":[": 1
    ",": 0/1
    ","
    ","


    "," : 1 ."]},{"Recipes":[],"NewLineToBR":false,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"mater28","Caption":" ","Description":[": 1
    ",": 0/1
    ","
    ","


    "," : 1 ."]},{"Recipes":[],"NewLineToBR":false,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"mater29","Caption":" ","Description":[": 1
    ",": 0/1
    ","
    ","


    "," : 1 ."]},{"Recipes":[],"NewLineToBR":false,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"mater30","Caption":" ","Description":[": 1
    ",": 0/1
    ","
    ","


    "," : 1 ."]},{"Recipes":[],"NewLineToBR":false,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"mater20","Caption":" ","Description":[": 1
    ",": 0/1
    ","
    ","


    "," : 3 ."]},{"Recipes":[],"NewLineToBR":false,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"mater21","Caption":" ","Description":[": 1
    ",": 0/1
    ","
    ","


    "," : 3 ."]},{"Recipes":[],"NewLineToBR":false,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"mater22","Caption":" ","Description":[": 1
    ",": 0/1
    ","
    ","


    "," : 3 ."]},{"Recipes":[],"NewLineToBR":false,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"mater23","Caption":"","Description":[": 1
    ",": 0/1
    ","
    ","


    "," : 3 ."]},{"Recipes":[],"NewLineToBR":false,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"mater24","Caption":"","Description":[": 1
    ",": 0/1
    ","
    ","


    "," : 3 ."]},{"Recipes":[],"NewLineToBR":false,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"mater31","Caption":" ","Description":[": 1
    ",": 0/1
    ","
    ","


    "," : 3 ."]}],"Name":"mater","Caption":"","Description":[]},{"ImageBasePath":"http://img.combats.ru/i/items/","NewLineToBR":true,"Items":[{"Recipes":[],"NewLineToBR":true,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"mater267","Caption":" ","Description":[": 1
    ",": 40
    ",": 0/1
    "," "]},{"Recipes":[],"NewLineToBR":true,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"mater261","Caption":" ","Description":[": 1
    ",": 20
    ",": 0/1
    "," "]},{"Recipes":[],"NewLineToBR":true,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"mater262","Caption":" ","Description":[": 1
    ",": 48
    ",": 0/1
    "," "]},{"Recipes":[],"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"mater276","Caption":" ","Description":[": 1
    ",": 28
    ",": 0/1
    "," "]},{"Recipes":[],"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"mater275","Caption":" ","Description":[": 1
    ",": 28
    ",": 0/1
    "," "]}],"Name":"mater_knshop","Caption":" ","Description":[]},{"ImageBasePath":"http://img.combats.ru/i/items/","NewLineToBR":true,"Items":[{"Recipes":[],"NewLineToBR":false,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"mater_shop7","Caption":" ","Description":[": 0.1
    ",": 0/1
    "," Angels city
    ","
    "]}],"Name":"mater_shop7","Caption":" ","Description":[]},{"ImageBasePath":"http://img.combats.ru/i/items/","NewLineToBR":true,"Items":[{"Recipes":[],"NewLineToBR":true,"W":40,"H":25,"Binding":3,"IsGift":false,"Name":"sp_mat1","Caption":" ","Description":[": 1 ",": 0/1"," Angels city"," "," "]},{"Recipes":[],"NewLineToBR":true,"W":40,"H":25,"Binding":3,"IsGift":false,"Name":"sp_mat3","Caption":" ","Description":[": 1 ",": 0/1"," Angels city"," "," "]},{"Recipes":[],"NewLineToBR":true,"W":40,"H":25,"Binding":3,"IsGift":false,"Name":"sp_mat5","Caption":" ","Description":[": 1 ",": 0/1"," Angels city"," "," "]},{"Recipes":[],"NewLineToBR":true,"W":40,"H":25,"Binding":3,"IsGift":false,"Name":"sp_mat7","Caption":" ","Description":[": 1 ",": 0/1"," Angels city"," "," "]},{"Recipes":[],"NewLineToBR":true,"W":40,"H":25,"Binding":3,"IsGift":false,"Name":"sp_mat9","Caption":" ","Description":[]},{"Recipes":[],"NewLineToBR":true,"W":40,"H":25,"Binding":3,"IsGift":false,"Name":"sp_mat11","Caption":" ","Description":[]},{"Recipes":[],"NewLineToBR":true,"W":40,"H":25,"Binding":3,"IsGift":false,"Name":"sp_mat13","Caption":" ","Description":[": 1 ",": 0/1"," Angels city"," "," "]},{"Recipes":[],"NewLineToBR":true,"W":40,"H":25,"Binding":3,"IsGift":false,"Name":"sp_mat15","Caption":" ","Description":[": 1 ",": 0/1"," Angels city"," "," "]},{"Recipes":[],"NewLineToBR":true,"W":40,"H":25,"Binding":3,"IsGift":false,"Name":"sp_mat17","Caption":" ","Description":[": 1 ",": 0/1"," Angels city"," "," "]},{"Recipes":[],"NewLineToBR":true,"W":40,"H":25,"Binding":3,"IsGift":false,"Name":"sp_mat19","Caption":" ","Description":[]},{"Recipes":[],"NewLineToBR":true,"W":40,"H":25,"Binding":3,"IsGift":false,"Name":"sp_mat23","Caption":" ","Description":[]},{"Recipes":[],"NewLineToBR":true,"W":40,"H":25,"Binding":3,"IsGift":false,"Name":"sp_mat30","Caption":" ","Description":[]},{"Recipes":[],"NewLineToBR":true,"W":40,"H":25,"Binding":3,"IsGift":false,"Name":"sp_mat21","Caption":" ","Description":[]}],"Name":"sp_mat","Caption":" ","Description":[]},{"ImageBasePath":"http://img.combats.ru/i/items/","NewLineToBR":true,"Items":[{"Recipes":[{"Price":0,"PlaceName":"laba_ang","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater7","Count":3}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_tacpts_HIT1","Caption":" : 1","Description":[": 1 ",": 10 . ",": 0/1"," : 3 ."," "," :"," : 5"," Angels city"," "," ",""," +1"]},{"Recipes":[{"Price":0,"PlaceName":"laba_ang","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater18","Count":2}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_tacpts_HIT2","Caption":" : 2","Description":[": 1 ",": 20 . ",": 0/1"," : 3 ."," "," :"," : 5"," Angels city"," "," ",""," +2"]},{"Recipes":[{"Price":0,"PlaceName":"laba_ang","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater30","Count":2}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_tacpts_HIT3","Caption":" : 3","Description":[": 1 ",": 30 . ",": 0/1"," : 3 ."," "," :"," : 5"," Angels city"," "," ",""," +3"]},{"Recipes":[{"Price":0,"PlaceName":"laba_ang","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater22","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_tacpts_HIT4","Caption":" : 4","Description":[": 1 ",": 40 . ",": 0/1"," : 3 ."," "," :"," : 5"," Angels city"," "," ",""," +4"]},{"Recipes":[{"Price":0,"PlaceName":"laba_ang","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater23","Count":1},{"Category":"mater","Item":"mater24","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_tacpts_HIT5","Caption":" : 5","Description":[": 1 ",": 50 . ",": 0/1"," : 3 ."," "," :"," : 5"," Angels city"," "," ",""," +5"]},{"Recipes":[{"Price":0,"PlaceName":"laba_ang","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater11","Count":3}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_tacpts_BLK1","Caption":" : 1","Description":[": 1 ",": 10 . ",": 0/1"," : 3 ."," "," :"," : 5"," Angels city"," "," ",""," +1 "]},{"Recipes":[{"Price":0,"PlaceName":"laba_ang","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater19","Count":2}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_tacpts_BLK2","Caption":" : 2","Description":[": 1 ",": 20 . ",": 0/1"," : 3 ."," "," :"," : 5"," Angels city"," "," ",""," +2 "]},{"Recipes":[{"Price":0,"PlaceName":"laba_ang","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater29","Count":2}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_tacpts_BLK3","Caption":" : 3","Description":[": 1 ",": 30 . ",": 0/1"," : 3 ."," "," :"," : 5"," Angels city"," "," ",""," +3 "]},{"Recipes":[{"Price":0,"PlaceName":"laba_ang","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater21","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_tacpts_BLK4","Caption":" : 4","Description":[": 1 ",": 40 . ",": 0/1"," : 3 ."," "," :"," : 5"," Angels city"," "," ",""," +4 "]},{"Recipes":[{"Price":0,"PlaceName":"laba_ang","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater21","Count":1},{"Category":"mater","Item":"mater23","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_tacpts_BLK5","Caption":" : 5","Description":[": 1 ",": 50 . ",": 0/1"," : 3 ."," "," :"," : 5"," Angels city"," "," ",""," +5 "]},{"Recipes":[{"Price":0,"PlaceName":"laba_ang","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater9","Count":3}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_tacpts_KRT1","Caption":" : 1","Description":[": 1 ",": 10 . ",": 0/1"," : 3 ."," "," :"," : 5"," Angels city"," "," ",""," +1"]},{"Recipes":[{"Price":0,"PlaceName":"laba_ang","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater16","Count":2}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_tacpts_KRT2","Caption":" : 2","Description":[": 1 ",": 20 . ",": 0/1"," : 3 ."," "," :"," : 5"," Angels city"," "," ",""," +2"]},{"Recipes":[{"Price":0,"PlaceName":"laba_ang","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater27","Count":2}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_tacpts_KRT3","Caption":" : 3","Description":[": 1 ",": 30 . ",": 0/1"," : 3 ."," "," :"," : 5"," Angels city"," "," ",""," +3"]},{"Recipes":[{"Price":0,"PlaceName":"laba_ang","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater31","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_tacpts_KRT4","Caption":" : 4","Description":[": 1 ",": 40 . ",": 0/1"," : 3 ."," "," :"," : 5"," Angels city"," "," ",""," +4"]},{"Recipes":[{"Price":0,"PlaceName":"laba_ang","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater31","Count":1},{"Category":"mater","Item":"mater23","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_tacpts_KRT5","Caption":" : 5","Description":[": 1 ",": 50 . ",": 0/1"," : 3 ."," "," :"," : 5"," Angels city"," "," ",""," +5"]},{"Recipes":[{"Price":0,"PlaceName":"laba_ang","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater10","Count":3}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_tacpts_CNTR1","Caption":" : 1","Description":[": 1 ",": 10 . ",": 0/1"," : 3 ."," "," :"," : 5"," Angels city"," "," ",""," +1 "]},{"Recipes":[{"Price":0,"PlaceName":"laba_ang","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater17","Count":2}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_tacpts_CNTR2","Caption":" : 2","Description":[": 1 ",": 20 . ",": 0/1"," : 3 ."," "," :"," : 5"," Angels city"," "," ",""," +2 "]},{"Recipes":[{"Price":0,"PlaceName":"laba_ang","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater28","Count":2}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_tacpts_CNTR3","Caption":" : 3","Description":[": 1 ",": 30 . ",": 0/1"," : 3 ."," "," :"," : 5"," Angels city"," "," ",""," +3 "]},{"Recipes":[{"Price":0,"PlaceName":"laba_ang","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater20","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_tacpts_CNTR4","Caption":" : 4","Description":[": 1 ",": 40 . ",": 0/1"," : 3 ."," "," :"," : 5"," Angels city"," "," ",""," +4 "]},{"Recipes":[{"Price":0,"PlaceName":"laba_ang","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater20","Count":1},{"Category":"mater","Item":"mater23","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_tacpts_CNTR5","Caption":" : 5","Description":[": 1 ",": 50 . ",": 0/1"," : 3 ."," "," :"," : 5"," Angels city"," "," ",""," +5 "]},{"Recipes":[{"Price":0,"PlaceName":"laba_ang","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater8","Count":3}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_tacpts_PRY1","Caption":" : 1","Description":[": 1 ",": 10 . ",": 0/1"," : 3 ."," "," :"," : 5"," Angels city"," "," ",""," +1 "]},{"Recipes":[{"Price":0,"PlaceName":"laba_ang","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater15","Count":2}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_tacpts_PRY2","Caption":" : 2","Description":[": 1 ",": 20 . ",": 0/1"," : 3 ."," "," :"," : 5"," Angels city"," "," ",""," +2 "]},{"Recipes":[{"Price":0,"PlaceName":"laba_ang","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater26","Count":2}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_tacpts_PRY3","Caption":" : 3","Description":[": 1 ",": 30 . ",": 0/1"," : 3 ."," "," :"," : 5"," Angels city"," "," ",""," +3 "]},{"Recipes":[{"Price":0,"PlaceName":"laba_ang","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater24","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_tacpts_PRY4","Caption":" : 4","Description":[": 1 ",": 10 . ",": 0/1"," : 3 ."," "," :"," : 5"," Angels city"," "," ",""," +4 "]},{"Recipes":[{"Price":0,"PlaceName":"laba_ang","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater24","Count":1},{"Category":"mater","Item":"mater23","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_tacpts_PRY5","Caption":" : 5","Description":[": 1 ",": 10 . ",": 0/1"," : 3 ."," "," :"," : 5"," Angels city"," "," ",""," +5 "]}],"Name":"sp_tacpts","Caption":" ","Description":[" . , .","","C . , - () .",""," 3 . 10 .",""]},{"ImageBasePath":"http://img.combats.ru/i/items/","NewLineToBR":true,"Items":[{"Recipes":[],"NewLineToBR":true,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"key_cube_1","Caption":" ","Description":[": 1",": 0/1"," Demons city"," "," ",""," K7 . "," , ."]},{"Recipes":[],"NewLineToBR":true,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"key_cube_2","Caption":" ","Description":[": 1",": 0/1"," Demons city"," "," ",""," U2 . "," , ."]},{"Recipes":[{"Price":0,"PlaceName":"altar_dem","Binding":4,"RecipeParts":[{"Category":"key_cube","Item":"key_cube_1","Count":1},{"Category":"key_cube","Item":"key_cube_2","Count":1}],"Name":"key_cube_recipe","Caption":" ","Description":[]}],"NewLineToBR":true,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"key_cube_3","Caption":" ","Description":[": 1",": 0/1"," Demons city"," "," "]}],"Name":"key_cube","Caption":" ","Description":[]},{"ImageBasePath":"http://img.combats.ru/i/items/","NewLineToBR":true,"Items":[{"Recipes":[],"NewLineToBR":true,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"key_amul_1","Caption":" ","Description":[": 1",": 0/1 "," Capital city "," "," ",""," L12 ."," , 2 ."]},{"Recipes":[],"NewLineToBR":true,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"key_amul_2","Caption":" ","Description":[": 1",": 0/1 "," Capital city "," "," ",""," I12 ."," , 2 ."]},{"Recipes":[],"NewLineToBR":true,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"key_amul_3","Caption":" ","Description":[": 1",": 0/1 "," Capital city "," "," ",""," L15 ."," , 2 ."]},{"Recipes":[{"Price":0,"PlaceName":"altar_cap","Binding":4,"RecipeParts":[{"Category":"key_amul","Item":"key_amul_1","Count":1},{"Category":"key_amul","Item":"key_amul_2","Count":1},{"Category":"key_amul","Item":"key_amul_3","Count":1}],"Name":"key_amul_recipe","Caption":" ","Description":[]}],"NewLineToBR":true,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"key_amul_4","Caption":" ","Description":[": 1",": 0/1 "," Capital city "," "," ",""," G2 . "]}],"Name":"key_amul","Caption":" ","Description":[]},{"ImageBasePath":"http://img.combats.ru/i/items/","NewLineToBR":true,"Items":[{"Recipes":[],"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"key_TR_1","Caption":" ","Description":[": 1",": 0/1 "," Capital city "," "," ",""," K15 ."," ."]},{"Recipes":[],"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"key_TR_2","Caption":" ","Description":[": 1",": 0/1 "," Capital city "," "," ",""," I15 ."," ."]},{"Recipes":[],"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"key_TR_3","Caption":" ","Description":[": 1",": 0/1 "," Capital city "," "," ",""," G15 ."," ."]},{"Recipes":[],"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"key_TR_4","Caption":" ","Description":[": 1",": 0/1 "," Capital city "," "," ",""," E15 ."," ."]},{"Recipes":[],"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"key_TR_5","Caption":" ","Description":[": 1",": 0/1 "," Capital city "," "," ",""," C15 ."," ."]},{"Recipes":[{"Price":0,"PlaceName":"altar_cap","Binding":4,"RecipeParts":[{"Category":"key_TR","Item":"key_TR_1","Count":1},{"Category":"key_TR","Item":"key_TR_2","Count":1},{"Category":"key_TR","Item":"key_TR_3","Count":1},{"Category":"key_TR","Item":"key_TR_4","Count":1},{"Category":"key_TR","Item":"key_TR_5","Count":1}],"Name":"key_TR_recipe","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"key_TR_6","Caption":" ","Description":[": 1",": 0/1 "," Capital city "," "," ",""," . ."]}],"Name":"key_TR","Caption":" ","Description":[]},{"ImageBasePath":"http://img.combats.ru/i/items/","NewLineToBR":true,"Items":[{"Recipes":[],"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"enh_1_0","Caption":" [0]","Description":[": 1 ",": 5 . ",": 0/1 ",":"," - . ..."," Demons city"," "," ",""]},{"Recipes":[{"Price":0,"PlaceName":"laba_dem","Binding":4,"RecipeParts":[{"Category":"enh","Item":"enh_1_0","Count":3},{"Category":"key_cube","Item":"key_cube_3","Count":1}],"Name":"enh_1_recipe","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"enh_1_1","Caption":" [1]","Description":[": 1 ",": 15 . ",": 0/1 "," : 99%",":"," - . , ."," Demons city"," "," ",""]},{"Recipes":[{"Price":0,"PlaceName":"laba_dem","Binding":4,"RecipeParts":[{"Category":"enh","Item":"enh_1_1","Count":3},{"Category":"key_cube","Item":"key_cube_3","Count":1}],"Name":"enh_2_recipe","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"enh_1_2","Caption":" [2]","Description":[": 1 ",": 50 . ",": 0/1 "," : 99%",":"," - . , ."," Demons city"," "," ","","."]},{"Recipes":[{"Price":0,"PlaceName":"laba_dem","Binding":4,"RecipeParts":[{"Category":"enh","Item":"enh_1_2","Count":3},{"Category":"key_cube","Item":"key_cube_3","Count":1},{"Category":"mater","Item":"mater24","Count":1}],"Name":"enh_1_3_recipe","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"enh_1_3","Caption":" [3]","Description":[": 1 ",": 150 . "," : 99%",": 0/1 ",":"," , ."," Demons city"," "," "]},{"Recipes":[],"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"enh_3_0","Caption":" [0]","Description":[": 1 ",": 5 . ",": 0/1 ",":"," - . ..."," Demons city"," "," ",""]},{"Recipes":[{"Price":0,"PlaceName":"laba_dem","Binding":4,"RecipeParts":[{"Category":"enh","Item":"enh_3_0","Count":3},{"Category":"key_cube","Item":"key_cube_3","Count":1}],"Name":"enh_3_1_recipe","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"enh_3_1","Caption":" [1]","Description":[": 1 ",": 15 . ",": 0/1 "," : 99%",":"," - . ."," Demons city"," "," ",""]},{"Recipes":[{"Price":0,"PlaceName":"laba_dem","Binding":4,"RecipeParts":[{"Category":"enh","Item":"enh_3_1","Count":3},{"Category":"key_cube","Item":"key_cube_3","Count":1}],"Name":"enh_3_2_recipe","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"enh_3_2","Caption":" [2]","Description":[": 1 ",": 50 . ",": 0/1 "," : 99%",":"," - . ."," Demons city"," "," ",""]},{"Recipes":[{"Price":0,"PlaceName":"laba_dem","Binding":4,"RecipeParts":[{"Category":"enh","Item":"enh_3_2","Count":3},{"Category":"key_cube","Item":"key_cube_3","Count":1},{"Category":"mater","Item":"mater22","Count":1}],"Name":"enh_3_3_recipe","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"enh_3_3","Caption":" [3]","Description":[": 1 ",": 150 . "," : 99%",": 0/1 ",":"," ."," Demons city"," "," "]},{"Recipes":[],"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"enh_4_0","Caption":" [0]","Description":[": 1 ",": 5 . ",": 0/1 ",":"," - . ..."," Demons city"," "," ",""]},{"Recipes":[{"Price":0,"PlaceName":"laba_dem","Binding":4,"RecipeParts":[{"Category":"enh","Item":"enh_4_0","Count":3},{"Category":"key_cube","Item":"key_cube_3","Count":1}],"Name":"enh_4_1_recipe","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"enh_4_1","Caption":" [1]","Description":[": 1 ",": 15 . ",": 0/1 "," : 99%",":"," - . ."," Demons city"," "," ",""]},{"Recipes":[{"Price":0,"PlaceName":"laba_dem","Binding":4,"RecipeParts":[{"Category":"enh","Item":"enh_4_1","Count":3},{"Category":"key_cube","Item":"key_cube_3","Count":1}],"Name":"enh_4_2_recipe","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"enh_4_2","Caption":" [2]","Description":[": 1 ",": 50 . ",": 0/1 "," : 99%",":"," - . ."," Demons city"," "," "]},{"Recipes":[{"Price":0,"PlaceName":"laba_dem","Binding":4,"RecipeParts":[{"Category":"enh","Item":"enh_4_2","Count":3},{"Category":"key_cube","Item":"key_cube_3","Count":1},{"Category":"mater","Item":"mater21","Count":1}],"Name":"enh_4_3_recipe","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"enh_4_3","Caption":" [3]","Description":[": 1 ",": 150 . "," : 99%",": 0/1 ",":"," ."," Demons city"," "," "]},{"Recipes":[],"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"enh_5_0","Caption":" [0]","Description":[": 1 ",": 5 . ",": 0/1 ",":"," - . ..."," Demons city"," "," ",""]},{"Recipes":[{"Price":0,"PlaceName":"laba_dem","Binding":4,"RecipeParts":[{"Category":"enh","Item":"enh_5_0","Count":3},{"Category":"key_cube","Item":"key_cube_3","Count":1}],"Name":"enh_5_1_recipe","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"enh_5_1","Caption":" [1]","Description":[": 1 ",": 15 . ",": 0/1 "," : 99%",":"," - . , ."," Demons city"," "," ",""]},{"Recipes":[{"Price":0,"PlaceName":"laba_dem","Binding":4,"RecipeParts":[{"Category":"enh","Item":"enh_5_1","Count":3},{"Category":"key_cube","Item":"key_cube_3","Count":1}],"Name":"enh_5_2_recipe","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"enh_5_2","Caption":" [2]","Description":[": 1 ",": 50 . ",": 0/1 "," : 99%",":"," - . , ."," Demons city"," "," "]},{"Recipes":[{"Price":0,"PlaceName":"laba_dem","Binding":4,"RecipeParts":[{"Category":"enh","Item":"enh_5_2","Count":3},{"Category":"key_cube","Item":"key_cube_3","Count":1},{"Category":"mater","Item":"mater20","Count":1}],"Name":"enh_5_3_recipe","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"enh_5_3","Caption":" [3]","Description":[": 1 ",": 150 . "," : 99%",": 0/1 ",":"," , ."," Demons city"," "," "]},{"Recipes":[],"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"enh_9_0","Caption":" [0]","Description":[": 1 ",": 5 . ",": 0/1 ",":"," - . ..."," Demons city"," "," ",""]},{"Recipes":[{"Price":0,"PlaceName":"laba_dem","Binding":4,"RecipeParts":[{"Category":"enh","Item":"enh_9_0","Count":3},{"Category":"key_cube","Item":"key_cube_3","Count":1}],"Name":"enh_9_1_recipe","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"enh_9_1","Caption":" [1]","Description":[": 1 ",": 15 . ",": 0/1 "," : 99%",":"," - . ."," Demons city"," "," ",""]},{"Recipes":[{"Price":0,"PlaceName":"laba_dem","Binding":4,"RecipeParts":[{"Category":"enh","Item":"enh_9_1","Count":3},{"Category":"key_cube","Item":"key_cube_3","Count":1}],"Name":"enh_9_2_recipe","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"enh_9_2","Caption":" [2]","Description":[": 1 ",": 50 . ",": 0/1 "," : 99%",":"," - . ."," Demons city"," "," "]},{"Recipes":[{"Price":0,"PlaceName":"laba_dem","Binding":4,"RecipeParts":[{"Category":"enh","Item":"enh_9_2","Count":3},{"Category":"key_cube","Item":"key_cube_3","Count":1},{"Category":"mater","Item":"mater31","Count":1}],"Name":"enh_9_3_recipe","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"enh_9_3","Caption":" [3]","Description":[": 1 ",": 150 . "," : 99%",": 0/1 ",":"," ."," Demons city"," "," "]}],"Name":"enh","Caption":" ","Description":[]},{"ImageBasePath":"http://img.combats.ru/i/items/","NewLineToBR":true,"Items":[{"Recipes":[{"Price":0,"PlaceName":"mastershop_cap","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater10","Count":1},{"Category":"mater","Item":"mater16","Count":1},{"Category":"mater","Item":"mater18","Count":1},{"Category":"mater","Item":"mater19","Count":1},{"Category":"mater","Item":"mater27","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"spell_ug_undam2c","Caption":" ","Description":[": 1",": 10 . ",": 0/1"," : 6 . 0 ."," : "," :"," . : -20"," Capital city"," "," "]},{"Recipes":[{"Price":0,"PlaceName":"mastershop_cap","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater28","Count":1},{"Category":"mater","Item":"mater26","Count":1},{"Category":"mater","Item":"mater24","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"spell_ug_unexprc","Caption":" ","Description":[": 1",": 10 . ",": 0/1"," : 6 . 0 ."," : "," :"," (%): -10"," : "," Capital city"," "," "]},{"Recipes":[{"Price":0,"PlaceName":"mastershop_cap","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater12","Count":1},{"Category":"mater","Item":"mater15","Count":1},{"Category":"mater","Item":"mater17","Count":1},{"Category":"mater","Item":"mater18","Count":1},{"Category":"mater","Item":"mater30","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"spell_ug_undam3c","Caption":" ","Description":[": 1",": 10 . ",": 0/1"," : 6 . 0 ."," : "," :"," . : -20"," Capital city"," "," "]},{"Recipes":[{"Price":0,"PlaceName":"mastershop_cap","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater11","Count":1},{"Category":"mater","Item":"mater14","Count":1},{"Category":"mater","Item":"mater17","Count":1},{"Category":"mater","Item":"mater18","Count":1},{"Category":"mater","Item":"mater29","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"spell_ug_undam1c","Caption":" ","Description":[": 1",": 10 . ",": 0/1"," : 6 . 0 ."," : "," :"," . : -20"," Capital city"," "," "]},{"Recipes":[{"Price":0,"PlaceName":"mastershop_cap","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater25","Count":1},{"Category":"mater","Item":"mater26","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"spell_ug_undam4c","Caption":" ","Description":[": 1",": 10 . ",": 0/1"," : 6 . 0 ."," : "," :"," . : -20"," Capital city"," "," "]},{"Recipes":[{"Price":0,"PlaceName":"mastershop_cap","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater26","Count":1},{"Category":"mater","Item":"mater28","Count":1},{"Category":"mater","Item":"mater24","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"spell_ug_unp10c","Caption":" ","Description":[": 1",": 10 . ",": 0/1"," : 6 . 0 ."," : "," :"," . : -100"," Capital city"," "," "]},{"Recipes":[{"Price":0,"PlaceName":"mastershop_cap","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater4","Count":1},{"Category":"mater","Item":"mater14","Count":3},{"Category":"mater","Item":"mater25","Count":1},{"Category":"mater","Item":"mater27","Count":1},{"Category":"mater","Item":"mater30","Count":1},{"Category":"mater","Item":"mater31","Count":1},{"Category":"mater","Item":"mater24","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"spell_curseb","Caption":" ","Description":[": 1",": 1 .",": 0/1"," : 70%"," : 1440 ."," :"," : 10"," : 8"," : "," Capital city"," "," "]},{"Recipes":[{"Price":0,"PlaceName":"mastershop_cap","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater12","Count":1},{"Category":"mater","Item":"mater28","Count":1},{"Category":"mater","Item":"mater16","Count":1},{"Category":"mater","Item":"mater17","Count":1},{"Category":"mater","Item":"mater18","Count":1},{"Category":"mater","Item":"mater29","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"spell_curse","Caption":" ","Description":[": 1",": 1 .",": 0/1"," : 70%"," : 1440 ."," :"," : 10"," : 8"," : "," Capital city"," "," "]}],"Name":"spell_ug","Caption":"","Description":[]},{"ImageBasePath":"http://img.combats.ru/i/items/","NewLineToBR":true,"Items":[{"Recipes":[{"Price":0,"PlaceName":"mastershop_cap","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater1","Count":4},{"Category":"mater","Item":"mater5","Count":4},{"Category":"mater","Item":"mater9","Count":3},{"Category":"mater","Item":"mater16","Count":2},{"Category":"mater","Item":"mater19","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":20,"H":20,"Binding":0,"IsGift":false,"Name":"ing104","Caption":" ","Description":[": 1",": 23 . ",": 0/40"," :"," : 10 "," : 3 "," :"," : +3"," Capital city"," "," "]},{"Recipes":[{"Price":0,"PlaceName":"mastershop_cap","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater2","Count":5},{"Category":"mater","Item":"mater11","Count":2},{"Category":"mater","Item":"mater14","Count":1},{"Category":"mater","Item":"mater15","Count":2}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":20,"H":20,"Binding":0,"IsGift":false,"Name":"ring83","Caption":" ","Description":[": 1",": 16 . ",": 0/40"," :"," : 10 "," : 10 "," : 2 "," :"," : +2"," Capital city"," "," "]},{"Recipes":[{"Price":0,"PlaceName":"mastershop_cap","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater3","Count":5},{"Category":"mater","Item":"mater10","Count":2},{"Category":"mater","Item":"mater17","Count":1},{"Category":"mater","Item":"mater18","Count":1},{"Category":"mater","Item":"mater19","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":20,"H":20,"Binding":0,"IsGift":false,"Name":"ring85","Caption":" ","Description":[": 1",": 16 . ",": 0/40"," :"," : 10 "," : 2 "," :"," : +2"," Capital city"," "," "]},{"Recipes":[{"Price":0,"PlaceName":"mastershop_cap","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater4","Count":3},{"Category":"mater","Item":"mater7","Count":4},{"Category":"mater","Item":"mater8","Count":4},{"Category":"mater","Item":"mater13","Count":3}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":20,"H":20,"Binding":0,"IsGift":false,"Name":"ring106","Caption":" ","Description":[": 1",": 20 . ",": 0/20"," :"," : 12 "," : 12 "," : 3 "," :"," (HP): +33"," Capital city"," "," "]},{"Recipes":[{"Price":0,"PlaceName":"mastershop_cap","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater12","Count":2},{"Category":"mater","Item":"mater13","Count":3},{"Category":"mater","Item":"mater28","Count":1},{"Category":"mater","Item":"mater29","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":20,"H":20,"Binding":0,"IsGift":false,"Name":"ring207","Caption":"Simplicity Ring","Description":[": 1",": 31 . (6 .) ",": 0/30"," :"," : 15 "," : 15 "," : 15 "," : 4 "," :"," : +2 "," : +3"," Capital city"," "," "]},{"Recipes":[{"Price":0,"PlaceName":"mastershop_cap","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater6","Count":5},{"Category":"mater","Item":"mater15","Count":2},{"Category":"mater","Item":"mater26","Count":2},{"Category":"mater","Item":"mater22","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":20,"H":20,"Binding":0,"IsGift":false,"Name":"ring99","Caption":" ","Description":[": 1",": 61 . ",": 0/30"," :"," : 20 "," : 20 "," : 20 "," : 7 "," :"," . : +5 % "," . : +1 % "," :"," : +5"," Capital city"," "," "]}],"Name":"rings","Caption":"","Description":[]},{"ImageBasePath":"http://img.combats.ru/i/items/","NewLineToBR":true,"Items":[{"Recipes":[{"Price":150,"PlaceName":"shop_ang","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater25","Count":1},{"Category":"mater","Item":"mater6","Count":5}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":80,"Binding":0,"IsGift":false,"Name":"leg11","Caption":" ","Description":[": 10",": 150 .",": 0/50"," :"," : 15"," : 15"," : 9"," : 50"," : 45"," :"," : +20"," (HP): +42"," : 13-48 (12+d36)"," : 13-48 (12+d36)"," :"," : +50"," : [13]"]},{"Recipes":[{"Price":150,"PlaceName":"shop_ang","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater25","Count":1},{"Category":"mater","Item":"mater6","Count":5}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":40,"Binding":0,"IsGift":false,"Name":"boots23","Caption":" ","Description":[": 10 ",": 150 .",": 0/50"," :"," : 15"," : 15"," : 9"," : 50"," : 45"," :"," . (%): +20"," . (%): +20"," : -2"," (HP): +66"," : 35-84 (34+d50)"," :"," : +50"," : [13]"]},{"Recipes":[{"Price":130,"PlaceName":"shop_ang","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater25","Count":1},{"Category":"mater","Item":"mater6","Count":3}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":40,"Binding":0,"IsGift":false,"Name":"naruchi79","Caption":" ","Description":[": 1",": 130 .",": 0/30"," :"," : 15"," : 15"," : 8"," : 50"," : 45"," :"," . (%): +40"," : +3"," , : +3"," , : +3"," , : +3"," : +20"," : +1"," : [13]"]},{"Recipes":[{"Price":380,"PlaceName":"shop_ang","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater31","Count":1},{"Category":"mater","Item":"mater6","Count":8}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":80,"Binding":0,"IsGift":false,"Name":"armor107","Caption":" ","Description":[": 60",": 380 .",": 0/100"," :"," : 15"," : 15"," : 9"," : 50"," : 45"," :"," . (%): +50"," . (%): +25"," : +1"," : +30"," (HP): +99"," : +6"," : 31-90 (30+d60)"," :"," : +150",":"," : "," : "," : "," : "," : [13]"]},{"Recipes":[{"Price":215,"PlaceName":"shop_ang","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater19","Count":5},{"Category":"mater","Item":"mater6","Count":6}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"helmet81","Caption":" ","Description":[": 20",": 215 .",": 0/100"," :"," : 15"," : 15"," : 9"," : 50"," : 45"," :"," . (%): +20"," : +1"," , : +1"," , : +1"," , : +1"," : +50"," (HP): +66"," : 36-85 (35+d50)"," :"," : +25"," : [13]"]},{"Recipes":[{"Price":140,"PlaceName":"shop_ang","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater25","Count":1},{"Category":"mater","Item":"mater6","Count":3}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":40,"Binding":0,"IsGift":false,"Name":"braslet25","Caption":" ","Description":[": 2",": 140 .",": 0/40"," :"," : 15"," : 15"," : 9"," : 50"," : 45"," :"," . (%): +20"," : +2"," , : +2"," , : +2"," , : +2"," : +30"," (HP): +33"," : +2"," :"," : +25"," : [13]"]},{"Recipes":[{"Price":140,"PlaceName":"shop_ang","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater25","Count":1},{"Category":"mater","Item":"mater6","Count":4}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":40,"Binding":0,"IsGift":false,"Name":"belt37","Caption":" ","Description":[": 2",": 140 .",": 0/50"," :"," : 15"," : 15"," : 9"," : 50"," : 45"," :"," : +20"," : +25"," (HP): +99"," : 19-68 (18+d50)"," : [13]"]},{"Recipes":[{"Price":200,"PlaceName":"shop_ang","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater25","Count":2}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":20,"Binding":0,"IsGift":false,"Name":"clip81","Caption":" ","Description":[": 1",": 200 .",": 0/50"," :"," : 15"," : 15"," : 9"," : 50"," : 45"," :"," . (%): +40"," . (%): +40"," , : +1"," : +10"," : +25"," (HP): +66"," : 1-30 (d30)"," : 1-30 (d30)"," : 1-30 (d30)"," : 1-30 (d30)"," : [13]"]},{"Recipes":[{"Price":240,"PlaceName":"shop_ang","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater25","Count":2}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":20,"Binding":0,"IsGift":false,"Name":"amulet81","Caption":" ","Description":[": 1",": 240 .",": 0/50"," :"," : 15"," : 15"," : 9"," : 50"," : 45"," :"," . (%): +35"," . (%): +35"," : +40"," (HP): +99"," : +6"," : 1-25 (d25)"," : 1-25 (d25)"," : 1-25 (d25)"," : 1-25 (d25)"," : [13]"]},{"Recipes":[{"Price":100,"PlaceName":"shop_ang","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater25","Count":1}],"Name":"","Caption":"","Description":[]},{"Price":0,"PlaceName":"mastershop_cap","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater25","Count":1},{"Category":"mater","Item":"mater21","Count":3}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":20,"H":20,"Binding":0,"IsGift":false,"Name":"ring117","Caption":" ","Description":[": 1",": 100 .",": 0/60"," :"," : 15"," : 15"," : 9"," : 50"," : 45"," :"," . (%): +20"," . (%): +10"," : +25"," (HP): +33"," : 1-15 (d15)"," : 1-15 (d15)"," : 1-15 (d15)"," : 1-15 (d15)"," : [13]","",", , "]},{"Recipes":[{"Price":250,"PlaceName":"shop_ang","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater25","Count":2},{"Category":"mater","Item":"mater6","Count":5}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"mace68","Caption":" ","Description":[": 30",": 250 .",": 0/60"," :"," : 15"," : 15"," : 9"," , : 5"," : 50"," : 45"," :"," : +1"," :"," : 22 - 34"," . (%): +80"," . : +20"," , : +1",":"," : "," : "," : [13]"]},{"Recipes":[{"Price":220,"PlaceName":"shop_ang","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater25","Count":1},{"Category":"mater","Item":"mater6","Count":12}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"sword104","Caption":" ","Description":[": 17",": 220 .",": 0/50"," :"," : 15"," : 15"," : 9"," : 5"," : 50"," : 45"," :"," . (%): +40"," : +2"," :"," : 12 - 34"," . (%): +40"," . : +10"," : +2",":"," : "," : "," : "," : [13]"]},{"Recipes":[{"Price":370,"PlaceName":"shop_ang","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater19","Count":9},{"Category":"mater","Item":"mater6","Count":10}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"hammer71","Caption":" ","Description":[": 30",": 370 .",": 0/60"," :"," : 15"," : 15"," : 9"," , : 5"," : 50"," : 55"," :"," . (%): +20"," : +2"," :"," : 30 - 48"," . (%): +80"," . : +25"," , : +2"," ",":"," : "," : "," : [13]"]},{"Recipes":[{"Price":260,"PlaceName":"shop_ang","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater19","Count":8},{"Category":"mater","Item":"mater6","Count":8}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"axe89","Caption":" ","Description":[": 20",": 260 .",": 0/60"," :"," : 15"," : 15"," : 9"," , : 5"," : 50"," : 45"," :"," : +2"," : +2"," :"," : 15 - 35"," . (%): +80"," . : +20"," , : +2",":"," : "," : "," : [13]"]},{"Recipes":[{"Price":220,"PlaceName":"shop_ang","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater25","Count":1},{"Category":"mater","Item":"mater6","Count":12}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"knife73","Caption":" ","Description":[": 10",": 220 .",": 0/50"," :"," : 20"," : 20"," : 9"," , : 5"," : 50"," : 45"," :"," . (%): +35"," . : +25"," :"," : 5 - 17"," . (%): +80"," , : +3"," . (%): +30"," ",":"," : "," : "," : "," : "," : [13]"]},{"Recipes":[{"Price":190,"PlaceName":"shop_ang","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater25","Count":1},{"Category":"mater","Item":"mater19","Count":3}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"shield84","Caption":" ","Description":[": 20",": 190 .",": 0/50"," :"," : 15"," : 15"," : 9"," : 50"," : 45"," :"," . (%): +55"," : +25"," (HP): +33"," : 10-36 (9+d27)"," : 10-36 (9+d27)"," : 10-36 (9+d27)"," : 10-36 (9+d27)"," :"," . (%): +10",":"," : "," : "," : "," : "," : [13]"]}],"Name":"set1","Caption":"o ax p","Description":[]},{"ImageBasePath":"http://img.combats.ru/i/items/","NewLineToBR":true,"Items":[{"Recipes":[{"Price":150,"PlaceName":"shop_dem","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater28","Count":1},{"Category":"mater","Item":"mater5","Count":5}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":80,"Binding":0,"IsGift":false,"Name":"leg12","Caption":" ","Description":[": 10 ",": 150 .",": 0/50"," :"," : 15"," : 50"," : 9"," : 30"," : 30"," :"," . (%): +20"," . (%): +20"," . (%): +35"," : +10"," (HP): +30"," : 9-35 (8+d27)"," : 9-35 (8+d27)"," :"," : +40"," : [13]"]},{"Recipes":[{"Price":150,"PlaceName":"shop_dem","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater28","Count":1},{"Category":"mater","Item":"mater5","Count":5}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":40,"Binding":0,"IsGift":false,"Name":"boots22","Caption":" ","Description":[": 10 ",": 150 .",": 0/50"," :"," : 15"," : 50"," : 9"," : 30"," : 30"," :"," . (%): +30"," . (%): +30"," . (%): +25"," : +10"," : +25"," (HP): +33"," : +2"," : 9-35 (8+d27)"," : [13]"]},{"Recipes":[{"Price":131,"PlaceName":"shop_dem","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater28","Count":1},{"Category":"mater","Item":"mater5","Count":3}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":40,"Binding":0,"IsGift":false,"Name":"naruchi77","Caption":" ","Description":[": 1 ",": 131 .",": 0/30"," :"," : 15"," : 50"," : 8"," : 30"," : 30"," :"," . . (%): +10"," . (%): +30"," . (%): +5"," : +3"," , : +3"," , : +3"," , : +3"," : +1"," : [13]"]},{"Recipes":[{"Price":380,"PlaceName":"shop_dem","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater20","Count":1},{"Category":"mater","Item":"mater5","Count":8}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":80,"Binding":0,"IsGift":false,"Name":"armor106","Caption":" ","Description":[": 40",": 380 .",": 0/100"," :"," : 15"," : 50"," : 9"," : 30"," : 30"," :"," . (%): +75"," . (%): +30"," . (%): +45"," : +2"," : +2"," : +40"," (HP): +66"," : +4"," : 19-54 (18+d36)"," :"," : +125",":"," : "," : "," : "," : "," : [13]"]},{"Recipes":[{"Price":210,"PlaceName":"shop_dev","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater15","Count":5},{"Category":"mater","Item":"mater5","Count":6}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"helmet80","Caption":" ","Description":[": 15 ",": 210 .",": 0/60"," :"," : 15"," : 50"," : 9"," : 30"," : 30"," :"," . (%): +40"," . (%): +20"," . (%): +45"," : +50"," (HP): +33"," : 10-36 (9+d27)"," :"," : +50"," : [13]"]},{"Recipes":[{"Price":140,"PlaceName":"shop_dem","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater28","Count":1},{"Category":"mater","Item":"mater5","Count":3}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":40,"Binding":0,"IsGift":false,"Name":"braslet24","Caption":" ","Description":[": 2",": 140 .",": 0/40"," :"," : 15"," : 50"," : 9"," : 30"," : 30"," :"," . . (%): +20"," . (%): +10"," . (%): +25"," : +2"," , : +2"," , : +2"," , : +2"," : +3"," : [13]"]},{"Recipes":[{"Price":140,"PlaceName":"shop_dem","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater28","Count":1},{"Category":"mater","Item":"mater5","Count":4}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":40,"Binding":0,"IsGift":false,"Name":"belt36","Caption":" ","Description":[": 1 ",": 140 .",": 0/50"," :"," : 15"," : 50"," : 9"," : 30"," : 30"," :"," . . (%): +15"," : +20"," : +25"," : 19-63 (18+d45)"," : [13]"]},{"Recipes":[{"Price":200,"PlaceName":"shop_dem","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater28","Count":2}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":20,"Binding":0,"IsGift":false,"Name":"clip80","Caption":" ","Description":[": 1 ",": 200 .",": 0/50"," :"," : 15"," : 50"," : 9"," : 30"," : 30"," :"," . . (%): +25"," . (%): +35"," . (%): +70"," : +2"," : +1"," , : +1"," , : +1"," , : +1"," : +4"," : [13]"]},{"Recipes":[{"Price":240,"PlaceName":"shop_dem","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater28","Count":2}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":20,"Binding":0,"IsGift":false,"Name":"amulet80","Caption":" ","Description":[": 1",": 240 .",": 0/50"," :"," : 15"," : 50"," : 9"," : 30"," : 30"," :"," . (%): +65"," . (%): +45"," : +1"," : +30"," : +75"," (HP): +48"," : +1"," : [13]"]},{"Recipes":[{"Price":100,"PlaceName":"shop_dem","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater28","Count":1}],"Name":"","Caption":"","Description":[]},{"Price":0,"PlaceName":"mastershop_cap","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater27","Count":1},{"Category":"mater","Item":"mater20","Count":3}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":20,"H":20,"Binding":0,"IsGift":false,"Name":"ring116","Caption":" ","Description":[": 1",": 100 .",": 0/50"," :"," : 15"," : 50"," : 9"," : 30"," : 30"," :"," . . (%): +10"," . (%): +35"," . (%): +45"," (HP): +33"," : [13]","",", , "]},{"Recipes":[{"Price":250,"PlaceName":"shop_dem","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater28","Count":2},{"Category":"mater","Item":"mater5","Count":5}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"mace67","Caption":" ","Description":[": 30",": 250 .",": 0/50"," :"," : 15"," : 45"," : 9"," , : 5"," : 35"," : 40"," :"," : -2"," :"," : 22 - 34"," . (%): +60"," . (%): +60"," . : +20"," , : +1",":"," : "," : "," : [13]"]},{"Recipes":[{"Price":220,"PlaceName":"shop_dem","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater28","Count":1},{"Category":"mater","Item":"mater5","Count":12}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"sword103","Caption":" ","Description":[": 17",": 220 .",": 0/50"," :"," : 15"," : 50"," : 9"," : 5"," : 30"," : 30"," :"," : 12 - 34"," . . (%): +10"," . (%): +50"," . (%): +80"," : +2",":"," : "," : "," : "," : "," : [13]"]},{"Recipes":[{"Price":370,"PlaceName":"shop_dem","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater15","Count":9},{"Category":"mater","Item":"mater5","Count":10}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"hammer70","Caption":" ","Description":[": 30",": 370 .",": 0/60"," :"," : 15"," : 50"," : 9"," , : 5"," : 35"," : 45"," :"," : -1"," : +1"," :"," : 30 - 48"," . (%): +60"," . (%): +80"," . : +25"," , : +2"," ",":"," : "," : "," : [13]"]},{"Recipes":[{"Price":260,"PlaceName":"shop_dem","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater15","Count":9},{"Category":"mater","Item":"mater5","Count":8}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"axe88","Caption":" ","Description":[": 20",": 260 .",": 0/50"," :"," : 30"," : 50"," : 9"," , : 5"," : 30"," : 30"," :"," : +5"," :"," : 15 - 35"," . (%): +60"," . (%): +50"," . : +10"," , : +2"," ",":"," : "," : "," : "," : [13]"]},{"Recipes":[{"Price":220,"PlaceName":"shop_dem","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater28","Count":1},{"Category":"mater","Item":"mater5","Count":12}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"knife72","Caption":" ","Description":[": 10",": 220 .",": 0/50"," :"," : 20"," : 55"," : 9"," , : 5"," : 30"," : 30"," :"," . . (%): +10"," . (%): +3"," : +2"," :"," : 6 - 17"," . (%): +80"," . (%): +80"," , : +3"," . (%): +25"," ",":"," : "," : "," : "," : "," : [13]"]},{"Recipes":[{"Price":190,"PlaceName":"shop_dem","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater28","Count":1},{"Category":"mater","Item":"mater15","Count":3}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"shield83","Caption":" ","Description":[": 20",": 190 .",": 0/50"," :"," : 15"," : 50"," : 9"," : 30"," : 30"," :"," . (%): +55"," . (%): +30"," . (%): +5"," (HP): +48"," : 10-36 (9+d27)"," : 10-36 (9+d27)"," : 10-36 (9+d27)"," : 10-36 (9+d27)",":"," : "," : "," : "," : "," : [13]"]}],"Name":"set2","Caption":"o poao ","Description":[]},{"ImageBasePath":"http://img.combats.ru/i/items/","NewLineToBR":true,"Items":[{"Recipes":[{"Price":150,"PlaceName":"shop_sand","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater30","Count":1},{"Category":"mater","Item":"mater11","Count":5}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":80,"Binding":0,"IsGift":false,"Name":"leg13","Caption":" ","Description":[": 10 ",": 150 .",": 0/50"," :"," : 50"," : 15"," : 9"," : 30"," : 30"," :"," . (%): +35"," . (%): +35"," : +25"," (HP): +18"," : 10-36 (9+d27)"," : 10-36 (9+d27)"," :"," : 30"," : [13]"]},{"Recipes":[{"Price":150,"PlaceName":"shop_sand","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater30","Count":1},{"Category":"mater","Item":"mater12","Count":5}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":40,"Binding":0,"IsGift":false,"Name":"boots21","Caption":" ","Description":[": 10",": 150 .",": 0/50"," :"," : 50"," : 15"," : 9"," : 30"," : 30"," :"," . (%): +50"," . (%): +50"," : +30"," : 10-36 (9+d27)"," :"," : 50"," : [13]"]},{"Recipes":[{"Price":130,"PlaceName":"shop_sand","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater30","Count":1},{"Category":"mater","Item":"mater12","Count":3}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":40,"Binding":0,"IsGift":false,"Name":"naruchi76","Caption":" ","Description":[": 2",": 140 .",": 0/30"," :"," : 50"," : 15"," : 9"," : 30"," : 30"," :"," . (%): +25"," . (%): +25"," . : +15"," : +1"," (HP): +18"," : [13]"]},{"Recipes":[{"Price":380,"PlaceName":"shop_sand","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater22","Count":1},{"Category":"mater","Item":"mater12","Count":8}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":80,"Binding":0,"IsGift":false,"Name":"armor105","Caption":" ","Description":[": 35",": 380 .",": 0/50"," :"," : 50"," : 15"," : 9"," : 30"," : 30"," :"," . (%): +40"," . (%): +70"," . (%): +10"," . (%): +80"," . (%): +10"," : +2"," : +30"," (HP): +45"," : 12-44 (11+d33)"," :"," : 75"," : [13]"]},{"Recipes":[{"Price":210,"PlaceName":"laba_sand","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater18","Count":5},{"Category":"mater","Item":"mater12","Count":6}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"helmet79","Caption":" ","Description":[": 15",": 210 .",": 0/60"," :"," : 50"," : 15"," : 9"," : 30"," : 30"," :"," . (%): +35"," . (%): +40"," : +2"," : +1"," , : +1"," , : +1"," , : +1"," : +40"," (HP): +45"," : 10-36 (9+d27)"," :"," : +50",":"," : "," : "," : [13]"]},{"Recipes":[{"Price":140,"PlaceName":"shop_sand","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater30","Count":1},{"Category":"mater","Item":"mater12","Count":3}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":40,"Binding":0,"IsGift":false,"Name":"naruchi78","Caption":" ","Description":[": 1",": 130 .",": 0/30"," :"," : 50"," : 15"," : 8"," : 30"," : 30"," :"," . (%): +35"," : +4"," : +3"," , : +3"," , : +3"," , : +3"," : +1"," : [13]"]},{"Recipes":[{"Price":140,"PlaceName":"shop_sand","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater30","Count":1},{"Category":"mater","Item":"mater12","Count":4}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":40,"Binding":0,"IsGift":false,"Name":"belt35","Caption":" ","Description":[": 2",": 140 .",": 0/40"," :"," : 50"," : 15"," : 9"," : 30"," : 30"," :"," . (%): +45"," : +20"," (HP): +33"," : +4"," : 19-63 (18+d45)"," : [13]"]},{"Recipes":[{"Price":200,"PlaceName":"laba_sand","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater30","Count":2}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":20,"Binding":0,"IsGift":false,"Name":"clip76","Caption":" ","Description":[": 1",": 200 .",": 0/60"," :"," : 50"," : 15"," : 9"," : 30"," : 30"," :"," . (%): +25"," . (%): +25"," . (%): +85"," . (%): +15"," : +2"," : +20"," (HP): +33"," : +4"," : [13]"]},{"Recipes":[{"Price":240,"PlaceName":"shop_sand","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater30","Count":2}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":20,"Binding":0,"IsGift":false,"Name":"amulet75","Caption":" ","Description":[": 1",": 240 .",": 0/50"," :"," : 50"," : 15"," : 9"," : 30"," : 30"," :"," . (%): +35"," . (%): +35"," . (%): +110"," . (%): +15"," : +30"," (HP): +66"," : +4"," : [13]"]},{"Recipes":[{"Price":100,"PlaceName":"shop_sand","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater30","Count":1}],"Name":"","Caption":"","Description":[]},{"Price":0,"PlaceName":"mastershop_cap","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater30","Count":1},{"Category":"mater","Item":"mater23","Count":3}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":20,"H":20,"Binding":0,"IsGift":false,"Name":"ring110","Caption":" ","Description":[": 1",": 100 .",": 0/40"," :"," : 50"," : 15"," : 9"," : 30"," : 30"," :"," . (%): +20"," . (%): +3"," . (%): +45"," . (%): +5"," : +15"," (HP): +18"," : +1"," : [13]","",", , "]},{"Recipes":[{"Price":220,"PlaceName":"shop_sand","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater30","Count":1},{"Category":"mater","Item":"mater12","Count":12}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"sword102","Caption":" ","Description":[": 17",": 220 .",": 0/50"," :"," : 55"," : 15"," : 9"," : 5"," : 30"," : 30"," :"," . (%): +35"," . (%): +75"," : +1"," :"," : 12 - 34"," : +2"," . (%): +20"," ",":"," : "," : "," : "," : [13]"]},{"Recipes":[{"Price":260,"PlaceName":"shop_sand","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater18","Count":9},{"Category":"mater","Item":"mater12","Count":8}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"axe87","Caption":" ","Description":[": 10 ",": 260 .",": 0/50"," :"," : 60"," : 15"," : 9"," , : 5"," : 30"," : 30"," :"," . (%): +65"," : +3"," :"," : 15 - 35"," . (%): +70"," . : +10"," , : +2"," . (%): +10",":"," : "," : "," : [13]"]},{"Recipes":[{"Price":220,"PlaceName":"shop_sand","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater30","Count":1},{"Category":"mater","Item":"mater12","Count":12}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"knife71","Caption":" ","Description":[": 10",": 220 .",": 0/50"," :"," : 50"," : 25"," : 9"," , : 5"," : 30"," : 30"," :"," . (%): +50"," . : +20"," :"," : 5 - 17"," . (%): +70"," , : +3"," . (%): +65"," ",":"," : "," : "," : "," : "," : [13]"]},{"Recipes":[{"Price":190,"PlaceName":"shop_sand","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater30","Count":1},{"Category":"mater","Item":"mater18","Count":3}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"shield82","Caption":" ","Description":[": 15 ",": 190 .",": 0/50"," :"," : 50"," : 15"," : 9"," : 30"," : 30"," :"," . (%): +80"," . (%): +35"," : +15"," (HP): +24"," : 10-36 (9+d27)"," : 10-36 (9+d27)"," : 10-36 (9+d27)"," : 10-36 (9+d27)",":"," : "," : "," : "," : "," : [13]"]}],"Name":"set3","Caption":"o aa","Description":[]},{"ImageBasePath":"http://img.combats.ru/i/items/","NewLineToBR":true,"Items":[{"Recipes":[{"Price":150,"PlaceName":"shop_sun","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater27","Count":1},{"Category":"mater","Item":"mater2","Count":5}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":80,"Binding":0,"IsGift":false,"Name":"leg14","Caption":" ","Description":[": 13",": 150 .",": 0/60"," :"," : 30"," : 30"," : 9"," : 35"," : 35"," :"," . (%): +30"," . (%): +15"," . (%): +2"," : +10"," : +10"," : -10"," (HP): +39"," : 10-36 (9+d27)"," : 10-36 (9+d27)"," :"," : +35"," : [13]"]},{"Recipes":[{"Price":150,"PlaceName":"shop_sun","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater27","Count":1},{"Category":"mater","Item":"mater2","Count":5}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":40,"Binding":0,"IsGift":false,"Name":"boots24_du2","Caption":" ","Description":[": 13",": 150 .",": 0/60"," :"," : 30"," : 30"," : 9"," : 35"," : 35"," :"," . (%): +30"," . (%): +15"," : +10"," : -10"," (HP): +33"," : +2"," : 10-36 (9+d27)"," :"," : +75"," : [13]"]},{"Recipes":[{"Price":130,"PlaceName":"shop_sun","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater27","Count":1},{"Category":"mater","Item":"mater2","Count":3}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":40,"Binding":0,"IsGift":false,"Name":"naruchi83_du2","Caption":" ","Description":[": 130 .",": 0/30"," :"," : 25"," : 25"," : 8"," : 30"," : 30"," :"," . (%): +30"," . (%): +4"," : +3"," , : +3"," , : +3"," , : +3"," : +2"," : [13]"]},{"Recipes":[{"Price":380,"PlaceName":"shop_sun","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater23","Count":1},{"Category":"mater","Item":"mater2","Count":8}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":80,"Binding":0,"IsGift":false,"Name":"armor108_du1","Caption":" ","Description":[": 23",": 380 .",": 0/50"," :"," : 30"," : 30"," : 9"," : 35"," : 35"," :"," . (%): +85"," . (%): +60"," . (%): +5"," : +50"," : +25"," (HP): +66"," : +5"," : 13-48 (12+d36)"," :"," : +100"," : [13]"]},{"Recipes":[{"Price":210,"PlaceName":"shop_sun","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater16","Count":5},{"Category":"mater","Item":"mater2","Count":6}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"helmet82_du2","Caption":" ","Description":[": 15",": 210 .",": 0/60"," :"," : 30"," : 30"," : 9"," : 35"," : 35"," :"," . (%): +45"," . (%): +35"," : +20"," : +10"," : -5"," (HP): +33"," : +4"," : 10-36 (9+d27)"," :"," : +75"," : [13]"]},{"Recipes":[{"Price":140,"PlaceName":"shop_sun","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater27","Count":1},{"Category":"mater","Item":"mater2","Count":3}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":40,"Binding":0,"IsGift":false,"Name":"braslet26_du2","Caption":" ","Description":[": 2",": 140 .",": 0/40"," :"," : 30"," : 30"," : 9"," : 35"," : 35"," :"," . (%): +25"," . (%): +25"," . : +5"," : +2"," , : +2"," , : +2"," , : +2"," : +20"," (HP): +33"," : [13]"]},{"Recipes":[{"Price":140,"PlaceName":"shop_sun","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater27","Count":1},{"Category":"mater","Item":"mater2","Count":4}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":40,"Binding":0,"IsGift":false,"Name":"belt38_du2","Caption":" ","Description":[" : 1",": 140 .",": 0/50"," :"," : 30"," : 30"," : 9"," : 35"," : 35"," :"," . (%): +35"," : +10"," : +25"," : -10"," (HP): +33"," : +4"," : 19-68 (18+d50)"," : [13]"]},{"Recipes":[{"Price":200,"PlaceName":"shop_sun","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater27","Count":2}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":20,"Binding":0,"IsGift":false,"Name":"clip82_du2","Caption":" ","Description":[": 1",": 200 .",": 0/50"," :"," : 30"," : 30"," : 9"," : 35"," : 35"," :"," . (%): +35"," . (%): +30"," . : +10"," : +1"," , : +1"," , : +1"," , : +1"," : +30"," : +10"," : -10"," : +6"," : [13]"]},{"Recipes":[{"Price":240,"PlaceName":"shop_sun","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater27","Count":2}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":20,"Binding":0,"IsGift":false,"Name":"amulet83_du2","Caption":" ","Description":[": 1",": 240 .",": 0/50"," :"," : 30"," : 30"," : 9"," : 35"," : 35"," :"," . (%): +90"," . (%): +10"," : +20"," : +10"," : -10"," (HP): +66"," : +8"," : [13]"]},{"Recipes":[{"Price":100,"PlaceName":"shop_sun","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater27","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":20,"H":20,"Binding":0,"IsGift":false,"Name":"ring119_du2","Caption":" ","Description":[": 1",": 100 .",": 0/50"," :"," : 30"," : 30"," : 9"," : 35"," : 35"," :"," . (%): +40"," . (%): +25"," . (%): +3"," (HP): +33"," : +3"," : [13]"]},{"Recipes":[{"Price":250,"PlaceName":"shop_sun","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater27","Count":2},{"Category":"mater","Item":"mater2","Count":5}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"hammer72_du2","Caption":" ","Description":[": 30",": 250 .",": 0/100"," :"," : 30"," : 30"," : 9"," , : 5"," : 40"," : 40"," :"," : -1"," : +6"," :"," : 22 - 34"," . (%): +40"," . : +15",":"," : "," : "," : [13]"]},{"Recipes":[{"Price":220,"PlaceName":"shop_sun","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater27","Count":1},{"Category":"mater","Item":"mater2","Count":11},{"Category":"mater","Item":"mater16","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"sword105_du2","Caption":" ","Description":[": 17",": 220 .",": 0/50"," :"," : 30"," : 30"," : 9"," : 5"," : 35"," : 35"," : "," :"," . (%): +55"," . (%): +3"," : +1"," : +1"," :"," : 12 - 34"," . (%): +30"," : +1"," . (%): +10",":"," : "," : "," : "," : "," : [13]"]},{"Recipes":[{"Price":260,"PlaceName":"shop_sun","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater2","Count":8},{"Category":"mater","Item":"mater16","Count":9}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"axe90_du2","Caption":" ","Description":[": 15",": 260 .",": 0/50"," :"," : 35"," : 30"," : 9"," , : 5"," : 35"," : 35"," :"," . (%): +50"," . (%): +55"," : +4"," :"," : 16 - 35"," , : +2",":"," : "," : "," : [13]"]},{"Recipes":[{"Price":220,"PlaceName":"shop_sun","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater27","Count":1},{"Category":"mater","Item":"mater2","Count":11},{"Category":"mater","Item":"mater16","Count":12}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"knife74_du2","Caption":" ","Description":[": 8",": 220 .",": 0/50"," :"," : 35"," : 35"," : 9"," , : 5"," : 35"," : 35"," :"," . (%): +15"," . (%): +15"," . (%): +10"," . : +10"," , : +1"," : +2"," :"," : 6 - 17"," . (%): +65"," ",":"," : "," : "," : [13]"]},{"Recipes":[{"Price":190,"PlaceName":"shop_sun","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater27","Count":1},{"Category":"mater","Item":"mater16","Count":3}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"shield85_du2","Caption":" ","Description":[": 15",": 190 .",": 0/50"," :"," : 30"," : 30"," : 9"," : 35"," : 35"," :"," . (%): +60"," . (%): +6"," : +10"," (HP): +45"," : 10-36 (9+d27)"," : 10-36 (9+d27)"," : 10-36 (9+d27)"," : 10-36 (9+d27)"," : [13]"]}],"Name":"set4","Caption":"o po oa","Description":[]},{"ImageBasePath":"http://img.combats.ru/i/items/","NewLineToBR":true,"Items":[{"Recipes":[{"Price":215,"PlaceName":"shop_moon","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater17","Count":5},{"Category":"mater","Item":"mater1","Count":6}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"helmet83","Caption":" ","Description":[": 5",": 215 .",": 0/50"," :"," : 40"," : 9"," : 50"," :"," : +6"," : +1"," : +30"," (HP): +60"," : +120"," : 8-8"]},{"Recipes":[{"Price":380,"PlaceName":"shop_moon","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater24","Count":1},{"Category":"mater","Item":"mater1","Count":8}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":80,"Binding":0,"IsGift":false,"Name":"roba51","Caption":" ","Description":[": 5",": 380 .",": 0/50"," :"," : 40"," : 9"," : 50"," :"," . (%): +25"," : +3"," . : +20"," (HP): +42"," : +120"," : 5-16 (4+d12)"," :"," : 100"]},{"Recipes":[{"Price":150,"PlaceName":"shop_moon","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater26","Count":1},{"Category":"mater","Item":"mater1","Count":5}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":80,"Binding":0,"IsGift":false,"Name":"leg15","Caption":" ","Description":[": 5",": 150 .",": 0/50"," :"," : 40"," : 9"," : 50"," :"," : +2"," . : +3"," (HP): +24"," : +90"," : 5-16 (4+d12)"," : 5-16 (4+d12)"," :"," : 10"]},{"Recipes":[{"Price":360,"PlaceName":"shop_moon","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater24","Count":1},{"Category":"mater","Item":"mater17","Count":2}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"staff52","Caption":" ","Description":[": 5",": 360 .",": 0/50"," : 70%"," :"," : 50"," : 9"," : 3"," : 80"," : 50"," :"," : +2"," . : +15"," : +6"," : +1"," : +50"," (HP): +60"," (%): +3"," :"," : 1 - 20"," ",":"," : "]},{"Recipes":[{"Price":160,"PlaceName":"shop_moon","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater26","Count":1},{"Category":"mater","Item":"mater1","Count":6}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":40,"Binding":0,"IsGift":false,"Name":"naruchi84","Caption":" ","Description":[": 1 ",": 160 .",": 0/50"," :"," : 40"," : 9"," : 50"," :"," : +5 "," . (%): +2 "," : +2 "," : +2 "," : +5 "," (HP): +18 "]},{"Recipes":[{"Price":140,"PlaceName":"shop_moon","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater26","Count":1},{"Category":"mater","Item":"mater1","Count":3}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":40,"Binding":0,"IsGift":false,"Name":"braslet27","Caption":" P","Description":[": 2",": 140 .",": 0/50"," :"," : 40"," : 9"," : 50"," :"," : +2 "," : +5 "," (HP): +60"," : +120 "]},{"Recipes":[{"Price":140,"PlaceName":"shop_moon","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater26","Count":1},{"Category":"mater","Item":"mater1","Count":4}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":40,"Binding":0,"IsGift":false,"Name":"belt39","Caption":" ","Description":[": 1",": 140 .",": 0/50"," :"," : 40"," : 9"," : 10"," : 50"," :"," : +2 "," : +2"," : +130 "," : 5-16 (4+d12) "]},{"Recipes":[{"Price":150,"PlaceName":"shop_moon","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater26","Count":1},{"Category":"mater","Item":"mater1","Count":5}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":40,"Binding":0,"IsGift":false,"Name":"boots25","Caption":" ","Description":[": 5",": 150 .",": 0/50"," :"," : 40"," : 9"," : 50"," :"," : +1"," . : +5"," (HP): +24"," : +60"," : 5-16 (4+d12)"," :"," : 50"]}],"Name":"set5","Caption":"oe Peoc","Description":[]},{"ImageBasePath":"http://img.combats.ru/i/items/","NewLineToBR":true,"Items":[{"Recipes":[{"Price":150,"PlaceName":"shop_cap","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater30","Count":1},{"Category":"mater","Item":"mater3","Count":5}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":80,"Binding":0,"IsGift":false,"Name":"leg16","Caption":" ","Description":[": 10 ",": 150 .",": 0/50"," :"," : 15"," : 45"," : 9"," : 45"," : 35"," :"," . (%): +25"," . (%): +25"," . (%): +25"," (HP): +33"," : +2"," : 10-36 (9+d27)"," : 10-36 (9+d27)"," :"," : +30"," : [12]"]},{"Recipes":[{"Price":150,"PlaceName":"shop_cap","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater30","Count":1},{"Category":"mater","Item":"mater3","Count":5}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":40,"Binding":0,"IsGift":false,"Name":"boots27","Caption":" ","Description":[": 10",": 150 .",": 0/50"," :"," : 15"," : 45"," : 9"," : 45"," : 35"," :"," . (%): +50"," . (%): +30"," . (%): +25"," : +25"," (HP): +45"," : +1"," : 10-36 (9+d27)"," : [12]"]},{"Recipes":[{"Price":130,"PlaceName":"shop_cap","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater30","Count":1},{"Category":"mater","Item":"mater3","Count":3}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":40,"Binding":0,"IsGift":false,"Name":"naruchi86","Caption":" ","Description":[": 1",": 130 .",": 0/30"," :"," : 15"," : 45"," : 8"," : 45"," : 35"," :"," . (%): +40"," . (%): +5"," . (%): +1"," : +3"," , : +3"," , : +3"," , : +3"," : +3"," : [12]"]},{"Recipes":[{"Price":380,"PlaceName":"shop_cap","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater22","Count":1},{"Category":"mater","Item":"mater3","Count":8}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":80,"Binding":0,"IsGift":false,"Name":"armor109","Caption":" ","Description":[": 40",": 380 .",": 0/100"," :"," : 15"," : 45"," : 9"," : 45"," : 35"," :"," . (%): +90"," . (%): +60"," . (%): +60"," . (%): +3"," : +20"," (HP): +78"," : +3"," : 18-53 (17+d36)"," :"," : +125",":"," : "," : "," : "," : "," : [12]"]},{"Recipes":[{"Price":210,"PlaceName":"shop_cap","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater16","Count":5},{"Category":"mater","Item":"mater3","Count":6}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"helmet85","Caption":" ","Description":[": 15 ",": 210 .",": 0/60"," :"," : 15"," : 45"," : 9"," : 45"," : 35"," :"," . (%): +45"," . (%): +70"," . (%): +50"," : +15"," (HP): +42"," : 10-36 (9+d27)"," :"," : +50"," : [12]"]},{"Recipes":[{"Price":140,"PlaceName":"shop_cap","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater30","Count":1},{"Category":"mater","Item":"mater3","Count":3}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":40,"Binding":0,"IsGift":false,"Name":"braslet32","Caption":" ","Description":[": 2",": 140 .",": 0/40"," :"," : 15"," : 45"," : 9"," : 45"," : 35"," :"," . (%): +20"," . (%): +40"," . (%): +35"," : +1"," , : +1"," , : +1"," , : +1"," : +25"," (HP): +18"," : +3"," : [12]"]},{"Recipes":[{"Price":140,"PlaceName":"shop_cap","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater30","Count":1},{"Category":"mater","Item":"mater3","Count":4}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":40,"Binding":0,"IsGift":false,"Name":"belt44","Caption":" ","Description":[": 1",": 140 .",": 0/50"," :"," : 15"," : 45"," : 9"," : 45"," : 35"," :"," . (%): +55"," : +15"," : +25"," (HP): +30"," : 19-63 (18+d45)"," : [12]"]},{"Recipes":[{"Price":200,"PlaceName":"shop_cap","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater30","Count":2}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":20,"Binding":0,"IsGift":false,"Name":"clip90","Caption":" ","Description":[": 1",": 200 .",": 0/50"," :"," : 15"," : 45"," : 9"," : 45"," : 35"," :"," . (%): +90"," . (%): +90"," : +1"," , : +1"," , : +1"," , : +1"," : +25"," (HP): +24"," : +4"," : [12]"]},{"Recipes":[{"Price":240,"PlaceName":"shop_cap","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater30","Count":2}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":20,"Binding":0,"IsGift":false,"Name":"amulet98","Caption":" ","Description":[": 1",": 240 .",": 0/50"," :"," : 15"," : 45"," : 9"," : 45"," : 35"," :"," . (%): +50"," . (%): +60"," . (%): +4"," : +30"," : +50"," (HP): +72"," : +1"," : [12]"]},{"Recipes":[{"Price":100,"PlaceName":"shop_cap","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater30","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":20,"H":20,"Binding":0,"IsGift":false,"Name":"ring129","Caption":" ","Description":[": 1",": 100 .",": 0/50"," :"," : 15"," : 45"," : 9"," : 45"," : 35"," :"," . (%): +10"," . (%): +75"," . (%): +50"," . (%): +1"," (HP): +18"," : [12]"]},{"Recipes":[{"Price":250,"PlaceName":"shop_cap","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater30","Count":2},{"Category":"mater","Item":"mater3","Count":5}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"hammer74","Caption":" ","Description":[": 25",": 250 .",": 0/50"," :"," : 15"," : 45"," : 9"," , : 5"," : 45"," : 35"," :"," , : +1"," :"," : 22 - 34"," . (%): +100"," . (%): +30"," . : +15",":"," : "," : "," : "," : [12]"]},{"Recipes":[{"Price":220,"PlaceName":"shop_cap","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater30","Count":1},{"Category":"mater","Item":"mater3","Count":12}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"sword105","Caption":" ","Description":[": 17",": 220 .",": 0/50"," :"," : 15"," : 50"," : 9"," : 5"," : 30"," : 30"," :"," : +2"," :"," : 11 - 33"," . (%): +100"," . (%): +100"," : +1",":"," : "," : "," : "," : "," : [12]"]},{"Recipes":[{"Price":260,"PlaceName":"shop_cap","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater3","Count":8},{"Category":"mater","Item":"mater16","Count":9}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"axe90","Caption":" ","Description":[": 20",": 260 .",": 0/50"," :"," : 15"," : 45"," : 9"," , : 5"," : 45"," : 35"," :"," : +2"," : +5"," :"," : 15 - 35"," . (%): +35"," . (%): +35"," . : +10"," , : +2"," ",":"," : "," : "," : "," : [12]"]},{"Recipes":[{"Price":220,"PlaceName":"shop_cap","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater30","Count":1},{"Category":"mater","Item":"mater3","Count":12}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"knife77","Caption":" ","Description":[": 10",": 220 .",": 0/50"," :"," : 15"," : 45"," : 9"," : 5"," : 45"," : 35"," :"," . (%): +7"," : +5"," :"," : 6 - 17"," . (%): +75"," . (%): +90"," : +2"," . (%): +25"," ",":"," : "," : "," : "," : "," : [12]"]},{"Recipes":[{"Price":190,"PlaceName":"shop_cap","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater30","Count":1},{"Category":"mater","Item":"mater16","Count":3}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"shield86","Caption":" ","Description":[": 20",": 190 .",": 0/50"," :"," : 15"," : 45"," : 9"," : 45"," : 35"," :"," . (%): +30"," . (%): +30"," . (%): +10"," (HP): +36"," : 10-36 (9+d27)"," : 10-36 (9+d27)"," : 10-36 (9+d27)"," : 10-36 (9+d27)"," : [12]"]}],"Name":"set6","Caption":"oe Copoa","Description":[]},{"ImageBasePath":"http://img.combats.ru/i/items/","NewLineToBR":true,"Items":[{"Recipes":[{"Price":150,"PlaceName":"shop_dev","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater29","Count":1},{"Category":"mater","Item":"mater10","Count":5}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":80,"Binding":0,"IsGift":false,"Name":"leg17","Caption":" ","Description":[": 10",": 150 .",": 0/50"," :"," : 50"," : 40"," : 9"," : 30"," : 25"," :"," . (%): +20"," . (%): +20"," . (%): +20"," : +2"," : +2"," : +20"," : 10-36 (9+d27)"," : 10-36 (9+d27)"," :"," : +25"," : [12]"]},{"Recipes":[{"Price":150,"PlaceName":"shop_dev","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater29","Count":1},{"Category":"mater","Item":"mater10","Count":5}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":40,"Binding":0,"IsGift":false,"Name":"boots26","Caption":" ","Description":[": 10",": 150 .",": 0/50"," :"," : 50"," : 40"," : 9"," : 30"," : 25"," :"," . (%): +20"," . (%): +30"," . (%): +50"," : +4"," : +20"," : +20"," : 9-35 (8+d27)"," : [12]"]},{"Recipes":[{"Price":130,"PlaceName":"shop_dev","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater29","Count":1},{"Category":"mater","Item":"mater10","Count":3}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":40,"Binding":0,"IsGift":false,"Name":"naruchi85","Caption":" ","Description":[": 1",": 130 .",": 0/30"," :"," : 50"," : 40"," : 8"," : 30"," : 25"," :"," . (%): +30"," . (%): +25"," : +2"," : +2"," : +3"," , : +3"," , : +3"," , : +3"," : [12]"]},{"Recipes":[{"Price":380,"PlaceName":"shop_dev","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater21","Count":1},{"Category":"mater","Item":"mater10","Count":8}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":80,"Binding":0,"IsGift":false,"Name":"armor108","Caption":" ","Description":[": 40 ",": 380 .",": 0/100"," :"," : 50"," : 40"," : 9"," : 30"," : 25"," :"," . (%): +55"," . (%): +50"," . (%): +60"," : +7"," : +3"," : +65"," (HP): +54"," : +2"," : 12-44 (11+d33)"," :"," : +75"," : [12]"]},{"Recipes":[{"Price":210,"PlaceName":"shop_dev","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater14","Count":5},{"Category":"mater","Item":"mater10","Count":6}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"helmet84","Caption":" ","Description":[": 15",": 210 .",": 0/60"," :"," : 50"," : 40"," : 9"," : 30"," : 25"," :"," . (%): +30"," . (%): +45"," . (%): +20"," : +2"," : +50"," (HP): +24"," : 10-36 (9+d27)"," :"," : +50"," : [12]"]},{"Recipes":[{"Price":140,"PlaceName":"shop_dev","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater29","Count":1},{"Category":"mater","Item":"mater10","Count":3}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":40,"Binding":0,"IsGift":false,"Name":"braslet31","Caption":" ","Description":[": 2",": 140 .",": 0/40"," :"," : 50"," : 40"," : 9"," : 30"," : 25"," :"," . (%): +15"," . (%): +50"," . (%): +15"," : +2"," : +2"," : +1"," , : +1"," , : +1"," , : +1"," (HP): +12"," : [12]"]},{"Recipes":[{"Price":140,"PlaceName":"shop_dev","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater29","Count":1},{"Category":"mater","Item":"mater10","Count":4}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":40,"Binding":0,"IsGift":false,"Name":"belt43","Caption":" ","Description":[": 2",": 140 .",": 0/40"," :"," : 50"," : 40"," : 9"," : 30"," : 25"," :"," . (%): +20"," . (%): +15"," : +30"," (HP): +12"," : 19-63 (18+d45)"," : [12]"]},{"Recipes":[{"Price":200,"PlaceName":"shop_dev","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater29","Count":2}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":20,"Binding":0,"IsGift":false,"Name":"clip89","Caption":" ","Description":[": 1",": 200 .",": 0/50"," :"," : 50"," : 40"," : 9"," : 30"," : 25"," :"," . (%): +95"," . (%): +100"," . (%): +10"," : +5"," : +2"," : +1"," , : +1"," , : +1"," , : +1"," : [12]"]},{"Recipes":[{"Price":240,"PlaceName":"shop_dev","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater29","Count":2}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":20,"Binding":0,"IsGift":false,"Name":"amulet97","Caption":" ","Description":[": 1",": 240 .",": 0/50"," :"," : 50"," : 40"," : 9"," : 30"," : 25"," :"," . (%): +40"," . (%): +85"," : +4"," : +50"," : +50"," (HP): +45"," : [12]"]},{"Recipes":[{"Price":100,"PlaceName":"shop_dev","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater29","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":20,"H":20,"Binding":0,"IsGift":false,"Name":"ring128","Caption":" ","Description":[": 1",": 100 .",": 0/50"," :"," : 50"," : 40"," : 9"," : 30"," : 25"," :"," . (%): +10"," . (%): +75"," . (%): +35"," : +2"," (HP): +18"," : +1"," : [12]"]},{"Recipes":[{"Price":370,"PlaceName":"shop_dev","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater14","Count":8},{"Category":"mater","Item":"mater10","Count":9}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"sword100","Caption":" ","Description":[": 25",": 330 . ",": 0/50 "," : "," : 50 "," : 40 "," : 9 "," , : 5 "," : 30 "," : 25 "," : "," : +6 "," : "," : 17 - 51 "," . (%): +180 "," "," : + ",": "," : "," : "," : "," : [0/12] ",": "," "]},{"Recipes":[{"Price":220,"PlaceName":"shop_dev","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater29","Count":1},{"Category":"mater","Item":"mater10","Count":12}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"knife76","Caption":" ","Description":[": 10",": 220 .",": 0/50"," :"," : 50"," : 40"," : 9"," , : 5"," : 30"," : 25"," :"," . (%): +80"," : +4"," : +1"," :"," : 5 - 17"," . (%): +50"," . (%): +70"," , : +2"," . (%): +70"," ",":"," : "," : "," : [12]"]},{"Recipes":[{"Price":190,"PlaceName":"shop_dev","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater14","Count":3},{"Category":"mater","Item":"mater29","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"shield85","Caption":" ","Description":[": 15",": 190 .",": 0/50"," :"," : 50"," : 40"," : 9"," : 30"," : 25"," :"," . (%): +30"," . (%): +75"," . (%): +75"," : +10"," (HP): +36"," : 6-26 (5+d21)"," : 6-26 (5+d21)"," : 6-26 (5+d21)"," : 6-26 (5+d21)",":"," : "," : "," : "," : "," : [12]"]}],"Name":"set7","Caption":"oe ","Description":[]},{"ImageBasePath":"http://img.combats.ru/i/items/","NewLineToBR":true,"Items":[{"Recipes":[{"Price":300,"PlaceName":"shop_moon","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater27","Count":3},{"Category":"mater","Item":"mater7","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":20,"Binding":0,"IsGift":false,"Name":"clip83","Caption":" ","Description":[": 1",": 300 .",": 0/50"," :"," : 50"," : 9"," : 7"," : 50"," :"," . (%): +25"," . : +35"," : +10"," : +2"," (HP): +48"," (%): +5"," : [5]"]},{"Recipes":[{"Price":240,"PlaceName":"shop_moon","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater28","Count":2},{"Category":"mater","Item":"mater7","Count":4}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":20,"Binding":0,"IsGift":false,"Name":"amulet86","Caption":" ","Description":[": 1",": 240 .",": 0/50"," :"," : 50"," : 9"," : 7"," : 50"," :"," . (%): +40"," . : +5"," : +5"," : +30"," : +60"," : +120"," : [5]"]},{"Recipes":[{"Price":150,"PlaceName":"shop_moon","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater28","Count":1},{"Category":"mater","Item":"mater7","Count":5}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":20,"H":20,"Binding":0,"IsGift":false,"Name":"ring120","Caption":" ","Description":[": 1",": 150 .",": 0/50"," :"," : 50"," : 9"," : 7"," : 50"," :"," . (%): +10"," : +7"," : +2"," : +20"," : +80"," : [5]"]}],"Name":"set8","Caption":" ","Description":[]},{"ImageBasePath":"http://img.combats.ru/i/items/","NewLineToBR":true,"Items":[{"Recipes":[{"Price":300,"PlaceName":"shop_sand","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater30","Count":3},{"Category":"mater","Item":"mater8","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":20,"Binding":0,"IsGift":false,"Name":"clip84","Caption":" ","Description":[": 1",": 300 .",": 0/50"," :"," : 50"," : 9"," : 7"," : 50"," :"," . (%): +35"," . : +25"," : +10"," : +2"," (HP): +90"," (%): +5"," : [5]"]},{"Recipes":[{"Price":240,"PlaceName":"shop_sand","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater26","Count":2},{"Category":"mater","Item":"mater8","Count":4}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":20,"Binding":0,"IsGift":false,"Name":"amulet87","Caption":" ","Description":[": 1 ",": 240 .",": 0/50"," :"," : 50"," : 9"," : 7"," : 50"," :"," : +5"," : +2"," : +10"," : +35"," : +10"," (HP): +90"," : +120"," : [5]"]},{"Recipes":[{"Price":150,"PlaceName":"shop_sand","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater26","Count":1},{"Category":"mater","Item":"mater8","Count":5}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":20,"H":20,"Binding":0,"IsGift":false,"Name":"ring121","Caption":" ","Description":[": 1",": 150 ",": 0/50"," :"," : 50"," : 9"," : 7"," : 50"," :"," : +5"," : +2"," (HP): +39"," : +120"," : [5]"]}],"Name":"set9","Caption":" ","Description":[]},{"ImageBasePath":"http://img.combats.ru/i/items/","NewLineToBR":true,"Items":[{"Recipes":[{"Price":300,"PlaceName":"shop_ang","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater30","Count":3},{"Category":"mater","Item":"mater3","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":20,"Binding":0,"IsGift":false,"Name":"clip85","Caption":" ","Description":[": 1",": 300 .",": 0/50"," :"," : 50"," : 9"," : 7"," : 50"," :"," . (%): +40"," . : +15"," : +10"," : +2"," (HP): +33"," (%): +10"," : [5]"]},{"Recipes":[{"Price":240,"PlaceName":"shop_ang","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater26","Count":2},{"Category":"mater","Item":"mater3","Count":4}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":20,"Binding":0,"IsGift":false,"Name":"amulet88","Caption":" ","Description":[": 1",": 240 .",": 0/50"," :"," : 50"," : 9"," : 7"," : 50"," :"," . (%): +45"," . : +5"," : +7"," : +25"," : +30"," (HP): +40"," : +120"," : [5]"]},{"Recipes":[{"Price":150,"PlaceName":"shop_ang","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater26","Count":1},{"Category":"mater","Item":"mater3","Count":5}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":20,"H":20,"Binding":0,"IsGift":false,"Name":"ring122","Caption":" ","Description":[": 1",": 150 .",": 0/50"," :"," : 50"," : 9"," : 7"," : 50"," :"," : +9"," : +2"," : +90"," (%): +1"," : [5]"]}],"Name":"set10","Caption":" ","Description":[]},{"ImageBasePath":"http://img.combats.ru/i/items/","NewLineToBR":true,"Items":[{"Recipes":[{"Price":300,"PlaceName":"shop_dev","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater27","Count":3},{"Category":"mater","Item":"mater4","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":20,"Binding":0,"IsGift":false,"Name":"clip82","Caption":" ","Description":[": 1",": 300 .",": 0/50"," :"," : 50"," : 9"," : 7"," : 50"," :"," . (%): +70"," . : +20"," : +7"," : +2"," : +35"," (HP): +42"," (%): +5"," : [5]"]},{"Recipes":[{"Price":240,"PlaceName":"shop_dev","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater28","Count":2},{"Category":"mater","Item":"mater4","Count":4}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":20,"Binding":0,"IsGift":false,"Name":"amulet85","Caption":" ","Description":[": 1",": 240 .",": 0/50"," :"," : 50"," : 9"," : 7"," : 50"," :"," . (%): +35"," . : +5"," : +5"," : +2"," : +30"," : +90"," : +10"," : [5]"]},{"Recipes":[{"Price":150,"PlaceName":"shop_dev","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater28","Count":1},{"Category":"mater","Item":"mater4","Count":5}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":20,"H":20,"Binding":0,"IsGift":false,"Name":"ring119","Caption":" ","Description":[": 1",": 150 .",": 0/50"," :"," : 50"," : 9"," : 7"," : 50"," :"," : +7"," : +2"," : +30"," : +25"," : +20"," : [5]"]}],"Name":"set11","Caption":" ","Description":[]},{"ImageBasePath":"http://img.combats.ru/i/items/","NewLineToBR":true,"Items":[{"Recipes":[{"Price":200,"PlaceName":"shop_dev","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater28","Count":2}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":20,"Binding":1,"IsGift":false,"Name":"clip91","Caption":" ","Description":[": 1 ",": 200 . ",": 0/50 "," : "," : 15 "," : 15 "," : 9 "," : 50 "," : 50 "," : "," . (%): +70 "," . (%): +70 "," , : +1 "," (HP): +55 "," : +10 "]},{"Recipes":[{"Price":100,"PlaceName":"shop_dev","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater28","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":20,"H":20,"Binding":1,"IsGift":false,"Name":"ring135","Caption":" ","Description":[": 1 ",": 100 . ",": 0/50 "," : "," : 15 "," : 15 "," : 9 "," : 50 "," : 50 "," : "," . (%): +40 "," . (%): +40 "," : +7 "]}],"Name":"set12","Caption":" ","Description":[]},{"ImageBasePath":"http://img.combats.ru/i/items/","NewLineToBR":true,"Items":[{"Recipes":[{"Price":300,"PlaceName":"shop_moon","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater21","Count":1},{"Category":"mater","Item":"mater29","Count":3},{"Category":"mater","Item":"mater4","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"staff53","Caption":" ","Description":[": 5",": 300 . ",": 0/50 "," : "," : 75 "," : 9 "," : 3 "," : 50 "," : "," . (%): +100 "," : +5 "," : +2 "," : +40 "," : +40 "," (HP): +150 "," : "," : 1 - 20 "," ",": "," : "," : "," : "," : "]}],"Name":"staff53","Caption":" ","Description":[]},{"ImageBasePath":"http://img.combats.ru/i/items/","NewLineToBR":true,"Items":[{"Recipes":[{"Price":260,"PlaceName":"shop_dev","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater31","Count":1},{"Category":"mater","Item":"mater5","Count":5},{"Category":"mater","Item":"mater30","Count":3}],"Name":"","Caption":"","Description":[]},{"Price":260,"PlaceName":"shop_dem","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater31","Count":1},{"Category":"mater","Item":"mater5","Count":5},{"Category":"mater","Item":"mater30","Count":3}],"Name":"","Caption":"","Description":[]},{"Price":260,"PlaceName":"shop_ang","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater31","Count":1},{"Category":"mater","Item":"mater5","Count":5},{"Category":"mater","Item":"mater30","Count":3}],"Name":"","Caption":"","Description":[]},{"Price":260,"PlaceName":"shop_cap","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater31","Count":1},{"Category":"mater","Item":"mater5","Count":5},{"Category":"mater","Item":"mater30","Count":3}],"Name":"","Caption":"","Description":[]},{"Price":260,"PlaceName":"shop_sand","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater31","Count":1},{"Category":"mater","Item":"mater5","Count":5},{"Category":"mater","Item":"mater30","Count":3}],"Name":"","Caption":"","Description":[]},{"Price":260,"PlaceName":"shop_sun","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater31","Count":1},{"Category":"mater","Item":"mater5","Count":5},{"Category":"mater","Item":"mater30","Count":3}],"Name":"","Caption":"","Description":[]},{"Price":260,"PlaceName":"shop_moon","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater31","Count":1},{"Category":"mater","Item":"mater5","Count":5},{"Category":"mater","Item":"mater30","Count":3}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"axe91","Caption":" ","Description":[": 20 ",": 260 . ",": 0/50 "," : "," : 25 "," : 25 "," : 9 "," , : 5 "," : 50 "," : 50 "," : "," , : +2 "," : "," : 10 - 40 "," . . (%): 20 "," . (%): 50 "," . : 15 "," : + ",": "," : "," : "," : ",": "," ... ",""," . . : 5% ."]}],"Name":"axe91","Caption":" ","Description":[]},{"ImageBasePath":"http://img.combats.ru/i/items/","NewLineToBR":true,"Items":[{"Recipes":[{"Price":220,"PlaceName":"shop_dev","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater24","Count":1},{"Category":"mater","Item":"mater13","Count":3},{"Category":"mater","Item":"mater12","Count":5}],"Name":"","Caption":"","Description":[]},{"Price":220,"PlaceName":"shop_dem","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater24","Count":1},{"Category":"mater","Item":"mater13","Count":3},{"Category":"mater","Item":"mater12","Count":5}],"Name":"","Caption":"","Description":[]},{"Price":220,"PlaceName":"shop_ang","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater24","Count":1},{"Category":"mater","Item":"mater13","Count":3},{"Category":"mater","Item":"mater12","Count":5}],"Name":"","Caption":"","Description":[]},{"Price":220,"PlaceName":"shop_cap","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater24","Count":1},{"Category":"mater","Item":"mater13","Count":3},{"Category":"mater","Item":"mater12","Count":5}],"Name":"","Caption":"","Description":[]},{"Price":220,"PlaceName":"shop_sand","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater24","Count":1},{"Category":"mater","Item":"mater13","Count":3},{"Category":"mater","Item":"mater12","Count":5}],"Name":"","Caption":"","Description":[]},{"Price":220,"PlaceName":"shop_sun","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater24","Count":1},{"Category":"mater","Item":"mater13","Count":3},{"Category":"mater","Item":"mater12","Count":5}],"Name":"","Caption":"","Description":[]},{"Price":220,"PlaceName":"shop_moon","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater24","Count":1},{"Category":"mater","Item":"mater13","Count":3},{"Category":"mater","Item":"mater12","Count":5}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"sword106","Caption":" ","Description":[": 17 ",": 220 . ",": 0/50 "," : "," : 50 "," : 25 "," : 9 "," : 5 "," : 30 "," : 25 "," : "," . (%): +20 "," . (%): +20 "," . (%): +5 "," : "," : 15 - 30 "," . : 10 "," : 2 "," : + ",": "," : "," : "," : ",": "," , ... ","",". . : 1% . "]}],"Name":"sword106","Caption":" ","Description":[]},{"ImageBasePath":"http://img.combats.ru/i/items/","NewLineToBR":true,"Items":[{"Recipes":[{"Price":30,"PlaceName":"altar_blood","Binding":4,"RecipeParts":[{"Category":"mater_shop7","Item":"mater_shop7","Count":6},{"Category":"set1","Item":"leg11","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":80,"Binding":1,"IsGift":false,"Name":"leg11_1","Caption":"oo ax p [10]","Description":["aa: 10","a: 180 p. ","ooo: 0/50 ","p ao: "," oo: 15 "," : 15 "," po: 9 "," oo: 65 "," a: 45 "," a: "," aa o a: +25 "," po (HP): +57 "," po oa: 16-55 (15+d40) "," po o: 16-55 (15+d40) ","oa pa: "," aa o poa: 55 "," a oa: o ax p [10] [0/12] "]},{"Recipes":[{"Price":0,"PlaceName":"forge_sand","Binding":4,"RecipeParts":[{"Category":"mater_knshop","Item":"mater275","Count":1},{"Category":"sp_mat","Item":"sp_mat5","Count":1},{"Category":"set1","Item":"braslet25","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"braslet25_1","Caption":" [10] ","Description":[": 2",": 168 . ",": 0/40 "," : "," : 15 "," : 15 "," : 10 "," : 65 "," : 45 "," : "," . (%): +30 "," : +2 "," : +40 "," (HP): +41 "," : +2 "," : "," : 30 "," : [10] [0/12] "]},{"Recipes":[{"Price":0,"PlaceName":"forge_sand","Binding":4,"RecipeParts":[{"Category":"mater_knshop","Item":"mater276","Count":1},{"Category":"sp_mat","Item":"sp_mat13","Count":1},{"Category":"set1","Item":"belt37","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"belt37_1","Caption":" [10]","Description":[": 2",": 168 . ",": 0/50 "," : "," : 15 "," : 15 "," : 10 "," : 65 "," : 45 "," : "," : +25 "," : +25 "," (HP): +121 "," : 21-80 (20+d60) "," : [10] [0/14] "]},{"Recipes":[{"Price":0,"PlaceName":"forge_dem","Binding":4,"RecipeParts":[{"Category":"mater_knshop","Item":"mater267","Count":1},{"Category":"sp_mat","Item":"sp_mat15","Count":1},{"Category":"set1","Item":"clip81","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":20,"Binding":1,"IsGift":false,"Name":"clip81","Caption":" [10] ","Description":[": 1 ",": 240 . ",": 0/50 "," : "," : 10 "," : 45 "," : 15 "," : 15 "," : 65 "," : "," : +1 "," : +75 "," . : +45% "," . : +45% "," : +35 "," : +20 "," : 1-33 "," : 1-33 "," : 1-33 "," : 1-33 "," : [10] [0/14] "]},{"Recipes":[{"Price":0,"PlaceName":"forge_ang2","Binding":4,"RecipeParts":[{"Category":"mater_knshop","Item":"mater262","Count":1},{"Category":"sp_mat","Item":"sp_mat7","Count":1},{"Category":"set1","Item":"amulet81","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":20,"Binding":1,"IsGift":false,"Name":"amulet81_1","Caption":" [10] ","Description":[": 1 ",": 288 . ",": 0/50 "," : "," : 15 "," : 15 "," : 10 "," : 65 "," : 45 "," : "," . (%): +45 "," . (%): +45 "," : +50 "," (HP): +118 "," : +6 "," : 1-30 (d30) "," : 1-30 (d30) "," : 1-30 (d30) "," : 1-30 (d30) "," : [10] [0/12] "]},{"Recipes":[{"Price":0,"PlaceName":"forge_ang2","Binding":4,"RecipeParts":[{"Category":"mater_knshop","Item":"mater261","Count":1},{"Category":"sp_mat","Item":"sp_mat3","Count":1},{"Category":"set1","Item":"ring117","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":20,"H":20,"Binding":1,"IsGift":false,"Name":"ring117_1","Caption":" [10] ","Description":[": 1 ",": 120 . ",": 0/60 "," : "," : 15 "," : 15 "," : 10 "," : 65 "," : 45 "," : "," . (%): +20 "," . (%): +10 "," : +25 "," (HP): +66 (33) "," : 1-15 (d15) "," : 1-15 (d15) "," : 1-15 (d15) "," : 1-15 (d15) "," : [10] [0/12] "]}],"Name":"set1_10","Caption":"o ax p [10]","Description":[]},{"ImageBasePath":"http://img.combats.ru/i/items/","NewLineToBR":true,"Items":[{"Recipes":[{"Price":30,"PlaceName":"altar_blood","Binding":4,"RecipeParts":[{"Category":"mater_shop7","Item":"mater_shop7","Count":6},{"Category":"set2","Item":"leg12","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":80,"Binding":1,"IsGift":false,"Name":"leg12_1","Caption":"oo poao [10]","Description":["aa: 10","a: 180 p. ","ooo: 0/50 ","p ao: "," oo: 15 "," : 60 "," po: 10 "," oo: 35 "," a: 35 "," a: "," . po poo apa (%): +25 "," . po pa (%): +25 "," . poo apa (%): +45 "," aa o a: +15 "," po (HP): +35 "," po oa: 11-40 (10+d30) "," po o: 11-40 (10+d30) ","oa pa: "," aa o poa: 40 "," a oa: o poao [10] [0/12] "]},{"Recipes":[{"Price":0,"PlaceName":"forge_sand","Binding":4,"RecipeParts":[{"Category":"mater_knshop","Item":"mater275","Count":1},{"Category":"sp_mat","Item":"sp_mat5","Count":1},{"Category":"set2","Item":"braslet24","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"braslet24_1","Caption":" [10]","Description":[": 2",": 167 . ",": 2 ",": 0/40 "," : "," : 10 "," : 35 "," : 15 "," : 60 "," : 35 "," : "," : +3 "," : +2 "," . : +23% "," . : +40% "," . : +25% "," : [10] [0/12] "]},{"Recipes":[{"Price":0,"PlaceName":"forge_sand","Binding":4,"RecipeParts":[{"Category":"mater_knshop","Item":"mater276","Count":1},{"Category":"sp_mat","Item":"sp_mat13","Count":1},{"Category":"set2","Item":"belt36","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"belt36_1","Caption":" [10] ","Description":[": 1 ",": 168 . ",": 0/50 "," :"," : 10 "," : 35 "," : 15 "," : 60 "," : 35 "," : "," . : +15% "," . : +20% "," : +30 "," : +25 "," : 21-70 "," : [10] [0/12] "]},{"Recipes":[{"Price":0,"PlaceName":"forge_dem","Binding":4,"RecipeParts":[{"Category":"mater_knshop","Item":"mater267","Count":1},{"Category":"sp_mat","Item":"sp_mat15","Count":1},{"Category":"set2","Item":"clip80","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":20,"Binding":1,"IsGift":false,"Name":"clip80_1","Caption":" [10] ","Description":[": 1",": 240 . ",": 0/50 "," : "," : 15 "," : 60 "," : 10 "," : 35 "," : 35 "," : "," . . (%): +30 (25) "," . (%): +45 (35) "," . (%): +100 (70) "," : +2 "," : +1 "," : +4 "," : [10] [0/12] "]},{"Recipes":[{"Price":0,"PlaceName":"forge_ang2","Binding":4,"RecipeParts":[{"Category":"mater_knshop","Item":"mater262","Count":1},{"Category":"sp_mat","Item":"sp_mat7","Count":1},{"Category":"set2","Item":"amulet80","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":20,"Binding":1,"IsGift":false,"Name":"amulet80_1","Caption":" [10] (: 1) ","Description":[": 1",": 288 . ",": 0/50 "," : "," : 15 "," : 60 "," : 10 "," : 35 "," : 35 "," : "," . (%): +80 "," . (%): +60 "," : +1 "," : +40 "," : +85 "," (HP): +62 "," : +1 "," : [10] [0/12]"]},{"Recipes":[{"Price":0,"PlaceName":"forge_ang2","Binding":4,"RecipeParts":[{"Category":"mater_knshop","Item":"mater261","Count":1},{"Category":"sp_mat","Item":"sp_mat3","Count":1},{"Category":"set2","Item":"ring116","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":20,"H":20,"Binding":1,"IsGift":false,"Name":"ring116_1","Caption":" [10] ","Description":[": 1",": 120 . ",": 0/50 "," : "," : 15 "," : 60 "," : 10 "," : 35 "," : 35 "," : "," . . (%): +13 "," . (%): +35 "," . (%): +45 "," (HP): +50 "," : [10] [0/12] "]}],"Name":"set2_10","Caption":"o poao [10]","Description":[]},{"ImageBasePath":"http://img.combats.ru/i/items/","NewLineToBR":true,"Items":[{"Recipes":[{"Price":30,"PlaceName":"altar_blood","Binding":4,"RecipeParts":[{"Category":"mater_shop7","Item":"mater_shop7","Count":6},{"Category":"set3","Item":"leg13","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":80,"Binding":1,"IsGift":false,"Name":"leg13_1","Caption":"oo aa [10] ","Description":["aa: 10 ","a: 180 p. ","ooo: 0/50 ","p ao: "," oo: 60 "," : 15 "," po: 10 "," oo: 35 "," a: 35 "," a: "," . po poo apa (%): +45 "," . pa (%): +50 "," aa o a: +30 "," po (HP): +27 "," po oa: 11-40 (10+d30) "," po o: 11-40 (10+d30) ","oa pa: "," aa o poa: 35 "," a oa: o aa [10] [0/12] "]},{"Recipes":[{"Price":0,"PlaceName":"forge_sand","Binding":4,"RecipeParts":[{"Category":"mater_knshop","Item":"mater275","Count":1},{"Category":"sp_mat","Item":"sp_mat5","Count":1},{"Category":"set3","Item":"naruchi76","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"naruchi76_1","Caption":" [10]","Description":[": 2 ",": 168 . ",": 0/30 "," : "," : 60 "," : 15 "," : 10 "," : 35 "," : 35 "," : "," . (%): +35 "," . (%): +35 "," . : +17 "," : +1 "," (HP): +26 "," : [10] [0/12]"]},{"Recipes":[{"Price":0,"PlaceName":"forge_sand","Binding":4,"RecipeParts":[{"Category":"mater_knshop","Item":"mater276","Count":1},{"Category":"sp_mat","Item":"sp_mat13","Count":1},{"Category":"set3","Item":"belt35","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"belt35_1","Caption":" [10]","Description":[": 2 ",": 168 . ",": 0/40 "," :"," : 10 "," : 35 "," : 60 "," : 15 "," : 35 "," : "," : +4 "," : +41 "," . : +55% "," . : +15% "," : +25 "," : 21-70 "," : [10] [0/12] "]},{"Recipes":[{"Price":0,"PlaceName":"forge_dem","Binding":4,"RecipeParts":[{"Category":"mater_knshop","Item":"mater267","Count":1},{"Category":"sp_mat","Item":"sp_mat15","Count":1},{"Category":"set3","Item":"clip76","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":20,"Binding":1,"IsGift":false,"Name":"clip76_1","Caption":" [10] ","Description":[": 1",": 240 . ",": 0/60 "," : "," : 10 "," : 35 "," : 60 "," : 15 "," : 35 "," : "," : +4 "," : +2 "," : +41 "," . : +35% "," . : +110% "," . : +35% "," . : +17% "," : +25 "," : [10] [0/12] "]},{"Recipes":[{"Price":0,"PlaceName":"forge_ang2","Binding":4,"RecipeParts":[{"Category":"mater_knshop","Item":"mater262","Count":1},{"Category":"sp_mat","Item":"sp_mat7","Count":1},{"Category":"set3","Item":"amulet75","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":20,"Binding":1,"IsGift":false,"Name":"amulet75_1","Caption":" [10] ","Description":[": 1",": 288 . ",": 0/50 "," : "," : 60 "," : 15 "," : 10 "," : 35 "," : 35 "," : "," . (%): +45 "," . (%): +45 "," . (%): +120 "," . (%): +20 "," : +40 "," (HP): +74 (66) "," : +4 "," : [10] [0/12] "]},{"Recipes":[{"Price":0,"PlaceName":"forge_ang2","Binding":4,"RecipeParts":[{"Category":"mater_knshop","Item":"mater261","Count":1},{"Category":"sp_mat","Item":"sp_mat3","Count":1},{"Category":"set3","Item":"ring110","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":20,"H":20,"Binding":1,"IsGift":false,"Name":"ring110_1","Caption":" [10] ","Description":[": 1",": 120 . ",": 0/40 "," : "," : 10 "," : 35 "," : 60 "," : 15 "," : 35 "," : "," : +1 "," : +30 "," . : +20% "," . : +45% "," . : +5% "," . : +5% "," : +15 "," : [10] [0/12] "]}],"Name":"set3_10","Caption":"o aa [10]","Description":[]},{"ImageBasePath":"http://img.combats.ru/i/items/","NewLineToBR":true,"Items":[{"Recipes":[{"Price":30,"PlaceName":"altar_blood","Binding":4,"RecipeParts":[{"Category":"mater_shop7","Item":"mater_shop7","Count":6},{"Category":"set4","Item":"leg14","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":80,"Binding":1,"IsGift":false,"Name":"leg14_1","Caption":"oo po oa [10] ","Description":["aa: 13","a: 180 p. ","ooo: 0/60 ","p ao: "," oo: 30 "," : 30 "," po: 10 "," oo: 45 "," a: 45 "," a: "," . po poo apa (%): +40 "," . po pa (%): +20 "," . appoa (%): +2 "," aa o a o: +15 "," aa o poa: +15 "," aa o a o: -10 "," po (HP): +45 "," po oa: 11-40 (10+d30) "," po o: 11-40 (10+d30) ","oa pa: "," aa o poa: 40 "," a oa: o po oa [10] [0/12] "]},{"Recipes":[{"Price":0,"PlaceName":"forge_sand","Binding":4,"RecipeParts":[{"Category":"mater_knshop","Item":"mater275","Count":1},{"Category":"sp_mat","Item":"sp_mat5","Count":1},{"Category":"set4","Item":"braslet26_du2","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"braslet26_du2_1","Caption":" [10] ","Description":[": 2",": 168 . ",": 0/40 "," : "," : 10 "," : 45 "," : 30 "," : 30 "," : 45 "," : "," : +2 "," : +37 "," . : +35% "," . : +35% "," . : +5% "," : +30 "," : [10] [0/12] "]},{"Recipes":[{"Price":0,"PlaceName":"forge_sand","Binding":4,"RecipeParts":[{"Category":"mater_knshop","Item":"mater276","Count":1},{"Category":"sp_mat","Item":"sp_mat13","Count":1},{"Category":"set4","Item":"belt38_du2","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"belt38_du2_1","Caption":" [10] ","Description":[": 1 ",": 168 . ",": 0/50 "," : "," : 30 "," : 30 "," : 10 "," : 45 "," : 45 "," : "," . (%): +40 "," : +20 "," : +30 "," : -10 "," (HP): +42 "," : +4 "," : 21-75 (20+d55) "," a oa: o po oa [10] [0/12] "]},{"Recipes":[{"Price":0,"PlaceName":"forge_dem","Binding":4,"RecipeParts":[{"Category":"mater_knshop","Item":"mater267","Count":1},{"Category":"sp_mat","Item":"sp_mat15","Count":1},{"Category":"set4","Item":"clip82_du2","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":20,"Binding":1,"IsGift":false,"Name":"clip82_du2_1","Caption":" [10] ","Description":[": 1",": 240 . ",": 0/50 "," : "," : 10 "," : 45 "," : 30 "," : 30 "," : 45 "," : "," : +6 "," : +1 "," . : +45% "," . : +40% "," . : +12% "," : +40 "," : +20 "," : -10 "," : [10] [0/12] "]},{"Recipes":[{"Price":0,"PlaceName":"forge_ang2","Binding":4,"RecipeParts":[{"Category":"mater_knshop","Item":"mater262","Count":1},{"Category":"sp_mat","Item":"sp_mat7","Count":1},{"Category":"set4","Item":"amulet83_du2","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":20,"Binding":1,"IsGift":false,"Name":"amulet83_du2_1","Caption":" [10] ","Description":[": 1",": 288 . ",": 0/50 "," : "," : 30 "," : 30 "," : 10 "," : 45 "," : 45 "," : "," . (%): +110 "," . (%): +12 "," : +30 "," : +20 "," : -10 "," (HP): +80 "," : +8 "," : [10] [0/12] "]},{"Recipes":[{"Price":0,"PlaceName":"forge_ang2","Binding":4,"RecipeParts":[{"Category":"mater_knshop","Item":"mater261","Count":1},{"Category":"sp_mat","Item":"sp_mat3","Count":1},{"Category":"set4","Item":"ring119_du2","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":20,"H":20,"Binding":1,"IsGift":false,"Name":"ring119_du2_1","Caption":" [10] ","Description":[": 1 ",": 120 . ",": 0/50 "," : "," : 30 "," : 30 "," : 10 "," : 45 "," : 45 "," : "," . (%): +55 "," . (%): +35 "," . (%): +3 "," (HP): +40 "," : +3 "," : [10] [0/12]"]}],"Name":"set4_10","Caption":"o po oa [10] ","Description":[]},{"ImageBasePath":"http://img.combats.ru/i/items/","NewLineToBR":true,"Items":[{"Recipes":[{"Price":30,"PlaceName":"altar_blood","Binding":4,"RecipeParts":[{"Category":"mater_shop7","Item":"mater_shop7","Count":6},{"Category":"set5","Item":"leg15","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":80,"Binding":1,"IsGift":false,"Name":"leg15_1","Caption":" [10]","Description":[": 5",": 180 . ",": 0/50 "," : "," : 50 "," : 10 "," : 60 "," : "," : +2 "," . : +5 "," (HP): +25 "," : +100 "," : 6-20 (5+d15) "," : 6-20 (5+d15) "," : "," : 15 "," : [10] [0/7] "]},{"Recipes":[{"Price":0,"PlaceName":"forge_sand","Binding":4,"RecipeParts":[{"Category":"mater_knshop","Item":"mater275","Count":1},{"Category":"sp_mat","Item":"sp_mat5","Count":1},{"Category":"set5","Item":"braslet27","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":40,"Binding":2,"IsGift":false,"Name":"braslet27_1","Caption":" [10] ","Description":[": 2",": 168 . ",": 2 ",": 0/50 "," : "," : 10 "," : 50 "," : 60 "," : "," : +2 "," : +135 "," : +77 "," : +20 "," : [10] [0/7] "]},{"Recipes":[{"Price":0,"PlaceName":"forge_sand","Binding":4,"RecipeParts":[{"Category":"mater_knshop","Item":"mater276","Count":1},{"Category":"sp_mat","Item":"sp_mat13","Count":1},{"Category":"set5","Item":"belt39","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"belt39_1","Caption":" [10]","Description":[": 1",": 168 . ",": 0/50 "," :"," : 10 "," : 10 "," : 50 "," : 60 "," : "," : +2 "," : +150 "," : +22 "," : +2% "," : 6-20 "," : [10] [0/7] "]}],"Name":"set5_10","Caption":"oe Peoc [10]","Description":[]},{"ImageBasePath":"http://img.combats.ru/i/items/","NewLineToBR":true,"Items":[{"Recipes":[{"Price":30,"PlaceName":"altar_blood","Binding":4,"RecipeParts":[{"Category":"mater_shop7","Item":"mater_shop7","Count":6},{"Category":"set6","Item":"leg16","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":80,"Binding":1,"IsGift":false,"Name":"leg16_1","Caption":"oo Copoa [10] ","Description":["acca: 10 ","ea: 180 p. ","ooeoc: 0/50 ","peec aoe: "," ooc: 15 "," : 60 "," poe: 10 "," ococ: 50 "," Ca: 35 ","ece a: "," . po pecoo apa (%): +30 "," . po epa (%): +35 "," . pecoo apa (%): +35 "," poe (HP): +43 "," Ca: +2 "," po oca: 11-40 (10+d30) "," po o: 11-40 (10+d30) ","Coca peea: "," aa o poa: 35 "," ac oea: oe Copoa [10] [0/12] "]},{"Recipes":[{"Price":0,"PlaceName":"forge_sand","Binding":4,"RecipeParts":[{"Category":"mater_knshop","Item":"mater275","Count":1},{"Category":"sp_mat","Item":"sp_mat5","Count":1},{"Category":"set6","Item":"braslet32","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"braslet32_1","Caption":" [10] ","Description":[": 2 ",": 168 . ",": 0/40 "," : "," : 15 "," : 60 "," : 10 "," : 50 "," : 35 "," : "," . (%): +30 "," . (%): +45 "," . (%): +50 "," : +1 "," : +30 "," (HP): +26 "," : +3 "," : [10] [0/12] "]},{"Recipes":[{"Price":0,"PlaceName":"forge_sand","Binding":4,"RecipeParts":[{"Category":"mater_knshop","Item":"mater276","Count":1},{"Category":"sp_mat","Item":"sp_mat13","Count":1},{"Category":"set6","Item":"belt44","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"belt44_1","Caption":" [10] ","Description":[": 1 ",": 168 . ",": 0/50 "," : "," : 15 "," : 60 "," : 10 "," : 50 "," : 35 "," : "," . (%):+65 "," : +20 "," : +30 "," (HP): +39 "," : 21-70 (20+d50) "," : [10] [0/12] "]},{"Recipes":[{"Price":0,"PlaceName":"forge_dem","Binding":4,"RecipeParts":[{"Category":"mater_knshop","Item":"mater267","Count":1},{"Category":"sp_mat","Item":"sp_mat15","Count":1},{"Category":"set6","Item":"clip90","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":20,"Binding":1,"IsGift":false,"Name":"clip90_1","Caption":" [10] ","Description":[": 1 ",": 240 . ",": 0/50 "," : "," : 15 "," : 60 "," : 10 "," : 50 "," : 35 "," : "," . (%): +100 "," . (%): +100 "," : +1 "," : +35 "," (HP): +48 "," : +4 "," : [10] [0/14] "]},{"Recipes":[{"Price":0,"PlaceName":"forge_ang2","Binding":4,"RecipeParts":[{"Category":"mater_knshop","Item":"mater262","Count":1},{"Category":"sp_mat","Item":"sp_mat7","Count":1},{"Category":"set6","Item":"amulet98","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":20,"Binding":1,"IsGift":false,"Name":"amulet98_1","Caption":" [10] ","Description":[": 1",": 288 . ",": 0/50 "," : "," : 15 "," : 60 "," : 10 "," : 50 "," : 35 "," : "," . (%): +60 "," . (%): +70 "," . (%): +5 "," : +40 "," : +60 "," (HP): +84 "," : +1 "," : [10] [0/12] "]},{"Recipes":[{"Price":0,"PlaceName":"forge_ang2","Binding":4,"RecipeParts":[{"Category":"mater_knshop","Item":"mater261","Count":1},{"Category":"sp_mat","Item":"sp_mat3","Count":1},{"Category":"set6","Item":"ring129","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":20,"H":20,"Binding":1,"IsGift":false,"Name":"ring129_1","Caption":" [10]","Description":[": 1 ",": 120 . ",": 0/50 "," : "," : 15 "," : 60 "," : 10 "," : 50 "," : 35 "," : "," . (%): +15 "," . (%): +80 "," . (%): +60 "," . (%): +1 "," (HP): +31 "," : [10] [0/12] "]}],"Name":"set6_10","Caption":"oe Copoa [10]","Description":[]},{"ImageBasePath":"http://img.combats.ru/i/items/","NewLineToBR":true,"Items":[{"Recipes":[{"Price":30,"PlaceName":"altar_blood","Binding":4,"RecipeParts":[{"Category":"mater_shop7","Item":"mater_shop7","Count":6},{"Category":"set7","Item":"leg17","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":80,"Binding":1,"IsGift":false,"Name":"leg17_1","Caption":"oo oe [10] ","Description":["acca: 10 ","ea: 180 p. ","peec pee: oo oe, [Coc Pecpca]x6 ","ooeoc: 0/50 ","peec aoe: "," ooc: 60 "," : 45 "," poe: 10 "," ococ: 35 "," Ca: 25 ","ece a: "," . po pecoo apa (%): +25 "," . pecoo apa (%): +30 "," . epa (%): +30 "," ooc: +2 "," : +2 "," aa o a: +25 "," po oca: 11-40 (10+d30) "," po o: 11-40 (10+d30) ","Coca peea: "," aa o poa: 30 "," ac oea: oe oe [10] [0/12] "]},{"Recipes":[{"Price":0,"PlaceName":"forge_sand","Binding":4,"RecipeParts":[{"Category":"mater_knshop","Item":"mater275","Count":1},{"Category":"sp_mat","Item":"sp_mat5","Count":1},{"Category":"set7","Item":"braslet31","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"braslet31_1","Caption":" [10] ","Description":[": 2",": 168 . ",": 0/40 "," : "," : 60 "," : 45 "," : 10 "," : 35 "," : 25 "," : "," . (%): +25 "," . (%): +65 "," . (%): +17 "," : +2 "," : +2 "," : +1 "," (HP): +24 "," : [0/12] "]},{"Recipes":[{"Price":0,"PlaceName":"forge_sand","Binding":4,"RecipeParts":[{"Category":"mater_knshop","Item":"mater276","Count":1},{"Category":"sp_mat","Item":"sp_mat13","Count":1},{"Category":"set7","Item":"belt43","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"belt43_1","Caption":" [10] ","Description":[": 1",": 168 . ",": 0/40 "," : "," : 10 "," : 25 "," : 60 "," : 45 "," : 35 "," : "," (HP): +20 "," . (%): +30% "," . (%): +17% "," : +35 "," : 21-70 "," : [10] [0/12] "]},{"Recipes":[{"Price":0,"PlaceName":"forge_dem","Binding":4,"RecipeParts":[{"Category":"mater_knshop","Item":"mater267","Count":1},{"Category":"sp_mat","Item":"sp_mat15","Count":1},{"Category":"set7","Item":"clip89","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":20,"Binding":1,"IsGift":false,"Name":"clip89_1","Caption":" [10] ","Description":[": 1",": 240 . ",": 0/50 "," : "," : 10 "," : 25 "," : 60 "," : 45 "," : 35 "," : "," : +5 "," : +2 "," : +1 "," : +28 "," . : +110% "," . : +120% "," . : +12% "," : [10] [0/12] "]},{"Recipes":[{"Price":0,"PlaceName":"forge_ang2","Binding":4,"RecipeParts":[{"Category":"mater_knshop","Item":"mater262","Count":1},{"Category":"sp_mat","Item":"sp_mat7","Count":1},{"Category":"set7","Item":"amulet97","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":60,"H":20,"Binding":1,"IsGift":false,"Name":"amulet97_1","Caption":" [10] ","Description":[": 1 ",": 288 . ",": 0/50 "," : "," : 60 "," : 45 "," : 10 "," : 35 "," : 25 "," : "," . (%): +50 "," . (%): +110 "," : +4 "," : +60 "," : +60 "," (HP): +61 "," : [10] [0/12] "]},{"Recipes":[{"Price":0,"PlaceName":"forge_ang2","Binding":4,"RecipeParts":[{"Category":"mater_knshop","Item":"mater261","Count":1},{"Category":"sp_mat","Item":"sp_mat3","Count":1},{"Category":"set7","Item":"ring128","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":20,"H":20,"Binding":1,"IsGift":false,"Name":"ring128_1","Caption":" [10]","Description":[": 1 ",": 120 . ",": 0/50 "," : "," : 60 "," : 45 "," : 10 "," : 35 "," : 25 "," : "," . (%): +15 "," . (%): +85 "," . (%): +45 "," : +2 "," (HP): +28 "," : +1 "," : [10] [0/12] "]}],"Name":"set7_10","Caption":"oe oe [10]","Description":[]},{"ImageBasePath":"http://img.combats.ru/i/items/","NewLineToBR":true,"Items":[{"Recipes":[{"Price":20,"PlaceName":"bookshop","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater21","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_6","Caption":" ()","Description":[": 1",": 20 . ",": 0/1"," :"," : 7"," : 25",": 1 .",":"," , ."," : "]},{"Recipes":[{"Price":20,"PlaceName":"bookshop","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater31","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_7","Caption":" ()","Description":[": 1",": 20 . ",": 0/1"," :"," : 7"," : 25",": 1 .",":"," , ."," : "]},{"Recipes":[{"Price":20,"PlaceName":"bookshop","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater28","Count":3}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_8","Caption":" () ","Description":[": 1",": 20 . ",": 0/1"," :"," : 25"," : 7",": 1 .",":"," , ."," : "]},{"Recipes":[{"Price":20,"PlaceName":"bookshop","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater22","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_9","Caption":" () ","Description":[": 1",": 20 . ",": 0/1"," :"," : 25"," : 7",": 1 .",":"," ."," : "]},{"Recipes":[{"Price":20,"PlaceName":"bookshop","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater30","Count":3}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_10","Caption":" ()","Description":[": 1",": 20 . ",": 0/1"," :"," : 7"," : 25",": 1 .",":"," , , ."," : "]},{"Recipes":[{"Price":20,"PlaceName":"bookshop","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater27","Count":3}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_spell5","Caption":" () ","Description":[": 1",": 20 .",": 0/1"," :"," : 25"," : 7"," : 4",": 1 .",":","... - , "," : "]},{"Recipes":[{"Price":20,"PlaceName":"bookshop","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater22","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_spell2","Caption":" ()","Description":[": 1",": 20 .",": 0/1"," :"," : 25"," : 7"," : 4",": 1 .",":"," ? 10% - ?"," ! "," : "]},{"Recipes":[{"Price":20,"PlaceName":"bookshop","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater24","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_spell3","Caption":" ()","Description":[": 1",": 20 .",": 0/1"," :"," : 25"," : 7"," : 4",": 1 .",":"," : ."," : "]},{"Recipes":[{"Price":20,"PlaceName":"bookshop","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater26","Count":3}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_spell7","Caption":" ()","Description":[": 1",": 20 .",": 0/1"," :"," : 25"," : 7"," : 7",": 1 .",":"," , ."," : "]},{"Recipes":[{"Price":20,"PlaceName":"bookshop","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater21","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_spell4","Caption":" ()","Description":[": 1",": 20 .",": 0/1"," :"," : 25"," : 7"," : 7",": 1 .",":"," , ."," : "]},{"Recipes":[{"Price":20,"PlaceName":"bookshop","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater23","Count":1}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_spell1","Caption":" ()","Description":[": 1",": 20 . ",": 0/1"," :"," : 25"," : 7"," : 7",": 1 .",":"," , ."," : "]}],"Name":"books","Caption":" ","Description":[]},{"ImageBasePath":"http://img.combats.ru/i/items/","NewLineToBR":true,"Items":[{"Recipes":[{"Price":300,"PlaceName":"bookshop","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater27","Count":3},{"Category":"mater","Item":"mater26","Count":3},{"Category":"mater","Item":"mater28","Count":3},{"Category":"mater","Item":"mater29","Count":3},{"Category":"mater","Item":"mater25","Count":3},{"Category":"mater","Item":"mater30","Count":3}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_slot9","Caption":" ( 3)","Description":[": 1",": 300 .",": 0/1"," :"," : 9",": 1 .",":"," +1 ."," ."," .",""]},{"Recipes":[{"Price":500,"PlaceName":"bookshop","Binding":4,"RecipeParts":[{"Category":"mater","Item":"mater20","Count":5},{"Category":"mater","Item":"mater21","Count":5},{"Category":"mater","Item":"mater22","Count":5},{"Category":"mater","Item":"mater23","Count":5},{"Category":"mater","Item":"mater24","Count":5},{"Category":"mater","Item":"mater31","Count":5}],"Name":"","Caption":"","Description":[]}],"NewLineToBR":true,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_slot10","Caption":" ( 4) ","Description":[": 1",": 500 .",": 0/1"," :"," : 10",": 1 .",":"," +1 ."," ."," ."]}],"Name":"slots","Caption":" ","Description":[]}],"RecipePlaces":[{"Name":"altar_blood","Caption":" ","Description":[]},{"Name":"altar_ang","Caption":" ()","Description":[]},{"Name":"altar_cap","Caption":" ()","Description":[]},{"Name":"altar_dem","Caption":" ()","Description":[]},{"Name":"laba_dem","Caption":" ()","Description":[]},{"Name":"laba_ang","Caption":" ()","Description":[]},{"Name":"laba_sand","Caption":" ( )","Description":[]},{"Name":"shop_dev","Caption":" Devils city","Description":[]},{"Name":"shop_dem","Caption":" Demons city","Description":[]},{"Name":"shop_ang","Caption":" Angels city","Description":[]},{"Name":"shop_cap","Caption":" Capital city","Description":[]},{"Name":"shop_sand","Caption":" Sandcity","Description":[]},{"Name":"shop_sun","Caption":" Suncity","Description":[]},{"Name":"shop_moon","Caption":" Mooncity","Description":[]},{"Name":"shop_em","Caption":" Emeralds city","Description":[]},{"Name":"forge_ang1","Caption":" ()","Description":[]},{"Name":"forge_ang2","Caption":" ()","Description":[]},{"Name":"forge_dem","Caption":" ()","Description":[]},{"Name":"forge_sand","Caption":" ( )","Description":[]},{"Name":"mastershop_cap","Caption":" ()","Description":[" , , ."]},{"Name":"bookshop","Caption":" ","Description":[]}]}); diff --git a/dng/head/dungeon.offlinedata.js b/dng/head/dungeon.offlinedata.js new file mode 100644 index 00000000..77177085 --- /dev/null +++ b/dng/head/dungeon.offlinedata.js @@ -0,0 +1,46 @@ +// JS (Akzhan+Newtonsoft) + +underground.installMobs({"Mobs":[{"SmImg":"","ImageUrl":"https://img.new-combats.com/i/chars/d/1/1052_id8363592750.png","Instances":[{"Image":"sl","Level":8,"Align":"0","Tag":"","Move":true,"Description":[" :"," 2 2 . . "," . . ",""," : ","\"\" - + 25HP. ",""," . ."],"Strength":53,"Dexterity":20,"Intuition":50,"Endurance":30,"Intellect":0,"Wisdom":0,"HitPoints":500,"Reward":30,"BirthPlace":"Devils city"},{"Image":"sl","Level":9,"Align":"0","Tag":"","Move":true,"Description":[" :"," 2 2 . . "," . . ",""," : ","\"\" - + 35HP. ","\"\"",""," . ."],"Strength":55,"Dexterity":30,"Intuition":55,"Endurance":30,"Intellect":0,"Wisdom":0,"HitPoints":700,"Reward":60,"BirthPlace":"Devils city"}],"Name":"sl","Caption":"","Description":[]},{"SmImg":"kz","ImageUrl":"https://img.new-combats.com/i/chars/d/0/1000.png","Instances":[{"Image":"kz","Level":10,"Align":"0","Tag":"","Move":false,"Description":[" :"," . 1 2 . , \"\", . 5 . ",""," : \" \" - (: -40). "," : \" \" - . 2- 4- , 30-70 . "," : \" \" - (: -20, : -20, : -20). "," : \"\" - +180. "," : \"\" - (: -40). "," [2700HP] . "," : \" \" "," [2000HP] . ",""," \"\". "],"Strength":100,"Dexterity":30,"Intuition":30,"Endurance":75,"Intellect":4,"Wisdom":0,"HitPoints":1800,"Reward":45,"BirthPlace":""},{"Image":"kz","Level":10,"Align":"0","Tag":"hp2000","Move":false,"Description":[],"Strength":100,"Dexterity":30,"Intuition":30,"Endurance":100,"Intellect":4,"Wisdom":0,"HitPoints":2000,"Reward":0,"BirthPlace":""},{"Image":"kz","Level":10,"Align":"0","Tag":"hp2700","Move":false,"Description":[],"Strength":100,"Dexterity":30,"Intuition":30,"Endurance":75,"Intellect":4,"Wisdom":0,"HitPoints":2700,"Reward":0,"BirthPlace":""},{"Image":"kza","Level":10,"Align":"9","Tag":"","Move":false,"Description":[" :","\"\" . 1 2 . , \"\", . 5 . ",""," : \" \" - (: -40). "," : \" \" - . 2- 4- , 30-70 . "," [2160HP 2880HP]: \" \" - (: -20, : -20, : -20). "," [2160HP 2880HP]: \"\" - +216 ( +288HP). "," : \"\" - (: -40). "," [3060HP] . "," [2340HP 2700HP]: \" \" "," [2360HP] . ",""," \"\". "],"Strength":100,"Dexterity":30,"Intuition":30,"Endurance":75,"Intellect":4,"Wisdom":0,"HitPoints":2160,"Reward":0,"BirthPlace":""}],"Name":"zm","Caption":"","Description":[]},{"SmImg":"","ImageUrl":"https://img.new-combats.com/i/chars/d/0/1074_qu1639458937.png","Instances":[{"Image":"","Level":10,"Align":"0","Tag":"","Move":false,"Description":[],"Strength":50,"Dexterity":240,"Intuition":75,"Endurance":60,"Intellect":0,"Wisdom":0,"HitPoints":1000,"Reward":90,"BirthPlace":""},{"Image":"proka","Level":10,"Align":"9","Tag":"","Move":false,"Description":[],"Strength":50,"Dexterity":240,"Intuition":75,"Endurance":60,"Intellect":0,"Wisdom":0,"HitPoints":1100,"Reward":0,"BirthPlace":""},{"Image":"proka","Level":10,"Align":"9","Tag":"hp1200","Move":false,"Description":[],"Strength":50,"Dexterity":240,"Intuition":75,"Endurance":60,"Intellect":0,"Wisdom":0,"HitPoints":1200,"Reward":0,"BirthPlace":""},{"Image":"proka","Level":10,"Align":"9","Tag":"hp1300","Move":false,"Description":[],"Strength":50,"Dexterity":240,"Intuition":75,"Endurance":60,"Intellect":0,"Wisdom":0,"HitPoints":1300,"Reward":0,"BirthPlace":""},{"Image":"proka","Level":10,"Align":"9","Tag":"hp1400","Move":false,"Description":[],"Strength":50,"Dexterity":240,"Intuition":75,"Endurance":60,"Intellect":0,"Wisdom":0,"HitPoints":1400,"Reward":0,"BirthPlace":""},{"Image":"proka","Level":10,"Align":"9","Tag":"hp1600","Move":false,"Description":[],"Strength":50,"Dexterity":240,"Intuition":75,"Endurance":60,"Intellect":0,"Wisdom":0,"HitPoints":1600,"Reward":0,"BirthPlace":""}],"Name":"prokl","Caption":"","Description":[" :"," . 2 2 . "," . ",""," :\"\""," :\"\""," :\"\", \" \" - \" \""," : \"\""," : \"\", \" \""," : \"\",\" \", \" \"",""," \"\".",""," \"\" . 100HP. , , , , 1100HP 1400HP, 1300HP 1600HP."]},{"SmImg":"kz","ImageUrl":"https://img.new-combats.com/i/chars/d/0/1000.png","Instances":[{"Image":"kz","Level":10,"Align":"0","Tag":"","Move":true,"Description":[],"Strength":100,"Dexterity":30,"Intuition":30,"Endurance":75,"Intellect":0,"Wisdom":0,"HitPoints":1800,"Reward":45,"BirthPlace":""}],"Name":"bzomb","Caption":" ","Description":[" :"," 1 2 . ."," .",""," : "," \" \" - (: -25, : -25), 2- .",""," \"\"."]},{"SmImg":"","ImageUrl":"https://img.new-combats.com/i/chars/d/0/1005.png","Instances":[{"Image":"","Level":10,"Align":"0","Tag":"","Move":false,"Description":[],"Strength":100,"Dexterity":30,"Intuition":105,"Endurance":50,"Intellect":0,"Wisdom":0,"HitPoints":8000,"Reward":150,"BirthPlace":""},{"Image":"drsa","Level":10,"Align":"9","Tag":"","Move":false,"Description":[],"Strength":100,"Dexterity":30,"Intuition":105,"Endurance":50,"Intellect":0,"Wisdom":0,"HitPoints":8800,"Reward":0,"BirthPlace":""},{"Image":"drsa","Level":10,"Align":"9","Tag":" 10 ","Move":false,"Description":[],"Strength":100,"Dexterity":30,"Intuition":105,"Endurance":50,"Intellect":0,"Wisdom":0,"HitPoints":10400,"Reward":0,"BirthPlace":""}],"Name":"drstr","Caption":" ","Description":[" :"," 1 2 , : .",""," : ","\" \" - .","\"\" ",""," , \"\", 7- ."]},{"SmImg":"btma","ImageUrl":"https://img.new-combats.com/i/chars/d/0/1030_ve5235342848.png","Instances":[{"Image":"btma","Level":9,"Align":"9","Tag":"","Move":false,"Description":[],"Strength":90,"Dexterity":25,"Intuition":25,"Endurance":70,"Intellect":10,"Wisdom":0,"HitPoints":1501,"Reward":350,"BirthPlace":""}],"Name":"brsk","Caption":"","Description":[" :"," , 2 . ",""," : ","\" \" - \" \".","\" \"","\"\" - +75 .","\"\"",""," ( 300% ), () ."]},{"SmImg":"sla","ImageUrl":"https://img.new-combats.com/i/chars/d/1/1052_id8363592750.png","Instances":[{"Image":"sla","Level":8,"Align":"9","Tag":"","Move":true,"Description":[],"Strength":50,"Dexterity":20,"Intuition":50,"Endurance":30,"Intellect":0,"Wisdom":0,"HitPoints":1000,"Reward":500,"BirthPlace":"Devils city"}],"Name":"zsl","Caption":" ","Description":[" :"," 2 2 . . "," . .",""," : ","\"\" - +50 HP.","\" \" - 100-800 . .","\" \""]},{"SmImg":"sla","ImageUrl":"https://img.new-combats.com/i/chars/d/1/1052_id8363592750.png","Instances":[{"Image":"sla","Level":9,"Align":"9","Tag":"","Move":true,"Description":[],"Strength":50,"Dexterity":35,"Intuition":60,"Endurance":30,"Intellect":0,"Wisdom":0,"HitPoints":1500,"Reward":500,"BirthPlace":""}],"Name":"hsl","Caption":" ","Description":[" :"," 2 2 . . "," . .",""," : ","\"\" - +75.","\" \" - ( : -100), 5 .","\" \" - 100 - 800 . .","\" \"","\" \"","\"\""]},{"SmImg":"","ImageUrl":"https://img.new-combats.com/i/chars/d/0/1031_jw3759278305.png","Instances":[{"Image":"","Level":9,"Align":"9","Tag":"","Move":false,"Description":[],"Strength":20,"Dexterity":65,"Intuition":33,"Endurance":30,"Intellect":0,"Wisdom":0,"HitPoints":1000,"Reward":700,"BirthPlace":""}],"Name":"chkng","Caption":"","Description":[" :"," 1 2 . .",""," : ","\" \" - , . 3 . ","\" \" - (: -5, : -50, : -5, : -5)","\" \" - .","\"\"","\"\"",""," , , \"\" -3."]},{"SmImg":"sba","ImageUrl":"https://img.new-combats.com/i/chars/d/0/1029_rr2385923954.png","Instances":[{"Image":"sb","Level":9,"Align":"9","Tag":"","Move":false,"Description":[],"Strength":10,"Dexterity":100,"Intuition":55,"Endurance":30,"Intellect":0,"Wisdom":0,"HitPoints":1000,"Reward":700,"BirthPlace":""}],"Name":"ep","Caption":"","Description":[" :"," 1 2 , : .",""," : ","\"\" - +300 HP, .","\" \" - ( : -125, : -125).","\" \" - , , , . 1 1 \" \".","\"\" ","\" \"","\"\"",""," , , +3.","","* J2"]},{"SmImg":"","ImageUrl":"https://img.new-combats.com/i/chars/d/0/1032_tp9475823958.png","Instances":[{"Image":"","Level":8,"Align":"9","Tag":"","Move":false,"Description":[],"Strength":40,"Dexterity":50,"Intuition":35,"Endurance":30,"Intellect":0,"Wisdom":0,"HitPoints":1350,"Reward":350,"BirthPlace":""}],"Name":"og","Caption":" ","Description":[" :"," 1 2 , : . ",""," :","\" \" - c +500 HP.","\" \" (: -7, : -7, : -7). 5 .","\" \"","\" \"","\"\"",""," ()."]},{"SmImg":"","ImageUrl":"https://img.new-combats.com/i/chars/d/0/1050_pq6472859128.png","Instances":[{"Image":"","Level":10,"Align":"0","Tag":"","Move":true,"Description":[],"Strength":60,"Dexterity":30,"Intuition":60,"Endurance":30,"Intellect":0,"Wisdom":0,"HitPoints":900,"Reward":60,"BirthPlace":""}],"Name":"pp","Caption":" ","Description":[" :"," 2 2 . "," . . . ",""," : ","\" \" - , 100 . , .","\"\"",""," \"\"."]},{"SmImg":"btm","ImageUrl":"https://img.new-combats.com/i/chars/d/0/1030_ve5235342848.png","Instances":[{"Image":"btma","Level":9,"Align":"9","Tag":"","Move":false,"Description":[],"Strength":75,"Dexterity":25,"Intuition":25,"Endurance":55,"Intellect":10,"Wisdom":0,"HitPoints":3400,"Reward":0,"BirthPlace":""},{"Image":"btmb","Level":9,"Align":"3","Tag":"","Move":false,"Description":[],"Strength":75,"Dexterity":25,"Intuition":25,"Endurance":55,"Intellect":10,"Wisdom":0,"HitPoints":1700,"Reward":0,"BirthPlace":""}],"Name":"stglb","Caption":" ","Description":[" :"," 1 2 .",": . ."]},{"SmImg":"","ImageUrl":"https://img.new-combats.com/i/chars/d/0/1082_9dh7ka.png","Instances":[{"Image":"","Level":10,"Align":"9","Tag":"","Move":false,"Description":[],"Strength":120,"Dexterity":30,"Intuition":30,"Endurance":45,"Intellect":0,"Wisdom":0,"HitPoints":5000,"Reward":800,"BirthPlace":""}],"Name":"trp","Caption":"","Description":[" :"," 1 2 . ",""," : ","\"\" - (. (%): -500, . (%): -1000), 3 , . .","\" \" - ( -50, (HP): -10%), 5 .","\"\" - (- HP - HP ).","\"\"","\" \"","\"\"",""," , \"\" ."]},{"SmImg":"prpa","ImageUrl":"https://img.new-combats.com/i/chars/d/0/1001.png","Instances":[{"Image":"prpa","Level":10,"Align":"9","Tag":"","Move":false,"Description":[],"Strength":25,"Dexterity":75,"Intuition":40,"Endurance":40,"Intellect":0,"Wisdom":0,"HitPoints":2500,"Reward":800,"BirthPlace":""}],"Name":"plen","Caption":" ","Description":[" :",". - 2 . ",""," : ","\" \" - c , .","\" \" - 600 1 1 . , .","\" \" - , . ","\" \" - .",""," ."]},{"SmImg":"","ImageUrl":"https://img.new-combats.com/i/chars/d/0/1076_nu1697563487.png","Instances":[{"Image":"","Level":10,"Align":"9","Tag":"","Move":false,"Description":[],"Strength":50,"Dexterity":120,"Intuition":50,"Endurance":50,"Intellect":0,"Wisdom":0,"HitPoints":2500,"Reward":800,"BirthPlace":""}],"Name":"shtpvl","Caption":" ","Description":[" :"," 1 2 . . .",""," : ","\" \" - . , P , 1HP. , , , 33% HP, . \" \", \" \" \"\".","\" \" - ( , , , / , ). .","\" \"","\"\"","\"\"",""," , \"\" ."]},{"SmImg":"","ImageUrl":"https://img.new-combats.com/i/chars/d/0/1015.png","Instances":[{"Image":"","Level":10,"Align":"9","Tag":"","Move":false,"Description":[],"Strength":150,"Dexterity":180,"Intuition":225,"Endurance":240,"Intellect":0,"Wisdom":0,"HitPoints":10000,"Reward":1750,"BirthPlace":""}],"Name":"pvlt","Caption":"","Description":[" :"," 1 2 . ",", C3, B3.",""," 4 : ","1.\"\". (. (%): +250, : +15, : +30, : +60, . (%): +250, . (%): +100),","2.\"\". (. (%): +100, : +30, . (%): +300, : +60, : +15, . (%): -400), ","3.\"\". (. (%): +300, : +30, : +60, : +15, : +50, . (%): -400),","4.\"\". (. (%): +500, : +40, : +40, : +40, : +40, . (%): -250)."," \"\" . ",""," :","\" \"","\" \"","\" \"","\"\"","\"\"","\" \"","\"\"","\"\"",""," , ."]}],"Objects":[{"SmImg":"teleport05","ImageUrl":"https://img.new-combats.com/i/objects/teleport05.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":4,"MT":5,"MW":28,"MH":28,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":1,"ClickChapter":"demons.3","ClickPoint":"B1","Name":"orangeteleport","Caption":" ","Description":[" , ."," B1 ."]}],"Name":"orangeteleport","Caption":" ","Description":[]},{"SmImg":"teleport07","ImageUrl":"https://img.new-combats.com/i/objects/teleport07.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":4,"MT":5,"MW":28,"MH":28,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":1,"ClickChapter":"demons.4","ClickPoint":"K9","Name":"violetteleport1","Caption":" ","Description":[" , ."," K9 ."]}],"Name":"violetteleport","Caption":" ","Description":[]},{"SmImg":"well02","ImageUrl":"https://img.new-combats.com/i/objects/well02.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"fountain1","Caption":" ","Description":[" . ."," , .",""," ' , '. : , , ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"well03","Caption":" ","Description":[" . ."," , .",""," ' , '. : , , .",""]}],"Name":"well05","Caption":"","Description":[]},{"SmImg":"well07","ImageUrl":"https://img.new-combats.com/i/objects/well07.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"fountain7","Caption":" ","Description":[", :( HP (%): +80).",""," 99% , , :","\" \" -( HP(%):-80)","\" 2\" -( HP(%):-160)","\" 3\" -( HP(%):-240)","\" 4\" -( HP(%):-320)","\" 5\" - ( HP(%)-400)",""," -3 .",""]}],"Name":"fountain7","Caption":" 7","Description":[]},{"SmImg":"smag_collect1_4","ImageUrl":"https://img.new-combats.com/i/objects/smag_collect1_4.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":5,"MT":5,"MW":24,"MH":24,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"sunduk_41","Caption":"","Description":[" ."," \"\" . ."]}],"Name":"sunduk_4","Caption":" ","Description":[]},{"SmImg":"kamen1","ImageUrl":"https://img.new-combats.com/i/objects/kamen1.png","Rotate":false,"Importance":1,"BW":60,"BH":30,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"kamen1","Caption":"","Description":[" : , , , , , ."," \"\" ."]}],"Name":"kamen1","Caption":" 1","Description":[]},{"SmImg":"drain_bottom","ImageUrl":"https://img.new-combats.com/i/objects/drain_bottom.png","Rotate":false,"Importance":1,"BW":80,"BH":50,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":1,"ClickChapter":"demons.2","ClickPoint":"B2","Name":"drain1","Caption":" ","Description":[" . "," , ."," B2 ."]}],"Name":"drain_lowering","Caption":" - ","Description":[]},{"SmImg":"proboina2","ImageUrl":"https://img.new-combats.com/i/objects/proboina2.png","Rotate":false,"Importance":1,"BW":60,"BH":30,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":1,"ClickChapter":"demons.3","ClickPoint":"B20","Name":"proboina2","Caption":" ","Description":[" - ."," B20 ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":1,"ClickChapter":"demons.2","ClickPoint":"M11","Name":"proboina21","Caption":" ","Description":[" - ."," M11 ."]}],"Name":"proboina2","Caption":" 2","Description":[]},{"SmImg":"throne01","ImageUrl":"https://img.new-combats.com/i/objects/throne01.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"throne11","Caption":" ","Description":[" ..."]}],"Name":"throne1","Caption":"","Description":[]},{"SmImg":"landslip01","ImageUrl":"https://img.new-combats.com/i/objects/2/landslip01.png","Rotate":false,"Importance":1,"BW":126,"BH":87,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"landslip11","Caption":"","Description":[" - . ..."]}],"Name":"landslip1","Caption":"","Description":[]},{"SmImg":"skelet1","ImageUrl":"https://img.new-combats.com/i/objects/skelet1.png","Rotate":false,"Importance":1,"BW":120,"BH":60,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"DarkRed","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"skelet11","Caption":" ","Description":[", 1000 HP."," . , ?!"]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"skelet12","Caption":" ","Description":[", , , . "]}],"Name":"skelet1","Caption":"","Description":[]},{"SmImg":"kk_stone_3_4","ImageUrl":"https://img.new-combats.com/i/objects/kk_stone_3_4.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"kk_stone_3_4","Caption":" ","Description":[" , ( , Q9), 4 . "," K9 ."," , ."]}],"Name":"kk_stone_3_4","Caption":" ","Description":[]},{"SmImg":"kk_stone_2_3e","ImageUrl":"https://img.new-combats.com/i/objects/kk_stone_2_3e.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"kk_stone_2_3e","Caption":" ","Description":[" , ( , O9), 3 . "," B1 ."," , ."]}],"Name":"kk_stone_2_3e","Caption":" ","Description":[]},{"SmImg":"kk_stone_2_3ch","ImageUrl":"https://img.new-combats.com/i/objects/kk_stone_2_3ch.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"kk_stone_2_3ch","Caption":" ","Description":[" , ( , P10), 3 . "," B20 ."," , ."]}],"Name":"kk_stone_2_3ch","Caption":" ","Description":[]},{"SmImg":"stat1","ImageUrl":"https://img.new-combats.com/i/objects/stat1.png","Rotate":false,"Importance":1,"BW":60,"BH":105,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"stat1","Caption":" ","Description":["."]}],"Name":"stat1","Caption":" ","Description":[]},{"SmImg":"stat2","ImageUrl":"https://img.new-combats.com/i/objects/stat2.png","Rotate":false,"Importance":1,"BW":60,"BH":105,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"stat2","Caption":"","Description":["."]}],"Name":"stat2","Caption":" 2","Description":[]},{"SmImg":"stat3","ImageUrl":"https://img.new-combats.com/i/objects/stat3.png","Rotate":false,"Importance":1,"BW":60,"BH":105,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"stat3","Caption":"","Description":["."]}],"Name":"stat3","Caption":" 3","Description":[]},{"SmImg":"barrikada","ImageUrl":"https://img.new-combats.com/i/objects/barrikada.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"barrikada","Caption":"","Description":[", . "]}],"Name":"barrikada","Caption":"","Description":[]}]}); +underground.installMobs({"Mobs":[{"SmImg":"","ImageUrl":"https://img.new-combats.com/i/chars/d/0/1025_zh2021090523.png","Instances":[{"Image":"","Level":8,"Align":"0","Tag":"","Move":false,"Description":[],"Strength":30,"Dexterity":25,"Intuition":50,"Endurance":30,"Intellect":0,"Wisdom":0,"HitPoints":500,"Reward":10,"BirthPlace":""},{"Image":"","Level":9,"Align":"0","Tag":"","Move":false,"Description":[],"Strength":50,"Dexterity":15,"Intuition":60,"Endurance":30,"Intellect":5,"Wisdom":0,"HitPoints":650,"Reward":25,"BirthPlace":""}],"Name":"rg","Caption":" ","Description":[" :"," 1 2 , : "," ."]},{"SmImg":"","ImageUrl":"https://img.new-combats.com/i/chars/d/0/1024_kv8409230530.png","Instances":[{"Image":"","Level":8,"Align":"0","Tag":"","Move":false,"Description":[" :"," 1 2 , : ."," ."],"Strength":40,"Dexterity":50,"Intuition":35,"Endurance":30,"Intellect":0,"Wisdom":0,"HitPoints":375,"Reward":10,"BirthPlace":""},{"Image":"","Level":9,"Align":"0","Tag":"","Move":false,"Description":[" :"," 1 2 , : ."," , ."],"Strength":50,"Dexterity":50,"Intuition":20,"Endurance":30,"Intellect":10,"Wisdom":0,"HitPoints":600,"Reward":25,"BirthPlace":""}],"Name":"ng","Caption":" ","Description":[]},{"SmImg":"","ImageUrl":"https://img.new-combats.com/i/chars/d/0/1026_vh8728572092.png","Instances":[{"Image":"","Level":7,"Align":"0","Tag":"","Move":false,"Description":[" :"," 1 2 , : . "," ."],"Strength":50,"Dexterity":25,"Intuition":20,"Endurance":30,"Intellect":0,"Wisdom":0,"HitPoints":450,"Reward":5,"BirthPlace":""},{"Image":"","Level":8,"Align":"0","Tag":"","Move":false,"Description":[" :"," 1 2 , : . ","."],"Strength":30,"Dexterity":30,"Intuition":50,"Endurance":30,"Intellect":0,"Wisdom":0,"HitPoints":500,"Reward":10,"BirthPlace":""}],"Name":"lit","Caption":"","Description":[]},{"SmImg":"","ImageUrl":"https://img.new-combats.com/i/chars/d/0/1028_mm0939431234.png","Instances":[{"Image":"","Level":8,"Align":"0","Tag":"","Move":false,"Description":[],"Strength":30,"Dexterity":30,"Intuition":50,"Endurance":30,"Intellect":0,"Wisdom":0,"HitPoints":500,"Reward":12,"BirthPlace":""},{"Image":"","Level":9,"Align":"0","Tag":"","Move":false,"Description":[],"Strength":50,"Dexterity":15,"Intuition":15,"Endurance":50,"Intellect":0,"Wisdom":0,"HitPoints":750,"Reward":30,"BirthPlace":""},{"Image":"sga","Level":9,"Align":"9","Tag":"","Move":false,"Description":[],"Strength":50,"Dexterity":15,"Intuition":15,"Endurance":50,"Intellect":0,"Wisdom":0,"HitPoints":1500,"Reward":0,"BirthPlace":""}],"Name":"sg","Caption":" ","Description":[" :"," 1 2 , : . "," . .",""," : ","\" \" - .","\" \""]}],"Objects":[{"SmImg":"chalice01","ImageUrl":"https://img.new-combats.com/i/objects/chalice01.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"halice1","Caption":" ","Description":[" ."," 2 ."," ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"halice2","Caption":"","Description":[" .",", , . , ."," ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"halice3","Caption":"","Description":[" .",", , . , , ."," ."]}],"Name":"chalice","Caption":"","Description":[]},{"SmImg":"bed","ImageUrl":"https://img.new-combats.com/i/objects/bed01.png","Rotate":false,"Importance":0,"BW":60,"BH":60,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"bed1","Caption":"","Description":[" : , , , , , , : 3 ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"bed2","Caption":"","Description":["..."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"bed3","Caption":"","Description":[" , , : , , , , , ."]}],"Name":"bed","Caption":"","Description":[]}]}); +underground.installMobs({"Mobs":[{"SmImg":"","ImageUrl":"https://img.new-combats.com/i/chars/d/0/1029_rr2385923954.png","Instances":[{"Image":"","Level":9,"Align":"0","Tag":"","Move":false,"Description":[],"Strength":50,"Dexterity":15,"Intuition":15,"Endurance":50,"Intellect":0,"Wisdom":0,"HitPoints":1200,"Reward":35,"BirthPlace":""}],"Name":"sb","Caption":" ","Description":[" :"," 1 2 , : ."," .",""," : ","\" \" - .","\" \" - \" \".","\"\" - . .","\" \" - + 45HP.","\"\""]},{"SmImg":"","ImageUrl":"https://img.new-combats.com/i/chars/d/0/1030_ve5235342848.png","Instances":[{"Image":"","Level":9,"Align":"0","Tag":"","Move":false,"Description":[],"Strength":100,"Dexterity":50,"Intuition":50,"Endurance":50,"Intellect":0,"Wisdom":0,"HitPoints":1425,"Reward":0,"BirthPlace":""}],"Name":"btm","Caption":" ","Description":[" :"," 1 2 . .",""," : :","\" \"","\" \"","\"\"","\"\""]},{"SmImg":"sk","ImageUrl":"https://img.new-combats.com/i/chars/d/0/1020_vf3369140625.png","Instances":[{"Image":"sk","Level":9,"Align":"9","Tag":"","Move":false,"Description":[],"Strength":50,"Dexterity":20,"Intuition":60,"Endurance":30,"Intellect":0,"Wisdom":0,"HitPoints":1200,"Reward":0,"BirthPlace":""}],"Name":"sd","Caption":" ","Description":[" :"," 5 2 "," . ",""," : ","\" \" - \" \".","\" \"","\" \"","\"\"","\" \"","\" \" - +45HP.",""," ()."]},{"SmImg":"","ImageUrl":"https://img.new-combats.com/i/chars/d/0/1060_ms8259273602.png","Instances":[{"Image":"","Level":12,"Align":"0","Tag":"","Move":false,"Description":[],"Strength":150,"Dexterity":100,"Intuition":150,"Endurance":200,"Intellect":0,"Wisdom":0,"HitPoints":4500,"Reward":0,"BirthPlace":""}],"Name":"kg","Caption":" ","Description":[" :"," 2 2 .","- .",""," : ","\" \" - .","\" \" - \" \".","\"\" - \" \".","\"\"","\"\"",""," ()."]},{"SmImg":"","ImageUrl":"https://img.new-combats.com/i/chars/d/0/1027_er8653875623.png","Instances":[{"Image":"","Level":9,"Align":"0","Tag":"","Move":false,"Description":[],"Strength":50,"Dexterity":50,"Intuition":50,"Endurance":50,"Intellect":0,"Wisdom":0,"HitPoints":1500,"Reward":0,"BirthPlace":""}],"Name":"gjs","Caption":" ","Description":[" :"," 1 2 . - .",""," : ","\" \"","\"\"","\"\"","\" \"","\" \" - +45HP.",""," ()(+5 ). "]},{"SmImg":"","ImageUrl":"https://img.new-combats.com/i/chars/d/0/10015.png","Instances":[{"Image":"olgrta","Level":10,"Align":"9","Tag":"","Move":false,"Description":[],"Strength":50,"Dexterity":50,"Intuition":50,"Endurance":90,"Intellect":0,"Wisdom":0,"HitPoints":10000,"Reward":0,"BirthPlace":""}],"Name":"olgvirt","Caption":" ","Description":[" :"," 1 3 . ",""," : ","\" \" - . .","\" \" - . .","\" \"","\" \"","\"\"","\"\"","\"\"","\"\"","\"\" - 1% 1% . - , 33%. 85%.","\" \" - \" \" . 8-10 . 8 10 , . ."]}],"Objects":[{"SmImg":"chest01","ImageUrl":"https://img.new-combats.com/i/objects/chest01.png","Rotate":false,"Importance":0,"BW":60,"BH":60,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"chest1","Caption":"","Description":[" 3 5 . \"\" ."]}],"Name":"chest1_blendy","Caption":" 1, ","Description":[]},{"SmImg":"chest03","ImageUrl":"https://img.new-combats.com/i/objects/chest03.png","Rotate":false,"Importance":0,"BW":60,"BH":60,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"DarkRed","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"chest31","Caption":" - ","Description":[" ... ."," , , ."," \"\" . "]}],"Name":"chest3_bledny","Caption":" 3, ","Description":[]},{"SmImg":"duffer","ImageUrl":"https://img.new-combats.com/i/objects/2/duffer.png","Rotate":false,"Importance":0,"BW":60,"BH":60,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"duffer1","Caption":"","Description":[" : , , . - ."]}],"Name":"duffer","Caption":"","Description":[]},{"SmImg":"duffer","ImageUrl":"https://img.new-combats.com/i/objects/2/duffer.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"duffer21","Caption":"","Description":[" , . , , K4. ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"duffer22","Caption":"","Description":[" . , K5."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"duffer23","Caption":"","Description":[" . , K3."]}],"Name":"duffer2","Caption":" - ","Description":[]},{"SmImg":"kamen","ImageUrl":"https://img.new-combats.com/i/objects/kamen.png","Rotate":false,"Importance":1,"BW":60,"BH":30,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"kamen","Caption":"","Description":[" . . "]}],"Name":"kamen","Caption":"","Description":[]},{"SmImg":"pot","ImageUrl":"https://img.new-combats.com/i/objects/boiler01.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"DarkRed","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"boiler1","Caption":"","Description":[" , ..."," , ."]}],"Name":"boiler","Caption":"","Description":[]},{"SmImg":"vagon","ImageUrl":"https://img.new-combats.com/i/objects/lorry01.png","Rotate":false,"Importance":0,"BW":60,"BH":60,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"lorry1","Caption":"","Description":["..."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"lorry2","Caption":"","Description":[" c."]}],"Name":"lorry","Caption":"","Description":[]}]}); +underground.installMobs({"Mobs":[{"SmImg":"","ImageUrl":"https://img.new-combats.com/i/chars/d/0/1019.png","Instances":[{"Image":"pg","Level":6,"Align":"0","Tag":"","Move":true,"Description":[" :"," 1 2 ."," . / ."," ."],"Strength":30,"Dexterity":20,"Intuition":20,"Endurance":25,"Intellect":0,"Wisdom":0,"HitPoints":250,"Reward":2,"BirthPlace":""},{"Image":"pg","Level":7,"Align":"0","Tag":"","Move":true,"Description":[" :"," 1 2 ."," . / ."," . .",""," , ."],"Strength":40,"Dexterity":15,"Intuition":30,"Endurance":25,"Intellect":0,"Wisdom":0,"HitPoints":500,"Reward":6,"BirthPlace":""},{"Image":"pga","Level":7,"Align":"9","Tag":"","Move":true,"Description":[" :"," 1 2 ."," . / ."," . .",""," , ."],"Strength":40,"Dexterity":15,"Intuition":30,"Endurance":25,"Intellect":0,"Wisdom":0,"HitPoints":1500,"Reward":0,"BirthPlace":""},{"Image":"pg","Level":8,"Align":"0","Tag":"","Move":true,"Description":[" :"," 1 2 , : ."," . / ."," . .",""," , ."],"Strength":80,"Dexterity":3,"Intuition":3,"Endurance":40,"Intellect":0,"Wisdom":0,"HitPoints":800,"Reward":9,"BirthPlace":""},{"Image":"pg","Level":9,"Align":"0","Tag":"","Move":true,"Description":[" :"," 1 2 , : ."," . / ."," . .",""," , ."],"Strength":50,"Dexterity":15,"Intuition":15,"Endurance":50,"Intellect":0,"Wisdom":0,"HitPoints":1000,"Reward":20,"BirthPlace":""},{"Image":"pga","Level":9,"Align":"9","Tag":"","Move":true,"Description":[" :"," 1 2 , : ."," . / ."," . .",""," , ."],"Strength":50,"Dexterity":15,"Intuition":15,"Endurance":50,"Intellect":0,"Wisdom":0,"HitPoints":2000,"Reward":0,"BirthPlace":""},{"Image":"pg","Level":8,"Align":"0","Tag":"","Move":true,"Description":[" :"," 1 2 , : ."," , . . / ."," . .",""," , ."],"Strength":80,"Dexterity":3,"Intuition":3,"Endurance":40,"Intellect":0,"Wisdom":0,"HitPoints":800,"Reward":0,"BirthPlace":""}],"Name":"pg","Caption":" ","Description":[]}],"Objects":[{"SmImg":"arrow3","ImageUrl":"/i/ugobj/arrow3.gif","Rotate":false,"Importance":1,"BW":23,"BH":38,"ML":9,"MT":1,"MW":23,"MH":38,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"arrow1","Caption":" ","Description":[" - . ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":1,"ClickChapter":"capital.4","ClickPoint":"H1","Name":"arrow2","Caption":" ","Description":[" , . "," ."]}],"Name":"arrowdown","Caption":" ()","Description":[]}]}); +underground.installMobs({"Mobs":[{"SmImg":"pg","ImageUrl":"https://img.new-combats.com/i/chars/d/0/1019.png","Instances":[{"Image":"pg","Level":7,"Align":"0","Tag":"","Move":true,"Description":[" :"," 1 2 , : ."," . / ."," . .",""," , ."],"Strength":40,"Dexterity":15,"Intuition":30,"Endurance":25,"Intellect":0,"Wisdom":0,"HitPoints":500,"Reward":6,"BirthPlace":""},{"Image":"pg","Level":8,"Align":"0","Tag":"","Move":true,"Description":[" :"," 1 2 , : ."," . / ."," . .",""," , ."],"Strength":80,"Dexterity":3,"Intuition":3,"Endurance":40,"Intellect":0,"Wisdom":0,"HitPoints":800,"Reward":10,"BirthPlace":""},{"Image":"pg","Level":9,"Align":"0","Tag":"","Move":true,"Description":[" :"," 1 2 , : ."," . / ."," . .",""," , ."],"Strength":50,"Dexterity":15,"Intuition":15,"Endurance":50,"Intellect":0,"Wisdom":0,"HitPoints":1000,"Reward":25,"BirthPlace":""}],"Name":"pg_sand","Caption":" ","Description":[]},{"SmImg":"sba","ImageUrl":"https://img.new-combats.com/i/chars/d/0/1029_rr2385923954.png","Instances":[{"Image":"sba","Level":9,"Align":"9","Tag":"","Move":false,"Description":[],"Strength":10,"Dexterity":100,"Intuition":55,"Endurance":30,"Intellect":4,"Wisdom":0,"HitPoints":2000,"Reward":0,"BirthPlace":""}],"Name":"krpt","Caption":"","Description":[" :"," 1 2 , : . ",""," : ","\" \"","\" \" - \" \".","\" \" - 600 1 1 . , .","\" \" - ( : -125, : -125).","\"\"","\" \"","\"\"",""," , C ."]},{"SmImg":"strmgl","ImageUrl":"https://img.new-combats.com/i/chars/d/0/1003.png","Instances":[{"Image":"strmgl","Level":8,"Align":"0","Tag":"","Move":false,"Description":[],"Strength":80,"Dexterity":3,"Intuition":3,"Endurance":40,"Intellect":0,"Wisdom":0,"HitPoints":1900,"Reward":0,"BirthPlace":""}],"Name":"strkl","Caption":" ","Description":[" :"," 1 2 , : . ",""," : ","\" \"","\" \" - \" \"","\" \"","\"\""]},{"SmImg":"btma","ImageUrl":"https://img.new-combats.com/i/chars/d/0/1030_ve5235342848.png","Instances":[{"Image":"btma","Level":9,"Align":"9","Tag":"","Move":false,"Description":[],"Strength":90,"Dexterity":25,"Intuition":25,"Endurance":70,"Intellect":0,"Wisdom":0,"HitPoints":1501,"Reward":0,"BirthPlace":""}],"Name":"hroch","Caption":" ","Description":[" :"," 1 2 . ",""," : ","\" \"","\"\"","\" \""]},{"SmImg":"btma","ImageUrl":"https://img.new-combats.com/i/chars/d/0/1030_ve5235342848.png","Instances":[{"Image":"btma","Level":9,"Align":"9","Tag":"","Move":false,"Description":[],"Strength":50,"Dexterity":15,"Intuition":60,"Endurance":30,"Intellect":5,"Wisdom":0,"HitPoints":1950,"Reward":0,"BirthPlace":" "}],"Name":"rh","Caption":" ","Description":[" :"," 1 2 , : . ",""," : ","\" \"","\" \"","\"\"","\"\"",""," ."]}],"Objects":[{"SmImg":"key2","ImageUrl":"https://img.new-combats.com/i/objects/Key22.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"key2_21","Caption":" 2","Description":[" , D11."]}],"Name":"key2_2","Caption":" 2","Description":[]},{"SmImg":"sar2","ImageUrl":"https://img.new-combats.com/i/objects/2/sar2.png","Rotate":false,"Importance":1,"BW":63,"BH":52,"ML":7,"MT":12,"MW":26,"MH":18,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"sar21","Caption":" ","Description":[" . , ."," 3. "," J4 , ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":1,"ClickChapter":"sand.4","ClickPoint":"D11","Name":"sar22","Caption":" ","Description":[" ."," , D11 ."]}],"Name":"sar2","Caption":" ","Description":[]},{"SmImg":"sign1","ImageUrl":"https://img.new-combats.com/i/objects/2/sign1.png","Rotate":false,"Importance":0,"BW":67,"BH":45,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"sign11","Caption":"","Description":[" - , - ."]}],"Name":"sign1","Caption":"","Description":[]},{"SmImg":"strslpr","ImageUrl":"/i/ugobj/strslprbig.gif","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"strslpr1","Caption":" ","Description":[" ."]}],"Name":"strslpr","Caption":" ","Description":[]}]}); +underground.installMobs({"Mobs":[{"SmImg":"pg","ImageUrl":"https://img.new-combats.com/i/chars/d/0/1019.png","Instances":[{"Image":"","Level":9,"Align":"0","Tag":"","Move":false,"Description":[" :"," 1 2 , : .",""," , ."," / ."],"Strength":50,"Dexterity":15,"Intuition":15,"Endurance":50,"Intellect":0,"Wisdom":0,"HitPoints":1000,"Reward":0,"BirthPlace":""}],"Name":"pg_abadon","Caption":" ","Description":[]},{"SmImg":"dkr","ImageUrl":"https://img.new-combats.com/i/chars/d/1/1040_vk8345642089.png","Instances":[{"Image":"","Level":10,"Align":"0","Tag":"","Move":false,"Description":[" :"," 2 2 . . . . "," , .",""],"Strength":70,"Dexterity":100,"Intuition":100,"Endurance":100,"Intellect":100,"Wisdom":100,"HitPoints":1350,"Reward":0,"BirthPlace":""}],"Name":"dkr_abadon","Caption":" ","Description":[]},{"SmImg":"51","ImageUrl":"https://img.new-combats.com/i/chars/d/0/51.png","Instances":[{"Image":"","Level":12,"Align":"0","Tag":"","Move":false,"Description":[],"Strength":0,"Dexterity":0,"Intuition":0,"Endurance":0,"Intellect":0,"Wisdom":0,"HitPoints":0,"Reward":0,"BirthPlace":""}],"Name":"voenkom","Caption":"","Description":[]},{"SmImg":"16","ImageUrl":"https://img.new-combats.com/i/chars/d/0/16.png","Instances":[{"Image":"","Level":10,"Align":"0","Tag":"","Move":false,"Description":[],"Strength":0,"Dexterity":0,"Intuition":0,"Endurance":0,"Intellect":0,"Wisdom":0,"HitPoints":0,"Reward":0,"BirthPlace":""}],"Name":"serjant","Caption":"","Description":[]}],"Objects":[]}); +underground.installMobs({"Mobs":[{"SmImg":"","ImageUrl":"https://img.new-combats.com/i/chars/d/0/1017.png","Instances":[{"Image":"","Level":6,"Align":"0","Tag":"","Move":false,"Description":[" :"," 2 2 , : . ",". ."],"Strength":30,"Dexterity":20,"Intuition":25,"Endurance":25,"Intellect":0,"Wisdom":0,"HitPoints":200,"Reward":2,"BirthPlace":""},{"Image":"","Level":7,"Align":"0","Tag":"","Move":false,"Description":[" :"," 1 2 , : . ",". ."],"Strength":35,"Dexterity":20,"Intuition":30,"Endurance":30,"Intellect":0,"Wisdom":0,"HitPoints":500,"Reward":5,"BirthPlace":""},{"Image":"pma","Level":7,"Align":"9","Tag":"","Move":false,"Description":[" :"," 1 2 , : . ",". ."],"Strength":35,"Dexterity":20,"Intuition":30,"Endurance":30,"Intellect":0,"Wisdom":0,"HitPoints":1000,"Reward":0,"BirthPlace":""},{"Image":"","Level":8,"Align":"0","Tag":"","Move":false,"Description":[" :"," 1 2 , : . ",". ."],"Strength":70,"Dexterity":20,"Intuition":50,"Endurance":30,"Intellect":0,"Wisdom":0,"HitPoints":700,"Reward":10,"BirthPlace":""},{"Image":"pma","Level":8,"Align":"9","Tag":"","Move":false,"Description":[" :"," 1 2 , : . ",". ."],"Strength":70,"Dexterity":20,"Intuition":50,"Endurance":30,"Intellect":0,"Wisdom":0,"HitPoints":1400,"Reward":0,"BirthPlace":""}],"Name":"pm","Caption":" ","Description":[]},{"SmImg":"","ImageUrl":"https://img.new-combats.com/i/chars/d/0/1016.png","Instances":[{"Image":"","Level":6,"Align":"0","Tag":"","Move":false,"Description":[" :"," 1 2 . ",". ."],"Strength":30,"Dexterity":10,"Intuition":40,"Endurance":25,"Intellect":0,"Wisdom":0,"HitPoints":250,"Reward":2,"BirthPlace":""},{"Image":"","Level":7,"Align":"0","Tag":"","Move":false,"Description":[" :"," 1 2 . ","."],"Strength":50,"Dexterity":25,"Intuition":25,"Endurance":30,"Intellect":0,"Wisdom":0,"HitPoints":375,"Reward":5,"BirthPlace":""},{"Image":"pua","Level":7,"Align":"9","Tag":"","Move":false,"Description":[" :"," 1 2 .","."],"Strength":50,"Dexterity":25,"Intuition":25,"Endurance":30,"Intellect":0,"Wisdom":0,"HitPoints":750,"Reward":0,"BirthPlace":""},{"Image":"","Level":8,"Align":"0","Tag":"","Move":false,"Description":[" :"," 1 2 , : .","."],"Strength":30,"Dexterity":25,"Intuition":50,"Endurance":30,"Intellect":0,"Wisdom":0,"HitPoints":500,"Reward":10,"BirthPlace":""},{"Image":"pua","Level":8,"Align":"9","Tag":"","Move":false,"Description":[" :"," 1 2 , : .","."],"Strength":30,"Dexterity":25,"Intuition":50,"Endurance":30,"Intellect":0,"Wisdom":0,"HitPoints":1000,"Reward":0,"BirthPlace":""}],"Name":"pu","Caption":" ","Description":[]},{"SmImg":"","ImageUrl":"https://img.new-combats.com/i/chars/d/0/1018.png","Instances":[{"Image":"","Level":8,"Align":"0","Tag":"","Move":false,"Description":[" :"," 1 2 , : . "," . ",""," : ","\" \"","\" \""],"Strength":40,"Dexterity":50,"Intuition":35,"Endurance":30,"Intellect":0,"Wisdom":0,"HitPoints":375,"Reward":20,"BirthPlace":""},{"Image":"paa","Level":8,"Align":"9","Tag":"","Move":false,"Description":[" :"," 1 2 , : . "," . ",""," : ","\" \"","\" \""],"Strength":40,"Dexterity":50,"Intuition":35,"Endurance":30,"Intellect":0,"Wisdom":0,"HitPoints":750,"Reward":0,"BirthPlace":""},{"Image":"","Level":9,"Align":"0","Tag":"","Move":false,"Description":[" :"," 1 2 , : . "," . .",""," : ","\" \"","\" \""],"Strength":50,"Dexterity":55,"Intuition":15,"Endurance":30,"Intellect":0,"Wisdom":0,"HitPoints":550,"Reward":50,"BirthPlace":""},{"Image":"paa","Level":9,"Align":"9","Tag":"","Move":false,"Description":[" :"," 1 2 , : . "," . .",""," : ","\" \"","\" \""],"Strength":50,"Dexterity":55,"Intuition":15,"Endurance":30,"Intellect":0,"Wisdom":0,"HitPoints":1100,"Reward":0,"BirthPlace":""}],"Name":"pa","Caption":" ","Description":[]},{"SmImg":"","ImageUrl":"https://img.new-combats.com/i/chars/d/1/1040_vk8345642089.png","Instances":[{"Image":"","Level":8,"Align":"9","Tag":"","Move":true,"Description":[],"Strength":50,"Dexterity":25,"Intuition":15,"Endurance":30,"Intellect":100,"Wisdom":100,"HitPoints":1800,"Reward":300,"BirthPlace":""}],"Name":"dk","Caption":" ","Description":[" :"," 1 2 , : . "," . ",""," : ","\" \" - . . ","\" \" ","\"\" ","\"\""," \" \" - + 40HP. "," , , +600 HP."," .",""," () ()."]},{"SmImg":"","ImageUrl":"https://img.new-combats.com/i/chars/d/0/1011.png","Instances":[{"Image":"","Level":9,"Align":"9","Tag":"","Move":false,"Description":[],"Strength":50,"Dexterity":15,"Intuition":15,"Endurance":70,"Intellect":0,"Wisdom":0,"HitPoints":2200,"Reward":300,"BirthPlace":""}],"Name":"im","Caption":" ","Description":[" :"," 1 2 , : ."," . ",""," : ","\" \" - c +45HP.","\" \"","\" \" - \" \".","\" \"","\" \"","\" \"","\"\"","\"\"",""," ."]},{"SmImg":"","ImageUrl":"https://img.new-combats.com/i/chars/d/0/1020_vf3369140625.png","Instances":[{"Image":"","Level":9,"Align":"9","Tag":"","Move":false,"Description":[],"Strength":50,"Dexterity":60,"Intuition":20,"Endurance":30,"Intellect":0,"Wisdom":0,"HitPoints":1200,"Reward":250,"BirthPlace":""}],"Name":"sk","Caption":" ","Description":[" :"," 5 2 , : . "," .",""," : ","\" \" - \" \".","\" \"","\" \"","\" \" - +45.","\"\"","\"\"",""," ()."]},{"SmImg":"pua","ImageUrl":"https://img.new-combats.com/i/chars/d/0/1016.png","Instances":[{"Image":"pua","Level":8,"Align":"9","Tag":"","Move":false,"Description":[],"Strength":60,"Dexterity":55,"Intuition":50,"Endurance":30,"Intellect":0,"Wisdom":0,"HitPoints":2000,"Reward":200,"BirthPlace":""}],"Name":"ms","Caption":" ","Description":[" :"," 1 2 , : ."," , .",""," : ","\" \" - \" \".","\" \"","\" \"","\"\"","\"\"",""," 1 ( , Sand city), - ."]},{"SmImg":"pga","ImageUrl":"https://img.new-combats.com/i/chars/d/0/1019.png","Instances":[{"Image":"pga","Level":9,"Align":"9","Tag":"","Move":true,"Description":[],"Strength":50,"Dexterity":15,"Intuition":15,"Endurance":50,"Intellect":0,"Wisdom":0,"HitPoints":3000,"Reward":450,"BirthPlace":""}],"Name":"dpg","Caption":" ","Description":[" :"," 1 2 , : ."," ."," .",""," : ","\" \"- \" \".","\"\" - \" \".","\" \"","\" \"","\"\"","\"\"","\" \" - +18HP.",""," ()."]},{"SmImg":"","ImageUrl":"https://img.new-combats.com/i/chars/d/0/1042a_ru2300519285.png","Instances":[{"Image":"","Level":10,"Align":"0","Tag":"","Move":false,"Description":[],"Strength":1,"Dexterity":50,"Intuition":50,"Endurance":50,"Intellect":0,"Wisdom":0,"HitPoints":2000,"Reward":10,"BirthPlace":""}],"Name":"duhhr","Caption":"-","Description":[" :"," 1 2 , . ",", , . "," . . ",""," : ","\" \" - , - 2 .",""," c ."]},{"SmImg":"mhub","ImageUrl":"https://img.new-combats.com/i/chars/d/0/1095a_nu2987456891.png","Instances":[{"Image":"mhub","Level":10,"Align":"0","Tag":"","Move":true,"Description":[],"Strength":80,"Dexterity":45,"Intuition":45,"Endurance":45,"Intellect":0,"Wisdom":0,"HitPoints":2500,"Reward":40,"BirthPlace":""}],"Name":"mhub","Caption":" ","Description":[" :"," 1 2 ."," , . "," . , 10 .",""," : "," : ","\"\" - 5%, 5 , , 5%.","\" \" - - , , 0.5% HP , , (5% ) . . - 10 000 ",""," ."]},{"SmImg":"","ImageUrl":"https://img.new-combats.com/i/chars/d/0/1094a_jw2305972054.png","Instances":[{"Image":"","Level":9,"Align":"9","Tag":"","Move":false,"Description":[],"Strength":75,"Dexterity":20,"Intuition":0,"Endurance":55,"Intellect":0,"Wisdom":0,"HitPoints":7000,"Reward":250,"BirthPlace":""}],"Name":"kamstr","Caption":" ","Description":[" :"," 1 2 . ",", M15.",""," : ","\"\" - .","\"\" - , . 3 . 3 , - 10 , - 30 .",""," ."]},{"SmImg":"","ImageUrl":"https://img.new-combats.com/i/chars/d/0/1026a_rq2360403311.png","Instances":[{"Image":"","Level":9,"Align":"0","Tag":"","Move":false,"Description":[],"Strength":90,"Dexterity":30,"Intuition":30,"Endurance":40,"Intellect":40,"Wisdom":15,"HitPoints":1530,"Reward":15,"BirthPlace":""}],"Name":"mhk","Caption":"","Description":[" :"," 1 2 . ",""," : ","\"\" - 200-400 .",""," ."]},{"SmImg":"mhgol","ImageUrl":"https://img.new-combats.com/i/chars/d/0/1095_hw4984572354.png","Instances":[{"Image":"mhgol","Level":10,"Align":"0","Tag":"","Move":false,"Description":[],"Strength":50,"Dexterity":50,"Intuition":50,"Endurance":50,"Intellect":0,"Wisdom":0,"HitPoints":1600,"Reward":15,"BirthPlace":""}],"Name":"mhohr","Caption":" ","Description":[" :"," 2 2 . ",""," : ","\"\" - .","\"\" - \"\".","\"\" - . \" \"."]},{"SmImg":"","ImageUrl":"https://img.new-combats.com/i/chars/d/0/1095_hw4984572354.png","Instances":[{"Image":"","Level":9,"Align":"0","Tag":"","Move":false,"Description":[],"Strength":50,"Dexterity":0,"Intuition":75,"Endurance":40,"Intellect":0,"Wisdom":0,"HitPoints":1200,"Reward":15,"BirthPlace":""}],"Name":"mhgol","Caption":" ","Description":[" :"," 2 2 . ",""," : ","\"\" - .","\"\" - \"\".","\"\" - . \" \"."]},{"SmImg":"strsokra","ImageUrl":"https://img.new-combats.com/i/chars/d/0/1094g_bn3894752896.png","Instances":[{"Image":"strsokra","Level":11,"Align":"9","Tag":"- ","Move":false,"Description":[" :"," 1 2 , : . ",""," : ","\"\" - \"\". ","\" \" - (: -60). 50% HP. \" \".","\"\" - .","\" \" - - .",""," : ***."],"Strength":55,"Dexterity":55,"Intuition":55,"Endurance":100,"Intellect":0,"Wisdom":0,"HitPoints":6500,"Reward":80,"BirthPlace":""},{"Image":"strsokra","Level":11,"Align":"9","Tag":"-","Move":false,"Description":[" :"," 1 2 , : . ",""," : ","\"\" - \"\". ","\" \" - (: -60). 50% HP. \" \".","\"\" - .","\" \" - - .",""," : ***."],"Strength":55,"Dexterity":55,"Intuition":55,"Endurance":100,"Intellect":0,"Wisdom":0,"HitPoints":6500,"Reward":0,"BirthPlace":""},{"Image":"strsokra","Level":11,"Align":"9","Tag":"- ","Move":false,"Description":[" :"," 1 2 , : . ",""," : ","\"\" - \"\". ","\" \" - (: -60). 50% HP. \" \".","\"\" - .","\" \" - - .",""," : ***."],"Strength":55,"Dexterity":55,"Intuition":55,"Endurance":100,"Intellect":0,"Wisdom":0,"HitPoints":6500,"Reward":0,"BirthPlace":""},{"Image":"strsokra","Level":11,"Align":"9","Tag":"-","Move":false,"Description":[" :"," 1 2 , : . ",""," : ","\"\" - \"\". ","\" \" - (: -60). 50% HP. \" \".","\"\" - .","\" \" - - .",""," : ***."],"Strength":55,"Dexterity":55,"Intuition":55,"Endurance":100,"Intellect":0,"Wisdom":0,"HitPoints":6500,"Reward":0,"BirthPlace":""},{"Image":"strsokra","Level":11,"Align":"9","Tag":"-","Move":false,"Description":[" :"," 1 2 , : . ",""," : ","\"\" - \"\". ","\" \" - (: -60). 50% HP. \" \".","\"\" - .","\" \" - - .",""," : ***."],"Strength":55,"Dexterity":55,"Intuition":55,"Endurance":100,"Intellect":0,"Wisdom":0,"HitPoints":6500,"Reward":0,"BirthPlace":""}],"Name":"strsokr","Caption":" ","Description":[]},{"SmImg":"mgrta","ImageUrl":"https://img.new-combats.com/i/chars/d/0/1096_nr34185697153.png","Instances":[{"Image":"mgrta","Level":11,"Align":"9","Tag":"","Move":false,"Description":[],"Strength":10,"Dexterity":25,"Intuition":25,"Endurance":25,"Intellect":25,"Wisdom":0,"HitPoints":3000,"Reward":450,"BirthPlace":""}],"Name":"mgrt","Caption":" ","Description":[" :"," 1 2 . ",""," : ","\" \"","\" \"","\" \"","\"\"","\"c \" - (: +90, (HP): +3700) - .","\"\"- .","\" \" ","\" \"",""," :***."]},{"SmImg":"kz","ImageUrl":"https://img.new-combats.com/i/chars/d/0/1000.png","Instances":[{"Image":"kz","Level":10,"Align":"0","Tag":"","Move":false,"Description":[],"Strength":100,"Dexterity":30,"Intuition":30,"Endurance":100,"Intellect":4,"Wisdom":0,"HitPoints":2000,"Reward":0,"BirthPlace":""}],"Name":"kzm","Caption":" ","Description":[" :"," 1 2 .",", L11.",""," \"\"."]},{"SmImg":"kz","ImageUrl":"https://img.new-combats.com/i/chars/d/0/1000.png","Instances":[{"Image":"kz","Level":10,"Align":"0","Tag":"","Move":false,"Description":[],"Strength":100,"Dexterity":30,"Intuition":30,"Endurance":75,"Intellect":4,"Wisdom":0,"HitPoints":2700,"Reward":0,"BirthPlace":""}],"Name":"gzm","Caption":" ","Description":[" :"," 1 2 .",", L11.",""," \"\"."]}],"Objects":[{"SmImg":"chest02","ImageUrl":"https://img.new-combats.com/i/objects/chest02.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":5,"MT":1,"MW":28,"MH":25,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"chest21","Caption":" ","Description":[" , ."," \"\" ."]}],"Name":"chest2_small","Caption":" 2 - .","Description":[]},{"SmImg":"chest04","ImageUrl":"https://img.new-combats.com/i/objects/chest04.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":5,"MT":20,"MW":28,"MH":22,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"chest41","Caption":" ","Description":[" . "," \"\" ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"chest42","Caption":" ","Description":[" . "," \"\" ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"chest43","Caption":" ","Description":[" . "," \"\" ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"chest44","Caption":" ","Description":[" . "," \"\" ."]}],"Name":"chest4_small","Caption":" 4 - .","Description":[]},{"SmImg":"weap3","ImageUrl":"https://img.new-combats.com/i/objects/2/weap3.png","Rotate":false,"Importance":0,"BW":60,"BH":60,"ML":4,"MT":5,"MW":27,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"weap31","Caption":"","Description":["..."]}],"Name":"weap3","Caption":" ","Description":[]},{"SmImg":"zer","ImageUrl":"https://img.new-combats.com/i/objects/2/zer.png","Rotate":false,"Importance":0,"BW":60,"BH":60,"ML":9,"MT":5,"MW":21,"MH":28,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"zer1","Caption":"","Description":["..."]}],"Name":"zer","Caption":"","Description":[]}]}); +underground.installMobs({"Mobs":[{"SmImg":"","ImageUrl":"https://img.new-combats.com/i/chars/d/1/1040a_dr8472409823.png","Instances":[{"Image":"","Level":10,"Align":"0","Tag":"","Move":true,"Description":[" :",", 2 ."," , ."," . . ",""," : ","\" \" - 100-115 . .","\" \" - 70-80 . .","\"\" - \" \".",""," c ."],"Strength":10,"Dexterity":25,"Intuition":25,"Endurance":40,"Intellect":25,"Wisdom":40,"HitPoints":900,"Reward":10,"BirthPlace":""},{"Image":"","Level":8,"Align":"0","Tag":"","Move":true,"Description":[" :",", 2 . ",""," : ","\"Ҹ \" - 100-200 . .",""," 3, . 4- . "],"Strength":25,"Dexterity":50,"Intuition":50,"Endurance":50,"Intellect":50,"Wisdom":50,"HitPoints":950,"Reward":0,"BirthPlace":""}],"Name":"zbldsh","Caption":" ","Description":[]}],"Objects":[{"SmImg":"well03","ImageUrl":"https://img.new-combats.com/i/objects/well03.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"fountain21","Caption":" ","Description":[" ."," 1."," ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"fountain22","Caption":" ","Description":[" ."," ."]}],"Name":"well03","Caption":" 2","Description":[]},{"SmImg":"key","ImageUrl":"https://img.new-combats.com/i/objects/Key1.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"key11","Caption":" 1","Description":[" ."," . , ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"key12","Caption":" 1","Description":[" :"," 1"," ( F8 )"," ( F4 )"]}],"Name":"key1","Caption":" 1","Description":[]},{"SmImg":"key21","ImageUrl":"https://img.new-combats.com/i/objects/Key2.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"key21","Caption":" 2","Description":[" I6."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"key22","Caption":" 2","Description":[" :"," 2 "," ( F8 )"," ( F4 )"," ( C6 )"," ( C4 )"]}],"Name":"key2","Caption":" 2","Description":[]},{"SmImg":"well08","ImageUrl":"https://img.new-combats.com/i/objects/well08.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"workshop1","Caption":" ","Description":[" , , .",", , 3. H6."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"workshop2","Caption":" ","Description":[" ."," , ."," ."]}],"Name":"workshop","Caption":"","Description":[]}]}); +underground.installMobs({"Mobs":[{"SmImg":"","ImageUrl":"https://img.new-combats.com/i/chars/d/0/1002.png","Instances":[{"Image":"","Level":7,"Align":"0","Tag":"","Move":false,"Description":[" :"," 1 2 ."],"Strength":50,"Dexterity":25,"Intuition":20,"Endurance":30,"Intellect":0,"Wisdom":0,"HitPoints":450,"Reward":5,"BirthPlace":"Demons city"},{"Image":"rma","Level":7,"Align":"9","Tag":"","Move":false,"Description":[" :"," 1 2 ."," ."],"Strength":50,"Dexterity":25,"Intuition":20,"Endurance":30,"Intellect":0,"Wisdom":0,"HitPoints":1350,"Reward":0,"BirthPlace":"Demons city"},{"Image":"","Level":8,"Align":"0","Tag":"","Move":false,"Description":[" :"," 1 2 , : ."],"Strength":30,"Dexterity":30,"Intuition":50,"Endurance":30,"Intellect":0,"Wisdom":0,"HitPoints":500,"Reward":10,"BirthPlace":"Demons city"},{"Image":"rma","Level":8,"Align":"9","Tag":"","Move":false,"Description":[" :"," 1 2 ."],"Strength":50,"Dexterity":20,"Intuition":35,"Endurance":40,"Intellect":20,"Wisdom":0,"HitPoints":1000,"Reward":0,"BirthPlace":"Demons city"},{"Image":"","Level":9,"Align":"0","Tag":"","Move":false,"Description":[" :"," 1 2 , : ."," , ."],"Strength":50,"Dexterity":15,"Intuition":15,"Endurance":50,"Intellect":0,"Wisdom":0,"HitPoints":3000,"Reward":25,"BirthPlace":"Demons city"},{"Image":"rma","Level":9,"Align":"9","Tag":"","Move":false,"Description":[" :"," 1 2 , : "," . . ."],"Strength":50,"Dexterity":15,"Intuition":15,"Endurance":50,"Intellect":0,"Wisdom":0,"HitPoints":6000,"Reward":0,"BirthPlace":"Demons cuty"}],"Name":"rabmgl","Caption":" ","Description":[]},{"SmImg":"","ImageUrl":"https://img.new-combats.com/i/chars/d/0/1003.png","Instances":[{"Image":"","Level":7,"Align":"0","Tag":"","Move":false,"Description":[" :"," 1 2 . ","."],"Strength":30,"Dexterity":30,"Intuition":35,"Endurance":30,"Intellect":0,"Wisdom":0,"HitPoints":400,"Reward":5,"BirthPlace":"Demons city"},{"Image":"","Level":8,"Align":"0","Tag":"","Move":false,"Description":[" :"," 1 2 . ","."],"Strength":50,"Dexterity":20,"Intuition":35,"Endurance":40,"Intellect":20,"Wisdom":0,"HitPoints":700,"Reward":10,"BirthPlace":"Demons city"},{"Image":"sma","Level":8,"Align":"9","Tag":"","Move":false,"Description":[" :"," 1 2 . ","."],"Strength":50,"Dexterity":20,"Intuition":35,"Endurance":40,"Intellect":20,"Wisdom":0,"HitPoints":1400,"Reward":0,"BirthPlace":"Demons city"},{"Image":"strmgl","Level":8,"Align":"0","Tag":"hp800","Move":false,"Description":[" :"," 1 2 , : ."," ."],"Strength":80,"Dexterity":3,"Intuition":3,"Endurance":40,"Intellect":0,"Wisdom":0,"HitPoints":800,"Reward":0,"BirthPlace":"Demons city"},{"Image":"sma","Level":8,"Align":"9","Tag":"hp1600","Move":false,"Description":[" :"," 1 2 , : ."," . ."],"Strength":80,"Dexterity":3,"Intuition":3,"Endurance":40,"Intellect":0,"Wisdom":0,"HitPoints":1600,"Reward":0,"BirthPlace":"Demons city"}],"Name":"strmgl","Caption":" ","Description":[]},{"SmImg":"","ImageUrl":"https://img.new-combats.com/i/chars/d/0/1004.png","Instances":[{"Image":"","Level":7,"Align":"0","Tag":"","Move":false,"Description":[" :"," 1 2 , : .",", ."],"Strength":15,"Dexterity":35,"Intuition":35,"Endurance":20,"Intellect":0,"Wisdom":0,"HitPoints":300,"Reward":5,"BirthPlace":"Demons city"},{"Image":"","Level":8,"Align":"0","Tag":"","Move":false,"Description":[" :"," 1 2 , : .",", ."],"Strength":50,"Dexterity":50,"Intuition":30,"Endurance":30,"Intellect":0,"Wisdom":0,"HitPoints":350,"Reward":10,"BirthPlace":"Demons city"},{"Image":"smma","Level":8,"Align":"9","Tag":"","Move":false,"Description":[" :"," 1 2 , : .",", ."," . "],"Strength":50,"Dexterity":50,"Intuition":30,"Endurance":30,"Intellect":0,"Wisdom":0,"HitPoints":700,"Reward":0,"BirthPlace":"Demons city"},{"Image":"","Level":9,"Align":"0","Tag":"","Move":false,"Description":[" :"," 1 2 .",", ."," ."],"Strength":50,"Dexterity":70,"Intuition":15,"Endurance":30,"Intellect":0,"Wisdom":0,"HitPoints":600,"Reward":25,"BirthPlace":"Demons city"},{"Image":"smma","Level":9,"Align":"9","Tag":"","Move":false,"Description":[" :"," 1 2 .",", ."," ."],"Strength":50,"Dexterity":70,"Intuition":15,"Endurance":30,"Intellect":0,"Wisdom":0,"HitPoints":1200,"Reward":0,"BirthPlace":"Demons city"},{"Image":"smma","Level":9,"Align":"9","Tag":"hp2400","Move":false,"Description":[" :"," 1 2 . "," . ."],"Strength":50,"Dexterity":70,"Intuition":15,"Endurance":30,"Intellect":0,"Wisdom":0,"HitPoints":2400,"Reward":0,"BirthPlace":"Demons city"}],"Name":"smotrmgl","Caption":" ","Description":[]}],"Objects":[{"SmImg":"well04","ImageUrl":"https://img.new-combats.com/i/objects/well04.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"fountain42","Caption":" ","Description":[" ."," 2. F5 ."," ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"fountain43","Caption":" ","Description":[" . ."]}],"Name":"fountain4","Caption":" 4","Description":[]}]}); +underground.installMobs({"Mobs":[{"SmImg":"","ImageUrl":"https://img.new-combats.com/i/chars/d/0/1041_rk0170592363.png","Instances":[{"Image":"","Level":8,"Align":"0","Tag":"","Move":false,"Description":[" :"," 1 2 .",". ."],"Strength":70,"Dexterity":40,"Intuition":40,"Endurance":50,"Intellect":0,"Wisdom":0,"HitPoints":1200,"Reward":25,"BirthPlace":""},{"Image":"","Level":9,"Align":"0","Tag":"","Move":false,"Description":[" :"," 2 2 .",". ."],"Strength":95,"Dexterity":65,"Intuition":65,"Endurance":75,"Intellect":0,"Wisdom":0,"HitPoints":1500,"Reward":50,"BirthPlace":""},{"Image":"skra","Level":9,"Align":"9","Tag":"","Move":false,"Description":[" :"," 2 2 .",". ."],"Strength":95,"Dexterity":65,"Intuition":65,"Endurance":75,"Intellect":0,"Wisdom":0,"HitPoints":3000,"Reward":0,"BirthPlace":""},{"Image":"","Level":10,"Align":"0","Tag":"","Move":false,"Description":[" :"," 2 2 .",". ."],"Strength":125,"Dexterity":65,"Intuition":65,"Endurance":100,"Intellect":0,"Wisdom":0,"HitPoints":1800,"Reward":100,"BirthPlace":""},{"Image":"","Level":11,"Align":"0","Tag":"","Move":false,"Description":[" :"," 2 2 .",". ."],"Strength":160,"Dexterity":85,"Intuition":85,"Endurance":120,"Intellect":0,"Wisdom":0,"HitPoints":2400,"Reward":200,"BirthPlace":""}],"Name":"skr","Caption":" ","Description":[]},{"SmImg":"","ImageUrl":"https://img.new-combats.com/i/chars/d/0/1042_zh6184692382.png","Instances":[{"Image":"","Level":8,"Align":"0","Tag":"","Move":false,"Description":[],"Strength":75,"Dexterity":75,"Intuition":75,"Endurance":50,"Intellect":0,"Wisdom":0,"HitPoints":750,"Reward":25,"BirthPlace":""},{"Image":"","Level":9,"Align":"0","Tag":"","Move":false,"Description":[],"Strength":100,"Dexterity":100,"Intuition":100,"Endurance":75,"Intellect":0,"Wisdom":0,"HitPoints":1800,"Reward":50,"BirthPlace":""},{"Image":"bkra","Level":9,"Align":"9","Tag":"","Move":false,"Description":[],"Strength":100,"Dexterity":100,"Intuition":100,"Endurance":75,"Intellect":0,"Wisdom":0,"HitPoints":3600,"Reward":0,"BirthPlace":""},{"Image":"","Level":10,"Align":"0","Tag":"","Move":false,"Description":[],"Strength":120,"Dexterity":120,"Intuition":120,"Endurance":100,"Intellect":0,"Wisdom":0,"HitPoints":3000,"Reward":100,"BirthPlace":""},{"Image":"","Level":11,"Align":"0","Tag":"","Move":false,"Description":[],"Strength":150,"Dexterity":150,"Intuition":150,"Endurance":120,"Intellect":0,"Wisdom":0,"HitPoints":4000,"Reward":200,"BirthPlace":""}],"Name":"bkr","Caption":" ","Description":[" :"," 1 2 .",", , 150 500. ."]},{"SmImg":"","ImageUrl":"https://img.new-combats.com/i/chars/d/1/1040_vk8345642089.png","Instances":[{"Image":"","Level":8,"Align":"0","Tag":"","Move":true,"Description":[" :"," 2 2 . ."," .",""," : ","\" \" - . 200 . . ","\" \"","\"\" - + 47HP. "],"Strength":25,"Dexterity":50,"Intuition":50,"Endurance":50,"Intellect":50,"Wisdom":50,"HitPoints":950,"Reward":30,"BirthPlace":""},{"Image":"","Level":9,"Align":"0","Tag":"","Move":true,"Description":[" :"," 2 2 . . . "," .",""," : ","\" \" - . 200 . . ","\" \"","\"\" - + 57HP. "],"Strength":50,"Dexterity":60,"Intuition":60,"Endurance":60,"Intellect":60,"Wisdom":60,"HitPoints":1150,"Reward":60,"BirthPlace":""},{"Image":"dkra","Level":9,"Align":"9","Tag":"","Move":true,"Description":[" :"," 2 2 . . ."," .",""," : ","\" \" - . 200-400 . . ","\" \"","\"\" - + 57HP. "],"Strength":50,"Dexterity":60,"Intuition":60,"Endurance":60,"Intellect":60,"Wisdom":60,"HitPoints":2300,"Reward":0,"BirthPlace":""},{"Image":"","Level":10,"Align":"0","Tag":"","Move":true,"Description":[" :"," 2 2 . . . "," .",""," : ","\" \" - . 500 . . ","\" \"","\"\" - + 67HP. "],"Strength":70,"Dexterity":100,"Intuition":100,"Endurance":100,"Intellect":100,"Wisdom":100,"HitPoints":1350,"Reward":120,"BirthPlace":""},{"Image":"","Level":11,"Align":"0","Tag":"","Move":true,"Description":[" :"," 2 2 . . . "," .",""," : ","\" \" - . 500 . . ","\" \"","\"\" - + 90HP. "],"Strength":90,"Dexterity":120,"Intuition":120,"Endurance":120,"Intellect":120,"Wisdom":120,"HitPoints":1800,"Reward":250,"BirthPlace":""}],"Name":"dkr","Caption":" ","Description":[]},{"SmImg":"","ImageUrl":"https://img.new-combats.com/i/chars/d/0/1043_ro9557495117.png","Instances":[{"Image":"","Level":9,"Align":"0","Tag":"","Move":false,"Description":[" :",". . ",""," : ","\" \" - . 200 . .","\" \" - ( +600 HP)."],"Strength":40,"Dexterity":50,"Intuition":50,"Endurance":50,"Intellect":100,"Wisdom":65,"HitPoints":2500,"Reward":60,"BirthPlace":""},{"Image":"pkra","Level":9,"Align":"9","Tag":"","Move":false,"Description":[" :",". . ",""," : ","\" \" - . 200 . .","\" \" - ( +600 HP)."],"Strength":40,"Dexterity":50,"Intuition":50,"Endurance":50,"Intellect":100,"Wisdom":65,"HitPoints":5000,"Reward":0,"BirthPlace":""},{"Image":"","Level":10,"Align":"0","Tag":"","Move":false,"Description":[" :",". . ",""," : ","\" \" - . 500 . .","\" \" - ( +600 HP)."],"Strength":40,"Dexterity":50,"Intuition":50,"Endurance":50,"Intellect":50,"Wisdom":65,"HitPoints":2000,"Reward":120,"BirthPlace":""},{"Image":"","Level":11,"Align":"0","Tag":"","Move":false,"Description":[" :",". . ",""," : ","\" \" - . 500 . .","\" \" - ( +600 HP)."],"Strength":60,"Dexterity":70,"Intuition":70,"Endurance":70,"Intellect":100,"Wisdom":80,"HitPoints":2500,"Reward":250,"BirthPlace":""}],"Name":"pkr","Caption":" ","Description":[]},{"SmImg":"","ImageUrl":"https://img.new-combats.com/i/chars/d/0/1044_kv7870496581.png","Instances":[{"Image":"","Level":14,"Align":"9","Tag":"","Move":true,"Description":[],"Strength":200,"Dexterity":200,"Intuition":200,"Endurance":200,"Intellect":0,"Wisdom":0,"HitPoints":6000,"Reward":0,"BirthPlace":""}],"Name":"kv","Caption":" ","Description":[" :"," 2 2 . "," .",""," : ","\" \"","\" \"","\" \"","\" \" - +600.","\"\"","\" \"","\"\"","\"\"","\"\"",""," ."]}],"Objects":[{"SmImg":"teleport02","ImageUrl":"https://img.new-combats.com/i/objects/teleport02.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":2,"MT":5,"MW":16,"MH":16,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"redteleport1","Caption":" ","Description":[" K7."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"redteleport2","Caption":" ","Description":[" C6."]}],"Name":"redteleport_small_left","Caption":" , ","Description":[]},{"SmImg":"teleport02","ImageUrl":"https://img.new-combats.com/i/objects/teleport02.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":21,"MT":5,"MW":16,"MH":16,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"redteleport1","Caption":" ","Description":[" H4."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"redteleport2","Caption":" ","Description":[" J10."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"redteleport3","Caption":" ","Description":[" L9."]}],"Name":"redteleport_small_right","Caption":" , ","Description":[]},{"SmImg":"door2","ImageUrl":"https://img.new-combats.com/i/objects/1_front_door.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"frontdoor1","Caption":" ","Description":[" ."]}],"Name":"frontdoor","Caption":" ","Description":[]},{"SmImg":"well04","ImageUrl":"https://img.new-combats.com/i/objects/well04.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":2,"MT":5,"MW":17,"MH":20,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"fountain41","Caption":" ","Description":[" . ."]}],"Name":"fountain4_small","Caption":" 4 - .","Description":[]}]}); +underground.installMobs({"Mobs":[{"SmImg":"kza","ImageUrl":"https://img.new-combats.com/i/chars/d/0/1000.png","Instances":[{"Image":"kza","Level":5,"Align":"9","Tag":"","Move":false,"Description":[],"Strength":30,"Dexterity":10,"Intuition":25,"Endurance":25,"Intellect":0,"Wisdom":0,"HitPoints":1800,"Reward":0,"BirthPlace":""}],"Name":"luka","Caption":"","Description":[" :"," 1 2 . ",""," : ","\" \" - .","\"\" - 7-10.","\" \" - \"\"","\" \" - \"\" ",""," .",""," , , ."]},{"SmImg":"kza","ImageUrl":"https://img.new-combats.com/i/chars/d/0/1000.png","Instances":[{"Image":"kza","Level":5,"Align":"9","Tag":"","Move":false,"Description":[],"Strength":30,"Dexterity":10,"Intuition":25,"Endurance":25,"Intellect":0,"Wisdom":0,"HitPoints":900,"Reward":0,"BirthPlace":""}],"Name":"martn","Caption":" ","Description":[" :"," 1 2 . ",""," : ","\" \" - .","\"\" - 8-12HP.","\" \" - 2 . 1% .","\" \" - \"\".","\" \" - \"\".",""," ."]},{"SmImg":"sla","ImageUrl":"https://img.new-combats.com/i/chars/d/1/1052_id8363592750.png","Instances":[{"Image":"sla","Level":4,"Align":"9","Tag":"","Move":false,"Description":[],"Strength":25,"Dexterity":15,"Intuition":20,"Endurance":15,"Intellect":0,"Wisdom":0,"HitPoints":600,"Reward":0,"BirthPlace":""}],"Name":"gmrz","Caption":" ","Description":[" :"," 2 2 . ",""," : ","\" \" - 2 . .","\" \" - .","\"\" - 8-12.","\"\" - , .",""," ."]},{"SmImg":"pp","ImageUrl":"https://img.new-combats.com/i/chars/d/0/1050_pq6472859128.png","Instances":[{"Image":"pp","Level":4,"Align":"9","Tag":"","Move":false,"Description":[],"Strength":18,"Dexterity":25,"Intuition":20,"Endurance":15,"Intellect":0,"Wisdom":0,"HitPoints":540,"Reward":0,"BirthPlace":""}],"Name":"tungad","Caption":" ","Description":[" :"," 2 2 . ",""," : ","\" \" - 2 . .","\"\" - 8-12 .",""," ."]},{"SmImg":"trp","ImageUrl":"https://img.new-combats.com/i/chars/d/0/1082_9dh7ka.png","Instances":[{"Image":"trp","Level":4,"Align":"9","Tag":"","Move":false,"Description":[],"Strength":15,"Dexterity":10,"Intuition":15,"Endurance":25,"Intellect":0,"Wisdom":0,"HitPoints":300,"Reward":0,"BirthPlace":""}],"Name":"obpodv","Caption":" ","Description":[" :"," 1 2 . ",""," : ","\" \" - .","\" \" - \"\".","\"\" - , .",""," ."]},{"SmImg":"","ImageUrl":"https://img.new-combats.com/i/chars/d/0/1021_rz7360376769.png","Instances":[{"Image":"","Level":4,"Align":"0","Tag":"","Move":false,"Description":[],"Strength":5,"Dexterity":20,"Intuition":8,"Endurance":15,"Intellect":0,"Wisdom":0,"HitPoints":60,"Reward":0,"BirthPlace":""}],"Name":"pauk","Caption":"","Description":[" :"," 2 2 . ",""," : ","\" \" - 2 . .","\"\" - \" \".",""," ."]},{"SmImg":"","ImageUrl":"https://img.new-combats.com/i/chars/d/0/1023_tv2330604720.png","Instances":[{"Image":"","Level":4,"Align":"0","Tag":"","Move":false,"Description":[],"Strength":7,"Dexterity":25,"Intuition":10,"Endurance":10,"Intellect":0,"Wisdom":0,"HitPoints":120,"Reward":0,"BirthPlace":""}],"Name":"stpauk","Caption":" ","Description":[" :"," 2 2 . ",""," : ","\" \" - 2 . .","\"\" - \" \".",""," ."]},{"SmImg":"","ImageUrl":"https://img.new-combats.com/i/chars/d/0/1071_es6482658226.png","Instances":[{"Image":"","Level":4,"Align":"0","Tag":"","Move":false,"Description":[],"Strength":15,"Dexterity":10,"Intuition":15,"Endurance":25,"Intellect":0,"Wisdom":0,"HitPoints":200,"Reward":0,"BirthPlace":""}],"Name":"santzm","Caption":"-","Description":[" :"," 2 2 . ",""," : ","\" \" - 2 . .","\" \" - \"\".","\" \"",""," ."]},{"SmImg":"","ImageUrl":"https://img.new-combats.com/i/chars/d/0/1022_ht7629239682.png","Instances":[{"Image":"","Level":4,"Align":"0","Tag":"","Move":false,"Description":[],"Strength":30,"Dexterity":10,"Intuition":10,"Endurance":15,"Intellect":0,"Wisdom":0,"HitPoints":100,"Reward":0,"BirthPlace":""}],"Name":"kanzuk","Caption":" ","Description":[" :"," 1 3 . ",""," : ","\" \" - \"\".","\" \" - \"\".",""," ."]},{"SmImg":"","ImageUrl":"https://img.new-combats.com/i/chars/d/0/1102_njsojmlanai.png","Instances":[{"Image":"","Level":5,"Align":"0","Tag":"","Move":false,"Description":[],"Strength":15,"Dexterity":25,"Intuition":35,"Endurance":20,"Intellect":0,"Wisdom":0,"HitPoints":240,"Reward":0,"BirthPlace":""}],"Name":"kanpauk","Caption":" ","Description":[" :"," 2 2 . ",""," : ","\" \" - 2 .","\"\" - , . 1-3 . . 2-5 , .","\" \" - 1-3 . .",""," ."]},{"SmImg":"","ImageUrl":"https://img.new-combats.com/i/chars/d/0/1129_uuzyzugyv.png","Instances":[{"Image":"","Level":5,"Align":"0","Tag":"","Move":false,"Description":[],"Strength":25,"Dexterity":15,"Intuition":15,"Endurance":25,"Intellect":0,"Wisdom":0,"HitPoints":312,"Reward":0,"BirthPlace":""}],"Name":"bzgsnt","Caption":" ","Description":[" :"," 2 2 . ",""," : ","\" \" - 3 . 10 .","\" \" - \"\"",""," ."]},{"SmImg":"","ImageUrl":"https://img.new-combats.com/i/chars/d/1/1135_jhilayhqjy.png","Instances":[{"Image":"","Level":5,"Align":"0","Tag":"","Move":false,"Description":[],"Strength":15,"Dexterity":25,"Intuition":25,"Endurance":20,"Intellect":0,"Wisdom":0,"HitPoints":360,"Reward":0,"BirthPlace":""}],"Name":"strkr","Caption":" ","Description":[" :"," 2 2 . ",""," : ","\"\" - 10-20 . .","\"\" - \" \".","\"\" - 1-3 . . , \"\" .",""," ."]},{"SmImg":"","ImageUrl":"https://img.new-combats.com/i/chars/d/1/1123_cprywpvgu.png","Instances":[{"Image":"","Level":6,"Align":"0","Tag":"","Move":false,"Description":[],"Strength":20,"Dexterity":35,"Intuition":40,"Endurance":25,"Intellect":0,"Wisdom":0,"HitPoints":270,"Reward":0,"BirthPlace":""}],"Name":"letb","Caption":" ","Description":[" :"," 2 2 . ",""," : ","\" \" - \"\".","\"\" - 10-20 . .",""," ."]},{"SmImg":"","ImageUrl":"https://img.new-combats.com/i/chars/d/0/1131_wguwqcui.png","Instances":[{"Image":"","Level":6,"Align":"0","Tag":"","Move":false,"Description":[],"Strength":25,"Dexterity":15,"Intuition":20,"Endurance":25,"Intellect":0,"Wisdom":0,"HitPoints":450,"Reward":0,"BirthPlace":""}],"Name":"slzm","Caption":" - ","Description":[" :"," 1 2 . ",""," : ","\" \" - 2 .","\"\" - 10 . 5 .","\" \"",""," ."]},{"SmImg":"hozkana","ImageUrl":"https://img.new-combats.com/i/chars/d/0/1132_bkiowybc.png","Instances":[{"Image":"hozkana","Level":6,"Align":"9","Tag":"","Move":false,"Description":[],"Strength":40,"Dexterity":35,"Intuition":30,"Endurance":25,"Intellect":0,"Wisdom":0,"HitPoints":1000,"Reward":0,"BirthPlace":""}],"Name":"hozkan","Caption":" ","Description":[" :"," 1 3 . ",""," : ","\" \" - 30-50 . .","\" \"","\" \" - 2 .","\"\" - , . .",""," ."]},{"SmImg":"mstngtla","ImageUrl":"https://img.new-combats.com/i/chars/d/0/1128_cstfzebj.png","Instances":[{"Image":"mstngtla","Level":6,"Align":"9","Tag":"","Move":false,"Description":[],"Strength":15,"Dexterity":35,"Intuition":35,"Endurance":75,"Intellect":0,"Wisdom":0,"HitPoints":700,"Reward":0,"BirthPlace":""}],"Name":"mstngtl","Caption":" ","Description":[" :"," 2 2 . ",""," : ","\" \"","\" \" - \"\".","\"\" - .","\"\" - , .","\" \" - 20-30 . .",""," ",""," \" \" :","\" \" - 460","\" \" - 550 ","\" \" - 900","\" \" - 550."]},{"SmImg":"glprba","ImageUrl":"https://img.new-combats.com/i/chars/d/0/1115_czyethrbsk.png","Instances":[{"Image":"glprba","Level":6,"Align":"9","Tag":"","Move":false,"Description":[],"Strength":35,"Dexterity":25,"Intuition":25,"Endurance":40,"Intellect":0,"Wisdom":0,"HitPoints":1000,"Reward":0,"BirthPlace":""}],"Name":"glprb","Caption":" ","Description":[" :"," 2 2 . ",""," : ","\" \"","\" \" - 2 .","\" \" - 1.5 , 2 , 3 .","\"\" - 50 HP , 10-15 . 2-3 . .",""," ."]},{"SmImg":"strgla","ImageUrl":"https://img.new-combats.com/i/chars/d/0/1133_zgdtcylqfy.png","Instances":[{"Image":"strgla","Level":5,"Align":"9","Tag":"","Move":false,"Description":[],"Strength":30,"Dexterity":20,"Intuition":35,"Endurance":50,"Intellect":0,"Wisdom":0,"HitPoints":960,"Reward":0,"BirthPlace":""}],"Name":"strgl","Caption":"","Description":[" :"," 2 2 . ",""," : ","\" \" - 20-30 . .","\" \" - \"\".","\" \" - 30-50 . .",""," ."]}],"Objects":[{"SmImg":"door3","ImageUrl":"https://img.new-combats.com/i/objects/1_front_door2.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"lukadoor1","Caption":" ","Description":[" . ."]}],"Name":"lukadoor","Caption":" ","Description":[]},{"SmImg":"ladder02","ImageUrl":"https://img.new-combats.com/i/objects/ladder02.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":4,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"ladder21","Caption":"","Description":[" ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":1,"ClickChapter":"novice.2","ClickPoint":"E16","Name":"ladder22","Caption":"","Description":[" E16 ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":1,"ClickChapter":"novice.1","ClickPoint":"L12","Name":"ladder23","Caption":"","Description":[" L12 ."]}],"Name":"ladder2","Caption":" ()","Description":[]},{"SmImg":"key","ImageUrl":"https://img.new-combats.com/i/objects/Key1.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":20,"MT":20,"MW":18,"MH":18,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"key11","Caption":" 1","Description":[" 2- ."]}],"Name":"key1_small","Caption":" 1 - .","Description":[]},{"SmImg":"key21","ImageUrl":"https://img.new-combats.com/i/objects/Key2.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":1,"MT":1,"MW":18,"MH":18,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"key21","Caption":" 2","Description":[" 3- ."]}],"Name":"key2_small","Caption":" 2 - .","Description":[]},{"SmImg":"key3","ImageUrl":"https://img.new-combats.com/i/objects/Key3.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":20,"MT":20,"MW":18,"MH":18,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"key31","Caption":" 3","Description":[" 4- ."]}],"Name":"key3_small","Caption":" 3 - .","Description":[]},{"SmImg":"key","ImageUrl":"https://img.new-combats.com/i/objects/Key4.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":20,"MT":20,"MW":18,"MH":18,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"key41","Caption":" 4","Description":[" 4- ."]}],"Name":"key4_small","Caption":" 4 - .","Description":[]},{"SmImg":"key5","ImageUrl":"https://img.new-combats.com/i/objects/Key5.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"key51","Caption":" 5","Description":[" ."]}],"Name":"key5","Caption":" 5","Description":[]},{"SmImg":"key6","ImageUrl":"https://img.new-combats.com/i/objects/Key6.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"key61","Caption":" 6","Description":[" ."]}],"Name":"key6","Caption":" 6","Description":[]},{"SmImg":"key","ImageUrl":"https://img.new-combats.com/i/objects/Key7.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":20,"MT":20,"MW":19,"MH":19,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"key71","Caption":" 7","Description":[" ."]}],"Name":"key7_small","Caption":" 7 - .","Description":[]},{"SmImg":"key8","ImageUrl":"https://img.new-combats.com/i/objects/Key8.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"key81","Caption":" 8","Description":[" ."]}],"Name":"key8","Caption":" 8","Description":[]},{"SmImg":"key9","ImageUrl":"https://img.new-combats.com/i/objects/Key9.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"key91","Caption":" 9","Description":[" ."]}],"Name":"key9","Caption":" 9","Description":[]},{"SmImg":"smag_collect1","ImageUrl":"https://img.new-combats.com/i/objects/smag_collect1.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":2,"MT":2,"MW":20,"MH":20,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"smag_collect1","Caption":" ","Description":[" ."," \"\" ."]}],"Name":"sunduk_small","Caption":" - .","Description":[]},{"SmImg":"smag_collect1_2","ImageUrl":"https://img.new-combats.com/i/objects/smag_collect1_2.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":5,"MT":5,"MW":24,"MH":24,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"sunduk_21","Caption":" ","Description":[" ."," \"\" ."]}],"Name":"sunduk_2","Caption":" ","Description":[]},{"SmImg":"smag_collect1_2","ImageUrl":"https://img.new-combats.com/i/objects/smag_collect1_2.png","Rotate":false,"Importance":0,"BW":60,"BH":60,"ML":5,"MT":5,"MW":24,"MH":24,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"sunduk_21","Caption":" ","Description":[" ."," \"\" ."]}],"Name":"sunduk_2_blendy","Caption":" , ","Description":[]},{"SmImg":"chest01","ImageUrl":"https://img.new-combats.com/i/objects/chest01.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":2,"MT":2,"MW":22,"MH":22,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"chest11","Caption":" ","Description":[" ."," \"\" ."]}],"Name":"chest1_small","Caption":" 1 - .","Description":[]},{"SmImg":"grate02","ImageUrl":"https://img.new-combats.com/i/objects/grate02.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"grate21","Caption":"","Description":[" 4- ."," 3."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"grate22","Caption":"","Description":[" 4- ."," 4."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"grate23","Caption":"","Description":[" ."," 8."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"grate24","Caption":"","Description":[" ."," 9."]}],"Name":"grate2","Caption":" 2","Description":[]},{"SmImg":"1_front_walll_tr","ImageUrl":"https://img.new-combats.com/i/objects/1_front_walll_tr.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"front_walll_tr1","Caption":"","Description":[" , , ."," ."]}],"Name":"front_walll_tr","Caption":"","Description":[]},{"SmImg":"drain_bottom1","ImageUrl":"https://img.new-combats.com/i/objects/drain_bottom.png","Rotate":false,"Importance":0,"BW":80,"BH":50,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"drain1","Caption":"","Description":["..."]},{"HighlightColorString":"ForestGreen","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"drain2","Caption":"","Description":["..."," ."]}],"Name":"drain_bottom1","Caption":" ( )","Description":[]},{"SmImg":"trash01","ImageUrl":"https://img.new-combats.com/i/objects/trash01.png","Rotate":false,"Importance":1,"BW":102,"BH":50,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"trash11","Caption":" ","Description":[" ."]}],"Name":"trash1","Caption":" ","Description":[]},{"SmImg":"full_rune_vial","ImageUrl":"https://img.new-combats.com/i/items/full_rune_vial.gif","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"OrangeRed","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"full_rune_via1","Caption":" ","Description":[" , ."," .",""]}],"Name":"full_rune_vial","Caption":" ","Description":[]}]}); +underground.installMobs({"Mobs":[{"SmImg":"","ImageUrl":"https://img.new-combats.com/i/chars/d/0/1130_mcqzbnqy.png","Instances":[{"Image":"","Level":6,"Align":"0","Tag":"","Move":false,"Description":[],"Strength":35,"Dexterity":35,"Intuition":25,"Endurance":25,"Intellect":0,"Wisdom":0,"HitPoints":390,"Reward":0,"BirthPlace":""}],"Name":"krsnt","Caption":" ","Description":[" :"," 1 3 . ",""," : ","\" \" - \"\".","\" \"","\"\" - 10-30 . . , \"\" .","\" \" - 3 . 10 .",""," ."]}],"Objects":[]}); +underground.installMobs({"Mobs":[{"SmImg":"mhgol","ImageUrl":"https://img.new-combats.com/i/objects/anvil_golem.png","Instances":[{"Image":"","Level":11,"Align":"0","Tag":"","Move":false,"Description":[],"Strength":0,"Dexterity":0,"Intuition":0,"Endurance":0,"Intellect":0,"Wisdom":0,"HitPoints":0,"Reward":0,"BirthPlace":""}],"Name":"zabgol","Caption":"","Description":[]}],"Objects":[{"SmImg":"kuzn","ImageUrl":"https://img.new-combats.com/i/objects/forge01.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"forge1","Caption":"","Description":[" ... 9- 10 . ... ",", - C . ",", , .",""," ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"forge2","Caption":" ","Description":[" ... [9] [10] ."," .",""," :"," [10] "," [10] "," [10] "," [10] "," [10] "," [10] ",""," :"," [10] "," [10] "," [10] "," [10] "," [10] "," [10] "]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"forge3","Caption":" ","Description":[" ... [9] [10] ."," .",""," :"," [10] "," [10] "," [10] "," [10] "," [10] "," [10] "," [10] ",""," :"," [10] "," [10] "," [10] "," [10] "," [10] "," [10] "," [10] "]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"forge4","Caption":" ","Description":[" ... [9] [10] ."," .",""," :"," [10] "," [10] "," [10] "," [10] "," [10] "," [10] "]}],"Name":"forge","Caption":"","Description":[]}]}); +underground.installMobs({"Mobs":[],"Objects":[{"SmImg":"vxod","ImageUrl":"/i/ugobj/vxod.gif","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":0,"MT":0,"MW":38,"MH":38,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"enter","Caption":"","Description":[]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":1,"ClickChapter":"demons.2","ClickPoint":"V2","Name":"ladder02","Caption":"","Description":[" ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":1,"ClickChapter":"demons.2","ClickPoint":"J2","Name":"enter3","Caption":"","Description":[" ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"enter2","Caption":" ","Description":[" ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":1,"ClickChapter":"capital.1","ClickPoint":"I2","Name":"enter4","Caption":"","Description":[" ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":1,"ClickChapter":"capital.2","ClickPoint":"I6","Name":"enter5","Caption":"","Description":[" ."," , , I6 ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":1,"ClickChapter":"capital.1","ClickPoint":"F10","Name":"enter6","Caption":" ","Description":[" ."," , : , F10 , B15."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":1,"ClickChapter":"emerald.1","ClickPoint":"H2","Name":"enter7","Caption":" ","Description":[" ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":1,"ClickChapter":"emerald.2","ClickPoint":"L8","Name":"enter8","Caption":"","Description":[" ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":1,"ClickChapter":"demons.1","ClickPoint":"R13","Name":"enter9","Caption":"","Description":[" ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":1,"ClickChapter":"demons.3","ClickPoint":"7","Name":"enter10","Caption":" ","Description":[" ."]}],"Name":"entrancepoint_green1","Caption":" ","Description":[]},{"SmImg":"vyxod","ImageUrl":"/i/ugobj/vyxod.gif","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":4,"MT":2,"MW":34,"MH":34,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"escape","Caption":" ","Description":[]}],"Name":"escapepoint_blue1","Caption":" ","Description":[]}]}); +underground.installMobs({"Mobs":[],"Objects":[{"SmImg":"teleport01","ImageUrl":"https://img.new-combats.com/i/objects/teleport01.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":4,"MT":5,"MW":28,"MH":28,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":1,"ClickChapter":"capital.4","ClickPoint":"H8","Name":"blueteleport1","Caption":"","Description":[" 4 ."," ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"blueteleport2","Caption":"","Description":[" D5. "," , E5."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"blueteleport3","Caption":" - ","Description":[" H4. "," ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"blueteleport4","Caption":" - ","Description":[" ..."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":1,"ClickChapter":"demons.4","ClickPoint":"K11","Name":"blueteleport5","Caption":"","Description":[" 4 ."," K11 ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"blueteleport6","Caption":"","Description":[" G4."," 1."," , ."]}],"Name":"blueteleport","Caption":" ","Description":[]}]}); +underground.installMobs({"Mobs":[],"Objects":[{"SmImg":"teleport02","ImageUrl":"https://img.new-combats.com/i/objects/teleport02.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":4,"MT":5,"MW":28,"MH":28,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":1,"ClickChapter":"capital.3","ClickPoint":"B7","Name":"redteleport1","Caption":" ","Description":[" B7 ."," 2."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"redteleport2","Caption":" ","Description":[" D11."," ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":1,"ClickChapter":"capital.4","ClickPoint":"K16","Name":"redteleport3","Caption":" - ","Description":[" K16 ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"redteleport4","Caption":" ","Description":[" K5 ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"redteleport5","Caption":" ","Description":[" I7."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"redteleport6","Caption":" ","Description":[" F6."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"redteleport7","Caption":" ","Description":[" . H4, K7."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"redteleport8","Caption":" ","Description":[" . C6, J10."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"redteleport9","Caption":" ","Description":[" J4."," ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":1,"ClickChapter":"sand.2","ClickPoint":"K11","Name":"redteleport10","Caption":"","Description":[" ..."," K11 . . "]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":1,"ClickChapter":"sand.3","ClickPoint":"K11","Name":"redteleport11","Caption":"","Description":[" K11 ."," \"\" ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"redteleport12","Caption":"","Description":[" G10 ."," \"\" ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":1,"ClickChapter":"abandon.4","ClickPoint":"E10","Name":"redteleport13","Caption":" ()","Description":[" , ."]}],"Name":"redteleport","Caption":" ","Description":[]}]}); +underground.installMobs({"Mobs":[],"Objects":[{"SmImg":"teleport04","ImageUrl":"https://img.new-combats.com/i/objects/teleport04.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":4,"MT":5,"MW":28,"MH":28,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"grteleport1","Caption":" ","Description":[" , H8."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":1,"ClickChapter":"abandon.2","ClickPoint":"C6","Name":"grteleport2","Caption":" ()","Description":[" , ."]}],"Name":"greenteleport","Caption":" ","Description":[]},{"SmImg":"weap2","ImageUrl":"https://img.new-combats.com/i/objects/2/weap2.png","Rotate":false,"Importance":0,"BW":60,"BH":60,"ML":2,"MT":5,"MW":32,"MH":31,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"weap21","Caption":"","Description":["..."]}],"Name":"weap2","Caption":" ","Description":[]},{"SmImg":"arrow2","ImageUrl":"/i/ugobj/arrow2.gif","Rotate":false,"Importance":1,"BW":38,"BH":23,"ML":1,"MT":9,"MW":38,"MH":23,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"arrow1","Caption":" ","Description":[" - . ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"arrow2","Caption":"","Description":[]}],"Name":"arrowright","Caption":" ()","Description":[]}]}); +underground.installMobs({"Mobs":[],"Objects":[{"SmImg":"teleport06","ImageUrl":"https://img.new-combats.com/i/objects/teleport06.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":4,"MT":5,"MW":28,"MH":28,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"yellowteleport1","Caption":"","Description":[" G13."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":1,"ClickChapter":"demons.3","ClickPoint":"C21","Name":"yellowtelepor2","Caption":" ","Description":[" , ."," C21 ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":1,"ClickChapter":"abandon.3","ClickPoint":"C6","Name":"yellowtelepor3","Caption":"","Description":[" , ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":1,"ClickChapter":"abandon.1","ClickPoint":"D7","Name":"yellowtelepor4","Caption":" ","Description":[" ."]}],"Name":"yellowteleport","Caption":" ","Description":[]},{"SmImg":"vumpel01","ImageUrl":"https://img.new-combats.com/i/objects/2/polot.png","Rotate":false,"Importance":0,"BW":70,"BH":62,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"vumpel11","Caption":"","Description":["..."]}],"Name":"vumpel1","Caption":" ","Description":[]}]}); +underground.installMobs({"Mobs":[],"Objects":[{"SmImg":"danger2","ImageUrl":"/i/ugobj/danger2_big.gif","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"DarkRed","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"teleport1","Caption":" - ","Description":[", , H6."]},{"HighlightColorString":"DarkRed","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"teleport2","Caption":" - ","Description":[", , I4."]},{"HighlightColorString":"DarkRed","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"teleport3","Caption":" - ","Description":[", , I4."]},{"HighlightColorString":"DarkRed","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"teleport4","Caption":" - ","Description":[", , E7."]},{"HighlightColorString":"DarkRed","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"teleport5","Caption":" - ","Description":[", , F6."]},{"HighlightColorString":"DarkRed","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"teleport6","Caption":" - ","Description":[", , H2."]},{"HighlightColorString":"DarkRed","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"teleport7","Caption":" - ","Description":[", , Q11."]},{"HighlightColorString":"DarkRed","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"teleport8","Caption":" - ","Description":[", , Q4."]},{"HighlightColorString":"DarkRed","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"teleport9","Caption":" - ","Description":[", , R4."]}],"Name":"dangerteleport","Caption":" - ","Description":[]},{"SmImg":"smag_collect1_1","ImageUrl":"https://img.new-combats.com/i/objects/smag_collect1_1.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":5,"MT":5,"MW":24,"MH":24,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"sunduk_11","Caption":" ","Description":[" , ."," \"\" ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"sunduk_12","Caption":"","Description":[" 4, ."," ... ."," ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"sunduk_13","Caption":"","Description":[" ."," ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"sunduk_14","Caption":"","Description":[" ."," ."]}],"Name":"sunduk_1","Caption":" ","Description":[]},{"SmImg":"chest04","ImageUrl":"https://img.new-combats.com/i/objects/chest04.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":5,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"chest11","Caption":" ","Description":[" ."," \"\" ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"chest12","Caption":" ","Description":[" ."," \"\" ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"chest13","Caption":" ","Description":[" ."," \"\" ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"chest14","Caption":" ","Description":[" ."," \"\" ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"chest15","Caption":"","Description":[" - ."]},{"HighlightColorString":"DarkRed","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"chest16","Caption":" - ","Description":[" - , . !"]}],"Name":"chest4","Caption":" 4","Description":[]},{"SmImg":"gobelin01","ImageUrl":"https://img.new-combats.com/i/objects/2/dec_gobelin02.png","Rotate":false,"Importance":0,"BW":85,"BH":48,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"gobelin11","Caption":"","Description":["..."]}],"Name":"gobelin1","Caption":" 1","Description":[]},{"SmImg":"gobelin02","ImageUrl":"https://img.new-combats.com/i/objects/2/dec_gobelin01.png","Rotate":false,"Importance":0,"BW":85,"BH":48,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"gobelin2","Caption":"","Description":["..."]}],"Name":"gobelin2","Caption":" 2","Description":[]}]}); +underground.installMobs({"Mobs":[],"Objects":[{"SmImg":"enter1","ImageUrl":"https://img.new-combats.com/i/objects/les1up1.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":10,"MT":5,"MW":21,"MH":30,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"enter1","Caption":"","Description":[]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"enter2","Caption":"","Description":[" ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":1,"ClickChapter":"capital.2","ClickPoint":"I2","Name":"enter3","Caption":" ","Description":[" ."," , - , I2."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":1,"ClickChapter":"capital.3","ClickPoint":"G7","Name":"enter4","Caption":"","Description":[" ."," , , G7 ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":1,"ClickChapter":"angel.1","ClickPoint":"E2","Name":"enter5","Caption":"","Description":[" ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":1,"ClickChapter":"angel.2","ClickPoint":"G2","Name":"enter6","Caption":"","Description":[" ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":1,"ClickChapter":"sand.1","ClickPoint":"G2","Name":"enter7","Caption":"","Description":[" ."," , - 1 , G2."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":1,"ClickChapter":"sand.1","ClickPoint":"J2","Name":"enter8","Caption":"","Description":[" ."," , - 2 , G2 , D6 ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":1,"ClickChapter":"sand.2","ClickPoint":"I2","Name":"enter9","Caption":"","Description":[" ."," , -, I2 ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":1,"ClickChapter":"sand.2","ClickPoint":"B2","Name":"enter10","Caption":"","Description":[" ."," , , B2 ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":1,"ClickChapter":"sand.3","ClickPoint":"G2","Name":"enter11","Caption":"","Description":[" ."," , , G2 ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":1,"ClickChapter":"emerald.3","ClickPoint":"J5","Name":"enter12","Caption":"","Description":[" ."]}],"Name":"enter","Caption":" ","Description":[]},{"SmImg":"ladder1","ImageUrl":"https://img.new-combats.com/i/objects/les1down1.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":2,"MT":5,"MW":34,"MH":29,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":1,"ClickChapter":"capital.2","ClickPoint":"I11","Name":"ladder1","Caption":" ","Description":[", I11 ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":1,"ClickChapter":"capital.3","ClickPoint":"I7","Name":"ladder2","Caption":" ","Description":[", I7 ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":1,"ClickChapter":"emerald.2","ClickPoint":"F10","Name":"ladder3","Caption":" ","Description":[", F10 ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":1,"ClickChapter":"emerald.3","ClickPoint":"I12","Name":"ladder4","Caption":" ","Description":[", I12 ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":1,"ClickChapter":"emerald.4","ClickPoint":"E6","Name":"ladder5","Caption":" ","Description":[" , E6 . "," , ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":1,"ClickChapter":"angel.2","ClickPoint":"G11","Name":"ladder6","Caption":" ","Description":[", G11 ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":1,"ClickChapter":"angel.3","ClickPoint":"F11","Name":"ladder7","Caption":" ","Description":[", F11 ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":1,"ClickChapter":"sand.2","ClickPoint":"C11","Name":"ladder8","Caption":" 1","Description":[" .",", C11 ."," 1!"]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":1,"ClickChapter":"sand.2","ClickPoint":"K11","Name":"ladder9","Caption":" 2","Description":[" .",", K11 ."," 2!"]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":1,"ClickChapter":"sand.3","ClickPoint":"F11","Name":"ladder10","Caption":" ","Description":[", F11 ."]}],"Name":"ladder","Caption":"","Description":[]}]}); +underground.installMobs({"Mobs":[],"Objects":[{"SmImg":"door1","ImageUrl":"https://img.new-combats.com/i/objects/1/door2.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"enterdoor1","Caption":"","Description":[" ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"enterdoor2","Caption":" ","Description":[" 3."," J4 , ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"enterdoor3","Caption":" ","Description":[" 4."," , ..."," ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"enterdoor4","Caption":"","Description":[" ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"enterdoor5","Caption":"","Description":[" 3."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"enterdoor6","Caption":"","Description":[]}],"Name":"enterdoor","Caption":", ","Description":[]},{"SmImg":"key3","ImageUrl":"https://img.new-combats.com/i/objects/Key3.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"key31","Caption":" 3","Description":[" ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"key32","Caption":" 3","Description":[" :"," , "," "]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"key33","Caption":" 3","Description":[" , G6."]}],"Name":"key3","Caption":" 3","Description":[]}]}); +underground.installMobs({"Mobs":[],"Objects":[{"SmImg":"well05","ImageUrl":"https://img.new-combats.com/i/objects/well05.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"fountain51","Caption":" ","Description":[" , , ."," , ."," ."," ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"fountain52","Caption":" ","Description":[" , . "," . ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"fountain53","Caption":" ","Description":[" ."," 1 2. "," F5 H8 ."," ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"fountain54","Caption":" ","Description":[" ."," 1 2. "," F5 H8 ."," ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"fountain55","Caption":" ","Description":[" , , ."," , ."]}],"Name":"fountain5","Caption":" 5","Description":[]}]}); +underground.installMobs({"Mobs":[],"Objects":[{"SmImg":"well06","ImageUrl":"https://img.new-combats.com/i/objects/well06.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"fountain61","Caption":" ","Description":[" . ... ."," ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"fountain62","Caption":" ","Description":[" ."," , ."," ... , ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"fountain63","Caption":" ","Description":[" ."," ."," .",""," ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"fountain64","Caption":" ","Description":[" , , , , . "," . . "]}],"Name":"fountain6","Caption":" 6","Description":[]}]}); +underground.installMobs({"Mobs":[],"Objects":[{"SmImg":"smag_collect1","ImageUrl":"https://img.new-combats.com/i/objects/smag_collect1.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":6,"MT":5,"MW":28,"MH":28,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"sunduk1","Caption":"","Description":[" : , (), (), (), , ..."," \"\" ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"sunduk2","Caption":"","Description":[" ..."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"sunduk3","Caption":"","Description":[" : , ()."," \"\" ."]},{"HighlightColorString":"DarkRed","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"sunduk4","Caption":"","Description":[" ... , ."," , (), () (), ..."," \"\" ."]},{"HighlightColorString":"DarkRed","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"sunduk5","Caption":"","Description":[" ... , ."," , (), () (), ..."," \"\" ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"sunduk6","Caption":" ","Description":[" ."," \"\" ."]},{"HighlightColorString":"DarkRed","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"sunduk7","Caption":"","Description":[" : , , , \" \". ."," - !"]},{"HighlightColorString":"DarkRed","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"sunduk8","Caption":" - ","Description":[", , , ..."," , ..."]},{"HighlightColorString":"DarkRed","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"sunduk9","Caption":"","Description":[" ."," : , , . "]},{"HighlightColorString":"DarkRed","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"sunduk10","Caption":"","Description":[" ."," : , - . ."," \"\" ."]},{"HighlightColorString":"DarkRed","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"sunduk11","Caption":"","Description":[" ."," 1. , F4.",""," , ."," ."]}],"Name":"smag_collect1","Caption":"","Description":[]}]}); +underground.installMobs({"Mobs":[],"Objects":[{"SmImg":"smag_collect1_3","ImageUrl":"https://img.new-combats.com/i/objects/smag_collect1_3.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":5,"MT":5,"MW":24,"MH":24,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"sunduk_31","Caption":" ","Description":[" ."," \"\" ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"sunduk_32","Caption":"","Description":[" 4."," \"\" . ."]}],"Name":"sunduk_3","Caption":" ","Description":[]},{"SmImg":"drain_bottom","ImageUrl":"https://img.new-combats.com/i/objects/drain_bottom.png","Rotate":false,"Importance":0,"BW":80,"BH":50,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"drain1","Caption":"","Description":["..."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"drain2","Caption":"","Description":["..."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"drain3","Caption":"","Description":["..."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":1,"ClickChapter":"demons.1","ClickPoint":"G1","Name":"drain4","Caption":" ","Description":[" ."," , \"\" ( G1 )."]},{"HighlightColorString":"ForestGreen","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"drain5","Caption":"","Description":[" [0/1] ."," ."]},{"HighlightColorString":"DarkRed","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"drain6","Caption":" - ","Description":[" , , 80% HP."," . , ."]}],"Name":"drain_bottom","Caption":"","Description":[]},{"SmImg":"drain_top","ImageUrl":"https://img.new-combats.com/i/objects/drain_top.png","Rotate":false,"Importance":0,"BW":70,"BH":40,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"ForestGreen","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"drain_top1","Caption":"","Description":[" ."," ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"drain_top2","Caption":"","Description":[]}],"Name":"drain_top","Caption":" - ","Description":[]},{"SmImg":"proboina","ImageUrl":"https://img.new-combats.com/i/objects/proboina.png","Rotate":false,"Importance":1,"BW":60,"BH":30,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"proboina1","Caption":"","Description":[" , J14."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"proboina2","Caption":"","Description":[" , F16."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"proboina3","Caption":"","Description":[" ..."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":1,"ClickChapter":"demons.3","ClickPoint":"B1","Name":"proboina4","Caption":" ","Description":[" - ."," B1 ."," , ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"proboina5","Caption":"","Description":[" , I21 ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"proboina6","Caption":" ","Description":[" - ."," M19 ."]}],"Name":"proboina","Caption":"","Description":[]},{"SmImg":"trash2","ImageUrl":"https://img.new-combats.com/i/objects/trash02.png","Rotate":false,"Importance":1,"BW":102,"BH":50,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"trash21","Caption":" ","Description":[" ."]},{"HighlightColorString":"DarkRed","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"trash22","Caption":" ","Description":[" ... ",", .","",":","\" \" - (: -6), 6 .","\" \" - (: -6), 6 .","\" \" - (: -6), 6 .","\" \" - (: -2, : -2, : -2), 3 .","\"\" - ( : -10), 3 .","\" \" - (. -20%, . -25%, . -30%, . -25%), 36 .",""," :","\" \" - HP(%):-40","",": , .",""," - ( ) ."]}],"Name":"trash2","Caption":"","Description":[]}]}); +underground.installMobs({"Mobs":[],"Objects":[{"SmImg":"chest01","ImageUrl":"https://img.new-combats.com/i/objects/chest01.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"chest12","Caption":"","Description":[" , , 400 , ..."," \"\" ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"chest15","Caption":"","Description":[" ."," \"\" ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"chest11","Caption":" ","Description":[" ."," \"\" ."]},{"HighlightColorString":"DarkRed","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"chest13","Caption":"","Description":[" - ..., , 10 .","! ."," \"\" ."]},{"HighlightColorString":"DarkRed","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"chest14","Caption":"","Description":[" , +60HP, , 10 . ","! , . , ."," \"\" ."]}],"Name":"chest1","Caption":" 1","Description":[]}]}); +underground.installMobs({"Mobs":[],"Objects":[{"SmImg":"chest02","ImageUrl":"https://img.new-combats.com/i/objects/chest02.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":2,"MT":2,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"chest21","Caption":" ","Description":[" , ."," \"\" ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"chest22","Caption":"","Description":[" 3."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"chest23","Caption":" ","Description":[" ."," \"\" ."]},{"HighlightColorString":"DarkRed","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"chest24","Caption":" - ","Description":[" [6]-[7] ."," ! , 1000 HP."," \"\" ."]},{"HighlightColorString":"DarkRed","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"chest25","Caption":"","Description":[" - . , , - ...","! ."," \"\" ."]}],"Name":"chest01","Caption":" 2","Description":[]},{"SmImg":"attentionpoint_red1","ImageUrl":"/i/ugobj/attentionpoint_red1.gif","Rotate":false,"Importance":1,"BW":40,"BH":40,"ML":0,"MT":0,"MW":38,"MH":38,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"danger1","Caption":"","Description":[" - c ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"danger2","Caption":"","Description":[" - . , ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"danger3","Caption":"","Description":[" , 90% , ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"danger4","Caption":"","Description":[" - . , !"]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"danger5","Caption":"","Description":[" - ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"danger6","Caption":"","Description":[" , 90% , ."," ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"danger7","Caption":"","Description":[" - R10."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"danger8","Caption":"","Description":[" - 1000 . ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"danger9","Caption":"","Description":[" - 1000 . ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"danger10","Caption":"","Description":[" - ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"danger11","Caption":"","Description":[" - ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"danger12","Caption":"","Description":[" - , ."]}],"Name":"attentionpoint_red1","Caption":"","Description":[]}]}); +underground.installMobs({"Mobs":[],"Objects":[{"SmImg":"chest03","ImageUrl":"https://img.new-combats.com/i/objects/chest03.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":2,"MT":5,"MW":34,"MH":34,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"chest31","Caption":" ","Description":[" . C G12."," ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"chest32","Caption":"","Description":[" , , oca, Aea, ."," \"\" ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"chest33","Caption":" ","Description":[" ."," \"\" ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"chest34","Caption":" ","Description":[" ."," \"\" ."]}],"Name":"chest3","Caption":" 3","Description":[]}]}); +underground.installMobs({"Mobs":[],"Objects":[{"SmImg":"altar","ImageUrl":"https://img.new-combats.com/i/objects/altar01.png","Rotate":false,"Importance":2,"BW":60,"BH":60,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"altar1","Caption":" ","Description":[" ."," , - . \"\" ..."," - , 4 ."," - , 5 ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"altar2","Caption":"","Description":[" - . ."," B5. ."]},{"HighlightColorString":"DarkRed","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"altar3","Caption":" - ","Description":[" , 3 6 . : 2, 3, 4, 5. ",""," : ","\" \" - ( +25), 3.","\"\" - ( (HP) +30), 6 .","\"\" - ( HP (%): +50), 3 . ","\"\" (: +5), 6 .","\"\" (: +5), 6 .","\"\" (: +5), 6 . ",""," :","\" \" - ( : +25, : -25), 3 . ","\"\" - ( (HP) -30), 6 .","\"\" - ( HP (%): -50), 3 .","\"\" - (: -5), 6 .","\"\" - (: -5), 6 .","\"\" - (: -5), 6 . ",""," : , , , , ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"altar4","Caption":" ","Description":[" ."," ."]},{"HighlightColorString":"DarkRed","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"altar5","Caption":" ","Description":[" . ( 700-701 HP). "," : , , , , ."]}],"Name":"altar","Caption":"","Description":[]}]}); +underground.installMobs({"Mobs":[],"Objects":[{"SmImg":"grate","ImageUrl":"https://img.new-combats.com/i/objects/grate.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"grate1","Caption":"","Description":[" 3."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"grate2","Caption":"","Description":[" 2."," F5 ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"grate3","Caption":" ","Description":[]}],"Name":"grate","Caption":"","Description":[]}]}); +underground.installMobs({"Mobs":[],"Objects":[{"SmImg":"grate01","ImageUrl":"https://img.new-combats.com/i/objects/grate01.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"grate11","Caption":"","Description":[" ."," , J1..."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"grate12","Caption":"","Description":[" ."," 5."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"grate13","Caption":"","Description":[" 2- ."," 1."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"grate14","Caption":"","Description":[" 3- ."," 2."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"grate15","Caption":"","Description":[" 1."," 7."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"grate16","Caption":"","Description":[" 2."," 7."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"grate17","Caption":"","Description":[" 3."," 7."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"grate18","Caption":"","Description":[" 4."," 7."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"grate19","Caption":"","Description":[" ."," 6."]}],"Name":"grate1","Caption":" 1","Description":[]}]}); +underground.installMobs({"Mobs":[],"Objects":[{"SmImg":"lab","ImageUrl":"https://img.new-combats.com/i/objects/lab01.png","Rotate":false,"Importance":2,"BW":60,"BH":60,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"lab1","Caption":"","Description":[" , 3 10 ."," , . ( B4)."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"lab2","Caption":"","Description":[" . : , , (5 .)."," ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"lab3","Caption":" ","Description":[" , ."," ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"lab4","Caption":"","Description":[" , ."," ."]}],"Name":"lab","Caption":"","Description":[]}]}); +underground.installMobs({"Mobs":[],"Objects":[{"SmImg":"arrow1","ImageUrl":"/i/ugobj/arrow1.gif","Rotate":false,"Importance":1,"BW":23,"BH":38,"ML":9,"MT":1,"MW":23,"MH":38,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"arrow1","Caption":" ","Description":[" - . ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":1,"ClickChapter":"capital.5","ClickPoint":"S5","Name":"arrow2","Caption":" ","Description":[" , . "," ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"arrow3","Caption":"","Description":[]}],"Name":"arrowup","Caption":" ()","Description":[]}]}); +underground.installMobs({"Mobs":[],"Objects":[{"SmImg":"arrow4","ImageUrl":"/i/ugobj/arrow4.gif","Rotate":false,"Importance":1,"BW":38,"BH":23,"ML":1,"MT":9,"MW":38,"MH":23,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"arrow1","Caption":" ","Description":[" - . ."]}],"Name":"arrowleft","Caption":" ()","Description":[]}]}); +underground.addDungeon({"RequiredScriptNames":["dungeon.data.novice.js","dungeon.data.abandon.novice.js","dungeon.data.angel.capital.demons.emerald.novice.sand.js","dungeon.data.capital.demons.emerald.novice.sand.js","dungeon.data.demons.novice.js","dungeon.data.angel.demons.novice.js","dungeon.data.angel.capital.demons.novice.js","dungeon.data.angel.capital.novice.js","dungeon.data.capital.novice.js","dungeon.data.angel.demons.novice.sand.js"],"NewLineToBR":true,"CellBackgroundColorString":"#EBEBD3","CellBorderColorString":"#9E965C","Jobs":{"CollectiveJobs":[],"CapturedJobs":[{"Caption":"","ImageUrl":"https://img.new-combats.com/i/items/mater247.gif","ItemReward":0,"Description":[" .",""," . "," ."],"DefCount":1}],"KillingJobs":[{"MobName":"strgl","Unique":false,"Description":[" , .",""," 3 ."],"DefCount":1},{"MobName":"hozkan","Unique":false,"Description":[" , , ",""," 3 ."],"DefCount":1},{"MobName":"glprb","Unique":false,"Description":[" , , ",""," 3 ."],"DefCount":1}]},"Floors":[{"Cells":[{"X":2,"Y":14,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":14,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"santzm","Level":4,"Align":"0","Tag":"","Count":2},{"Name":"stpauk","Level":4,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":14,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":14,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"grate2","InstanceName":"grate22"}],"HotSpots":[{"HighlightColorString":"#3E4F4F","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":11,"Y":4}]}]},{"X":6,"Y":14,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"santzm","Level":4,"Align":"0","Tag":"","Count":1},{"Name":"stpauk","Level":4,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[{"ObjectName":"drain_bottom1","InstanceName":"drain1"}],"HotSpots":[]},{"X":6,"Y":13,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":13,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"chest3","InstanceName":"chest33"}],"HotSpots":[]},{"X":2,"Y":13,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"santzm","Level":4,"Align":"0","Tag":"","Count":2},{"Name":"stpauk","Level":4,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[{"ObjectName":"drain_bottom1","InstanceName":"drain1"}],"HotSpots":[]},{"X":2,"Y":12,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":12,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"chest01","InstanceName":"chest23"}],"HotSpots":[]},{"X":4,"Y":12,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"martn","Level":5,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":12,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"chest01","InstanceName":"chest23"}],"HotSpots":[]},{"X":6,"Y":12,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"santzm","Level":4,"Align":"0","Tag":"","Count":1},{"Name":"stpauk","Level":4,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":11,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":10,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"proboina","InstanceName":"proboina1"}],"HotSpots":[{"HighlightColorString":"Transparent","Opacity":0.9,"ImageUrl":"/i/ugobj/escapepoint_yellow1.gif","CellRefs":[{"X":9,"Y":13}]}]},{"X":3,"Y":10,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"santzm","Level":4,"Align":"0","Tag":"","Count":4}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":10,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":11,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"grate1","InstanceName":"grate12"}],"HotSpots":[{"HighlightColorString":"#3E4F4F","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":1,"Y":5}]}]},{"X":6,"Y":10,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"pauk","Level":4,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":11,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"chest1","InstanceName":"chest11"}],"HotSpots":[]},{"X":3,"Y":9,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"chest1","InstanceName":"chest11"}],"HotSpots":[]},{"X":3,"Y":8,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":7,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"stpauk","Level":4,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":6,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":6,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"pauk","Level":4,"Align":"0","Tag":"","Count":2},{"Name":"kanzuk","Level":4,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[{"ObjectName":"drain_top","InstanceName":"drain_top1"}],"HotSpots":[]},{"X":3,"Y":5,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"stpauk","Level":4,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":0,"Y":6,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"chest1","InstanceName":"chest11"}],"HotSpots":[]},{"X":1,"Y":5,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"key5","InstanceName":"key51"}],"HotSpots":[{"HighlightColorString":"#3E4F4F","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":2,"Y":11}]}]},{"X":1,"Y":7,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"chest1","InstanceName":"chest11"}],"HotSpots":[]},{"X":5,"Y":6,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"stpauk","Level":4,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":6,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"stpauk","Level":4,"Align":"0","Tag":"","Count":1},{"Name":"kanzuk","Level":4,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":8,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"stpauk","Level":4,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":8,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"chest1","InstanceName":"chest11"}],"HotSpots":[]},{"X":6,"Y":9,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"stpauk","Level":4,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":10,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":10,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"drain_bottom","InstanceName":"drain2"}],"HotSpots":[]},{"X":9,"Y":10,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":10,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"pauk","Level":4,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":13,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"grate2","InstanceName":"grate21"}],"HotSpots":[{"HighlightColorString":"#3E4F4F","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":7,"Y":0}]}]},{"X":8,"Y":13,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"pauk","Level":4,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":13,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"drain_bottom","InstanceName":"drain2"}],"HotSpots":[]},{"X":9,"Y":14,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"entrancepoint_green1","InstanceName":"enter"},{"ObjectName":"ladder2","InstanceName":"ladder21"}],"HotSpots":[]},{"X":10,"Y":13,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"pauk","Level":4,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":11,"Y":13,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":11,"Y":14,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"luka","Level":5,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":11,"Y":15,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"front_walll_tr","InstanceName":"front_walll_tr1"}],"HotSpots":[]},{"X":12,"Y":13,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":12,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":11,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"santzm","Level":4,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":11,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"lab","InstanceName":"lab3"}],"HotSpots":[]},{"X":11,"Y":11,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"escapepoint_blue1","InstanceName":"escape"},{"ObjectName":"ladder2","InstanceName":"ladder22"}],"HotSpots":[]},{"X":10,"Y":9,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":12,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":11,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pauk","Level":4,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":9,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pauk","Level":4,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":8,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":8,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"stpauk","Level":4,"Align":"0","Tag":"","Count":1},{"Name":"kanzuk","Level":4,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":8,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":7,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"stpauk","Level":4,"Align":"0","Tag":"","Count":1},{"Name":"santzm","Level":4,"Align":"0","Tag":"","Count":1},{"Name":"kanzuk","Level":4,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":6,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":6,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"chest1","InstanceName":"chest11"}],"HotSpots":[]},{"X":7,"Y":6,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"kanzuk","Level":4,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":7,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":8,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pauk","Level":4,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":11,"Y":8,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"drain_bottom","InstanceName":"drain1"}],"HotSpots":[]},{"X":12,"Y":8,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"pauk","Level":4,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":12,"Y":7,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pauk","Level":4,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":13,"Y":7,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"chest1","InstanceName":"chest11"}],"HotSpots":[]},{"X":10,"Y":7,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pauk","Level":4,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":6,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pauk","Level":4,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":11,"Y":6,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"drain_bottom","InstanceName":"drain1"}],"HotSpots":[]},{"X":12,"Y":6,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"drain_bottom","InstanceName":"drain1"}],"HotSpots":[]},{"X":12,"Y":5,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pauk","Level":4,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":11,"Y":7,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"kanzuk","Level":4,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":11,"Y":5,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"tungad","Level":4,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":5,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"stpauk","Level":4,"Align":"0","Tag":"","Count":2},{"Name":"kanzuk","Level":4,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":11,"Y":4,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"chest1_small","InstanceName":"chest11"},{"ObjectName":"key4_small","InstanceName":"key41"}],"HotSpots":[{"HighlightColorString":"#3E4F4F","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":5,"Y":14}]}]},{"X":11,"Y":3,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":12,"Y":4,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":12,"Y":3,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pauk","Level":4,"Align":"0","Tag":"","Count":2},{"Name":"kanzuk","Level":4,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":3,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":2,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":1,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"obpodv","Level":4,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":0,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"key1_small","InstanceName":"key11"},{"ObjectName":"chest1_small","InstanceName":"chest11"}],"HotSpots":[{"HighlightColorString":"#3E4F4F","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":8,"Y":4}]}]},{"X":9,"Y":3,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"pauk","Level":4,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":3,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":3,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"pauk","Level":4,"Align":"0","Tag":"","Count":2},{"Name":"kanzuk","Level":4,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[{"ObjectName":"drain_bottom1","InstanceName":"drain2"}],"HotSpots":[]},{"X":6,"Y":3,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":4,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"grate1","InstanceName":"grate14"}],"HotSpots":[{"HighlightColorString":"#3E4F4F","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":7,"Y":0}]}]},{"X":5,"Y":3,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"santzm","Level":4,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":3,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"chest1","InstanceName":"chest11"}],"HotSpots":[]},{"X":8,"Y":4,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"grate1","InstanceName":"grate13"}],"HotSpots":[{"HighlightColorString":"#3E4F4F","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":10,"Y":0}]}]},{"X":7,"Y":5,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"stpauk","Level":4,"Align":"0","Tag":"","Count":1},{"Name":"kanzuk","Level":4,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":5,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":5,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":2,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":1,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"obpodv","Level":4,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":13,"Y":13,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"lukadoor","InstanceName":"lukadoor1"}],"HotSpots":[]},{"X":1,"Y":6,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"gmrz","Level":4,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[{"ObjectName":"drain_bottom1","InstanceName":"drain1"}],"HotSpots":[]},{"X":2,"Y":6,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"santzm","Level":4,"Align":"0","Tag":"","Count":1},{"Name":"stpauk","Level":4,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[{"ObjectName":"drain_bottom1","InstanceName":"drain1"}],"HotSpots":[]},{"X":6,"Y":7,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":5,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"drain_bottom","InstanceName":"drain1"}],"HotSpots":[]},{"X":7,"Y":0,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"key2_small","InstanceName":"key21"},{"ObjectName":"key3_small","InstanceName":"key31"}],"HotSpots":[{"HighlightColorString":"#3E4F4F","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":7,"Y":13},{"X":6,"Y":4}]}]},{"X":4,"Y":10,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"full_rune_vial","InstanceName":"full_rune_via1"}],"HotSpots":[]}],"LookDirection":3,"Width":15,"Height":17,"DataBounds":"0, 0, 14, 16","Name":"floor1","Caption":"1 ","Description":[]},{"Cells":[{"X":0,"Y":0,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"sunduk_small","InstanceName":"smag_collect1"},{"ObjectName":"key7_small","InstanceName":"key71"}],"HotSpots":[{"HighlightColorString":"#3E4F4F","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":9,"Y":11},{"X":7,"Y":11},{"X":7,"Y":15},{"X":9,"Y":15}]}]},{"X":1,"Y":0,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"hozkan","Level":6,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":0,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"proboina","InstanceName":"proboina2"}],"HotSpots":[{"HighlightColorString":"Transparent","Opacity":0.9,"ImageUrl":"/i/ugobj/escapepoint_yellow1.gif","CellRefs":[{"X":5,"Y":15}]}]},{"X":1,"Y":1,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":2,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"grate1","InstanceName":"grate19"}],"HotSpots":[{"HighlightColorString":"#3E4F4F","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":3,"Y":5}]}]},{"X":1,"Y":3,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":4,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"krsnt","Level":6,"Align":"0","Tag":"","Count":1},{"Name":"bzgsnt","Level":5,"Align":"0","Tag":"","Count":2},{"Name":"letb","Level":6,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":4,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":5,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":6,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"kanpauk","Level":5,"Align":"0","Tag":"","Count":3},{"Name":"letb","Level":6,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":6,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"trash1","InstanceName":"trash11"}],"HotSpots":[]},{"X":1,"Y":8,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":8,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":5,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"key6","InstanceName":"key61"}],"HotSpots":[{"HighlightColorString":"#3E4F4F","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":1,"Y":2}]}]},{"X":3,"Y":6,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"krsnt","Level":6,"Align":"0","Tag":"","Count":2},{"Name":"bzgsnt","Level":5,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":7,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":7,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":8,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"letb","Level":6,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":8,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":7,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"kanpauk","Level":5,"Align":"0","Tag":"","Count":1},{"Name":"strkr","Level":5,"Align":"0","Tag":"","Count":2},{"Name":"letb","Level":6,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":4,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":4,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"letb","Level":6,"Align":"0","Tag":"","Count":1},{"Name":"bzgsnt","Level":5,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":4,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":4,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":6,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":6,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"drain_bottom","InstanceName":"drain2"}],"HotSpots":[]},{"X":7,"Y":5,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"krsnt","Level":6,"Align":"0","Tag":"","Count":1},{"Name":"bzgsnt","Level":5,"Align":"0","Tag":"","Count":1},{"Name":"kanpauk","Level":5,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":4,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":6,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":7,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":8,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"krsnt","Level":6,"Align":"0","Tag":"","Count":2},{"Name":"letb","Level":6,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":8,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"sunduk_2","InstanceName":"sunduk_21"}],"HotSpots":[]},{"X":8,"Y":6,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":2},"BackColorString":"WhiteSmoke","MobRefs":[],"ObjectRefs":[{"ObjectName":"trash1","InstanceName":"trash11"}],"HotSpots":[]},{"X":8,"Y":4,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":2},"BackColorString":"WhiteSmoke","MobRefs":[],"ObjectRefs":[{"ObjectName":"trash2","InstanceName":"trash21"}],"HotSpots":[]},{"X":9,"Y":4,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"WhiteSmoke","MobRefs":[{"Name":"strkr","Level":5,"Align":"0","Tag":"","Count":1},{"Name":"bzgsnt","Level":5,"Align":"0","Tag":"","Count":2},{"Name":"kanpauk","Level":5,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":5,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"WhiteSmoke","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":6,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"WhiteSmoke","MobRefs":[{"Name":"strkr","Level":5,"Align":"0","Tag":"","Count":1},{"Name":"bzgsnt","Level":5,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":7,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"WhiteSmoke","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":8,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"WhiteSmoke","MobRefs":[{"Name":"strkr","Level":5,"Align":"0","Tag":"","Count":1},{"Name":"bzgsnt","Level":5,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":3,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"WhiteSmoke","MobRefs":[],"ObjectRefs":[{"ObjectName":"drain_bottom","InstanceName":"drain2"}],"HotSpots":[]},{"X":9,"Y":2,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"WhiteSmoke","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":2,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"WhiteSmoke","MobRefs":[{"Name":"strkr","Level":5,"Align":"0","Tag":"","Count":2},{"Name":"bzgsnt","Level":5,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":2,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":2},"BackColorString":"WhiteSmoke","MobRefs":[],"ObjectRefs":[{"ObjectName":"trash2","InstanceName":"trash21"}],"HotSpots":[]},{"X":5,"Y":9,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"WhiteSmoke","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":9,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"WhiteSmoke","MobRefs":[{"Name":"kanpauk","Level":5,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":9,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"WhiteSmoke","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":9,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"WhiteSmoke","MobRefs":[{"Name":"kanpauk","Level":5,"Align":"0","Tag":"","Count":1},{"Name":"strkr","Level":5,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":9,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"WhiteSmoke","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":7,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"WhiteSmoke","MobRefs":[{"Name":"kanpauk","Level":5,"Align":"0","Tag":"","Count":1},{"Name":"bzgsnt","Level":5,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":11,"Y":7,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"WhiteSmoke","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":11,"Y":6,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"WhiteSmoke","MobRefs":[{"Name":"kanpauk","Level":5,"Align":"0","Tag":"","Count":1},{"Name":"strkr","Level":5,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":11,"Y":5,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"WhiteSmoke","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":5,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"WhiteSmoke","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":12,"Y":5,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"WhiteSmoke","MobRefs":[{"Name":"kanpauk","Level":5,"Align":"0","Tag":"","Count":2},{"Name":"bzgsnt","Level":5,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":12,"Y":7,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"WhiteSmoke","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":13,"Y":7,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"WhiteSmoke","MobRefs":[],"ObjectRefs":[{"ObjectName":"drain_bottom","InstanceName":"drain2"}],"HotSpots":[]},{"X":13,"Y":6,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"WhiteSmoke","MobRefs":[{"Name":"bzgsnt","Level":5,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":13,"Y":5,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"WhiteSmoke","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":15,"Y":7,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":2},"BackColorString":"WhiteSmoke","MobRefs":[],"ObjectRefs":[{"ObjectName":"trash1","InstanceName":"trash11"}],"HotSpots":[]},{"X":14,"Y":5,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"WhiteSmoke","MobRefs":[{"Name":"strkr","Level":5,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":14,"Y":4,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"WhiteSmoke","MobRefs":[{"Name":"strgl","Level":5,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":15,"Y":4,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":2},"BackColorString":"WhiteSmoke","MobRefs":[],"ObjectRefs":[{"ObjectName":"chest3","InstanceName":"chest34"}],"HotSpots":[]},{"X":14,"Y":3,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"WhiteSmoke","MobRefs":[],"ObjectRefs":[{"ObjectName":"proboina","InstanceName":"proboina2"}],"HotSpots":[{"HighlightColorString":"Transparent","Opacity":0.9,"ImageUrl":"/i/ugobj/escapepoint_yellow1.gif","CellRefs":[{"X":5,"Y":15}]}]},{"X":12,"Y":4,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"WhiteSmoke","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":12,"Y":3,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"WhiteSmoke","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":13,"Y":3,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"WhiteSmoke","MobRefs":[{"Name":"bzgsnt","Level":5,"Align":"0","Tag":"","Count":2},{"Name":"strkr","Level":5,"Align":"0","Tag":"","Count":1},{"Name":"kanpauk","Level":5,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":11,"Y":3,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"WhiteSmoke","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":3,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"WhiteSmoke","MobRefs":[{"Name":"strkr","Level":5,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":13,"Y":2,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"WhiteSmoke","MobRefs":[],"ObjectRefs":[{"ObjectName":"trash2","InstanceName":"trash21"}],"HotSpots":[]},{"X":5,"Y":10,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"WhiteSmoke","MobRefs":[{"Name":"kanpauk","Level":5,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":15,"Y":8,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":14,"Y":8,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"krsnt","Level":6,"Align":"0","Tag":"","Count":1},{"Name":"slzm","Level":6,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":13,"Y":8,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"drain_bottom","InstanceName":"drain2"}],"HotSpots":[]},{"X":12,"Y":8,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":11,"Y":8,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"slzm","Level":6,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":8,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":9,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"mstngtl","Level":6,"Align":"9","Tag":"","Count":1},{"Name":"slzm","Level":6,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":10,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"key9","InstanceName":"key91"}],"HotSpots":[{"HighlightColorString":"#3E4F4F","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":15,"Y":13}]}]},{"X":11,"Y":9,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"sunduk_2","InstanceName":"sunduk_21"}],"HotSpots":[]},{"X":15,"Y":9,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"krsnt","Level":6,"Align":"0","Tag":"","Count":1},{"Name":"slzm","Level":6,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":15,"Y":10,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":14,"Y":10,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":15,"Y":11,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"krsnt","Level":6,"Align":"0","Tag":"","Count":1},{"Name":"bzgsnt","Level":5,"Align":"0","Tag":"","Count":1},{"Name":"letb","Level":6,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":15,"Y":12,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"slzm","Level":6,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":14,"Y":12,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"smag_collect1","InstanceName":"sunduk6"}],"HotSpots":[]},{"X":13,"Y":10,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"bzgsnt","Level":5,"Align":"0","Tag":"","Count":1},{"Name":"slzm","Level":6,"Align":"0","Tag":"","Count":1},{"Name":"krsnt","Level":6,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":13,"Y":11,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":13,"Y":12,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":13,"Y":13,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"drain_bottom","InstanceName":"drain2"}],"HotSpots":[]},{"X":12,"Y":13,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":15,"Y":13,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"grate2","InstanceName":"grate24"}],"HotSpots":[{"HighlightColorString":"#3E4F4F","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":10,"Y":10}]}]},{"X":11,"Y":13,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"grate2","InstanceName":"grate23"}],"HotSpots":[{"HighlightColorString":"#3E4F4F","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":8,"Y":10}]}]},{"X":10,"Y":13,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":13,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"slzm","Level":6,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":12,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":11,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"grate1","InstanceName":"grate18"}],"HotSpots":[{"HighlightColorString":"#3E4F4F","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":0,"Y":0}]}]},{"X":9,"Y":10,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"attentionpoint_red1","InstanceName":"danger4"}],"HotSpots":[{"HighlightColorString":"LightCoral","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":8,"Y":10}]}]},{"X":7,"Y":10,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"attentionpoint_red1","InstanceName":"danger4"}],"HotSpots":[{"HighlightColorString":"LightCoral","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":6,"Y":10}]}]},{"X":6,"Y":10,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"mstngtl","Level":6,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[{"ObjectName":"sunduk_2_blendy","InstanceName":"sunduk_21"}],"HotSpots":[]},{"X":7,"Y":11,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"grate1","InstanceName":"grate16"}],"HotSpots":[{"HighlightColorString":"#3E4F4F","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":0,"Y":0}]}]},{"X":7,"Y":12,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":13,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"krsnt","Level":6,"Align":"0","Tag":"","Count":1},{"Name":"slzm","Level":6,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":13,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":13,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":13,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"WhiteSmoke","MobRefs":[],"ObjectRefs":[{"ObjectName":"drain_bottom","InstanceName":"drain2"}],"HotSpots":[]},{"X":5,"Y":12,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"WhiteSmoke","MobRefs":[{"Name":"bzgsnt","Level":5,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":11,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"WhiteSmoke","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":14,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":15,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"grate1","InstanceName":"grate15"}],"HotSpots":[{"HighlightColorString":"#3E4F4F","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":0,"Y":0}]}]},{"X":7,"Y":16,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"attentionpoint_red1","InstanceName":"danger4"}],"HotSpots":[{"HighlightColorString":"LightCoral","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":6,"Y":16}]}]},{"X":9,"Y":14,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":15,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"grate1","InstanceName":"grate17"}],"HotSpots":[{"HighlightColorString":"#3E4F4F","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":0,"Y":0}]}]},{"X":9,"Y":16,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"attentionpoint_red1","InstanceName":"danger4"}],"HotSpots":[{"HighlightColorString":"LightCoral","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":8,"Y":16}]}]},{"X":8,"Y":16,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"mstngtl","Level":6,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[{"ObjectName":"sunduk_2_blendy","InstanceName":"sunduk_21"}],"HotSpots":[]},{"X":5,"Y":14,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"WhiteSmoke","MobRefs":[{"Name":"kanpauk","Level":5,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":15,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"WhiteSmoke","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":16,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"WhiteSmoke","MobRefs":[{"Name":"kanpauk","Level":5,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":17,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"WhiteSmoke","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":15,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":2},"BackColorString":"WhiteSmoke","MobRefs":[],"ObjectRefs":[{"ObjectName":"entrancepoint_green1","InstanceName":"enter"},{"ObjectName":"escapepoint_blue1","InstanceName":"escape"},{"ObjectName":"ladder2","InstanceName":"ladder23"}],"HotSpots":[]},{"X":5,"Y":18,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"WhiteSmoke","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":10,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"WhiteSmoke","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":10,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"WhiteSmoke","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":11,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"WhiteSmoke","MobRefs":[{"Name":"bzgsnt","Level":5,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":12,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"WhiteSmoke","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":13,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"WhiteSmoke","MobRefs":[{"Name":"kanpauk","Level":5,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":13,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"WhiteSmoke","MobRefs":[],"ObjectRefs":[{"ObjectName":"trash1","InstanceName":"trash11"}],"HotSpots":[]},{"X":4,"Y":12,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"WhiteSmoke","MobRefs":[{"Name":"strkr","Level":5,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":13,"Y":14,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"krsnt","Level":6,"Align":"0","Tag":"","Count":4}],"ObjectRefs":[],"HotSpots":[]},{"X":13,"Y":15,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":12,"Y":15,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"krsnt","Level":6,"Align":"0","Tag":"","Count":1},{"Name":"slzm","Level":6,"Align":"0","Tag":"","Count":1},{"Name":"letb","Level":6,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":14,"Y":15,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"krsnt","Level":6,"Align":"0","Tag":"","Count":2},{"Name":"slzm","Level":6,"Align":"0","Tag":"","Count":1},{"Name":"letb","Level":6,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":14,"Y":16,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"sunduk_2","InstanceName":"sunduk_21"}],"HotSpots":[]},{"X":15,"Y":17,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"sunduk_3","InstanceName":"sunduk_31"}],"HotSpots":[]},{"X":16,"Y":17,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"proboina","InstanceName":"proboina2"}],"HotSpots":[{"HighlightColorString":"Transparent","Opacity":0.9,"ImageUrl":"/i/ugobj/escapepoint_yellow1.gif","CellRefs":[{"X":5,"Y":15}]}]},{"X":16,"Y":16,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":15,"Y":16,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"glprb","Level":6,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":15,"Y":15,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":15,"Y":14,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":18,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"WhiteSmoke","MobRefs":[{"Name":"strkr","Level":5,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":19,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"WhiteSmoke","MobRefs":[],"ObjectRefs":[{"ObjectName":"trash1","InstanceName":"trash11"}],"HotSpots":[]},{"X":5,"Y":19,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"WhiteSmoke","MobRefs":[{"Name":"strkr","Level":5,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":17,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"WhiteSmoke","MobRefs":[{"Name":"bzgsnt","Level":5,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":17,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"WhiteSmoke","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":17,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"WhiteSmoke","MobRefs":[{"Name":"bzgsnt","Level":5,"Align":"0","Tag":"","Count":1},{"Name":"strkr","Level":5,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":17,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":2},"BackColorString":"WhiteSmoke","MobRefs":[],"ObjectRefs":[{"ObjectName":"trash1","InstanceName":"trash11"}],"HotSpots":[]},{"X":1,"Y":7,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"krsnt","Level":6,"Align":"0","Tag":"","Count":1},{"Name":"strkr","Level":5,"Align":"0","Tag":"","Count":1},{"Name":"letb","Level":6,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":8,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"krsnt","Level":6,"Align":"0","Tag":"","Count":1},{"Name":"letb","Level":6,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":14,"Y":7,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"WhiteSmoke","MobRefs":[{"Name":"kanpauk","Level":5,"Align":"0","Tag":"","Count":2},{"Name":"bzgsnt","Level":5,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":16,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"mstngtl","Level":6,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[{"ObjectName":"sunduk_2_blendy","InstanceName":"sunduk_21"}],"HotSpots":[]},{"X":12,"Y":16,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"smag_collect1","InstanceName":"sunduk6"}],"HotSpots":[]},{"X":8,"Y":10,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"mstngtl","Level":6,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[{"ObjectName":"key8","InstanceName":"key81"}],"HotSpots":[{"HighlightColorString":"#3E4F4F","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":11,"Y":13}]}]}],"LookDirection":3,"Width":17,"Height":20,"DataBounds":"0, 0, 17, 20","Name":"floor2","Caption":"2 ","Description":[" : . "," - c 5- . "," - c 6- . ",""," . "]}],"Pages":[],"Shops":[{"NewLineToBR":true,"ImageBasePath":"https://img.new-combats.com/i/items/","Categories":[{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":20,"Binding":3,"IsGift":false,"Name":"amulet99","Caption":" ","Description":[": 1
    ",": 90 .
    ",": 0/30
    "," :
    "," : 4
    "," : 15
    "," :
    "," . (%): +27
    "," . (%): +27
    "," (HP): +33
    "," : +3
    "," : 4-6 (3+d3)
    "," : 4-6 (3+d3)
    "," : 4-6 (3+d3)
    "," : 4-6 (3+d3)

    "]},{"NewLineToBR":false,"W":60,"H":20,"Binding":3,"IsGift":false,"Name":"amulet100","Caption":" ","Description":[": 1
    ",": 90 .
    ",": 0/30
    "," :
    "," : 15
    "," : 4
    "," :
    "," . (%): +27
    "," : +3
    "," (HP): +30
    "," : +30
    "," : 4-6 (3+d3)
    "," : 4-6 (3+d3)
    "," : 4-6 (3+d3)
    "," : 4-6 (3+d3)

    "]}],"Name":"amulet","Caption":"","Description":[""," ."]},{"NewLineToBR":true,"Items":[{"NewLineToBR":true,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"mater_small_lvl4_reward","Caption":"","Description":[": 0.1 ",": 0/1 "," "," ",""," , , , , ."," : , H4, E7 ( ) ."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"mater_small_lvl5_reward","Caption":" ","Description":[": 0.1 ",": 0/1 "," "," ",""," , ."," ."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"mater_small_lvl6_reward","Caption":" ","Description":[": 0.1 ",": 0/1 "," "," ",""," , ."," ."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"mater_med_lvl4_reward","Caption":"","Description":[": 0.1 ",": 0/1 "," "," ",""," . "," ."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"mater_med_lvl5_reward","Caption":" ","Description":[": 0.1 ",": 0/1 "," "," ",""," . "," ."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"mater_med_lvl6_reward","Caption":" ","Description":[": 0.1 ",": 0/1 "," "," ",""," , - , ."," ."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"mater_big_lvl4_reward","Caption":"","Description":[": 0.1 ",": 0/1 "," "," ",""," . "," ."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"mater_big_lvl5_reward","Caption":" ","Description":[": 0.1 ",": 0/1 "," "," ",""," . "," ."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"mater_big_lvl6_reward","Caption":" ","Description":[": 0.1 ",": 0/1 "," "," ",""," . "," ."]}],"Name":"maters","Caption":", , ","Description":[""," ."]},{"NewLineToBR":false,"Items":[{"NewLineToBR":true,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"mater_coin_lvl4_reward","Caption":"","Description":[": 0.1 ",": 0/1 "," "," "]},{"NewLineToBR":true,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"mater_coin_lvl5_reward","Caption":" ","Description":[": 0.1 ",": 0/1 "," "," "]},{"NewLineToBR":true,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"mater_coin_lvl6_reward","Caption":" ","Description":[": 0.1 ",": 0/1 "," "," "]}],"Name":"mater_coin","Caption":"","Description":[""," , . "," , , !"," , , , !",""," 3 C .",""," [4]-[6] ."]},{"NewLineToBR":true,"Items":[{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"pot_cureHP100_20","Caption":" ","Description":[": 5",": 1 . ",": 0/7"," : 30 . ",": 100 .",""," , J12."," ."]}],"Name":"pot_base","Caption":"","Description":[]},{"NewLineToBR":false,"Items":[{"NewLineToBR":true,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"mater247","Caption":"","Description":[""," ."," . , ."]}],"Name":"key","Caption":"","Description":[" .
    "," ."]}],"Name":"maters","Caption":"","Description":["

    "]},{"NewLineToBR":false,"ImageBasePath":"https://img.new-combats.com/i/items/","Categories":[{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"knife54","Caption":" ","Description":[": 5
    : 0.00 .
    : []x8
    : 0/40

    :
    : 17
    : 17
    : 4
    , : 3
    : 9
    :
    : 3 - 9
    . (%): +20
    . (%): +30
    . (%): +20

    : +
    :
    :
    :
    :
    : "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"knife56","Caption":" ","Description":[": 6
    : 0.00 .
    : []x9
    : 0/30
    :
    : 17
    : 17
    : 4
    , : 3
    : 9
    :
    : 3 - 9
    . (%): +10
    . (%): +50

    : +
    :
    :
    :
    :
    : "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"knife58","Caption":" ","Description":[": 4
    : 0.00 .
    : []x14
    : 0/40
    :
    : 21
    : 21
    : 4
    , : 3
    : 11
    :
    . (%): +60
    :
    : 4 - 11
    . (%): +40
    . (%): +20
    . (%): +5

    : +
    :
    :
    :
    :
    :
    "]}],"Name":"knife","Caption":", ","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"axe60","Caption":" ","Description":[": 10
    : 0.00 .
    : []x12
    : 0/50
    :
    : 13
    : 4
    , : 3
    : 13
    : 13
    :
    : +2
    :
    : 8 - 14

    : +
    :
    :
    :
    :
    : "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"axe84","Caption":" ","Description":[": 8
    : 0.00 .
    : []x13
    : 0/30
    :
    : 15
    : 4
    , : 3
    : 15
    : 15
    :
    : +1
    :
    : 7 - 13
    . (%): +30
    . (%): +20

    : +
    :
    : "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"axe63","Caption":" ","Description":[": 10
    : 0.00 .
    : []x15
    : 0/50
    :
    : 13
    : 4
    , : 3
    : 13
    : 13
    :
    . (%): +5
    : -1
    :
    : 8 - 15

    : +
    :
    :
    :
    :
    : "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"axe70","Caption":" ","Description":[": 13
    : 0.00 .
    : []x16
    : 0/50
    :
    : 13
    : 2
    : 4
    , : 3
    : 13
    : 13
    :
    : 8 - 15
    : +
    :
    :
    :
    :
    :
    :
    10-20 .
    : 20% ."]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"axe79","Caption":" ","Description":[": 12
    : 0.00 .
    : []x16
    : 0/50
    :
    : 13
    : 2
    : 4
    , : 3
    : 13
    : 13
    :
    : 8 - 15

    : +
    :
    :
    :
    :
    :
    :
    10-20 .
    : 20% ."]}],"Name":"axe","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"hammer50","Caption":"","Description":[": 18
    : 0.00 .
    : []x15
    : 0/50
    :
    : 4
    , : 3
    : 16
    : 20
    :
    : -1
    :
    : 10 - 18
    . (%): +7
    . (%): +20
    : +
    :
    :
    : "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"hammer65","Caption":" ","Description":[": 19
    : 0.00 .
    : []x15
    : 0/50
    :
    : 4
    , : 3
    : 16
    : 20
    :
    : -2
    :
    : 10 - 18
    . (%): +15
    . (%): +20
    : +
    :
    :
    : "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"mace55","Caption":" ","Description":[": 7
    : 0.00 .
    : []x17
    : 0/50
    :
    : 4
    , : 3
    : 16
    : 20
    :
    : -1
    :
    : 10 - 18
    . (%): +50
    . (%): +20
    :
    :
    :
    : "]}],"Name":"hammer","Caption":", ","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"sword61","Caption":" ","Description":[": 10
    : 0.00 .
    : []x12
    : 0/50
    :
    : 13
    : 4
    : 3
    : 13
    : 13
    :
    : 7 - 18
    : +
    :
    :
    :
    :
    : "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"sword62","Caption":" ","Description":[": 12
    : 0.00 .
    : []x12
    : 0/50
    :
    : 10
    : 4
    : 3
    : 10
    : 10
    :
    . (%): -20
    . (%): +5
    :
    : 5 - 18
    . (%): +20
    : +
    :
    :
    :
    : "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"sword55","Caption":" ","Description":[": 13
    : 0.00 .
    : []x13
    : 0/50
    :
    : 13
    : 4
    : 3
    : 13
    : 13
    :
    . (%): +15
    . (%): +10
    : -1
    : +1
    :
    : 8 - 15
    : +
    :
    :
    :
    :
    : "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"sword54","Caption":" ","Description":[": 11
    : 0.00 .
    : []x13
    : 0/50
    :
    : 13
    : 4
    : 3
    : 13
    : 13
    :
    . (%): +20
    :
    : 8 - 15
    . (%): +20

    : +
    :
    :
    :
    :
    : "]}],"Name":"sword","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"staff1","Caption":" ","Description":[": 4
    : 0.00 .
    : []x20
    : 0/30
    :
    : 20
    : 4
    : 1
    :
    : +1
    (HP): +30
    : +100
    :
    : 1 - 10

    : +
    :
    :
    : "]}],"Name":"staff","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"boots10","Caption":" ","Description":[": 4
    : 0.00 .
    : []x8
    : 0/20
    :
    : 4
    : 15
    : 15
    :
    . (%): +20
    . (%): +25
    (HP): +15
    : 2-10 (1+d9)"]},{"NewLineToBR":false,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"boots210","Caption":" ","Description":[": 4
    : 0.00 .
    : []x8
    : 0/30
    :
    : 20
    : 4
    :
    . (%): +20
    (HP): +15
    : +30
    : 2-2"]}],"Name":"boots","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"naruchi54","Caption":" ","Description":[": 3
    : 0.00 .
    : []x6
    : 0/30
    :
    : 15
    : 4
    : 20
    :
    . (%): +5
    (HP): +18
    : +2"]},{"NewLineToBR":false,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"naruchi61","Caption":" ","Description":[": 3
    : 0.00 .
    : []x6
    : 0/30
    :
    : 25
    : 4
    : 15
    :
    . (%): +15
    . (%): +30
    : +1"]},{"NewLineToBR":false,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"naruchi70","Caption":" ","Description":[": 1
    : 0.00 .
    : []x6
    : 0/30
    :
    : 20
    : 4
    : 20
    :
    : +1
    : +6
    : +3"]},{"NewLineToBR":false,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"gloves1","Caption":" ","Description":[": 1
    : 0.00 .
    : []x6
    : 0/30
    :
    : 20
    : 4
    :
    : +1
    (HP): +6
    : +30"]},{"NewLineToBR":false,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"naruchi65","Caption":" ","Description":[": 2
    : 0.00 .
    : []x7
    : 0/20
    :
    : 10
    : 4
    : 15
    : 15
    :
    . (%): +5
    (HP): +45"]},{"NewLineToBR":false,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"naruchi58","Caption":" ","Description":[": 3
    : 0.00 .
    : []x7
    : 0/30
    :
    : 25
    : 4
    : 10
    :
    . (%): +5
    . (%): +5
    . (%): +5
    : +1"]}],"Name":"gloves","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":80,"Binding":1,"IsGift":false,"Name":"roba14","Caption":" ","Description":[": 2
    : 0.00 .
    : []x3
    : 0/30
    :
    : 4
    : 15
    : 15
    :
    : +10
    : +5
    : +5
    : +5
    (HP): +3"]},{"NewLineToBR":false,"W":60,"H":80,"Binding":1,"IsGift":false,"Name":"roba17","Caption":" ","Description":[": 5
    : 0.00 .
    : []x20
    : 0/50
    :
    : 20
    : 4
    :
    . (%): +10
    : +1
    (HP): +30
    : +80
    : 6-10 (5+d5)"]}],"Name":"roba","Caption":" , ","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":80,"Binding":1,"IsGift":false,"Name":"armor61","Caption":" ","Description":[": 10
    : 0.00 .
    : []x18
    : 0/50
    :
    : 5
    : 5
    : 4
    : 17
    : 17
    :
    . (%): +15
    . (%): -10
    , : +1
    (HP): +24
    : 7-24 (6+d18)
    :
    : +100"]},{"NewLineToBR":false,"W":60,"H":80,"Binding":1,"IsGift":false,"Name":"armor64","Caption":" ","Description":[": 18
    : 0.00 .
    : []x18
    : 0/50
    :
    : 7
    : 7
    : 4
    : 22
    : 22
    :
    . (%): +15
    . (%): +15
    : +2
    (HP): +33
    : 7-24 (6+d18)"]},{"NewLineToBR":false,"W":60,"H":80,"Binding":1,"IsGift":false,"Name":"armor52","Caption":" ","Description":[": 14
    : 0.00 .
    : []x20
    : 0/40
    :
    : 15
    : 4
    : 15
    : 15
    :
    . (%): +15
    . (%): +5
    . (%): +15
    : +2
    : +2
    (HP): +12
    : +4
    : 6-20 (5+d15)"]},{"NewLineToBR":false,"W":60,"H":80,"Binding":1,"IsGift":false,"Name":"armor83","Caption":" ","Description":[": 17
    : 0.00 .
    : []x21
    : 0/50
    :
    : 7
    : 7
    : 4
    : 22
    : 22
    :
    . (%): +25
    . (%): +30
    . (%): +45
    : +2
    (HP): +33
    : 7-24 (6+d18)"]},{"NewLineToBR":false,"W":60,"H":80,"Binding":1,"IsGift":false,"Name":"armor98","Caption":" ","Description":[": 9
    : 0.00 .
    : []x22
    : 0/50
    :
    : 22
    : 22
    : 4
    : 7
    : 7
    :
    . (%): +30
    . : +5
    , : +2
    (HP): +18
    : +3
    : 3-8 (2+d6)"]},{"NewLineToBR":false,"W":60,"H":80,"Binding":1,"IsGift":false,"Name":"armor82","Caption":" ","Description":[": 15
    : 0.00 .
    : []x22
    : 0/50
    :
    : 7
    : 7
    : 4
    : 20
    : 20
    :
    . (%): +20
    . (%): +20
    . (%): +20
    (HP): +6
    . (%): +20
    : +4
    : 7-24 (6+d18)"]}],"Name":"armor","Caption":" ","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":80,"Binding":1,"IsGift":false,"Name":"leg18","Caption":" ","Description":[": 2
    : 0.00 .
    : []x8
    : 0/30
    :
    : 4
    : 15
    : 15
    :
    . (%): +5
    . (%): +5
    . (%): +5
    . (%): +5
    (HP): +27
    : 1-12 (d12)
    : 1-12 (d12)"]}],"Name":"leg","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"helmet61","Caption":" ","Description":[": 5
    : 0.00 .
    : []x9
    : 0/30
    :
    : 4
    : 15
    : 15
    :
    . (%): +15
    . (%): +30
    (HP): +21
    : 2-10 (1+d9)"]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"helmet34","Caption":" ","Description":[": 10
    : 0.00 .
    : []x9
    : 0/40
    :
    : 4
    : 15
    : 15
    :
    . (%): +20
    (HP): +30
    : 5-22 (4+d18)"]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"helmet30","Caption":" ","Description":[": 8
    : 0.00 .
    : []x9
    : 0/40
    :
    : 4
    : 15
    : 15
    :
    . (%): +15
    (HP): +18
    : +2
    : 4-15 (3+d12)"]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"helmet32","Caption":" ","Description":[": 4
    : 0.00 .
    : []x9
    : 0/30
    :
    : 4
    :
    . (%): +25
    : +2
    : +2
    : 3-8 (2+d6)"]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"helmet52","Caption":" ","Description":[": 10
    : 0.00 .
    : []x9
    : 0/35
    :
    : 4
    : 15
    : 15
    :
    . (%): +10
    : +2
    : +20
    : 5-16 (4+d12)"]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"whelmet4","Caption":" ","Description":[": 4
    : 0.00 .
    : []x9
    : 0/30
    :
    : 20
    : 4
    :
    (HP): +24
    : +45
    : 3-3"]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"helmet48","Caption":" ","Description":[": 5
    : 0.00 .
    : []x10
    : 0/30
    :
    : 10
    : 10
    : 4
    : 10
    : 10
    :
    : +1
    : +1
    : +1
    (HP): +12
    : +1
    : 4-15 (3+d12)"]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"helmet49","Caption":" ","Description":[": 7
    : 0.00 .
    : []x10
    : 0/30
    :
    : 4
    : 15
    : 15
    :
    . (%): +10
    : +4
    : 5-16 (4+d12)"]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"helmet77","Caption":" ","Description":[": 5
    : 0.00 .
    : []x10
    : 0/30
    :
    : 4
    : 15
    : 15
    :
    . (%): +30
    : +2
    : +2
    : 3-10 (2+d8)"]}],"Name":"helmet","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"shield12","Caption":" ","Description":[": 8
    : 0.00 .
    : []x11
    : 0/30
    :
    : 12
    : 4
    : 15
    : 15
    :
    . (%): +25
    : +1
    : 3-14 (2+d12)
    : 4-15 (3+d12)
    : 3-14 (2+d12)
    : 3-14 (2+d12)"]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"shield10","Caption":" ","Description":[": 10
    : 0.00 .
    : []x12
    : 0/40
    :
    : 12
    : 4
    : 15
    : 15
    :
    . (%): +25
    : +3
    : +2
    : 3-14 (2+d12)
    : 4-15 (3+d12)
    : 3-14 (2+d12)
    : 3-14 (2+d12)"]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"shield19","Caption":" ","Description":[": 10
    : 0.00 .
    : []x13
    : 0/30
    :
    : 12
    : 4
    : 15
    : 15
    :
    . (%): +20
    : +1
    (HP): +15
    : 3-14 (2+d12)
    : 4-15 (3+d12)
    : 3-14 (2+d12)
    : 3-14 (2+d12)"]}],"Name":"shield","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"braslet6","Caption":" ","Description":[": 1
    : 0.00 .
    : []x6
    : 0/20
    :
    : 15
    : 4
    : 10
    : 10
    :
    . (%): +10
    . (%): +15
    : +2"]},{"NewLineToBR":false,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"braslet9","Caption":" ","Description":[": 5
    : 0.00 .
    : []x6
    : 0/30
    :
    : 15
    : 4
    : 10
    : 10
    :
    . (%): +10
    . (%): +25
    : +2"]},{"NewLineToBR":false,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"braslet26","Caption":" ","Description":[": 1
    : 0.00 .
    : []x6
    : 0/30
    :
    : 20
    : 4
    :
    (HP): +12
    : +35"]},{"NewLineToBR":false,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"braslet10","Caption":" ","Description":[": 2
    : 0.00 .
    : []x13
    : 0/30
    :
    : 10
    : 10
    : 4
    : 10
    : 10
    :
    : +2
    : +2
    (HP): +18
    : +3"]}],"Name":"braslet","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"belt5","Caption":" ","Description":[": 2
    : 0.00 .
    : []x4
    : 0/30
    :
    : 10
    : 10
    : 4
    : 10
    : 10
    :
    : +1
    : +1
    : 3-8 (2+d6)"]},{"NewLineToBR":false,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"belt40","Caption":" ","Description":[": 2
    : 0.00 .
    : []x4
    : 0/20
    :
    : 20
    : 4
    :
    : +30
    : 3-3"]},{"NewLineToBR":false,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"belt31","Caption":" ","Description":[": 2
    : 0.00 .
    : []x5
    : 0/30
    :
    : 15
    : 4
    : 15
    :
    : +2
    : 1-12 (d12)"]}],"Name":"belt","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":20,"Binding":1,"IsGift":false,"Name":"clip53","Caption":" ","Description":[": 1
    : 0.00 .
    : []x12
    : 0/30
    :
    : 12
    : 4
    : 12
    : 12
    :
    . (%): +30
    . (%): +30
    . (%): +15
    . (%): +15
    : +1"]},{"NewLineToBR":false,"W":60,"H":20,"Binding":1,"IsGift":false,"Name":"clip57","Caption":" ","Description":[": 1
    : 0.00 .
    : []x12
    : 0/40
    :
    : 18
    : 4
    : 10
    : 10
    :
    . (%): +20
    . (%): +55
    . (%): +3
    : +2"]},{"NewLineToBR":false,"W":60,"H":20,"Binding":1,"IsGift":false,"Name":"clip86","Caption":" ","Description":[": 1
    : 0.00 .
    : []x12
    : 0/50
    :
    : 20
    : 4
    :
    . (%): +10
    (HP): +36
    : +50"]}],"Name":"clip","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":20,"Binding":1,"IsGift":false,"Name":"amulet53","Caption":" - -","Description":[": 1
    : 0.00 .
    : []x12
    : 0/30
    :
    : 15
    : 4
    : 15
    : 15
    :
    . (%): +25
    : +3
    (HP): +33"]},{"NewLineToBR":false,"W":60,"H":20,"Binding":1,"IsGift":false,"Name":"amulet90","Caption":" ","Description":[": 1
    : 0.00 .
    : []x12
    : 0/50
    :
    : 20
    : 4
    :
    . (%): +30
    : +2
    (HP): +18
    : +25"]},{"NewLineToBR":false,"W":60,"H":20,"Binding":1,"IsGift":false,"Name":"amulet63","Caption":" ","Description":[": 1
    : 0.00 .
    : []x13
    : 0/50
    :
    : 4
    : 15
    : 15
    :
    . (%): +30
    : +25
    (HP): +18"]},{"NewLineToBR":false,"W":60,"H":20,"Binding":1,"IsGift":false,"Name":"amulet67","Caption":" ","Description":[": 1
    : 0.00 .
    : []x13
    : 0/50
    :
    : 4
    : 20
    : 10
    :
    (HP): +99"]}],"Name":"amulet","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":20,"H":20,"Binding":1,"IsGift":false,"Name":"ring108","Caption":" ","Description":[": 1
    : 0.00 .
    : []x6
    : 0/30
    :
    : 4
    : 15
    : 15
    :
    . (%): +5
    . (%): +2
    . (%): -5
    (HP): +33"]},{"NewLineToBR":false,"W":20,"H":20,"Binding":1,"IsGift":false,"Name":"ring81","Caption":" ","Description":[": 1
    : 0.00 .
    : []x6
    : 0/30
    :
    : 4
    : 20
    : 20
    :
    : 1-15 (d15)
    : 1-15 (d15)
    : 1-15 (d15)
    : 1-15 (d15)"]},{"NewLineToBR":false,"W":20,"H":20,"Binding":1,"IsGift":false,"Name":"ring54","Caption":" ","Description":[": 1
    : 0.00 .
    : []x6
    : 0/30
    :
    : 4
    : 15
    : 15
    :
    : +21
    : +25"]},{"NewLineToBR":false,"W":20,"H":20,"Binding":1,"IsGift":false,"Name":"ring123","Caption":" ","Description":[": 1
    : 0.00 .
    : []x6
    : 0/50
    :
    : 20
    : 4
    :
    : +1
    : +35"]},{"NewLineToBR":false,"W":20,"H":20,"Binding":1,"IsGift":false,"Name":"ring101","Caption":" ","Description":[": 1
    : 0.00 .
    : []x7
    : 0/30
    :
    : 17
    : 4
    : 10
    : 10
    :
    . (%): +10
    . (%): +3
    . (%): +2"]},{"NewLineToBR":false,"W":20,"H":20,"Binding":1,"IsGift":false,"Name":"ring55","Caption":" ","Description":[": 1
    : 0.00 .
    : []x7
    : 0/30
    :
    : 10
    : 10
    : 4
    : 10
    : 10
    :
    . (%): +10
    . (%): +5
    . (%): +15
    : +1
    : +1"]},{"NewLineToBR":false,"W":20,"H":20,"Binding":1,"IsGift":false,"Name":"ring60","Caption":" ","Description":[": 1
    : 0.00 .
    : []x7
    : 0/30
    :
    : 12
    : 4
    : 10
    : 10
    :
    . (%): +30
    : +20"]},{"NewLineToBR":false,"W":20,"H":20,"Binding":1,"IsGift":false,"Name":"ring73","Caption":" ","Description":[": 1
    : 0.00 .
    : []x9
    : 0/20
    :
    : 4
    : 1
    : 10
    : 10
    :
    . (%): +25
    :
    10-15 .
    : 30% ."]},{"NewLineToBR":false,"W":20,"H":20,"Binding":1,"IsGift":false,"Name":"ring66","Caption":" ","Description":[": 1
    : 0.00 .
    : []x9
    : 0/20
    :
    : 4
    : 1
    : 10
    : 10
    :
    . (%): +25
    :
    1-24 .
    : 30% . "]},{"NewLineToBR":false,"W":20,"H":20,"Binding":1,"IsGift":false,"Name":"ring91","Caption":" ","Description":[": 1
    : 0.00 .
    : []x9
    : 0/20
    :
    : 4
    : 10
    : 15
    :
    . (%): +25
    :
    10-15 .
    : 30% ."]}],"Name":"ring","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"sharpen_axe_1","Caption":" 1: ","Description":[": 1
    : 0.00 .
    : []x12
    : 0/1
    : 50%
    :
    : 4
    , : 1
    :
    : +1
    : +1
    :
    , , . . "]},{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"sharpen_knife_1","Caption":" 1: ","Description":[": 1
    : 0.00 .
    : []x12
    : 0/1
    : 50%
    :
    : 4
    , : 1
    :
    : +1
    : +1
    :
    , , . ."]},{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"sharpen_molot_1","Caption":" 1: , , ","Description":[": 1
    : 0.00 .
    : []x12
    : 0/1
    : 50%
    :
    : 4
    , : 1
    :
    : +1
    : +1
    :
    , , . ."]},{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"sharpen_sword_1","Caption":" 1: ","Description":[": 1
    : 0.00 .
    : []x12
    : 0/1
    : 50%
    :
    : 4
    : 1
    :
    : +1
    : +1
    :
    , , . . "]}],"Name":"svitki","Caption":"","Description":[]}],"Name":"noviceshop1","Caption":"","Description":["

    , . .


    ","

    , \"\" , \"\" , \"\" ? \"\" .

    ","","","","","","","","","","","
    [4]-[6] [7] [8]
    3 = 1
    1 = 1
    1 = 3
    9 = 1
    3 = 1
    1 = 1
    15 = 1
    5 = 1
    5 = 3

    ","


    ","

    , , [4] .

    ","

    "]},{"NewLineToBR":false,"ImageBasePath":"https://img.new-combats.com/i/items/","Categories":[{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"knife66","Caption":" ","Description":[": 5
    : 0.00 .
    : [ ]x14
    : 0/50
    :
    •: 21
    •: 21
    •: 5
    • , : 3
    •: 11
    :
    •. (%): +20
    •: +1
    •: +1
    :
    •: 4 - 11
    •. (%): 20
    •. (%): 20
    •. (%): 20
    • : +
    :
    • :
    • :
    • : "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"knife62","Caption":"","Description":[": 6
    : 0.00 .
    : [ ]x14
    : 0/40
    :
    •: 18
    •: 18
    •: 5
    • , : 3
    :
    •. (%): +5
    :
    •: 4 - 11
    •. (%): 35

    • : +
    :
    • :
    • :
    • :
    • : "]}],"Name":"knife","Caption":", ","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"axe52","Caption":" ","Description":[": 15
    : 0.00 .
    : [ ]x17
    : 0/50
    :
    •: 16
    •: 5
    • , : 3
    •: 16
    •: 16
    :
    •: -1
    :
    •: 10 - 18
    •. (%): 40
    •. : 8
    • : +
    :
    • :
    • :
    • :
    • : "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"axe67","Caption":" ","Description":[": 13
    : 0.00 .
    : [ ]x18
    : 0/50
    :
    •: 16
    •: 5
    • , : 3
    •: 16
    •: 16
    :
    •. (%): +20
    :
    •: 10 - 18
    •. (%): 20
    •. (%): 20

    • : +
    :
    • :
    • :
    • :
    • : "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"axe71","Caption":" ","Description":[": 13
    : 0.00 .
    : [ ]x18
    : 0/50
    :
    •: 16
    •: 5
    • , : 3
    •: 16
    •: 16
    :
    •: 10 - 18
    •. (%): 50
    •. (%): 20
    • : +
    :
    • :
    • : "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"axe57","Caption":" ","Description":[": 15
    : 0.00 .
    : [ ]x18
    : 0/50
    :
    •: 16
    •: 5
    • , : 3
    •: 16
    •: 16
    :
    •: +2
    :
    •: 10 - 18
    •. (%): 25
    • : +
    :
    • :
    • :
    • :
    • : "]}],"Name":"axe","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"hammer51","Caption":" ","Description":[": 23
    : 0.00 .
    : [ ]x19
    : 0/50
    :
    •: 5
    • , : 3
    •: 20
    •: 25
    :
    •: -2
    •: +1
    :
    •: 13 - 22
    •. (%): 30
    • : +
    :
    • :
    • : "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"mace60","Caption":" ","Description":[": 21
    : 0.00 .
    : [ ]x19
    : 0/50
    :
    •: 5
    • , : 3
    •: 20
    •: 25
    :
    •. (%): -20
    •. (%): +20
    •. (%): -20
    :
    •: 13 - 22
    •. (%): 35
    • : +
    :
    • :
    • : "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"hammer52","Caption":" ","Description":[": 24
    : 0.00 .
    : [ ]x20
    : 0/50
    :
    •: 5
    • , : 3
    •: 20
    •: 25
    :
    •. (%): -15
    •: -1
    •: +1
    :
    •: 13 - 23
    •. (%): 15
    •. (%): 15
    • : +
    :
    • :
    • : "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"mace54","Caption":" ","Description":[": 22
    : 0.00 .
    : [ ]x20
    : 0/50
    :
    •: 5
    • , : 3
    •: 20
    •: 25
    :
    •: -2
    :
    •: 13 - 22
    •. . (%): 10
    •. (%): 15
    • : +
    :
    • :
    • : "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"hammer4","Caption":" ","Description":[": 20
    : 0.00 .
    : [ ]x22
    : 0/50
    :
    •: 10
    •: 10
    •: 5
    • , : 3
    •: 20
    •: 20
    :
    •: -2
    :
    •: 13 - 25
    •. (%): 50
    • : +
    :
    • :
    • :
    • :
    • : "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"mace53","Caption":" ","Description":[": 9
    : 0.00 .
    : [ ]x24
    : 0/50
    :
    •: 5
    • , : 3
    •: 20
    •: 25
    :
    •: 13 - 22
    •. (%): 70
    •. (%): 15
    • :
    :
    • :
    • : "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"hammer60","Caption":" ","Description":[": 29
    : 0.00 .
    : [ ]x31
    : 0/50
    :
    •: 5
    • , : 4
    •: 20
    •: 25
    :
    •. (%): -20
    •: -1
    :
    •: 20 - 27
    •. (%): 30
    •. (%): 45
    • , : 1

    • : +
    :
    • :
    • : "]}],"Name":"hammer","Caption":", , ","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"sword79","Caption":" --","Description":[": 16
    : 0.00 .
    : [ ]x18
    : 0/50
    :
    •: 16
    •: 5
    • : 3
    •: 16
    •: 16
    :
    •: 8 - 21
    •. (%): 50
    •. (%): 10
    • : +
    :
    • :
    • :
    • :
    • : "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"sword81","Caption":" ","Description":[": 13
    : 0.00 .
    : [ ]x18
    : 0/50
    :
    • : 5
    • : 3
    • : 16
    • : 16
    :
    • . (%): -10
    • . (%): -30
    • : +1
    • : -1
    • (HP): +20
    • : +1
    :
    • : 10 - 18
    • . (%): 40
    • . (%): 25
    • : +
    :
    • :
    • :
    • :
    • : "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"sword73","Caption":" ̸","Description":[": 13
    : 0.00 .
    : [ ]x18
    : 0/50
    :
    •: 16
    •: 5
    • : 3
    •: 16
    •: 16
    :
    •. (%): +40
    •: -1
    •: +1
    :
    •: 10 - 18
    • : +
    :
    • :
    • :
    • :
    • : "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"sword50","Caption":" ","Description":[": 7
    : 0.00 .
    : [ ]x18
    : 0/50
    :
    •: 16
    •: 5
    • : 3
    •: 16
    •: 16
    :
    •. (%): +20
    •. (%): +30
    :
    •: 10 - 18
    • : +
    :
    • :
    • :
    • :
    • : "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"sword56","Caption":" --","Description":[": 13
    : 0.00 .
    : [ ]x18
    : 0/50
    :
    •: 16
    •: 5
    • : 3
    •: 16
    •: 16
    :
    •: 7 - 23
    •. (%): 25
    •. (%): 25
    • : +
    :
    • :
    • :
    • : "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"sword87","Caption":" ","Description":[": 13
    : 0.00 .
    : [ ]x18
    : 0/50
    :
    •: 16
    •: 5
    • : 3
    •: 16
    •: 16
    :
    •. (%): +10
    •. (%): +10
    •: +1
    :
    •: 10 - 18
    •. (%): 10
    •. (%): 10

    • : +
    :
    • :
    • :
    • :
    • : "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"sword57","Caption":" ","Description":[": 11
    : 0.00 .
    : [ ]x18
    : 0/50
    :
    •: 14
    •: 14
    •: 5
    • : 3
    •: 16
    •: 16
    :
    •. (%): +20
    •. (%): +20
    •: -1
    •: -1
    •: +1
    :
    •: 10 - 18
    •. (%): 30
    • : +
    :
    • :
    • :
    • :
    • : "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"sword69","Caption":" ","Description":[": 15
    : 0.00 .
    : [ ]x24
    : 0/50
    :
    •: 16
    •: 2
    •: 5
    • : 3
    •: 16
    •: 16
    :
    •. (%): -20
    •. (%): +20
    :
    •: 10 - 18
    •. (%): 20
    • : +
    :
    • :
    • :
    • :
    • :
    :
    20-30 .
    : 30% "]}],"Name":"sword","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"boots7","Caption":" ","Description":[": 6
    : 0.00 .
    : [ ]x7
    : 0/40
    :
    •: 5
    •: 17
    •: 17
    :
    •. (%): +25
    • (HP): +12
    • : 6-20 (5+d15)"]},{"NewLineToBR":false,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"boots11","Caption":" ","Description":[": 7
    : 0.00 .
    : [ ]x9
    : 0/50
    :
    •: 5
    •: 17
    •: 17
    :
    • (HP): +45
    •: +1
    • : 6-20 (5+d15)"]}],"Name":"boots","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"naruchi51","Caption":" ","Description":[": 3
    : 0.00 .
    : [ ]x7
    : 0/50
    :
    •: 20
    •: 5
    •: 15
    :
    • : +1
    • (HP): +30"]},{"NewLineToBR":false,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"naruchi57","Caption":" ","Description":[": 3
    : 0.00 .
    : [ ]x8
    : 0/30
    :
    •: 20
    •: 5
    •: 20
    :
    • : +20
    • : +30"]},{"NewLineToBR":false,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"gloves2","Caption":" ","Description":[": 1
    : 0.00 .
    : [ ]x11
    : 0/30
    :
    •: 25
    •: 5
    •: 10
    :
    •: +1
    • : +1
    • : +10
    • (HP): +12
    • : +30"]},{"NewLineToBR":false,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"naruchi63","Caption":" ","Description":[": 3
    : 0.00 .
    : [ ]x11
    : 0/30
    :
    •: 15
    •: 5
    •: 25
    :
    •. : +3
    • , : +3"]},{"NewLineToBR":false,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"naruchi64","Caption":" ","Description":[": 3
    : 0.00 .
    : [ ]x11
    : 0/30
    :
    •: 25
    •: 5
    •: 15
    :
    •. : +6
    • , : +3"]},{"NewLineToBR":false,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"naruchi68","Caption":" ","Description":[": 3
    : 0.00 .
    : [ ]x11
    : 0/30
    :
    •: 20
    •: 5
    •: 20
    :
    •. : +4
    •. : +2
    • : +3"]}],"Name":"gloves","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":80,"Binding":1,"IsGift":false,"Name":"armor51","Caption":" ","Description":[": 23
    : 0.00 .
    : [ ]x20
    : 0/80
    :
    •: 5
    •: 25
    •: 25
    :
    •. (%): +20
    • : +25
    • (HP): +27
    •: +1
    • : 6-26 (5+d21)
    :
    • : 25"]},{"NewLineToBR":false,"W":60,"H":80,"Binding":1,"IsGift":false,"Name":"armor53","Caption":" ","Description":[": 16
    : 0.00 .
    : [ ]x25
    : 0/40
    :
    •: 25
    •: 5
    •: 10
    •: 15
    :
    •. (%): +15
    •. (%): +25
    •. (%): +5
    •. (%): +50
    •: +2
    • (HP): +18
    •: +2
    • : 6-20 (5+d15)"]},{"NewLineToBR":false,"W":60,"H":80,"Binding":1,"IsGift":false,"Name":"armor55","Caption":" ","Description":[": 25
    : 0.00 .
    : [ ]x25
    : 0/80
    :
    •: 5
    •: 25
    •: 25
    :
    •. (%): +40
    • (HP): +33
    • : 7-30 (6+d24)
    :
    • : 75"]},{"NewLineToBR":false,"W":60,"H":80,"Binding":1,"IsGift":false,"Name":"armor56","Caption":" ","Description":[": 24
    : 0.00 .
    : [ ]x25
    : 0/70
    :
    •: 20
    •: 5
    •: 25
    •: 25
    :
    •. . (%): +5
    •. (%): +30
    •. (%): +40
    • (HP): +33
    •: +4
    • : 8-28 (7+d21)"]},{"NewLineToBR":false,"W":60,"H":80,"Binding":1,"IsGift":false,"Name":"armor60","Caption":" ","Description":[": 18
    : 0.00 .
    : [ ]x26
    : 0/50
    :
    •: 7
    •: 7
    •: 5
    •: 25
    •: 25
    :
    •. (%): +30
    •. (%): +20
    • , : +1
    • (HP): +33
    •: +1
    • : 8-31 (7+d24)
    :
    • : 100"]},{"NewLineToBR":false,"W":60,"H":80,"Binding":1,"IsGift":false,"Name":"armor102","Caption":" ","Description":[": 20
    : 0.00 .
    : [ ]x26
    : 0/80
    :
    •: 20
    •: 20
    •: 5
    •: 15
    •: 15
    :
    •. (%): +20
    •. (%): +20
    •. : +25
    • (HP): +24
    • : 8-28 (7+d21)"]}],"Name":"armor","Caption":" ","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":80,"Binding":1,"IsGift":false,"Name":"leg32","Caption":"","Description":[": 7
    : 0.00 .
    : [ ]x10
    : 0/50
    :
    •: 5
    •: 18
    •: 18
    :
    • (HP): +27
    •: +1
    • : 7-18 (6+d12)
    • : 7-18 (6+d12)"]}],"Name":"leg","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"helmet63","Caption":" ","Description":[": 5
    : 0.00 .
    : [ ]x10
    : 0/40
    :
    •: 5
    •: 18
    •: 18
    :
    •. (%): +50
    • (HP): +12
    • : 6-20 (5+d15)"]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"helmet35","Caption":" ","Description":[": 12
    : 0.00 .
    : [ ]x10
    : 0/50
    :
    •: 20
    •: 5
    •: 20
    •: 20
    :
    •. (%): +35
    •. (%): +35
    • (HP): +12
    • : 1-15 (d15)"]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"helmet67","Caption":" ","Description":[": 7
    : 0.00 .
    : [ ]x10
    : 0/30
    :
    •: 5
    •: 18
    •: 18
    :
    •. (%): +15
    •: +1
    • (HP): +18
    •: +2
    • : 4-18 (3+d15)"]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"helmet72","Caption":" ","Description":[": 4
    : 0.00 .
    : [ ]x10
    : 0/20
    :
    •: 5
    •: 18
    •: 18
    :
    •: +1
    • : +30
    • (HP): +33
    •: +1"]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"helmet38","Caption":" ","Description":[": 5
    : 0.00 .
    : [ ]x11
    : 0/30
    :
    •: 20
    •: 5
    •: 20
    •: 20
    :
    •. . (%): +20
    •. (%): -25
    •. (%): +20
    •. (%): -25
    • : 1-15 (d15)"]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"helmet43","Caption":" ","Description":[": 8
    : 0.00 .
    : [ ]x15
    : 0/40
    :
    •: 5
    •: 18
    •: 18
    :
    •. (%): +20
    •. (%): -10
    • (HP): +27
    •: +2
    • : 7-24 (6+d18)
    :
    • : 25
    • : 25"]}],"Name":"helmet","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"shield7","Caption":" ","Description":[": 5
    : 0.00 .
    : [ ]x14
    : 0/30
    :
    •: 15
    •: 5
    •: 18
    •: 18
    :
    •. (%): +25
    •. (%): +20
    • (HP): +15
    • : 4-15 (3+d12)
    • : 4-15 (3+d12)
    • : 4-15 (3+d12)
    • : 4-15 (3+d12)"]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"shield79","Caption":" ","Description":[": 15
    : 0.00 .
    : [ ]x16
    : 0/50
    :
    •: 15
    •: 5
    •: 18
    •: 18
    :
    •. (%): +10
    •. (%): +15
    • : +50
    • : 4-15 (3+d12)
    • : 4-15 (3+d12)
    • : 4-15 (3+d12)
    • : 4-15 (3+d12)"]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"shield13","Caption":" ","Description":[": 15
    : 0.00 .
    : [ ]x17
    : 0/50
    :
    •: 15
    •: 5
    •: 18
    •: 18
    :
    • (HP): +18
    • : 8-31 (7+d24)
    • : 9-32 (8+d24)
    • : 8-31 (7+d24)
    • : 8-31 (7+d24)"]}],"Name":"shield","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"naruchi81","Caption":" ","Description":[": 2
    : 0.00 .
    : [ ]x8
    : 0/30
    :
    •: 21
    •: 5
    •: 20
    •: 20
    :
    •. (%): +10
    •. (%): +10
    •. (%): +20
    •: +2"]},{"NewLineToBR":false,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"braslet28","Caption":" ","Description":[": 1
    : 0.00 .
    : [ ]x9
    : 0/30
    :
    •: 25
    •: 5
    •: 10
    :
    •: +1
    • (HP): +21
    • : +40"]}],"Name":"braslet","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"belt25","Caption":" ","Description":[": 1
    : 0.00 .
    : [ ]x6
    : 0/30
    \t :
    • : 15
    • : 5
    • : 15
    :
    • . (%): +15
    • . (%): +25
    • : 5-16 (4+d12)"]},{"NewLineToBR":false,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"belt26","Caption":" ","Description":[": 1
    : 0.00 .
    : [ ]x6
    : 0/20
    :
    •: 5
    •: 15
    •: 20
    :
    •. (%): +5
    •. (%): +5
    • : +10
    • (HP): +18
    • : 3-17 (2+d15)"]},{"NewLineToBR":false,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"belt3","Caption":" ","Description":[": 3
    : 0.00 .
    : [ ]x6
    : 0/30
    :
    •: 20
    •: 5
    •: 10
    •: 20
    :
    •. (%): +5
    •. (%): +10
    •: +1
    •: +1
    • : 3-14 (2+d12)"]},{"NewLineToBR":false,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"belt20","Caption":" ","Description":[": 5
    : 0.00 .
    : [ ]x6
    : 0/30
    :
    •: 25
    •: 5
    •: 10
    •: 10
    :
    •. (%): +5
    •. (%): +25
    • : 6-20 (5+d15)"]},{"NewLineToBR":false,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"belt23","Caption":" ","Description":[": 2
    : 0.00 .
    : [ ]x6
    : 0/20
    :
    •: 5
    •: 20
    •: 20
    :
    • (HP): +45
    • : 3-8 (2+d6)"]},{"NewLineToBR":false,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"belt41","Caption":" ","Description":[": 2
    : 0.00 .
    : [ ]x6
    : 0/20
    :
    •: 25
    •: 5
    •: 10
    :
    • : +45
    • : 4-9 (3+d6)"]}],"Name":"belt","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":20,"Binding":1,"IsGift":false,"Name":"clip63","Caption":" ","Description":[": 1
    : 0.00 .
    : [ ]x14
    : 0/50
    :
    •: 5
    •: 20
    •: 20
    :
    • (HP): +120"]},{"NewLineToBR":false,"W":60,"H":20,"Binding":1,"IsGift":false,"Name":"clip55","Caption":" ","Description":[": 1
    : 0.00 .
    : [ ]x15
    : 0/50
    :
    •: 5
    •: 17
    •: 17
    :
    •. (%): +15
    •. (%): +30
    • (HP): +33
    •: +2
    • : 1-9 (d9)
    • : 1-9 (d9)
    • : 1-9 (d9)
    • : 1-9 (d9)"]},{"NewLineToBR":false,"W":60,"H":20,"Binding":1,"IsGift":false,"Name":"clip54","Caption":" ","Description":[": 1
    : 0.00 .
    : [ ]x15
    : 0/30
    :
    •: 10
    •: 10
    •: 5
    •: 10
    •: 10
    :
    •: +2
    •: +2
    •: +2
    • (HP): +33
    •: +2"]}],"Name":"clip","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":20,"Binding":1,"IsGift":false,"Name":"amulet54","Caption":" ","Description":[": 1
    : 0.00 .
    : [ ]x17
    : 0/50
    :
    •: 10
    •: 10
    •: 5
    •: 10
    •: 10
    :
    •: +4
    •: +4
    •: +4"]},{"NewLineToBR":false,"W":60,"H":20,"Binding":1,"IsGift":false,"Name":"amulet56","Caption":" - -","Description":[": 1
    : 0.00 .
    : [ ]x17
    : 0/60
    :
    •: 20
    •: 5
    •: 10
    •: 10
    :
    •. (%): +25
    •. (%): +25
    •. (%): +45
    •. (%): +5
    •: +3"]},{"NewLineToBR":false,"W":60,"H":20,"Binding":1,"IsGift":false,"Name":"amulet65","Caption":" ","Description":[": 1
    : 0.00 .
    : [ ]x18
    : 0/50
    :
    •: 5
    •: 20
    •: 20
    :
    •. (%): +25
    •. (%): +25
    •: +2
    •: +2
    •: +5"]},{"NewLineToBR":false,"W":60,"H":20,"Binding":1,"IsGift":false,"Name":"amulet60","Caption":" ","Description":[": 1
    : 0.00 .
    : [ ]x18
    : 0/30
    :
    •: 15
    •: 15
    •: 5
    •: 15
    •: 15
    :
    •. (%): +25
    •. (%): +25
    •. (%): +25
    •. (%): +25
    •: +1
    •: +1
    • (HP): +6
    •: +1
    • : 1-6 (d6)
    • : 1-6 (d6)
    • : 1-6 (d6)
    • : 1-6 (d6)"]}],"Name":"amulet","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":20,"H":20,"Binding":1,"IsGift":false,"Name":"ring67","Caption":" ","Description":[": 1
    : 0.00 .
    : [ ]x7
    : 0/50
    :
    •: 5
    •: 15
    •: 15
    :
    •: +5"]},{"NewLineToBR":false,"W":20,"H":20,"Binding":1,"IsGift":false,"Name":"ring70","Caption":" ","Description":[": 1
    : 0.00 .
    : [ ]x7
    : 0/50
    :
    •: 5
    •: 15
    •: 15
    :
    •: +5"]},{"NewLineToBR":false,"W":20,"H":20,"Binding":1,"IsGift":false,"Name":"ring124","Caption":" ","Description":[": 1
    : 0.00 .
    : [ ]x8
    : 0/50
    :
    •: 25
    •: 5
    :
    •. : +1
    •: +1
    • : +40"]},{"NewLineToBR":false,"W":20,"H":20,"Binding":1,"IsGift":false,"Name":"ring50","Caption":" ","Description":[": 1
    : 0.00 .
    : [ ]x8
    : 0/50
    :
    •: 25
    •: 5
    •: 15
    :
    •: +5
    • (HP): +3"]},{"NewLineToBR":false,"W":20,"H":20,"Binding":1,"IsGift":false,"Name":"ring77","Caption":" ","Description":[": 1
    : 0.00 .
    : [ ]x8
    : 0/30
    :
    •: 20
    •: 5
    •: 15
    •: 15
    :
    •. . (%): +6
    •. (%): +25
    • : 1-3 (d3)
    • : 1-3 (d3)
    • : 1-3 (d3)
    • : 1-3 (d3)"]},{"NewLineToBR":false,"W":20,"H":20,"Binding":1,"IsGift":false,"Name":"ring78","Caption":" ","Description":[": 1
    : 0.00 .
    : [ ]x8
    : 0/30
    :
    •: 5
    •: 15
    •: 15
    :
    •. (%): +15
    •. (%): +5"]},{"NewLineToBR":false,"W":20,"H":20,"Binding":1,"IsGift":false,"Name":"ring59","Caption":" ","Description":[": 1
    : 0.00 .
    : [ ]x8
    : 0/40
    :
    •: 10
    •: 10
    •: 5
    •: 10
    •: 10
    :
    •: +1
    •: +1
    •: +1
    • (HP): +18
    •: +1"]},{"NewLineToBR":false,"W":20,"H":20,"Binding":1,"IsGift":false,"Name":"ring62","Caption":" ","Description":[": 1
    : 0.00 .
    : [ ]x8
    : 0/30
    :
    •: 5
    •: 20
    •: 20
    :
    •. (%): +5
    •. (%): +7
    • (HP): +12"]}],"Name":"ring","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"sharpen_axe_2","Caption":" 2: ","Description":[": 1
    : 0.00 .
    : [ ]x24
    : 0/1
    : 60%
    :
    : 4
    , : 2
    :
    : +2
    : +2
    :
    , , . . "]},{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"sharpen_knife_2","Caption":" 2: ","Description":[": 1
    : 0.00 .
    : [ ]x24
    : 0/1
    : 60%
    :
    : 4
    , : 2
    :
    : +2
    : +2
    :
    , , . . "]},{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"sharpen_molot_2","Caption":" 2: , , ","Description":[": 1
    : 0.00 .
    : [ ]x24
    : 0/1
    : 60%
    :
    : 4
    , : 2
    :
    : +2
    : +2
    :
    , , . ."]},{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"sharpen_sword_2","Caption":" 2: ","Description":[": 1
    : 0.00 .
    : [ ]x24
    : 0/1
    : 50%
    :
    : 4
    : 2
    :
    : +2
    : +2
    :
    , , . . "]}],"Name":"svitki","Caption":"","Description":[]}],"Name":"noviceshop2","Caption":"","Description":["

    , . .


    ","","

    \"\" , \"\" \"\" \"\" .

    ","","","","","","","","","","","
    [4]-[6] [7] [8]
    3 = 1
    1 = 1
    1 = 3
    9 = 1
    3 = 1
    1 = 1
    15 = 1
    5 = 1
    5 = 3

    ","


    ","

    , , [5] .

    ","

    "]},{"NewLineToBR":false,"ImageBasePath":"https://img.new-combats.com/i/items/","Categories":[{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"dagger70","Caption":" ","Description":[": 7
    : 0.00 .
    : [ ]x19
    : 0/50
    :
    •: 34
    •: 25
    •: 6
    • , : 4
    •: 13
    :
    •: 4 - 12
    •. (%): 45
    •. : 15
    •. (%): 50

    • : +
    :
    • :
    • : "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"knife57","Caption":" ","Description":[": 6
    : 0.00 .
    : [ ]x20
    : 0/40
    :
    •: 25
    •: 25
    •: 5
    •: 6
    • , : 4
    •: 13
    :
    •: 4 - 13
    •. (%): 20
    •. (%): 30

    • : +
    :
    • :
    • :
    • :
    • :
    :
    10-16 .
    : 50% "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"knife68","Caption":" ","Description":[": 7
    : 0.00 .
    : [ ]x20
    : 0/40
    :
    •: 25
    •: 25
    •: 5
    •: 6
    • , : 4
    •: 13
    :
    •. (%): +20
    :
    •: 4 - 12
    •. (%): 20

    • : +
    :
    • :
    • :
    • :
    • :
    :
    10-16 .
    : 50% "]}],"Name":"knife","Caption":", ","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"axe76","Caption":" ","Description":[": 17
    : 0.00 .
    : [ ]x22
    : 0/50
    :
    •: 16
    •: 6
    • , : 4
    •: 16
    •: 16
    :
    •. (%): +20
    •: +2
    •: +1
    :
    •: 11 - 19
    •. (%): 15
    • : +
    :
    • :
    • :
    • :
    • : "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"axe58","Caption":" ","Description":[": 19
    : 0.00 .
    : [ ]x23
    : 0/50
    :
    •: 19
    •: 6
    • , : 4
    •: 19
    •: 19
    :
    •. (%): +30
    • , : +1
    :
    •: 11 - 21
    •. (%): 40
    • : +
    :
    • :
    • :
    • :
    • : "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"axe59","Caption":" ","Description":[": 16
    : 0.00 .
    : [ ]x23
    : 0/50
    :
    •: 19
    •: 6
    • , : 4
    •: 19
    •: 19
    :
    •: 12 - 21
    •. . (%): 10
    •. (%): 30

    • : +
    :
    • :
    • :
    • :
    • : "]}],"Name":"axe","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"molot1","Caption":" ","Description":[": 10
    : 0.00 .
    : [ ]x25
    : 0/50
    :
    •: 15
    •: 6
    • , : 3
    •: 20
    •: 20
    :
    •: -2
    •: +5
    :
    •: 10 - 22
    •. (%): 25
    •. (%): 35
    • : +
    :
    • :
    • :
    • :
    • : "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"mace56","Caption":" Ҹ ","Description":[": 25
    : 0.00 .
    : [ ]x26
    : 0/50
    :
    •: 6
    • , : 4
    •: 24
    •: 30
    :
    •. (%): -20
    :
    •: 15 - 25
    •. (%): 50
    •. (%): 30
    • : +
    :
    • :
    • : "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"hammer59","Caption":"˸ ","Description":[": 27
    : 0.00 .
    : [ ]x27
    : 0/40
    :
    •: 6
    • , : 4
    •: 24
    •: 30
    :
    •: +1
    :
    •: 15 - 25
    • , : 2
    • : +
    :
    • :
    • :
    • : "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"mace62","Caption":" ","Description":[": 9
    : 0.00 .
    : [ ]x29
    : 0/50
    :
    •: 6
    • , : 4
    •: 24
    •: 30
    :
    •: 15 - 25
    •. (%): 70
    •. (%): 40
    • :
    :
    • :
    • : "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"mace59","Caption":" ","Description":[": 25
    : 0.00 .
    : [ ]x29
    : 0/50
    :
    •: 6
    • , : 4
    •: 24
    •: 30
    :
    •: 15 - 25
    •. (%): -10
    •. (%): 25
    •. : 15
    • : +
    :
    • :
    • : "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"hammer54","Caption":" ","Description":[": 24
    : 0.00 .
    : [ ]x32
    : 0/50
    :
    •: 6
    • , : 4
    •: 24
    •: 30
    :
    •. . (%): +10
    •: -3
    •: +1
    •: +3
    :
    •: 15 - 25
    •. (%): 30
    • : +
    :
    • :
    • : "]}],"Name":"hammer","Caption":", , ","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"sword96","Caption":" ","Description":[": 13
    : 0.00 .
    : [ ]x22
    : 0/50
    :
    •: 19
    •: 6
    • : 4
    •: 19
    •: 19
    :
    •: +4
    :
    •: 11 - 21
    •. . (%): -10
    •. (%): 25
    •. (%): 30
    • : +
    :
    • :
    • :
    • :
    • : "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"sword70","Caption":" ","Description":[": 16
    : 0.00 .
    : [ ]x22
    : 0/50
    :
    •: 18
    •: 6
    • : 4
    •: 18
    •: 18
    :
    •. (%): +1
    •: +3
    • (HP): +15
    :
    •: 11 - 21
    • : +
    :
    • :
    • :
    • :
    • : "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"sword83","Caption":" ","Description":[": 10
    : 0.00 .
    : [ ]x23
    : 0/50
    :
    •: 16
    •: 6
    • : 4
    •: 16
    •: 16
    :
    •. (%): +60
    :
    •: 9 - 24
    •. (%): 10

    • : +
    :
    • :
    • :
    • :
    • : "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"sword58","Caption":" ","Description":[": 22
    : 0.00 .
    : [ ]x32
    : 0/50
    :
    •: 19
    •: 6
    • : 5
    •: 22
    •: 22
    :
    •: -2
    :
    •: 14 - 32
    •. : 20

    • : +
    :
    • :
    • :
    • : "]}],"Name":"sword","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"staff2","Caption":" ","Description":[": 4
    : 0.00 .
    : [ ]x30
    : 0/30
    :
    •: 30
    •: 6
    • : 2
    :
    •. : +5
    • : +1
    • (HP): +33
    • : +100
    :
    •: 1 - 15

    • : +
    :
    • :
    • : "]}],"Name":"staff","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"boots17","Caption":" ","Description":[": 6
    : 0.00 .
    : [ ]x12
    : 0/40
    :
    •: 6
    •: 20
    •: 20
    :
    •. (%): +50
    •: +2
    • : 7-24 (6+d18)"]},{"NewLineToBR":false,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"boots15","Caption":" ","Description":[": 6
    : 0.00 .
    : [ ]x13
    : 0/30
    :
    •: 6
    •: 20
    •: 20
    :
    •. (%): +15
    •. (%): +15
    •. (%): +5
    •. (%): +15
    •: +4
    • : 6-20 (5+d15)"]},{"NewLineToBR":false,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"boots19","Caption":" ","Description":[": 5
    : 0.00 .
    : [ ]x13
    : 0/50
    :
    •: 15
    •: 6
    •: 20
    •: 20
    :
    •. (%): +25
    •. (%): +20
    •: +4
    • : 7-24 (6+d18)"]},{"NewLineToBR":false,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"boots211","Caption":" ","Description":[": 4
    : 0.00 .
    : [ ]x14
    : 0/30
    :
    •: 30
    •: 6
    •: 15
    •: 10
    :
    •. (%): +25
    •: +1
    • (HP): +18
    • : +50
    • : 4-12 (3+d9)"]}],"Name":"boots","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"naruchi66","Caption":" ","Description":[": 3
    : 0.00 .
    : [ ]x10
    : 0/50
    :
    • : 15
    •: 6
    •: 15
    :
    • : +10
    :
    20-25 .
    : 20% "]},{"NewLineToBR":false,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"naruchi71","Caption":" ","Description":[": 3
    : 0.00 .
    : [ ]x10
    : 0/50
    :
    • : 15
    •: 6
    •: 15
    :
    • : +10
    :
    1-44 .
    : 20% "]},{"NewLineToBR":false,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"naruchi72","Caption":" ","Description":[": 3
    : 0.00 .
    : [ ]x10
    : 0/50
    :
    • : 15
    •: 6
    •: 15
    :
    • : +20
    :
    20-25 .
    : 20% "]},{"NewLineToBR":false,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"naruchi74","Caption":" ","Description":[": 4
    : 0.00 .
    : [ ]x14
    : 0/50
    :
    •: 30
    •: 30
    •: 6
    •: 10
    •: 10
    :
    • , : +4"]},{"NewLineToBR":false,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"naruchi53","Caption":" ","Description":[": 3
    : 0.00 .
    : [ ]x20
    : 0/50
    :
    •: 20
    •: 6
    •: 15
    :
    •. (%): +5
    •. (%): +5
    •. (%): +5
    •. (%): +5
    • : +2
    • (HP): +72
    •: +1"]}],"Name":"gloves","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":80,"Binding":1,"IsGift":false,"Name":"roba18","Caption":" ","Description":[": 5
    : 0.00 .
    : [ ]x34
    : 0/50
    :
    •: 30
    •: 6
    •: 15
    •: 10
    :
    •. (%): +15
    •. : +5
    • : +1
    • (HP): +48
    • : +90
    • : 4-10 (3+d7)
    :
    • : 25"]}],"Name":"roba","Caption":" , ","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":80,"Binding":1,"IsGift":false,"Name":"armor74","Caption":" ","Description":[": 3
    : 0.00 .
    : [ ]x33
    : 0/50
    :
    •: 17
    •: 17
    •: 6
    :
    •. (%): +25
    •. (%): +30
    •. (%): +50
    •: +4
    • : +90
    • : +25
    • (HP): +33
    • : 9-32 (8+d24)"]},{"NewLineToBR":false,"W":60,"H":80,"Binding":1,"IsGift":false,"Name":"armor65","Caption":" ","Description":[": 14
    : 0.00 .
    : [ ]x33
    : 0/50
    :
    •: 34
    •: 34
    •: 6
    •: 11
    •: 11
    :
    •. (%): +25
    •. (%): +65
    •: +10
    • : +2
    • (HP): +18
    • : 4-11 (3+d8)"]},{"NewLineToBR":false,"W":60,"H":80,"Binding":1,"IsGift":false,"Name":"armor57","Caption":" ","Description":[": 23
    : 0.00 .
    : [ ]x34
    : 0/60
    :
    •: 20
    •: 15
    •: 6
    •: 20
    •: 20
    :
    •. . (%): +5
    •. (%): +30
    •. (%): +30
    •. (%): +20
    •. (%): +5
    • : +25
    • (HP): +33
    •: +1
    • : 8-28 (7+d21)"]},{"NewLineToBR":false,"W":60,"H":80,"Binding":1,"IsGift":false,"Name":"armor76","Caption":" ","Description":[": 33
    : 0.00 .
    : [ ]x34
    : 0/50
    :
    •: 11
    •: 11
    •: 6
    •: 30
    •: 30
    :
    •. (%): +40
    •. (%): +40
    •. : +20
    • (HP): +33
    •: +3
    • : 9-32 (8+d24)"]},{"NewLineToBR":false,"W":60,"H":80,"Binding":1,"IsGift":false,"Name":"armor79","Caption":" ","Description":[": 28
    : 0.00 .
    : [ ]x34
    : 0/60
    :
    •: 15
    •: 15
    •: 6
    •: 25
    •: 25
    :
    •. (%): +40
    •. (%): +40
    •: +2
    • : 9-32 (8+d24)
    :
    • : 200"]},{"NewLineToBR":false,"W":60,"H":80,"Binding":1,"IsGift":false,"Name":"armor90","Caption":" ","Description":[": 13
    : 0.00 .
    : [ ]x34
    : 0/50
    :
    •: 34
    •: 34
    •: 6
    •: 11
    •: 11
    :
    •. (%): +30
    •. (%): +10
    •. (%): +95
    •. (%): +15
    • : 3-8 (2+d6)"]},{"NewLineToBR":false,"W":60,"H":80,"Binding":1,"IsGift":false,"Name":"armor54","Caption":" ","Description":[": 21
    : 0.00 .
    : [ ]x34
    : 0/50
    :
    •: 6
    •: 12
    •: 20
    :
    •. (%): +25
    •. (%): +25
    •. (%): +5
    •. (%): +40
    •. (%): +5
    •: +1
    • (HP): +33
    •: +2
    • : 7-24 (6+d18)
    :
    • : 25"]},{"NewLineToBR":false,"W":60,"H":80,"Binding":1,"IsGift":false,"Name":"armor70","Caption":" ","Description":[": 33
    : 0.00 .
    : [ ]x38
    : 0/50
    :
    •: 11
    •: 11
    •: 6
    •: 30
    •: 30
    :
    •. (%): +30
    •. (%): +30
    •. (%): +45
    •: +2
    •: +2
    • : +30
    • (HP): +45
    • : 9-32 (8+d24)"]}],"Name":"armor","Caption":" ","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":80,"Binding":1,"IsGift":false,"Name":"leg19","Caption":" ","Description":[": 4
    : 0.00 .
    : [ ]x13
    : 0/30
    :
    •: 10
    •: 6
    •: 25
    •: 10
    :
    •. (%): +10
    •. (%): +10
    • (HP): +36
    • : 3-20 (2+d18)
    • : 3-20 (2+d18)
    :
    • : 10"]},{"NewLineToBR":false,"W":60,"H":80,"Binding":1,"IsGift":false,"Name":"leg21","Caption":" ","Description":[": 4
    : 0.00 .
    : [ ]x13
    : 0/30
    :
    •: 10
    •: 6
    •: 25
    •: 10
    :
    •. (%): +25
    •. (%): +25
    • (HP): +18
    • : 3-20 (2+d18)
    • : 3-20 (2+d18)
    :
    • : 10"]}],"Name":"leg","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"helmet45","Caption":" ","Description":[": 10
    : 0.00 .
    : [ ]x13
    : 0/40
    :
    •: 6
    •: 21
    •: 21
    :
    •. (%): +35
    •. (%): +25
    • : +1
    • : 6-20 (5+d15)"]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"whelmet5","Caption":" ","Description":[": 2
    : 0.00 .
    : [ ]x14
    : 0/30
    :
    •: 30
    •: 6
    •: 15
    •: 10
    :
    •. : +3
    • (HP): +30
    • : +50
    • : 4-4"]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"helmet39","Caption":" ","Description":[": 8
    : 0.00 .
    : [ ]x14
    : 0/40
    :
    •: 6
    •: 21
    •: 21
    :
    •: +4
    •: +4
    • : 6-20 (5+d15)"]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"helmet50","Caption":" ","Description":[": 10
    : 0.00 .
    : [ ]x14
    : 0/50
    :
    •: 6
    •: 21
    •: 21
    :
    •. . (%): +8
    •. : +10
    • : 7-24 (6+d18)"]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"helmet75","Caption":" ","Description":[": 5
    : 0.00 .
    : [ ]x14
    : 0/30
    :
    •: 6
    •: 21
    •: 21
    :
    •. (%): +15
    •. (%): +20
    •. (%): +20
    •: +4
    • : 6-20 (5+d15)"]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"helmet70","Caption":" ","Description":[": 7
    : 0.00 .
    : [ ]x14
    : 0/50
    :
    •: 20
    •: 6
    •: 20
    •: 20
    :
    •. (%): +25
    •. (%): +25
    •. (%): +5
    • : 4-18 (3+d15)"]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"helmet51","Caption":" ","Description":[": 13
    : 0.00 .
    : [ ]x15
    : 0/40
    :
    •: 6
    •: 25
    •: 25
    :
    •. (%): +10
    •. (%): +5
    • : +2
    • (HP): +6
    • : 7-27 (6+d21)"]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"helmet66","Caption":" ","Description":[": 4
    : 0.00 .
    : [ ]x15
    : 0/30
    :
    •: 6
    •: 21
    •: 21
    :
    •. (%): +25
    •. : +10
    • (HP): +33
    • : 5-22 (4+d18)"]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"helmet47","Caption":" ","Description":[": 18
    : 0.00 .
    : [ ]x17
    : 0/60
    :
    •: 24
    •: 6
    •: 21
    •: 21
    :
    • : +40
    • : 21-60 (20+d40)"]}],"Name":"helmet","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"shield9","Caption":" ","Description":[": 10
    : 0.00 .
    : [ ]x19
    : 0/40
    :
    •: 18
    •: 6
    •: 21
    •: 21
    :
    •. (%): +45
    • : +3
    • : +2
    • : 6-23 (5+d18)
    • : 7-24 (6+d18)
    • : 6-23 (5+d18)
    • : 6-23 (5+d18)"]}],"Name":"shield","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"braslet8","Caption":" ","Description":[": 1
    : 0.00 .
    : [ ]x12
    : 0/30
    :
    •: 6
    •: 25
    •: 30
    :
    • : +35
    • : 1-9 (d9)
    • : 1-9 (d9)
    • : 1-9 (d9)
    • : 1-9 (d9)"]},{"NewLineToBR":false,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"braslet11","Caption":" ","Description":[": 1
    : 0.00 .
    : [ ]x12
    : 0/40
    :
    •: 15
    •: 6
    •: 15
    •: 15
    :
    •. (%): +15
    •. (%): +10
    • : +25
    •: +2"]},{"NewLineToBR":false,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"braslet23","Caption":" ","Description":[": 1
    : 0.00 .
    : [ ]x12
    : 0/60
    :
    •: 6
    •: 15
    •: 15
    :
    •. : +5
    •: +6"]}],"Name":"braslet","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"belt13","Caption":" ","Description":[": 1
    : 0.00 .
    : [ ]x8
    : 0/30
    :
    •: 6
    •: 15
    •: 24
    :
    •: +4
    • : 4-21 (3+d18)"]},{"NewLineToBR":false,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"belt24","Caption":" ","Description":[": 2
    : 0.00 .
    : [ ]x8
    : 0/30
    :
    •: 12
    •: 12
    •: 6
    •: 12
    •: 12
    :
    •. (%): +5
    •. (%): +6
    •. (%): +5
    •. (%): +6
    •: +2
    • : 6-20 (5+d15)"]},{"NewLineToBR":false,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"belt8","Caption":" ","Description":[": 3
    : 0.00 .
    : [ ]x8
    : 0/30
    :
    •: 18
    •: 18
    •: 6
    •: 15
    •: 15
    :
    •: +1
    •: +1
    • (HP): +12
    •: +1
    • : 5-16 (4+d12)"]},{"NewLineToBR":false,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"belt14","Caption":" ","Description":[": 2
    : 0.00 .
    : [ ]x8
    : 0/30
    :
    •: 24
    •: 6
    •: 24
    :
    •. . (%): +10
    • : 4-18 (3+d15)"]},{"NewLineToBR":false,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"belt29","Caption":" ","Description":[": 3
    : 0.00 .
    : [ ]x8
    : 0/30
    :
    •: 25
    •: 25
    •: 6
    •: 10
    •: 10
    :
    •. : +10
    • : 5-16 (4+d12)"]}],"Name":"belt","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":20,"Binding":1,"IsGift":false,"Name":"clip62","Caption":" ","Description":[": 1
    : 0.00 .
    : [ ]x17
    : 0/50
    :
    •: 25
    •: 6
    •: 20
    •: 20
    :
    •. . (%): +10
    •. (%): +50
    • (HP): +33
    •: +1"]},{"NewLineToBR":false,"W":60,"H":20,"Binding":1,"IsGift":false,"Name":"clip60","Caption":" ","Description":[": 1
    : 0.00 .
    : [ ]x19
    : 0/50
    :
    •: 6
    •: 16
    •: 15
    :
    •. (%): +30
    •. (%): +30
    •. (%): +30
    •. (%): +30
    •: +4"]},{"NewLineToBR":false,"W":60,"H":20,"Binding":1,"IsGift":false,"Name":"clip87","Caption":" ","Description":[": 1
    : 0.00 .
    : [ ]x20
    : 0/50
    :
    •: 30
    •: 6
    •: 15
    •: 10
    :
    •. (%): +15
    •. : +2
    • : +1
    • (HP): +36
    • : +60"]}],"Name":"clip","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":20,"Binding":1,"IsGift":false,"Name":"amulet82","Caption":" ","Description":[": 1
    : 0.00 .
    : [ ]x24
    : 0/60
    :
    •: 10
    •: 10
    •: 6
    •: 25
    •: 25
    :
    •. (%): +30
    •: +1
    •: +1
    •: +1
    • : +25
    • (HP): +21
    •: +1
    • : 1-15 (d15)
    • : 1-15 (d15)
    • : 1-15 (d15)
    • : 1-15 (d15)"]},{"NewLineToBR":false,"W":60,"H":20,"Binding":1,"IsGift":false,"Name":"amulet55","Caption":" ","Description":[": 1
    : 0.00 .
    : [ ]x26
    : 0/60
    :
    •: 25
    •: 6
    •: 15
    •: 15
    :
    •. . (%): +40
    •: +1"]},{"NewLineToBR":false,"W":60,"H":20,"Binding":1,"IsGift":false,"Name":"amulet91","Caption":" ","Description":[": 1
    : 0.00 .
    : [ ]x26
    : 0/50
    :
    •: 30
    •: 6
    •: 15
    •: 10
    :
    •. (%): +35
    •. : +5
    •: +2
    • : +1
    • (HP): +24
    • : +50"]}],"Name":"amulet","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":20,"H":20,"Binding":1,"IsGift":false,"Name":"ring52","Caption":" ","Description":[": 1
    : 0.00 .
    : [ ]x9
    : 0/50
    :
    •: 10
    •: 6
    •: 15
    •: 15
    :
    •. (%): -5
    •. (%): -5
    •. (%): -5
    •. (%): -5
    •: +4
    •: +4"]},{"NewLineToBR":false,"W":20,"H":20,"Binding":1,"IsGift":false,"Name":"ring65","Caption":" ","Description":[": 1
    : 0.00 .
    : [ ]x10
    : 0/30
    :
    •: 6
    •: 20
    •: 20
    :
    • (HP): +9
    •: +6"]},{"NewLineToBR":false,"W":20,"H":20,"Binding":1,"IsGift":false,"Name":"ring68","Caption":" ","Description":[": 1
    : 0.00 .
    : [ ]x10
    : 0/30
    :
    •: 15
    •: 6
    •: 10
    •: 15
    :
    •: +2
    • (HP): +9
    •: +4"]},{"NewLineToBR":false,"W":20,"H":20,"Binding":1,"IsGift":false,"Name":"ring71","Caption":" ","Description":[": 1
    : 0.00 .
    : [ ]x10
    : 0/30
    :
    •: 6
    •: 20
    •: 20
    :
    • : +10
    • (HP): +45
    •: +2"]},{"NewLineToBR":false,"W":20,"H":20,"Binding":1,"IsGift":false,"Name":"ring86","Caption":" ","Description":[": 1
    : 0.00 .
    : [ ]x10
    : 0/30
    :
    •: 6
    •: 25
    •: 25
    :
    •. (%): +20
    •. (%): +20
    •. (%): +20
    •. (%): +20
    • : 1-3 (d3)
    • : 1-3 (d3)
    • : 1-3 (d3)
    • : 1-3 (d3)"]},{"NewLineToBR":false,"W":20,"H":20,"Binding":1,"IsGift":false,"Name":"ring87","Caption":" ","Description":[": 1
    : 0.00 .
    : [ ]x10
    : 0/50
    :
    •: 6
    •: 25
    •: 25
    :
    •. (%): +2
    •. (%): +1
    • : +4
    • : +25"]}],"Name":"ring","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"sharpen_axe_3","Caption":" 3: ","Description":[": 1
    : 0.00 .
    : [ ]x48
    : 0/1
    : 70%
    :
    : 4
    , : 3
    :
    : +3
    : +3
    :
    , , . ."]},{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"sharpen_knife_3","Caption":" 3: ","Description":[": 1
    : 0.00 .
    : [ ]x48
    : 0/1
    : 70%
    :
    : 4
    , : 3
    :
    : +3
    : +3
    :
    , , . ."]},{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"sharpen_molot_3","Caption":" 3: , , ","Description":[": 1
    : 0.00 .
    : [ ]x48
    : 0/1
    : 70%
    :
    : 4
    , :3
    :
    : +3
    : +3
    :
    , , . . "]},{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"sharpen_sword_3","Caption":" 3: ","Description":[": 1
    : 0.00 .
    : [ ]x48
    : 0/1
    : 70%
    :
    : 4
    : 3
    :
    : +3
    : +3
    :
    , , . ."]}],"Name":"svitki","Caption":"","Description":[]}],"Name":"noviceshop3","Caption":"","Description":["

    , . .


    ","","

    \"\" , \"\" \"\" \"\" .

    ","","","","","","","","","","","","","
    [4]-[6] [7] [8]
    3 = 1
    1 = 1
    1 = 3
    9 = 1
    3 = 1
    1 = 1
    15 = 1
    5 = 1
    5 = 3
    3 =

    ","


    ","

    , , [6] .

    ","

    "]}],"IsDungeon":true,"Name":"novice","Caption":"","Description":[]}); +underground.addDungeon({"RequiredScriptNames":["dungeon.data.angel.capital.js","dungeon.data.capital.js","dungeon.data.capital.sand.js","dungeon.data.angel.capital.demons.emerald.novice.sand.js","dungeon.data.capital.demons.emerald.js","dungeon.data.abandon.capital.emerald.sand.js","dungeon.data.abandon.capital.js","dungeon.data.abandon.capital.demons.js","dungeon.data.capital.demons.js","dungeon.data.angel.capital.emerald.sand.js","dungeon.data.capital.demons.sand.js","dungeon.data.capital.demons.emerald.sand.js","dungeon.data.capital.emerald.sand.js","dungeon.data.capital.demons.emerald.novice.sand.js","dungeon.data.angel.capital.demons.novice.js","dungeon.data.angel.capital.novice.js","dungeon.data.angel.capital.demons.js","dungeon.data.capital.novice.js","dungeon.data.abandon.capital.demons.sand.js"],"NewLineToBR":true,"CellBackgroundColorString":"#E0E5E9","CellBorderColorString":"#7D8699","Jobs":{"CollectiveJobs":[{"Caption":" ","ImageUrl":"https://img.new-combats.com/i/items/mater203.gif","ItemReward":4,"Description":[" \" \" . \" \" , . ... "],"DefCount":25},{"Caption":"","ImageUrl":"https://img.new-combats.com/i/items/mater214.gif","ItemReward":10,"Description":[" , , \"\" . \" \" , ."],"DefCount":13},{"Caption":" ","ImageUrl":"https://img.new-combats.com/i/items/mater213.gif","ItemReward":20,"Description":[" , \" \" . \" \" , . ..."],"DefCount":5},{"Caption":"","ImageUrl":"https://img.new-combats.com/i/items/mater223.gif","ItemReward":13,"Description":[" , , \"\" . \" \".",""],"DefCount":13},{"Caption":" ","ImageUrl":"https://img.new-combats.com/i/items/mater222.gif","ItemReward":3,"Description":[" , \" \" . \" \" . ..."],"DefCount":30},{"Caption":"","ImageUrl":"https://img.new-combats.com/i/items/mater244.gif","ItemReward":12,"Description":[" , \"\" . \" \". , ..."],"DefCount":30},{"Caption":" ","ImageUrl":"https://img.new-combats.com/i/items/mater245.gif","ItemReward":12,"Description":[" , \" \" . \" \" , . ...",""],"DefCount":32}],"CapturedJobs":[{"Caption":" ","ImageUrl":"https://img.new-combats.com/i/items/mater205.gif","ItemReward":15,"Description":[" , \" \" . \" \". ! ",""," , , 1-2 ."],"DefCount":12},{"Caption":" ","ImageUrl":"https://img.new-combats.com/i/items/mater215.gif","ItemReward":10,"Description":[" , \" \" . \"\" \" \". ... ",""," , [8}-[9] , 1-2 ."],"DefCount":14},{"Caption":" ","ImageUrl":"https://img.new-combats.com/i/items/mater204.gif","ItemReward":12,"Description":[" , , \" \" . \" \". ... "],"DefCount":13},{"Caption":"","ImageUrl":"https://img.new-combats.com/i/items/mater216.gif","ItemReward":8,"Description":[" , \"\" . \" \". ",""," . 2 ."],"DefCount":15},{"Caption":" ","ImageUrl":"https://img.new-combats.com/i/items/mater242.gif","ItemReward":20,"Description":[" , \" \" . \" \". ! ",""," , 1 ."],"DefCount":15},{"Caption":" ","ImageUrl":"https://img.new-combats.com/i/items/mater243.gif","ItemReward":75,"Description":[" , , \" \" . \" \" , . ... ",""," C C, ."],"DefCount":5},{"Caption":" ","ImageUrl":"https://img.new-combats.com/i/items/mater241.gif","ItemReward":15,"Description":[" , \" \" . \" \". , ... ",""," ."],"DefCount":23},{"Caption":"","ImageUrl":"https://img.new-combats.com/i/items/mater240.gif","ItemReward":15,"Description":[" , , \"\" . \" \". ...",""," ... "],"DefCount":17}],"KillingJobs":[{"MobName":"pa","Unique":false,"Description":[" , \" \". \" \". ..."],"DefCount":2},{"MobName":"pm","Unique":false,"Description":[" , , \" \". \" \""],"DefCount":14},{"MobName":"pu","Unique":false,"Description":[" , \" \". \" \". , "],"DefCount":13},{"MobName":"pg","Unique":false,"Description":[" , \" \", \" \". ... "],"DefCount":12},{"MobName":"dk","Unique":true,"Description":[" \" \". , , , , . \" \" .",": \" \". "],"DefCount":1},{"MobName":"ms","Unique":true,"Description":[" , \" \". \" \"."],"DefCount":1},{"MobName":"sk","Unique":true,"Description":[" \" \", \" \". , - , .",": \" \"."],"DefCount":1},{"MobName":"im","Unique":true,"Description":[" \" \" \" \". , .",": \" \"."],"DefCount":1},{"MobName":"dpg","Unique":true,"Description":[" , . \" \", ."],"DefCount":1},{"MobName":"duhhr","Unique":false,"Description":[" , \"-\". \" \". ..."],"DefCount":25},{"MobName":"zbldsh","Unique":false,"Description":[" , \" \". \" \"."],"DefCount":25},{"MobName":"mhohr","Unique":false,"Description":[" , \" \", \" \". ..."],"DefCount":20},{"MobName":"mhgol","Unique":false,"Description":[" , \" \". \" \". ..."],"DefCount":17},{"MobName":"mhub","Unique":false,"Description":[" , \" \". \" \"."],"DefCount":10},{"MobName":"mhk","Unique":false,"Description":[" , : , \"\". , \" \"."],"DefCount":17},{"MobName":"mgrt","Unique":true,"Description":[" , \" \". , \" \". "],"DefCount":1},{"MobName":"strsokr","Unique":false,"Description":[" , \" \", \" \". ..."],"DefCount":5},{"MobName":"kamstr","Unique":true,"Description":[" , \" \". \" \". . "],"DefCount":1}]},"Floors":[{"Cells":[{"X":1,"Y":7,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"pa","Level":8,"Align":"0","Tag":"","Count":1},{"Name":"pm","Level":7,"Align":"9","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":6,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"well03","InstanceName":"fountain21"}],"HotSpots":[{"HighlightColorString":"#3E4F4F","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":10,"Y":5}]}]},{"X":2,"Y":7,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":7,"Border":{"Left":0,"Top":0,"Right":1,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"arrowright","InstanceName":"arrow1"}],"HotSpots":[]},{"X":4,"Y":7,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":7,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pu","Level":7,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":8,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":8,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":7,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"pm","Level":7,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":6,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pm","Level":7,"Align":"0","Tag":"","Count":5}],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":6,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"pm","Level":6,"Align":"0","Tag":"","Count":10}],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":4,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pu","Level":6,"Align":"0","Tag":"","Count":6}],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":4,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pm","Level":7,"Align":"0","Tag":"","Count":1},{"Name":"pa","Level":8,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":5,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pm","Level":7,"Align":"0","Tag":"","Count":2},{"Name":"pu","Level":7,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":6,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pm","Level":7,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":5,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":5,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":4,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":4,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pu","Level":6,"Align":"0","Tag":"","Count":5}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":4,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"pu","Level":7,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":3,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":2,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":2,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"pm","Level":7,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":2,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":3,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":4,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"pg","Level":8,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":2,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":3,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pm","Level":7,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":1,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pa","Level":8,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":1,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"escapepoint_blue1","InstanceName":"escape"},{"ObjectName":"ladder","InstanceName":"ladder1"}],"HotSpots":[]},{"X":6,"Y":5,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":5,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":4,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pg","Level":7,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":6,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":7,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"pg","Level":7,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":6,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pg","Level":7,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":8,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"pg","Level":6,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":7,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pg","Level":7,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":9,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"blueteleport","InstanceName":"blueteleport1"}],"HotSpots":[]},{"X":10,"Y":5,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"key1","InstanceName":"key11"}],"HotSpots":[{"HighlightColorString":"#3E4F4F","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":1,"Y":6}]},{"HighlightColorString":"#3E4F4F","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":9,"Y":6},{"X":10,"Y":6},{"X":10,"Y":4},{"X":9,"Y":4},{"X":9,"Y":5}]}]},{"X":5,"Y":2,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pg","Level":6,"Align":"0","Tag":"","Count":8}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":9,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"entrancepoint_green1","InstanceName":"enter"},{"ObjectName":"enter","InstanceName":"enter2"}],"HotSpots":[]}],"LookDirection":3,"Width":12,"Height":11,"DataBounds":"1, 1, 10, 9","Name":"floor1","Caption":"1 ","Description":[]},{"Cells":[{"X":2,"Y":10,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"pa","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[{"ObjectName":"key2","InstanceName":"key21"}],"HotSpots":[{"HighlightColorString":"#3E4F4F","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":8,"Y":5}]}]},{"X":3,"Y":10,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[{"HighlightColorString":"Transparent","Opacity":0.9,"ImageUrl":"/i/ugobj/entrancepoint_yellow1.gif","CellRefs":[{"X":10,"Y":4}]}]},{"X":3,"Y":8,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"pg","Level":8,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":9,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"pm","Level":7,"Align":"0","Tag":"","Count":8}],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":8,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pm","Level":8,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":7,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pa","Level":8,"Align":"9","Tag":"","Count":1},{"Name":"pm","Level":7,"Align":"9","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":9,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"pm","Level":8,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":9,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"pm","Level":7,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":8,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pm","Level":8,"Align":"0","Tag":"","Count":5}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":7,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pa","Level":8,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":7,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pa","Level":8,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":8,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"fountain6","InstanceName":"fountain61"}],"HotSpots":[{"HighlightColorString":"LightCoral","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":2,"Y":5}]}]},{"X":7,"Y":9,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":9,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pg","Level":8,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":10,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"entrancepoint_green1","InstanceName":"enter4"}],"HotSpots":[]},{"X":9,"Y":8,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":7,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":6,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pm","Level":8,"Align":"0","Tag":"","Count":1},{"Name":"pu","Level":8,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":4,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"redteleport","InstanceName":"redteleport2"}],"HotSpots":[{"HighlightColorString":"#3E4F4F","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":4,"Y":9},{"X":4,"Y":8},{"X":4,"Y":7},{"X":5,"Y":9},{"X":6,"Y":9},{"X":6,"Y":8},{"X":6,"Y":7},{"X":5,"Y":7},{"X":5,"Y":8}]},{"HighlightColorString":"Transparent","Opacity":0.9,"ImageUrl":"/i/ugobj/escapepoint_yellow1.gif","CellRefs":[{"X":3,"Y":10}]}]},{"X":5,"Y":5,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":5,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pm","Level":8,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":6,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"pu","Level":8,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":5,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"redteleport","InstanceName":"redteleport1"}],"HotSpots":[{"HighlightColorString":"#3E4F4F","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":2,"Y":10}]}]},{"X":7,"Y":4,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":3,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pu","Level":8,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":3,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":2,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"pu","Level":8,"Align":"0","Tag":"","Count":3},{"Name":"pa","Level":8,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":1,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"escapepoint_blue1","InstanceName":"escape"},{"ObjectName":"ladder","InstanceName":"ladder2"}],"HotSpots":[]},{"X":9,"Y":2,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"im","Level":9,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":2,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"smag_collect1","InstanceName":"sunduk1"}],"HotSpots":[]},{"X":5,"Y":2,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":3,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":4,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":5,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":4,"Border":{"Left":2,"Top":2,"Right":1,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"arrowright","InstanceName":"arrow1"}],"HotSpots":[{"HighlightColorString":"Transparent","Opacity":0.9,"ImageUrl":"/i/ugobj/entrancepoint_yellow1.gif","CellRefs":[{"X":1,"Y":10}]}]},{"X":3,"Y":3,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":3,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pu","Level":8,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":4,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":5,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"dk","Level":8,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":7,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pg","Level":8,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":2,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":6,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":8,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":5,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"pg","Level":9,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":3,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"pg","Level":9,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":5,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"pg","Level":7,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":6,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pg","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":9,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"pg","Level":8,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":7,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":5,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pg","Level":8,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":10,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"blueteleport","InstanceName":"blueteleport2"}],"HotSpots":[{"HighlightColorString":"Transparent","Opacity":0.9,"ImageUrl":"/i/ugobj/escapepoint_yellow1.gif","CellRefs":[{"X":3,"Y":4}]}]}],"LookDirection":3,"Width":12,"Height":12,"DataBounds":"1, 1, 10, 10","Name":"floor2","Caption":"2 ","Description":[]},{"Cells":[{"X":1,"Y":3,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pu","Level":8,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":4,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"pm","Level":7,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":4,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":6,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":6,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":3,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pa","Level":8,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":3,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pm","Level":8,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":4,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"pu","Level":7,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":5,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"redteleport","InstanceName":"redteleport4"}],"HotSpots":[{"HighlightColorString":"Transparent","Opacity":0.9,"ImageUrl":"/i/ugobj/escapepoint_yellow1.gif","CellRefs":[{"X":10,"Y":4}]}]},{"X":4,"Y":6,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":6,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"sk","Level":9,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":6,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"redteleport","InstanceName":"redteleport3"}],"HotSpots":[]},{"X":8,"Y":6,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"entrancepoint_green1","InstanceName":"enter"},{"ObjectName":"enter","InstanceName":"enter3"}],"HotSpots":[]},{"X":9,"Y":6,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":4,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":4,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":4,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pa","Level":9,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":4,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":4,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":3,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":2,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"ms","Level":8,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":2,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pu","Level":8,"Align":"9","Tag":"","Count":1},{"Name":"pa","Level":8,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":2,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":1,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pm","Level":8,"Align":"9","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":1,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pm","Level":8,"Align":"9","Tag":"","Count":1},{"Name":"pu","Level":7,"Align":"9","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":2,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"pm","Level":8,"Align":"9","Tag":"","Count":1},{"Name":"pu","Level":7,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":5,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pg","Level":8,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":5,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pg","Level":7,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":5,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"key3","InstanceName":"key31"},{"ObjectName":"fountain5","InstanceName":"fountain51"}],"HotSpots":[{"HighlightColorString":"#3E4F4F","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":1,"Y":3},{"X":1,"Y":4},{"X":2,"Y":4},{"X":2,"Y":3},{"X":3,"Y":3},{"X":3,"Y":4}]}]},{"X":10,"Y":2,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"workshop","InstanceName":"workshop1"}],"HotSpots":[{"HighlightColorString":"#3E4F4F","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":7,"Y":5}]}]},{"X":6,"Y":3,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":1,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"fountain6","InstanceName":"fountain62"}],"HotSpots":[{"HighlightColorString":"#3E4F4F","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":6,"Y":2},{"X":7,"Y":2},{"X":7,"Y":1},{"X":5,"Y":1},{"X":5,"Y":2}]}]},{"X":1,"Y":6,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"entrancepoint_green1","InstanceName":"enter5"}],"HotSpots":[]}],"LookDirection":3,"Width":12,"Height":8,"DataBounds":"1, 1, 10, 6","Name":"floor3","Caption":"3 ","Description":[]},{"Cells":[{"X":1,"Y":1,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"zbldsh","Level":10,"Align":"0","Tag":"","Count":1},{"Name":"duhhr","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":1,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":1,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":1,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":1,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"zbldsh","Level":10,"Align":"0","Tag":"","Count":1},{"Name":"duhhr","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":1,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":1,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"zer","InstanceName":"zer1"}],"HotSpots":[]},{"X":7,"Y":0,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"escapepoint_blue1","InstanceName":"escape"},{"ObjectName":"arrowup","InstanceName":"arrow2"}],"HotSpots":[]},{"X":8,"Y":1,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"dangerteleport","InstanceName":"teleport2"}],"HotSpots":[{"HighlightColorString":"Transparent","Opacity":0.9,"ImageUrl":"/i/ugobj/escapepoint_yellow1.gif","CellRefs":[{"X":8,"Y":3}]}]},{"X":9,"Y":1,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"zbldsh","Level":10,"Align":"0","Tag":"","Count":1},{"Name":"duhhr","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":1,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":11,"Y":1,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":12,"Y":1,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":13,"Y":1,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"zbldsh","Level":10,"Align":"0","Tag":"","Count":1},{"Name":"duhhr","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":2,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":3,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":3,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":3,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":2,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":13,"Y":2,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":13,"Y":3,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"zer","InstanceName":"zer1"}],"HotSpots":[]},{"X":13,"Y":4,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":13,"Y":5,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"zbldsh","Level":10,"Align":"0","Tag":"","Count":1},{"Name":"duhhr","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":13,"Y":6,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":13,"Y":7,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":13,"Y":8,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"zbldsh","Level":10,"Align":"0","Tag":"","Count":1},{"Name":"duhhr","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":13,"Y":9,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":4,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":5,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"zbldsh","Level":10,"Align":"0","Tag":"","Count":1},{"Name":"duhhr","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":6,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":7,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":8,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"zbldsh","Level":10,"Align":"0","Tag":"","Count":1},{"Name":"duhhr","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":9,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"zer","InstanceName":"zer1"}],"HotSpots":[]},{"X":1,"Y":10,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":11,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":12,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"zbldsh","Level":10,"Align":"0","Tag":"","Count":1},{"Name":"duhhr","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":3,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"zbldsh","Level":10,"Align":"0","Tag":"","Count":1},{"Name":"duhhr","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":3,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":3,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":3,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":3,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"zbldsh","Level":10,"Align":"0","Tag":"","Count":1},{"Name":"duhhr","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":11,"Y":3,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"zbldsh","Level":10,"Align":"0","Tag":"","Count":1},{"Name":"duhhr","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":11,"Y":4,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":11,"Y":5,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":11,"Y":6,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":4,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":5,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"duhhr","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":5,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":5,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":5,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":4,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":5,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":6,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":7,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"zbldsh","Level":10,"Align":"0","Tag":"","Count":1},{"Name":"duhhr","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":8,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":11,"Y":7,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"zbldsh","Level":10,"Align":"0","Tag":"","Count":1},{"Name":"duhhr","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":11,"Y":8,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":5,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"zbldsh","Level":10,"Align":"0","Tag":"","Count":1},{"Name":"duhhr","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":6,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":5,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"zbldsh","Level":10,"Align":"0","Tag":"","Count":1},{"Name":"duhhr","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":6,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"weap3","InstanceName":"weap31"}],"HotSpots":[]},{"X":6,"Y":6,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":6,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"zer","InstanceName":"zer1"}],"HotSpots":[]},{"X":8,"Y":6,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"zbldsh","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":7,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":7,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"entrancepoint_green1","InstanceName":"enter6"}],"HotSpots":[{"HighlightColorString":"Transparent","Opacity":0.9,"ImageUrl":"/i/ugobj/entrancepoint_yellow1.gif","CellRefs":[{"X":1,"Y":14}]}]},{"X":8,"Y":7,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":8,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"zbldsh","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":8,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"zer","InstanceName":"zer1"}],"HotSpots":[]},{"X":8,"Y":8,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":7,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"zbldsh","Level":10,"Align":"0","Tag":"","Count":1},{"Name":"duhhr","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":7,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":8,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":9,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"zbldsh","Level":10,"Align":"0","Tag":"","Count":1},{"Name":"duhhr","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":9,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":9,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":9,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":9,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":9,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":9,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"zbldsh","Level":10,"Align":"0","Tag":"","Count":1},{"Name":"duhhr","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":9,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":7,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"vumpel1","InstanceName":"vumpel11"}],"HotSpots":[]},{"X":5,"Y":7,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"zbldsh","Level":10,"Align":"0","Tag":"","Count":1},{"Name":"duhhr","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":8,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":11,"Y":9,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"zbldsh","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":10,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"dangerteleport","InstanceName":"teleport1"}],"HotSpots":[{"HighlightColorString":"Transparent","Opacity":0.9,"ImageUrl":"/i/ugobj/escapepoint_yellow1.gif","CellRefs":[{"X":7,"Y":5}]}]},{"X":7,"Y":11,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"mhk","Level":9,"Align":"0","Tag":"","Count":1},{"Name":"mhgol","Level":9,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":11,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"chest2_small","InstanceName":"chest21"},{"ObjectName":"chest4_small","InstanceName":"chest42"}],"HotSpots":[]},{"X":10,"Y":10,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"gzm","Level":10,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":11,"Y":10,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"attentionpoint_red1","InstanceName":"danger1"}],"HotSpots":[{"HighlightColorString":"LightCoral","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":10,"Y":10},{"X":12,"Y":10}]}]},{"X":12,"Y":10,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"kzm","Level":10,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":11,"Y":11,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"chest2_small","InstanceName":"chest21"},{"ObjectName":"chest4_small","InstanceName":"chest41"}],"HotSpots":[]},{"X":12,"Y":9,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":13,"Y":10,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"zer","InstanceName":"zer1"}],"HotSpots":[]},{"X":13,"Y":11,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":13,"Y":12,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"zbldsh","Level":10,"Align":"0","Tag":"","Count":1},{"Name":"duhhr","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":12,"Y":12,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":11,"Y":12,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"duhhr","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":12,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"dangerteleport","InstanceName":"teleport3"}],"HotSpots":[{"HighlightColorString":"Transparent","Opacity":0.9,"ImageUrl":"/i/ugobj/escapepoint_yellow1.gif","CellRefs":[{"X":8,"Y":3}]}]},{"X":12,"Y":13,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":12,"Y":14,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"attentionpoint_red1","InstanceName":"danger2"}],"HotSpots":[{"HighlightColorString":"LightCoral","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":12,"Y":15}]}]},{"X":13,"Y":14,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"chest01","InstanceName":"chest21"}],"HotSpots":[]},{"X":11,"Y":14,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"chest4","InstanceName":"chest11"}],"HotSpots":[]},{"X":13,"Y":15,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":12,"Y":15,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"kamstr","Level":9,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":11,"Y":15,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":10,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":11,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"zbldsh","Level":10,"Align":"0","Tag":"","Count":1},{"Name":"duhhr","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":11,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"yellowteleport","InstanceName":"yellowteleport1"}],"HotSpots":[{"HighlightColorString":"Transparent","Opacity":0.9,"ImageUrl":"/i/ugobj/escapepoint_yellow1.gif","CellRefs":[{"X":6,"Y":12}]}]},{"X":6,"Y":11,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":12,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"weap3","InstanceName":"weap31"}],"HotSpots":[]},{"X":3,"Y":12,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":12,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"weap2","InstanceName":"weap21"}],"HotSpots":[]},{"X":6,"Y":12,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[{"HighlightColorString":"Transparent","Opacity":0.9,"ImageUrl":"/i/ugobj/entrancepoint_yellow1.gif","CellRefs":[{"X":5,"Y":11}]}]},{"X":5,"Y":12,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"zbldsh","Level":10,"Align":"0","Tag":"","Count":1},{"Name":"duhhr","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":15,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"entrancepoint_green1","InstanceName":"enter"},{"ObjectName":"enter","InstanceName":"enter4"}],"HotSpots":[]},{"X":1,"Y":14,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"greenteleport","InstanceName":"grteleport1"}],"HotSpots":[{"HighlightColorString":"Transparent","Opacity":0.9,"ImageUrl":"/i/ugobj/escapepoint_yellow1.gif","CellRefs":[{"X":7,"Y":7}]}]},{"X":9,"Y":14,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"pg","Level":8,"Align":"0","Tag":"","Count":4},{"Name":"pg","Level":6,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":14,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":11,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"weap3","InstanceName":"weap31"}],"HotSpots":[]},{"X":1,"Y":3,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"gobelin1","InstanceName":"gobelin11"}],"HotSpots":[]},{"X":9,"Y":5,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"gobelin2","InstanceName":"gobelin2"}],"HotSpots":[]},{"X":8,"Y":14,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":14,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"pg","Level":7,"Align":"0","Tag":"","Count":5}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":13,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":14,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":15,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":13,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pg","Level":8,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":15,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"pg","Level":9,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":14,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"pg","Level":7,"Align":"0","Tag":"","Count":3},{"Name":"pg","Level":8,"Align":"0","Tag":"","Count":4}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":14,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pg","Level":7,"Align":"0","Tag":"","Count":4},{"Name":"dpg","Level":9,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":15,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":15,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"pg","Level":8,"Align":"0","Tag":"","Count":4}],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":15,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":14,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pg","Level":9,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":12,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":12,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"zbldsh","Level":10,"Align":"0","Tag":"","Count":1},{"Name":"duhhr","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":12,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]}],"LookDirection":3,"Width":15,"Height":17,"DataBounds":"1, 0, 13, 16","Name":"floor4","Caption":"4 ","Description":[]},{"Cells":[{"X":7,"Y":0,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"mhk","Level":9,"Align":"0","Tag":"","Count":1},{"Name":"mhohr","Level":10,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":0,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"attentionpoint_red1","InstanceName":"danger11"}],"HotSpots":[{"HighlightColorString":"LightCoral","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":7,"Y":0}]}]},{"X":9,"Y":0,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"chest3","InstanceName":"chest31"}],"HotSpots":[{"HighlightColorString":"#3E4F4F","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":6,"Y":11}]}]},{"X":8,"Y":1,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":1,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"mhub","Level":10,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":2,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":3,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":4,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"mhgol","Level":9,"Align":"0","Tag":"","Count":2},{"Name":"mhohr","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":4,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"sunduk_1","InstanceName":"sunduk_11"}],"HotSpots":[]},{"X":9,"Y":4,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":3,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"mhub","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":3,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"mhgol","Level":9,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":4,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"mhk","Level":9,"Align":"0","Tag":"","Count":1},{"Name":"mhgol","Level":9,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":5,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"mhgol","Level":9,"Align":"0","Tag":"","Count":1},{"Name":"mhohr","Level":10,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":6,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":6,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":6,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"mhk","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":7,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":8,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":8,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":8,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"mhub","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":9,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":9,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":8,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":8,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"mhohr","Level":10,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":7,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":8,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"chest01","InstanceName":"chest21"}],"HotSpots":[]},{"X":3,"Y":6,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"mhk","Level":9,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":6,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":6,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"mhub","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":0,"Y":6,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"mhk","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":0,"Y":7,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":0,"Y":8,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"mhub","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":0,"Y":9,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":0,"Y":10,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":10,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"mhk","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":0,"Y":11,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"altar","InstanceName":"altar1"}],"HotSpots":[]},{"X":1,"Y":11,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"mhub","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":11,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"mhk","Level":9,"Align":"0","Tag":"","Count":2},{"Name":"mhgol","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":11,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"mhk","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":11,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":11,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"mhk","Level":9,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":10,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":6,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"mhgol","Level":9,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":10,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"mhub","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":10,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":11,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"grate1","InstanceName":"grate11"}],"HotSpots":[{"HighlightColorString":"#3E4F4F","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":9,"Y":0}]}]},{"X":6,"Y":12,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":13,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"strsokr","Level":11,"Align":"9","Tag":"- ","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":14,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"chest4","InstanceName":"chest13"}],"HotSpots":[]},{"X":5,"Y":12,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":12,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":13,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"strsokr","Level":11,"Align":"9","Tag":"-","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":14,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"chest4","InstanceName":"chest14"}],"HotSpots":[]},{"X":3,"Y":12,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"vumpel1","InstanceName":"vumpel11"}],"HotSpots":[]},{"X":2,"Y":12,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":13,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"strsokr","Level":11,"Align":"9","Tag":"-","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":14,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"chest2_small","InstanceName":"chest21"},{"ObjectName":"chest4_small","InstanceName":"chest44"}],"HotSpots":[]},{"X":7,"Y":12,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"vumpel1","InstanceName":"vumpel11"}],"HotSpots":[]},{"X":8,"Y":12,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":13,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"strsokr","Level":11,"Align":"9","Tag":"-","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":14,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"chest4","InstanceName":"chest12"}],"HotSpots":[]},{"X":9,"Y":12,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":12,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":14,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"chest2_small","InstanceName":"chest21"},{"ObjectName":"chest4_small","InstanceName":"chest43"}],"HotSpots":[]},{"X":8,"Y":10,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":10,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":10,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":9,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"enterdoor","InstanceName":"enterdoor1"}],"HotSpots":[]},{"X":8,"Y":8,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":8,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":7,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":7,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"chest01","InstanceName":"chest21"}],"HotSpots":[]},{"X":8,"Y":7,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":11,"Y":10,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"mhub","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":11,"Y":9,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":11,"Y":8,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":11,"Y":7,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"mhk","Level":9,"Align":"0","Tag":"","Count":3},{"Name":"mhohr","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":11,"Y":6,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"attentionpoint_red1","InstanceName":"danger12"}],"HotSpots":[{"HighlightColorString":"LightCoral","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":10,"Y":6},{"X":11,"Y":7}]}]},{"X":11,"Y":5,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":11,"Y":4,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":11,"Y":3,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":11,"Y":2,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"mhub","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":12,"Y":2,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":13,"Y":2,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"mhk","Level":9,"Align":"0","Tag":"","Count":1},{"Name":"mhgol","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":12,"Y":4,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":12,"Y":5,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"chest01","InstanceName":"chest21"}],"HotSpots":[]},{"X":13,"Y":4,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"mhohr","Level":10,"Align":"0","Tag":"","Count":4}],"ObjectRefs":[],"HotSpots":[]},{"X":13,"Y":5,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":13,"Y":3,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":14,"Y":4,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":14,"Y":5,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"mhgol","Level":9,"Align":"0","Tag":"","Count":1},{"Name":"mhohr","Level":10,"Align":"0","Tag":"","Count":1},{"Name":"mhk","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":14,"Y":2,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"zer","InstanceName":"zer1"}],"HotSpots":[]},{"X":15,"Y":2,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"zer","InstanceName":"zer1"}],"HotSpots":[]},{"X":16,"Y":2,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"mhk","Level":9,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":17,"Y":2,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":15,"Y":4,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"mhgol","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":15,"Y":5,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":16,"Y":4,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"mhub","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":17,"Y":4,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"mhk","Level":9,"Align":"0","Tag":"","Count":1},{"Name":"mhohr","Level":10,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":16,"Y":3,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":16,"Y":5,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"chest01","InstanceName":"chest21"}],"HotSpots":[]},{"X":17,"Y":5,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":18,"Y":2,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"mhgol","Level":9,"Align":"0","Tag":"","Count":4}],"ObjectRefs":[],"HotSpots":[]},{"X":18,"Y":3,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":18,"Y":4,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"mhub","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":18,"Y":5,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":1},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"entrancepoint_green1","InstanceName":"enter"},{"ObjectName":"arrowdown","InstanceName":"arrow2"}],"HotSpots":[]},{"X":10,"Y":13,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"strsokr","Level":11,"Align":"9","Tag":"- ","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":8,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"mgrt","Level":11,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]}],"LookDirection":3,"Width":20,"Height":16,"DataBounds":"0, 0, 19, 15","Name":"floor5","Caption":"5 ","Description":[]}],"Pages":[{"NewLineToBR":false,"ExternalUrl":"","Name":"capitalknightugsol","Caption":"","Description":["

    ,

    ","
    Capital ity 9999, :

    ","
    ","
    . , ? \" \" 1000 .
    ","
    ","

    ","
    .
    ","
    ","
    \"\" (), .","
    : 4- 66 \"\" ( ) \"\" (). 30-60 , \"\", . , .","
    1000 \"\", .","
    , \"\" \"\" : .


    "]}],"Shops":[{"NewLineToBR":true,"ImageBasePath":"https://img.new-combats.com/i/items/","Categories":[{"NewLineToBR":true,"Items":[{"NewLineToBR":true,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"Key21","Caption":" 1","Description":[": 1",": 0/1"," Capital city"," "," ",""," , Sandcity."," ."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"key_amul_1","Caption":" ","Description":[": 1",": 0/1 "," Capital city "," "," ",""," L12 ."," , 2- ."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"key_amul_2","Caption":" ","Description":[": 1",": 0/1 "," Capital city "," "," ",""," I12 ."," , 2- ."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"key_amul_3","Caption":" ","Description":[": 1",": 0/1 "," Capital city "," "," ",""," L15 ."," , 2- ."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"key_amul_4","Caption":" ","Description":[": 1",": 0/1 "," Capital city "," "," ",""," F10."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"key_TR_1","Caption":" ","Description":[": 1",": 0/1 "," Capital city "," "," ",""," K15 ."," ."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"key_TR_2","Caption":" ","Description":[": 1",": 0/1 "," Capital city "," "," ",""," I15 ."," ."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"key_TR_3","Caption":" ","Description":[": 1",": 0/1 "," Capital city "," "," ",""," G15 ."," ."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"key_TR_4","Caption":" ","Description":[": 1",": 0/1 "," Capital city "," "," ",""," E15 ."," ."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"key_TR_5","Caption":" ","Description":[": 1",": 0/1 "," Capital city "," "," ",""," C15 ."," ."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"key_TR_6","Caption":" ","Description":[": 1",": 0/1 "," Capital city "," "," ",""," . ."]}],"Name":"key","Caption":"","Description":[" , A12 .",""," , - ."]},{"NewLineToBR":true,"Items":[{"NewLineToBR":true,"W":60,"H":20,"Binding":3,"IsGift":false,"Name":"amulet84","Caption":" ","Description":[": 1",": 290 .",": 0/40"," :"," : 15"," : 15"," : 9"," : 36"," : 35"," :"," : +80"," : +100"," (HP): +120"," apital city"," "," ",""," ."]}],"Name":"amulet","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":true,"W":20,"H":20,"Binding":2,"IsGift":false,"Name":"ring91","Caption":" ()","Description":[": 1",": 45 . ",": 0/20"," :"," : 15 "," : 10 "," : 4 "," : "," :"," . : +25 %"," (HP): +10"," Capital city"," "," ",""," , K3."]},{"NewLineToBR":true,"W":20,"H":20,"Binding":2,"IsGift":false,"Name":"ring91","Caption":" ()","Description":[": 1",": 45 . ",": 0/20"," :"," : 15 "," : 10 "," : 4 "," : "," :"," . : +25 %"," : +1"," Capital city"," "," ",""," , K3."]},{"NewLineToBR":true,"W":20,"H":20,"Binding":2,"IsGift":false,"Name":"ring91","Caption":" ()","Description":[": 1",": 45 . ",": 0/20"," :"," : 15 "," : 10 "," : 4 "," : "," :"," . : +25 %"," : +2"," Capital city"," "," ",""," , K3."]},{"NewLineToBR":true,"W":20,"H":20,"Binding":2,"IsGift":false,"Name":"ring73","Caption":" ()","Description":[": 1",": 45 . ",": 0/20"," :"," : 15 "," : 10 "," : 4 "," : 1 "," : "," :"," . : +25 %"," (HP): +10 "," Capital city"," "," ",""," , K3."]},{"NewLineToBR":true,"W":20,"H":20,"Binding":2,"IsGift":false,"Name":"ring73","Caption":" ()","Description":[": 1",": 45 . ",": 0/20"," :"," : 15 "," : 10 "," : 4 "," : 1 "," : "," :"," . : +25 %"," : +2"," Capital city"," "," ",""," , K3."]},{"NewLineToBR":true,"W":20,"H":20,"Binding":2,"IsGift":false,"Name":"ring73","Caption":" ()","Description":[": 1",": 45 . ",": 0/20"," :"," : 15 "," : 10 "," : 4 "," : 1 "," : "," :"," . : +25 %"," : +2"," Capital city"," "," ",""," , K3."]},{"NewLineToBR":true,"W":20,"H":20,"Binding":2,"IsGift":false,"Name":"ring66","Caption":" ()","Description":[": 1",": 45 . ",": 0/20"," :"," : 15 "," : 10 "," : 4 "," : 1"," : "," :"," . : +25 %"," (HP): +10 "," Capital city"," "," ",""," , K3."]},{"NewLineToBR":true,"W":20,"H":20,"Binding":2,"IsGift":false,"Name":"ring66","Caption":" ()","Description":[": 1",": 45 . ",": 0/20"," :"," : 15 "," : 10 "," : 4 "," : 1"," : "," :"," . : +25 %"," : +1"," Capital city"," "," ",""," , K3."]},{"NewLineToBR":true,"W":20,"H":20,"Binding":2,"IsGift":false,"Name":"ring66","Caption":" ()","Description":[": 1",": 45 . ",": 0/20"," :"," : 15 "," : 10 "," : 4 "," : 1"," : "," :"," . : +25 %"," : +2"," Capital city"," "," ",""," , K3."]},{"NewLineToBR":true,"W":20,"H":20,"Binding":2,"IsGift":false,"Name":"ring71","Caption":" ()","Description":[": 1",": 30 . ",": 0/50"," :"," : 20 "," : 20 "," : 6 "," :"," : +2 "," (HP): +60"," :"," : +2"," Capital city"," "," ",""," ."]},{"NewLineToBR":true,"W":20,"H":20,"Binding":2,"IsGift":false,"Name":"ring80","Caption":" ()","Description":[": 1",": 82 .",": 0/60"," :"," : 40 "," : 40 "," : 8 ","
    :"," : +5"," : 1-12 (d12) "," : 1-12 (d12) "," : 1-12 (d12) "," : 1-12 (d12) "," . : +10 % "," . : +20 % "," (HP): +33 "," :"," : +15"," Capital city"," "," ",""," ."]},{"NewLineToBR":true,"W":20,"H":20,"Binding":2,"IsGift":false,"Name":"ring80","Caption":" ()","Description":[": 1",": 82 .",": 0/60"," :"," : 30 "," : 30 "," : 8 "," :"," : 1-12 (d12) "," : 1-12 (d12) "," : 1-12 (d12) "," : 1-12 (d12) "," . : +10 % "," . : +20 % "," (HP): +66"," :"," : +15"," Capital city"," "," ",""," ."]},{"NewLineToBR":true,"W":20,"H":20,"Binding":2,"IsGift":false,"Name":"ring93","Caption":" ()","Description":[": 1",": 78 . ",": 0/50"," :"," : 25 "," : 15 "," : 8 "," :"," : +2 "," (HP): +6"," . : +20 %"," . : +45 %"," . : +5 %"," . : +2 %"," : [0/6]"," Capital city"," "," ",""," ."]}],"Name":"rings","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"dispell1","Caption":" ","Description":[": 1",": 10 .",": 0/1"," : 99%",":"," "," Capital city"," "," ",""," , K3."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"d_blat24","Caption":"","Description":[": 1",": 1 .",": 0/1"," : 99%",":"," 24 ."," Capital city"," "," ",""," ."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"d_blat-6","Caption":" ","Description":[": 1",": 1 .",": 0/1"," : 99%"," 5 . ",":"," 6 ."," Capital city"," "," ",""," ."]}],"Name":"spell","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":true,"W":40,"H":25,"Binding":3,"IsGift":false,"Name":"enhp_3_costr1","Caption":" : 1","Description":[": 1 ",": 1 . ",": 0/1 "," : 99%"," : ",": "," ."," Capital city"," "," ",""," 30 5 . : 1% ."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":3,"IsGift":false,"Name":"enhp_3_costr2","Caption":" : 2","Description":[": 1 ",": 1 . ",": 0/1 "," : 99%"," : ",": "," ."," Capital city"," "," ",""," 30 5 . : 2% ."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":3,"IsGift":false,"Name":"enhp_3_costr3","Caption":" : 3","Description":[": 1 ",": 1 . ",": 0/1 "," : 99%"," : ",": "," ."," Capital city"," "," ",""," 30 5 . : 3% ."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":3,"IsGift":false,"Name":"enhp_3_codex1","Caption":" : 1","Description":[": 1 ",": 1 . ",": 0/1 "," : 99%"," : ",": "," ."," Capital city"," "," ",""," 30 5 . : 1% ."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":3,"IsGift":false,"Name":"enhp_3_codex2","Caption":" : 2","Description":[": 1 ",": 1 . ",": 0/1 "," : 99%"," : ",": "," ."," Capital city"," "," ",""," 30 5 . : 2% ."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":3,"IsGift":false,"Name":"enhp_3_codex3","Caption":" : 3","Description":[": 1 ",": 1 . ",": 0/1 "," : 99%"," : ",": "," ."," Capital city"," "," ",""," 30 5 . : 3% ."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":3,"IsGift":false,"Name":"enhp_3_coinst1","Caption":" : 1","Description":[": 1 ",": 1 . ",": 0/1 "," : 99%"," : ",": "," ."," Capital city"," "," ",""," 30 5 . : 1% ."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":3,"IsGift":false,"Name":"enhp_3_coinst2","Caption":" : 2","Description":[": 1 ",": 1 . ",": 0/1 "," : 99%"," : ",": "," ."," Capital city"," "," ",""," 30 5 . : 2% ."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":3,"IsGift":false,"Name":"enhp_3_coinst3","Caption":" : 3","Description":[": 1 ",": 1 . ",": 0/1 "," : 99%"," : ",": "," ."," Capital city"," "," ",""," 30 5 . : 3% ."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":3,"IsGift":false,"Name":"enhp_3_copower1","Caption":" : 1","Description":[": 1 ",": 1 . ",": 0/1 "," : 99%"," : ",": "," ."," Capital city"," "," ",""," 30 50 HP 5 . : 1% ."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":3,"IsGift":false,"Name":"enhp_3_copower2","Caption":" : 2","Description":[": 1 ",": 1 . ",": 0/1 "," : 99%"," : ",": "," ."," Capital city"," "," ",""," 30 50 HP 5 . : 2% ."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":3,"IsGift":false,"Name":"enhp_3_copower3","Caption":" : 3","Description":[": 1 ",": 1 . ",": 0/1 "," : 99%"," : ",": "," ."," Capital city"," "," ",""," 30 50 HP 5 . : 3% ."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":3,"IsGift":false,"Name":"enhp_3_cointel1","Caption":" : 1","Description":[": 1 ",": 1 . ",": 0/1 "," : 99%"," : ",": "," ."," Capital city"," "," ",""," 30 5 . : 1% ."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":3,"IsGift":false,"Name":"enhp_3_cointel2","Caption":" : 2","Description":[": 1 ",": 1 . ",": 0/1 "," : 99%"," : ",": "," ."," Capital city"," "," ",""," 30 5 . : 2% ."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":3,"IsGift":false,"Name":"enhp_3_cointel3","Caption":" : 3","Description":[": 1 ",": 1 . ",": 0/1 "," : 99%"," : ",": "," ."," Capital city"," "," ",""," 30 5 . : 3% ."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":3,"IsGift":false,"Name":"enhp_3_manabuff1","Caption":" : 1","Description":[": 1 ",": 1 . ",": 0/1 "," : 99%"," :"," : +10 ",": "," (+20). "," Capital city"," "," ",""]},{"NewLineToBR":true,"W":40,"H":25,"Binding":3,"IsGift":false,"Name":"enhp_3_manabuff2","Caption":" : 2","Description":[": 1 ",": 1 . ",": 0/1 "," : 99%"," :"," : +20 ",": "," (+40). "," Capital city"," "," ",""]},{"NewLineToBR":true,"W":40,"H":25,"Binding":3,"IsGift":false,"Name":"enhp_3_manabuff3","Caption":" : 3","Description":[": 1 ",": 1 . ",": 0/1 "," : 99%"," :"," : +30 ",": "," (+60). "," Capital city"," "," ",""]}],"Name":"enhp","Caption":" ","Description":[" , . .",""," ."]},{"NewLineToBR":true,"Items":[{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"pot_base_150_waterproof","Caption":" ","Description":[": 5 ",": 1 . ",": 0/1 "," : 20 . "," : 3 . 0 . "," : "," : 4 "," : "," : +75"," apital city"," "," ",""," , B7."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"pot_base_200_bot3","Caption":" ","Description":[": 1 ",": 1 . ","e: 0/1 "," o: 30 . ","e : 3 . 0 . ","e : "," : +15 "," apital city"," "," ",""," , H6."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"pot_base_200_bot2","Caption":" ","Description":[": 1 ",": 1 . ","e: 0/1 "," o: 30 . ","e : 3 . 0 . ","e : "," : +15 "," apital city"," "," ",""," , H6."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"pot_base_200_bot1","Caption":" ","Description":[": 1 ",": 1 . ","e: 0/1 "," o: 30 . ","e : 3 . 0 . ","e : "," : +15 "," apital city"," "," ",""," , H6."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"pot_base_200_bot4","Caption":" ","Description":[": 1 ",": 1 . ","e: 0/1 "," o: 30 . ","e : 3 . 0 . ","e : "," : +10 "," apital city"," "," ",""," , H6."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"pot_base_200_alldmg2","Caption":" ","Description":[": 5",": 1 . ",": 0/1"," : 20 . "," : 3 . 0 . "," :"," : 7"," :"," : +75"," apital city"," "," ",""," , F9."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"pot_base_200_allmag2","Caption":" ","Description":[": 5",": 1 . ",": 0/1"," : 20 . "," : 3 . 0 . "," :"," : 7"," :"," : +75 "," apital city"," "," ",""," , G2."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"pot_base_1000_str","Caption":" ","Description":[": 5",": 1 . ",": 0/1"," : 21 . "," : 6 . 0 . "," :"," : 8"," :"," : +12",":"," - . "," apital city"," "," ",""," . [1] ."," ."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"pot_base_1000_dex","Caption":" ","Description":[": 5",": 1 . ",": 0/1"," : 21 . "," : 6 . 0 . "," :"," : 8"," :"," : +12",":"," ... ... "," apital city"," "," ",""," . [1] ."," ."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"pot_base_1000_inst","Caption":" ","Description":[": 5",": 1 . ",": 0/1"," : 21 . "," : 6 . 0 . "," :"," : 8"," :"," : +12",":"," ... (?) ... "," apital city"," "," ",""," . [1] ."," ."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"pot_base_200_alldmg2_p1k","Caption":" ","Description":[": 1",": 1 . ",": 0/3"," : 14 . "," : 4 . 0 . "," :"," : 8"," :"," : +120"," apital city"," "," ",""," ."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"pot_base_200_allmag2_p1k","Caption":" ","Description":[": 1",": 1 . ",": 0/3"," : 14 . "," : 4 . 0 . "," :"," : 8"," :"," : +120"," apital city"," "," ",""," ."]}],"Name":"pot_base","Caption":"","Description":[]}],"Name":"maters","Caption":"","Description":["

    "]},{"NewLineToBR":false,"ImageBasePath":"https://img.new-combats.com/i/items/","Categories":[{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":80,"Binding":1,"IsGift":false,"Name":"cloak2","Caption":" [1]","Description":[": 200 .
    : 0/100
    :
    : 8
    Capital City: 10 000
    : 2 1 . ."]},{"NewLineToBR":false,"W":60,"H":80,"Binding":1,"IsGift":false,"Name":"cloak2_1","Caption":" [1]","Description":[": 200 .
    : 0/100
    :
    : 8
    Capital City: 10 000
    T : 3 1 . ."]},{"NewLineToBR":false,"W":60,"H":80,"Binding":1,"IsGift":false,"Name":"cloak2_2","Caption":" [1]","Description":[": 200 .
    : 0/100
    :
    : 8
    Capital City: 10 000
    : 1 1 . ."]},{"NewLineToBR":false,"W":60,"H":80,"Binding":1,"IsGift":false,"Name":"cloak2_3","Caption":" [1]","Description":[": 200 .
    : 0/100
    :
    : 8
    Capital City: 10 000
    : 2 1 . ."]},{"NewLineToBR":false,"W":60,"H":80,"Binding":1,"IsGift":false,"Name":"cloak2_4","Caption":" [1]","Description":[": 200 .
    : 0/100
    :
    : 8
    Capital City: 10 000
    : 2 1 . ."]}],"Name":"Cloaks","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"enhp_5_dampen_all_1","Caption":" : 1","Description":[": 50 .
    : , []x3
    : 0/1
    : 30 .
    :
    :
    .
    .
    "]},{"NewLineToBR":true,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"cureHP120","Caption":" 120HP","Description":[": 20 .
    : 0/5
    : 70%
    :
    : 10
    : 8
    : 3
    : "]}],"Name":"Svitki","Caption":"","Description":[]}],"Name":"capitalknightshop","Caption":"","Description":["

    ,


    ","

    Capital ity 10 000, .

    "]}],"IsDungeon":true,"Name":"capital","Caption":" ","Description":[]}); +underground.addDungeon({"RequiredScriptNames":["dungeon.data.angel.demons.js","dungeon.data.angel.js","dungeon.data.angel.capital.js","dungeon.data.angel.demons.sand.js","dungeon.data.angel.capital.demons.emerald.novice.sand.js","dungeon.data.angel.capital.emerald.sand.js","dungeon.data.angel.demons.novice.js","dungeon.data.angel.capital.demons.novice.js","dungeon.data.angel.capital.novice.js","dungeon.data.angel.capital.demons.js","dungeon.data.angel.sand.js","dungeon.data.angel.demons.novice.sand.js"],"NewLineToBR":true,"CellBackgroundColorString":"#E0EBF0","CellBorderColorString":"#608399","Jobs":{"CollectiveJobs":[{"Caption":" ","ImageUrl":"https://img.new-combats.com/i/items/mater203.gif","ItemReward":4,"Description":[" \" \" . \"\" , . ..."],"DefCount":25},{"Caption":" ","ImageUrl":"https://img.new-combats.com/i/items/mater213.gif","ItemReward":20,"Description":[" , , \" \" . \"\". ",""," . "],"DefCount":5},{"Caption":"","ImageUrl":"https://img.new-combats.com/i/items/mater223.gif","ItemReward":13,"Description":[" , \"\" . \"\" . ...",""," ."],"DefCount":13},{"Caption":"","ImageUrl":"https://img.new-combats.com/i/items/mater214.gif","ItemReward":10,"Description":[" , , \"\" . \"\" , . ",""," 2-3 ."],"DefCount":13},{"Caption":" ","ImageUrl":"https://img.new-combats.com/i/items/mater222.gif","ItemReward":3,"Description":[" , \" \" . \"\"."],"DefCount":35}],"CapturedJobs":[{"Caption":"","ImageUrl":"https://img.new-combats.com/i/items/mater216.gif","ItemReward":8,"Description":[" , \"\" . \"\". ",""," ."],"DefCount":11},{"Caption":"","ImageUrl":"https://img.new-combats.com/i/items/mater201.gif","ItemReward":10,"Description":[" , \"\" . \"\". , ... ",""," ."],"DefCount":13},{"Caption":"","ImageUrl":"https://img.new-combats.com/i/items/mater227.gif","ItemReward":10,"Description":[" , \"\" . \"\". , ...",""," ."],"DefCount":13},{"Caption":"","ImageUrl":"https://img.new-combats.com/i/items/mater200.gif","ItemReward":6,"Description":[" , \"\" . \"\". ! ",""," , "],"DefCount":13},{"Caption":"","ImageUrl":"https://img.new-combats.com/i/items/mater207.gif","ItemReward":14,"Description":[" , \"\" . \"\". ! ",""," , "],"DefCount":13},{"Caption":" ","ImageUrl":"https://img.new-combats.com/i/items/mater204.gif","ItemReward":12,"Description":[" , , \" \" . \"\". ..."],"DefCount":11}],"KillingJobs":[{"MobName":"lit","Unique":false,"Description":[" , \"\" . \"\". ..."],"DefCount":14},{"MobName":"rg","Unique":false,"Description":[" , \"\". , \"\"."],"DefCount":15},{"MobName":"ng","Unique":false,"Description":[" , \" \". \"\". "],"DefCount":13},{"MobName":"sg","Unique":false,"Description":[" , \" \", \"\".","","9 : 4 8 5 9 ."],"DefCount":9},{"MobName":"sb","Unique":false,"Description":[" , \" \". \"\". , ",""," 2 , 3- 5. 8- ( , ). "],"DefCount":7}]},"Floors":[{"Cells":[{"X":4,"Y":10,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"entrancepoint_green1","InstanceName":"enter"},{"ObjectName":"enter","InstanceName":"enter2"}],"HotSpots":[]},{"X":4,"Y":9,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":9,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":9,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":9,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"rg","Level":8,"Align":"0","Tag":"","Count":2},{"Name":"ng","Level":8,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":8,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":7,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"rg","Level":8,"Align":"0","Tag":"","Count":2},{"Name":"ng","Level":8,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":3,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"sd","Level":9,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":4,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":5,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":1},"BackColorString":"Transparent","MobRefs":[{"Name":"rg","Level":8,"Align":"0","Tag":"","Count":2},{"Name":"ng","Level":8,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":6,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"arrowdown","InstanceName":"arrow1"}],"HotSpots":[]},{"X":3,"Y":3,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"lit","Level":7,"Align":"0","Tag":"","Count":4},{"Name":"ng","Level":8,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":3,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":2,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"rg","Level":8,"Align":"0","Tag":"","Count":2},{"Name":"ng","Level":8,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":1,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"escapepoint_blue1","InstanceName":"escape"},{"ObjectName":"ladder","InstanceName":"ladder6"}],"HotSpots":[]},{"X":4,"Y":8,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"lit","Level":7,"Align":"0","Tag":"","Count":4},{"Name":"sg","Level":8,"Align":"0","Tag":"","Count":1},{"Name":"ng","Level":8,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":9,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":8,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":7,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":7,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"lit","Level":7,"Align":"0","Tag":"","Count":6}],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":7,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"sg","Level":8,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":7,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":6,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"sb","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":5,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":5,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"sg","Level":8,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":4,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":3,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":3,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"rg","Level":8,"Align":"0","Tag":"","Count":2},{"Name":"ng","Level":8,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":5,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"ng","Level":8,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":6,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"chalice","InstanceName":"halice1"}],"HotSpots":[{"HighlightColorString":"LightCoral","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":3,"Y":6},{"X":6,"Y":6}]}]},{"X":5,"Y":6,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"rg","Level":8,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":4,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":5,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":6,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":6,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":5,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"ng","Level":8,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":4,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"chest3","InstanceName":"chest32"}],"HotSpots":[]},{"X":8,"Y":7,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":3,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"lab","InstanceName":"lab1"}],"HotSpots":[]},{"X":6,"Y":9,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"rg","Level":8,"Align":"0","Tag":"","Count":2},{"Name":"ng","Level":8,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":6,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"rg","Level":8,"Align":"0","Tag":"","Count":2},{"Name":"ng","Level":8,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":6,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"altar","InstanceName":"altar2"}],"HotSpots":[{"HighlightColorString":"Transparent","Opacity":0.9,"ImageUrl":"/i/ugobj/escapepoint_yellow1.gif","CellRefs":[{"X":1,"Y":4}]}]},{"X":8,"Y":8,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"chest3_bledny","InstanceName":"chest31"}],"HotSpots":[]}],"LookDirection":3,"Width":10,"Height":12,"DataBounds":"1, 1, 8, 10","Name":"floor1","Caption":"1 ","Description":[]},{"Cells":[{"X":6,"Y":9,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":9,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":9,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":8,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"ng","Level":9,"Align":"0","Tag":"","Count":1},{"Name":"rg","Level":8,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":8,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":8,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"ng","Level":9,"Align":"0","Tag":"","Count":1},{"Name":"ng","Level":8,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":7,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":8,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"lit","Level":7,"Align":"0","Tag":"","Count":5}],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":8,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"duffer","InstanceName":"duffer1"}],"HotSpots":[]},{"X":8,"Y":6,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"ng","Level":9,"Align":"0","Tag":"","Count":1},{"Name":"rg","Level":8,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":6,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"lit","Level":7,"Align":"0","Tag":"","Count":4}],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":6,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"duffer","InstanceName":"duffer1"}],"HotSpots":[]},{"X":8,"Y":5,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":5,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"ng","Level":9,"Align":"0","Tag":"","Count":1},{"Name":"ng","Level":8,"Align":"0","Tag":"","Count":2},{"Name":"lit","Level":7,"Align":"0","Tag":"","Count":5}],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":4,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":4,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"lit","Level":8,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":3,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":2,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"ng","Level":9,"Align":"0","Tag":"","Count":1},{"Name":"ng","Level":8,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":2,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"lit","Level":7,"Align":"0","Tag":"","Count":5}],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":2,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"duffer","InstanceName":"duffer1"}],"HotSpots":[]},{"X":11,"Y":3,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":11,"Y":4,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"olgvirt","Level":10,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":11,"Y":5,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"kamen","InstanceName":"kamen"}],"HotSpots":[]},{"X":6,"Y":5,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"sg","Level":8,"Align":"0","Tag":"","Count":1},{"Name":"lit","Level":8,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":5,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"ng","Level":9,"Align":"0","Tag":"","Count":1},{"Name":"rg","Level":8,"Align":"0","Tag":"","Count":2},{"Name":"lit","Level":8,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":6,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"lit","Level":8,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":6,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"boiler","InstanceName":"boiler1"}],"HotSpots":[]},{"X":6,"Y":4,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"lit","Level":8,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[{"ObjectName":"lorry","InstanceName":"lorry2"}],"HotSpots":[]},{"X":5,"Y":4,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"forge","InstanceName":"forge1"}],"HotSpots":[]},{"X":4,"Y":8,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":6,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"ng","Level":9,"Align":"0","Tag":"","Count":1},{"Name":"ng","Level":8,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":7,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":8,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"ng","Level":9,"Align":"0","Tag":"","Count":1},{"Name":"ng","Level":8,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":9,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":9,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"lit","Level":7,"Align":"0","Tag":"","Count":5}],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":9,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"duffer","InstanceName":"duffer1"}],"HotSpots":[]},{"X":2,"Y":7,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"lit","Level":7,"Align":"0","Tag":"","Count":4}],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":7,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"duffer","InstanceName":"duffer1"}],"HotSpots":[]},{"X":1,"Y":5,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"duffer","InstanceName":"duffer1"}],"HotSpots":[]},{"X":2,"Y":5,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"lit","Level":7,"Align":"0","Tag":"","Count":7}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":5,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":4,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":3,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"ng","Level":9,"Align":"0","Tag":"","Count":1},{"Name":"rg","Level":8,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":3,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"lit","Level":8,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":3,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"duffer","InstanceName":"duffer1"}],"HotSpots":[]},{"X":3,"Y":2,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":2,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"ng","Level":9,"Align":"0","Tag":"","Count":1},{"Name":"ng","Level":8,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":2,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":2,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":3,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"ng","Level":9,"Align":"0","Tag":"","Count":1},{"Name":"ng","Level":8,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":1,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"lorry","InstanceName":"lorry1"}],"HotSpots":[]},{"X":1,"Y":1,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"duffer","InstanceName":"duffer1"}],"HotSpots":[]},{"X":3,"Y":6,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"ng","Level":9,"Align":"0","Tag":"","Count":1},{"Name":"rg","Level":8,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":1,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"pg","Level":8,"Align":"0","Tag":"","Count":8}],"ObjectRefs":[],"HotSpots":[]},{"X":11,"Y":2,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"duffer2","InstanceName":"duffer23"}],"HotSpots":[{"HighlightColorString":"Transparent","Opacity":0.9,"ImageUrl":"/i/ugobj/escapepoint_yellow1.gif","CellRefs":[{"X":10,"Y":2}]}]},{"X":10,"Y":3,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"duffer2","InstanceName":"duffer22"}],"HotSpots":[{"HighlightColorString":"Transparent","Opacity":0.9,"ImageUrl":"/i/ugobj/escapepoint_yellow1.gif","CellRefs":[{"X":10,"Y":4}]}]},{"X":10,"Y":4,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"duffer2","InstanceName":"duffer21"}],"HotSpots":[{"HighlightColorString":"","Opacity":0.9,"ImageUrl":"/i/ugobj/escapepoint_yellow1.gif","CellRefs":[{"X":10,"Y":3}]}]},{"X":6,"Y":1,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"escapepoint_blue1","InstanceName":"escape"},{"ObjectName":"ladder","InstanceName":"ladder7"}],"HotSpots":[]},{"X":6,"Y":10,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"entrancepoint_green1","InstanceName":"enter"},{"ObjectName":"enter","InstanceName":"enter5"}],"HotSpots":[]}],"LookDirection":3,"Width":13,"Height":12,"DataBounds":"1, 1, 11, 10","Name":"floor2","Caption":"2 ","Description":[]},{"Cells":[{"X":1,"Y":10,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"rg","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[{"ObjectName":"bed","InstanceName":"bed1"}],"HotSpots":[]},{"X":1,"Y":8,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"ng","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[{"ObjectName":"bed","InstanceName":"bed1"}],"HotSpots":[]},{"X":2,"Y":8,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":8,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":8,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"ng","Level":9,"Align":"0","Tag":"","Count":1},{"Name":"rg","Level":8,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":9,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"rg","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[{"ObjectName":"bed","InstanceName":"bed1"}],"HotSpots":[]},{"X":2,"Y":9,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":10,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"rg","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[{"ObjectName":"bed","InstanceName":"bed1"}],"HotSpots":[]},{"X":3,"Y":10,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"rg","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[{"ObjectName":"bed","InstanceName":"bed1"}],"HotSpots":[]},{"X":5,"Y":10,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"entrancepoint_green1","InstanceName":"enter"},{"ObjectName":"enter","InstanceName":"enter6"}],"HotSpots":[]},{"X":5,"Y":9,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":7,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":6,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":6,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"ng","Level":9,"Align":"0","Tag":"","Count":1},{"Name":"rg","Level":8,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":6,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":6,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"rg","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[{"ObjectName":"bed","InstanceName":"bed1"}],"HotSpots":[]},{"X":1,"Y":4,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"rg","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[{"ObjectName":"bed","InstanceName":"bed1"}],"HotSpots":[]},{"X":2,"Y":4,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"rg","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[{"ObjectName":"bed","InstanceName":"bed1"}],"HotSpots":[]},{"X":3,"Y":4,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"rg","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[{"ObjectName":"bed","InstanceName":"bed1"}],"HotSpots":[]},{"X":3,"Y":5,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":5,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"rg","Level":8,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":5,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":3,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"ng","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[{"ObjectName":"bed","InstanceName":"bed1"}],"HotSpots":[]},{"X":2,"Y":3,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"ng","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[{"ObjectName":"bed","InstanceName":"bed1"}],"HotSpots":[]},{"X":3,"Y":3,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"ng","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[{"ObjectName":"bed","InstanceName":"bed1"}],"HotSpots":[]},{"X":1,"Y":1,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"ng","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[{"ObjectName":"bed","InstanceName":"bed1"}],"HotSpots":[]},{"X":2,"Y":1,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"ng","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[{"ObjectName":"bed","InstanceName":"bed1"}],"HotSpots":[]},{"X":3,"Y":2,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":2,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":2,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":3,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":4,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"ng","Level":9,"Align":"0","Tag":"","Count":2},{"Name":"sg","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":1,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":1,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"ng","Level":9,"Align":"0","Tag":"","Count":1},{"Name":"btm","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":1,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"sb","Level":9,"Align":"0","Tag":"","Count":1},{"Name":"gjs","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":5,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"ng","Level":9,"Align":"0","Tag":"","Count":1},{"Name":"btm","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":5,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":5,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":4,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":4,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":3,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"chest1","InstanceName":"chest12"}],"HotSpots":[]},{"X":8,"Y":3,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"chest1","InstanceName":"chest15"}],"HotSpots":[]},{"X":9,"Y":5,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"kg","Level":12,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":6,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":7,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"grate","InstanceName":"grate1"}],"HotSpots":[]},{"X":9,"Y":8,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"btm","Level":9,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":9,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"attentionpoint_red1","InstanceName":"danger3"}],"HotSpots":[]},{"X":6,"Y":7,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"ng","Level":9,"Align":"0","Tag":"","Count":1},{"Name":"rg","Level":8,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":7,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"sb","Level":9,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":7,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":6,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"chest01","InstanceName":"chest22"}],"HotSpots":[]},{"X":7,"Y":8,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":9,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":9,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"ng","Level":9,"Align":"0","Tag":"","Count":2},{"Name":"sg","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":6,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"ng","Level":8,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":9,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"ng","Level":9,"Align":"0","Tag":"","Count":2},{"Name":"sg","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":8,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"ng","Level":9,"Align":"0","Tag":"","Count":2},{"Name":"sg","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":2,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"ng","Level":9,"Align":"0","Tag":"","Count":2},{"Name":"sg","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":1,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"ng","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[{"ObjectName":"bed","InstanceName":"bed1"}],"HotSpots":[]},{"X":1,"Y":2,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"ng","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[{"ObjectName":"chest1_blendy","InstanceName":"chest1"}],"HotSpots":[]},{"X":1,"Y":5,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"ng","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[{"ObjectName":"chest1_blendy","InstanceName":"chest1"}],"HotSpots":[]},{"X":1,"Y":9,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"rg","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[{"ObjectName":"chest1_blendy","InstanceName":"chest1"}],"HotSpots":[]},{"X":8,"Y":6,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"zabgol","Level":11,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[{"ObjectName":"forge","InstanceName":"forge2"}],"HotSpots":[]}],"LookDirection":3,"Width":11,"Height":12,"DataBounds":"1, 1, 9, 10","Name":"floor3","Caption":"3 ","Description":[]}],"Pages":[{"NewLineToBR":false,"ExternalUrl":"","Name":"angelsknightugsol","Caption":"","Description":["

    ,

    ","
    Angels city 9999, c :

    ","
    ","
    . . \"\", . . .
    ","
    ","

    ","
    \"\" . ","
    . ","
    , (1 .), : \"\" \"\" .
    ","


    ","
    , , .","
    , \"\" J5. ","

    \"\"
    ","
    \"\" . 180 , . ","

    \"\"
    ","
    .","
    K4 (). .
    ","
    : ( L3) - . , , , , . ","
    . \"\" \"\" [10]. .
    ","
    :
    , :","
    85% \"\" \"\" \"\", 1% 1% - - , 33%.
    ","
    5% , \"\" \"\" \" \" ( ). 8-10 , . .","
    \"\" , \"\" . , . , - \"\" .
    ","
    : , .
    ","
    A10, . ","
    \"\" \"\" : 1 .","
    ","
    ","
    "]}],"Shops":[{"NewLineToBR":true,"ImageBasePath":"https://img.new-combats.com/i/items/","Categories":[{"NewLineToBR":true,"Items":[{"NewLineToBR":true,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"Key23","Caption":" 3","Description":[": 1",": 0/1"," Angels city"," "," ",""," , H7."]}],"Name":"key","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"d_blat-6","Caption":" ","Description":[": 1",": 1 .",": 0/1"," : 99%"," 5 . ",":"," 6 ."," Angels city"," "," ",""," ."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"paper100","Caption":" 5 . ","Description":[": 1 ",": 5 .",": 0/1"," Angels city"," "," ",""," ."," . . , . "]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"paper100","Caption":" 400 . ","Description":[": 1 ",": 400 . ",": 0/1"," Angels city"," "," ",""," , , , H4."," . . , . "]}],"Name":"spell","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":true,"W":60,"H":20,"Binding":3,"IsGift":false,"Name":"amulet81","Caption":" . ","Description":[": 1 ",": 240 ",": 0/50 "," : ",": 9 ",": 45 ",": 15 ",": 15 ",": 50 "," : "," : 1-25 "," : 1-25 "," : 1-25 "," : 1-25 ",". (%): +35 "," : +10 "," : +250 "," : +20 ",": ",". (%): +35 "," : "," (13)"," Angels city"," "," ",""," ."]}],"Name":"amulet","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"sword103","Caption":" +5 ()","Description":[": 13",": 220 . ",": 0/50"," :"," : 30 "," : 15 "," : 50 "," : 30 "," : 9 "," :"," : +5 "," :"," : 17 - 39"," . : +50 % "," . : +80 % "," . . : +10 % "," : +2 ",":"," : "," : "," : "," : "," : +"," Angels city"," "," ",""," ."]}],"Name":"sword","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"shield14","Caption":" ","Description":[": 10 ",": 173 . ",": 0/50 "," : "," : 18 "," : 35 "," : 8 "," : 25 "," : 25 "," : "," . (%): -5 "," . (%): +65 "," . (%): +5 "," : +15 "," : +10 "," : 5-22 (4+d18) "," : 6-23 (5+d18) "," : 5-22 (4+d18) "," : 5-22 (4+d18) ",": "," : "," : "," : "," : "," Angels city"," "," ",""," , I4."]}],"Name":"shield","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"pot_base_200_bot3","Caption":" ","Description":[": 1 ",": 1 . ","e: 0/1 "," o: 30 . ","e : 1 . 30 . ","e : "," : +15 "," Angels city"," "," ",""," ."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"pot_base_200_bot2","Caption":" ","Description":[": 1 ",": 1 . ","e: 0/1 "," o: 30 . ","e : 1 . 30 . ","e : "," : +15 "," Angels city"," "," ",""," ."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"pot_base_200_bot1","Caption":" ","Description":[": 1 ",": 1 . ","e: 0/1 "," o: 30 . ","e : 1 . 30 . ","e : "," : +15 "," Angels city"," "," ",""," ."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"pot_base_200_bot4","Caption":" ","Description":[": 1 ",": 1 . ","e: 0/1 "," o: 30 . ","e : 1 . 30 . ","e : "," : +10 "," Angels city"," "," ",""," ."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"pot_base_200_bot4","Caption":" ","Description":[": 1 ",": 1 . ","e: 0/1 "," o: 30 . ","e : 3 . 0 . ","e : "," : +10 "," Angels city"," "," ",""," , E7."]}],"Name":"pot_base","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_mat1","Caption":" ","Description":[": 1 ",": 0/1"," Angels city"," "," ",""," , , , H4."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_mat3","Caption":" ","Description":[": 1 ",": 0/1"," Angels city"," "," ",""," , , I5."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_mat5","Caption":" ","Description":[": 1 ",": 0/1"," Angels city"," "," ",""," , , I5."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_mat7","Caption":" ","Description":[": 1 ",": 0/1"," Angels city"," "," ",""," , , I5."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_mat13","Caption":" ","Description":[": 1 ",": 0/1"," Angels city"," "," ",""," , , I5."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_mat15","Caption":" ","Description":[": 1 ",": 0/1"," Angels city"," "," ",""," , , I5."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_mat17","Caption":" ","Description":[": 1 ",": 0/1"," Angels city"," "," ",""," , , G7."," , , , H4."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_mat19","Caption":" ","Description":[" ."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_mat23","Caption":" ","Description":[" ."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_mat30","Caption":" ","Description":[" ."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_mat21","Caption":" ","Description":[" ."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_mat11","Caption":" ","Description":[" ."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_mat9","Caption":" ","Description":[" ."]}],"Name":"sp_mat","Caption":" ","Description":[" , ."," , .",""," [9] [10] . () (, , ).",""," , ."]},{"NewLineToBR":true,"Items":[{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_tacpts_HIT1","Caption":" : 1","Description":[": 1 ",": 10 . ",": 0/1"," : 3 ."," "," :"," : 5"," Angels city"," "," ",""," +1"]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_tacpts_HIT2","Caption":" : 2","Description":[": 1 ",": 20 . ",": 0/1"," : 3 ."," "," :"," : 5"," Angels city"," "," ",""," +2"]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_tacpts_HIT3","Caption":" : 3","Description":[": 1 ",": 30 . ",": 0/1"," : 3 ."," "," :"," : 5"," Angels city"," "," ",""," +3"]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_tacpts_HIT4","Caption":" : 4","Description":[": 1 ",": 40 . ",": 0/1"," : 3 ."," "," :"," : 5"," Angels city"," "," ",""," +4"]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_tacpts_HIT5","Caption":" : 5","Description":[": 1 ",": 50 . ",": 0/1"," : 3 ."," "," :"," : 5"," Angels city"," "," ",""," +5"]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_tacpts_BLK1","Caption":" : 1","Description":[": 1 ",": 10 . ",": 0/1"," : 3 ."," "," :"," : 5"," Angels city"," "," ",""," +1 "]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_tacpts_BLK2","Caption":" : 2","Description":[": 1 ",": 20 . ",": 0/1"," : 3 ."," "," :"," : 5"," Angels city"," "," ",""," +2 "]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_tacpts_BLK3","Caption":" : 3","Description":[": 1 ",": 30 . ",": 0/1"," : 3 ."," "," :"," : 5"," Angels city"," "," ",""," +3 "]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_tacpts_BLK4","Caption":" : 4","Description":[": 1 ",": 40 . ",": 0/1"," : 3 ."," "," :"," : 5"," Angels city"," "," ",""," +4 "]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_tacpts_BLK5","Caption":" : 5","Description":[": 1 ",": 50 . ",": 0/1"," : 3 ."," "," :"," : 5"," Angels city"," "," ",""," +5 "]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_tacpts_KRT1","Caption":" : 1","Description":[": 1 ",": 10 . ",": 0/1"," : 3 ."," "," :"," : 5"," Angels city"," "," ",""," +1"]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_tacpts_KRT2","Caption":" : 2","Description":[": 1 ",": 20 . ",": 0/1"," : 3 ."," "," :"," : 5"," Angels city"," "," ",""," +2"]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_tacpts_KRT3","Caption":" : 3","Description":[": 1 ",": 30 . ",": 0/1"," : 3 ."," "," :"," : 5"," Angels city"," "," ",""," +3"]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_tacpts_KRT4","Caption":" : 4","Description":[": 1 ",": 40 . ",": 0/1"," : 3 ."," "," :"," : 5"," Angels city"," "," ",""," +4"]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_tacpts_KRT5","Caption":" : 5","Description":[": 1 ",": 50 . ",": 0/1"," : 3 ."," "," :"," : 5"," Angels city"," "," ",""," +5"]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_tacpts_CNTR1","Caption":" : 1","Description":[": 1 ",": 10 . ",": 0/1"," : 3 ."," "," :"," : 5"," Angels city"," "," ",""," +1 "]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_tacpts_CNTR2","Caption":" : 2","Description":[": 1 ",": 20 . ",": 0/1"," : 3 ."," "," :"," : 5"," Angels city"," "," ",""," +2 "]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_tacpts_CNTR3","Caption":" : 3","Description":[": 1 ",": 30 . ",": 0/1"," : 3 ."," "," :"," : 5"," Angels city"," "," ",""," +3 "]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_tacpts_CNTR4","Caption":" : 4","Description":[": 1 ",": 40 . ",": 0/1"," : 3 ."," "," :"," : 5"," Angels city"," "," ",""," +4 "]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_tacpts_CNTR5","Caption":" : 5","Description":[": 1 ",": 50 . ",": 0/1"," : 3 ."," "," :"," : 5"," Angels city"," "," ",""," +5 "]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_tacpts_PRY1","Caption":" : 1","Description":[": 1 ",": 10 . ",": 0/1"," : 3 ."," "," :"," : 5"," Angels city"," "," ",""," +1 "]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_tacpts_PRY2","Caption":" : 2","Description":[": 1 ",": 20 . ",": 0/1"," : 3 ."," "," :"," : 5"," Angels city"," "," ",""," +2 "]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_tacpts_PRY3","Caption":" : 3","Description":[": 1 ",": 30 . ",": 0/1"," : 3 ."," "," :"," : 5"," Angels city"," "," ",""," +3 "]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_tacpts_PRY4","Caption":" : 4","Description":[": 1 ",": 10 . ",": 0/1"," : 3 ."," "," :"," : 5"," Angels city"," "," ",""," +4 "]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_tacpts_PRY5","Caption":" : 5","Description":[": 1 ",": 10 . ",": 0/1"," : 3 ."," "," :"," : 5"," Angels city"," "," ",""," +5 "]}],"Name":"sp_tacpts","Caption":" ","Description":[" . , .","","C . , - () .",""," 3 . 10 .",""," ."]}],"Name":"maters","Caption":"","Description":["

    "]},{"NewLineToBR":true,"ImageBasePath":"https://img.new-combats.com/i/items/","Categories":[{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"enhp_5_defend_all_1","Caption":" : 1","Description":[": 50 .
    : []x1, []x3
    : 0/1
    : 30 .
    :
    :
    40% .
    .
    "]},{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"sharpen_all_7","Caption":" 7: ","Description":[": 1000 .
    : 0/1
    :
    : 8
    :
    : +7
    : +7
    :
    .
    "]},{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"preservation","Caption":" [1]","Description":[": 30 .
    : 0/1
    : 70%
    : 2 .
    :
    : 5
    : 8
    "]}],"Name":"svitki","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_mat3","Caption":" ","Description":[": 1",": 300 . ",": 0/1 "," ",":"," [10] , ."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_mat7","Caption":" ","Description":[": 1",": 300 . ",": 0/1 "," ",":"," [10] , ."]}],"Name":"sp_mat","Caption":" ","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"mater1","Caption":" ","Description":[": 0,15
    : 1
    : [ ]x3
    : 0/1

    "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"mater2","Caption":"","Description":[": 0,15
    : 1
    : [ ]x3
    : 0/1

    "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"mater3","Caption":"","Description":[": 0,15
    : 1
    : [ ]x3
    : 0/1

    "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"mater4","Caption":" ","Description":[": 0,15
    : 1
    : [ ]x3
    : 0/1

    "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"mater5","Caption":"","Description":[": 0,15
    : 1
    : [ ]x3
    : 0/1

    "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"mater6","Caption":" ","Description":[": 0,15
    : 1
    : [ ]x3
    : 0/1

    "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"mater7","Caption":" ","Description":[": 0,15
    : 1
    : [ ]x3
    : 0/1

    "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"mater8","Caption":"","Description":[": 0,15
    : 1
    : [ ]x3
    : 0/1

    "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"mater9","Caption":" ","Description":[": 0,15
    : 1
    : [ ]x3
    : 0/1

    "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"mater10","Caption":" ","Description":[": 0,15
    : 1
    : [ ]x3
    : 0/1

    "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"mater11","Caption":" ","Description":[": 0,15
    : 1
    : [ ]x3
    : 0/1

    "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"mater12","Caption":"","Description":[": 0,15
    : 1
    : [ ]x3
    : 0/1

    "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"mater13","Caption":" ","Description":[": 0,5
    : 1
    : [ ]x10
    : 0/1

    "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"mater14","Caption":" ","Description":[": 0,5
    : 1
    : [ ]x10
    : 0/1

    "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"mater15","Caption":" ","Description":[": 0,5
    : 1
    : [ ]x10
    : 0/1

    "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"mater16","Caption":" ","Description":[": 0,5
    : 1
    : [ ]x10
    : 0/1

    "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"mater17","Caption":" ","Description":[": 0,5
    : 1
    : [ ]x10
    : 0/1

    "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"mater18","Caption":" ","Description":[": 0,5
    : 1
    : [ ]x10
    : 0/1

    "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"mater19","Caption":" ","Description":[": 0,5
    : 1
    : [ ]x10
    : 0/1

    "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"mater25","Caption":" ","Description":[": 1,5
    : 1
    : [ ]x30
    : 0/1

    "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"mater26","Caption":" ","Description":[": 1,5
    : 1
    : [ ]x30
    : 0/1

    "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"mater27","Caption":" ","Description":[": 1,5
    : 1
    : [ ]x30
    : 0/1

    "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"mater28","Caption":" ","Description":[": 1,5
    : 1
    : [ ]x30
    : 0/1

    "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"mater29","Caption":" ","Description":[": 1,5
    : 1
    : [ ]x30
    : 0/1

    "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"mater30","Caption":" ","Description":[": 1,5
    : 1
    : [ ]x30
    : 0/1

    "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"mater20","Caption":" ","Description":[": 5
    : 1
    : [ ]x100
    : 0/1

    "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"mater21","Caption":" ","Description":[": 5
    : 1
    : [ ]x100
    : 0/1

    "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"mater22","Caption":" ","Description":[": 5
    : 1
    : [ ]x100
    : 0/1

    "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"mater31","Caption":" ","Description":[": 5
    : 1
    : [ ]x100
    : 0/1

    "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"mater23","Caption":"","Description":[": 5
    : 1
    : [ ]x100
    : 0/1

    "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"mater24","Caption":"","Description":[": 5
    : 1
    : [ ]x100
    : 0/1

    "]}],"Name":"mater","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"mater_battery","Caption":" ","Description":[": 1 .
    : 1
    : ,
    : 0/1

    :
    .
    "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"mater261","Caption":" ","Description":[": 20 .
    : 1
    : [ ]x4
    : 0/1

    :
    [10] , .
    "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"mater262","Caption":" ","Description":[": 48 .
    : 1
    : [ ]x10
    : 0/1

    :
    [10] , .
    "]}],"Name":"other","Caption":". ","Description":[]}],"Name":"angelsknightshop","Caption":"","Description":["

    ,

    ","

    , 10 000 , .

    "]}],"IsDungeon":true,"Name":"angel","Caption":"","Description":[]}); +underground.addDungeon({"RequiredScriptNames":["dungeon.data.sand.js","dungeon.data.capital.sand.js","dungeon.data.demons.sand.js","dungeon.data.angel.demons.sand.js","dungeon.data.angel.capital.demons.emerald.novice.sand.js","dungeon.data.abandon.capital.emerald.sand.js","dungeon.data.angel.capital.emerald.sand.js","dungeon.data.capital.demons.sand.js","dungeon.data.capital.demons.emerald.sand.js","dungeon.data.capital.emerald.sand.js","dungeon.data.capital.demons.emerald.novice.sand.js","dungeon.data.angel.sand.js","dungeon.data.angel.demons.novice.sand.js","dungeon.data.abandon.capital.demons.sand.js"],"NewLineToBR":true,"CellBackgroundColorString":"#E8E7D1","CellBorderColorString":"#978C6E","Jobs":{"CollectiveJobs":[{"Caption":" ","ImageUrl":"https://img.new-combats.com/i/items/mater203.gif","ItemReward":4,"Description":[" \" \" . \" \", , . ...",""," ."],"DefCount":25},{"Caption":" ","ImageUrl":"https://img.new-combats.com/i/items/mater213.gif","ItemReward":20,"Description":[" , , \" \" . \" \"."],"DefCount":5},{"Caption":"","ImageUrl":"https://img.new-combats.com/i/items/mater223.gif","ItemReward":13,"Description":[" , \"\" . \" \". "],"DefCount":13},{"Caption":"","ImageUrl":"https://img.new-combats.com/i/items/mater214.gif","ItemReward":10,"Description":[" , , \"\" . \" \" , . ",""," 2-3 ."],"DefCount":13},{"Caption":" ","ImageUrl":"https://img.new-combats.com/i/items/mater222.gif","ItemReward":3,"Description":[" , \" \" . \" \" . ... ",""," ."],"DefCount":35}],"CapturedJobs":[{"Caption":" ","ImageUrl":"https://img.new-combats.com/i/items/mater208.gif","ItemReward":6,"Description":[" , \" \" . \" \". ... ",""," , ."],"DefCount":10},{"Caption":" ","ImageUrl":"https://img.new-combats.com/i/items/mater220.gif","ItemReward":15,"Description":[" , \" \" . \" \". !",""," ."],"DefCount":12},{"Caption":"","ImageUrl":"https://img.new-combats.com/i/items/mater207.gif","ItemReward":14,"Description":[" , \"\" . \" \". , ... ",""," , ."],"DefCount":15},{"Caption":" ","ImageUrl":"https://img.new-combats.com/i/items/mater204.gif","ItemReward":12,"Description":[" , , \" \" . \" \". ... "],"DefCount":15},{"Caption":"","ImageUrl":"https://img.new-combats.com/i/items/mater216.gif","ItemReward":8,"Description":[" , \"\" . \" \". ",""," , . 1-2 ."],"DefCount":14},{"Caption":"","ImageUrl":"https://img.new-combats.com/i/items/mater200.gif","ItemReward":6,"Description":[" , \"\" . \" \". !",""," , . , ."],"DefCount":13}],"KillingJobs":[{"MobName":"pg_sand","Unique":false,"Description":[" , \" \", \" \". ..."],"DefCount":12},{"MobName":"strmgl","Unique":false,"Description":[" , \" \". \" \". "],"DefCount":13},{"MobName":"smotrmgl","Unique":false,"Description":[" , \" \". \" \". "],"DefCount":12},{"MobName":"rabmgl","Unique":false,"Description":[" , \" \", \" \". ",""],"DefCount":13}]},"Floors":[{"Cells":[{"X":1,"Y":1,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"rabmgl","Level":7,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":1,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"smotrmgl","Level":7,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":1,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":3,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"rabmgl","Level":8,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":2,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"smotrmgl","Level":7,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":3,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":3,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"smotrmgl","Level":8,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":2,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":2,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"strmgl","Level":7,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":1,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"escapepoint_blue1","InstanceName":"escape"},{"ObjectName":"ladder","InstanceName":"ladder8"}],"HotSpots":[{"HighlightColorString":"#3E4F4F","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":7,"Y":7}]}]},{"X":9,"Y":1,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"escapepoint_blue1","InstanceName":"escape"},{"ObjectName":"ladder","InstanceName":"ladder9"}],"HotSpots":[{"HighlightColorString":"#3E4F4F","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":5,"Y":4}]}]},{"X":6,"Y":2,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":3,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":4,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"strmgl","Level":7,"Align":"0","Tag":"","Count":2},{"Name":"rabmgl","Level":7,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":4,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"key2","InstanceName":"key22"}],"HotSpots":[{"HighlightColorString":"#3E4F4F","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":9,"Y":1}]}]},{"X":8,"Y":4,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":4,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":4,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":2,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"smotrmgl","Level":7,"Align":"0","Tag":"","Count":10}],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":5,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"rabmgl","Level":7,"Align":"9","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":6,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"smag_collect1","InstanceName":"sunduk3"}],"HotSpots":[]},{"X":6,"Y":6,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":6,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":6,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pg_sand","Level":7,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":7,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"strmgl","Level":8,"Align":"0","Tag":"","Count":1},{"Name":"rabmgl","Level":8,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":5,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"redteleport","InstanceName":"redteleport10"}],"HotSpots":[]},{"X":2,"Y":5,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"smotrmgl","Level":7,"Align":"0","Tag":"","Count":2},{"Name":"strmgl","Level":7,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":4,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":5,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"well03","InstanceName":"fountain22"}],"HotSpots":[]},{"X":2,"Y":6,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":8,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":8,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":9,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":9,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":10,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"entrancepoint_green1","InstanceName":"enter"},{"ObjectName":"enter","InstanceName":"enter2"}],"HotSpots":[]},{"X":5,"Y":9,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":9,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":7,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"smotrmgl","Level":7,"Align":"0","Tag":"","Count":3},{"Name":"strmgl","Level":7,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":7,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"key1","InstanceName":"key12"}],"HotSpots":[{"HighlightColorString":"#3E4F4F","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":6,"Y":1}]}]},{"X":8,"Y":9,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"smotrmgl","Level":7,"Align":"0","Tag":"","Count":2},{"Name":"strmgl","Level":7,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":8,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":8,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":8,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":9,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":10,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"smotrmgl","Level":8,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":10,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":10,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"strmgl","Level":7,"Align":"0","Tag":"","Count":2},{"Name":"rabmgl","Level":8,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":5,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pg_sand","Level":7,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":3,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pg_sand","Level":8,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":4,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"pg_sand","Level":8,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":10,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"pg_sand","Level":7,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":8,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":9,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"pg_sand","Level":7,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":9,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"pg_sand","Level":7,"Align":"0","Tag":"","Count":5}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":7,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pg_sand","Level":7,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]}],"LookDirection":3,"Width":12,"Height":12,"DataBounds":"1, 1, 10, 10","Name":"floor1","Caption":"1 ","Description":[]},{"Cells":[{"X":2,"Y":10,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"entrancepoint_green1","InstanceName":"enter"},{"ObjectName":"enter","InstanceName":"enter7"}],"HotSpots":[]},{"X":2,"Y":9,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"strmgl","Level":8,"Align":"0","Tag":"hp800","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":9,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"rabmgl","Level":7,"Align":"0","Tag":"","Count":25}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":9,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"smotrmgl","Level":9,"Align":"0","Tag":"","Count":1},{"Name":"strmgl","Level":8,"Align":"0","Tag":"hp800","Count":1},{"Name":"rabmgl","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":8,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"rabmgl","Level":7,"Align":"0","Tag":"","Count":10}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":7,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"smotrmgl","Level":9,"Align":"0","Tag":"","Count":1},{"Name":"strmgl","Level":8,"Align":"0","Tag":"hp800","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":7,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"smotrmgl","Level":9,"Align":"0","Tag":"","Count":1},{"Name":"strmgl","Level":8,"Align":"0","Tag":"hp800","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":7,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":8,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"strmgl","Level":8,"Align":"0","Tag":"","Count":1},{"Name":"rabmgl","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":8,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"smag_collect1","InstanceName":"sunduk4"}],"HotSpots":[]},{"X":2,"Y":6,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":5,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":5,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"rabmgl","Level":8,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":4,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"smotrmgl","Level":8,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":3,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"smotrmgl","Level":7,"Align":"0","Tag":"","Count":10}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":3,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"smotrmgl","Level":9,"Align":"0","Tag":"","Count":1},{"Name":"pg_sand","Level":8,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":4,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"smag_collect1","InstanceName":"sunduk5"}],"HotSpots":[]},{"X":2,"Y":4,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"strmgl","Level":8,"Align":"9","Tag":"hp1600","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":2,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":1,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":1,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"redteleport","InstanceName":"redteleport12"}],"HotSpots":[{"HighlightColorString":"Transparent","Opacity":0.9,"ImageUrl":"/i/ugobj/escapepoint_yellow1.gif","CellRefs":[{"X":6,"Y":9}]},{"HighlightColorString":"#3E4F4F","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":2,"Y":9},{"X":1,"Y":9},{"X":3,"Y":9},{"X":2,"Y":8},{"X":2,"Y":7},{"X":1,"Y":7},{"X":3,"Y":7},{"X":3,"Y":8},{"X":1,"Y":8}]}]},{"X":1,"Y":1,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"redteleport","InstanceName":"redteleport11"}],"HotSpots":[{"HighlightColorString":"#3E4F4F","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":2,"Y":5},{"X":3,"Y":5},{"X":1,"Y":4},{"X":1,"Y":3},{"X":2,"Y":3},{"X":3,"Y":4},{"X":2,"Y":4},{"X":3,"Y":3},{"X":1,"Y":5}]}]},{"X":5,"Y":3,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"fountain5","InstanceName":"fountain54"}],"HotSpots":[]},{"X":5,"Y":7,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"fountain5","InstanceName":"fountain53"}],"HotSpots":[]},{"X":7,"Y":5,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":5,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":6,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"strmgl","Level":7,"Align":"0","Tag":"","Count":5}],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":4,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"strmgl","Level":8,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":3,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"smotrmgl","Level":9,"Align":"0","Tag":"","Count":1},{"Name":"strmgl","Level":8,"Align":"0","Tag":"hp800","Count":1},{"Name":"rabmgl","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":1,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"escapepoint_blue1","InstanceName":"escape"},{"ObjectName":"ladder","InstanceName":"ladder10"}],"HotSpots":[]},{"X":9,"Y":3,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"key3","InstanceName":"key32"}],"HotSpots":[]},{"X":8,"Y":8,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":9,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pg_sand","Level":7,"Align":"0","Tag":"","Count":9}],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":9,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"smotrmgl","Level":9,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":9,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":9,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"rabmgl","Level":8,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":9,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":10,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"entrancepoint_green1","InstanceName":"enter"},{"ObjectName":"enter","InstanceName":"enter8"}],"HotSpots":[]},{"X":10,"Y":8,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"smotrmgl","Level":7,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":7,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":3,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pg_sand","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":5,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":2,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pg_sand","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":7,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pg_sand","Level":8,"Align":"0","Tag":"","Count":5}],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":6,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"pg_sand","Level":7,"Align":"0","Tag":"","Count":5}],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":6,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pg_sand","Level":8,"Align":"0","Tag":"","Count":5}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":7,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"pg_sand","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":6,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pg_sand","Level":8,"Align":"0","Tag":"","Count":5},{"Name":"pg_sand","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":6,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pg_sand","Level":7,"Align":"0","Tag":"","Count":10}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":5,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pg_sand","Level":8,"Align":"0","Tag":"","Count":5}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":5,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":4,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pg_sand","Level":7,"Align":"0","Tag":"","Count":10}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":3,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pg_sand","Level":8,"Align":"0","Tag":"","Count":5}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":4,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pg_sand","Level":7,"Align":"0","Tag":"","Count":10},{"Name":"pg_sand","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":10,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]}],"LookDirection":3,"Width":12,"Height":12,"DataBounds":"1, 1, 10, 10","Name":"floor2","Caption":"2 ","Description":[]},{"Cells":[{"X":1,"Y":3,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"rh","Level":9,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":3,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"grate","InstanceName":"grate2"}],"HotSpots":[]},{"X":3,"Y":3,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":2,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"strmgl","Level":8,"Align":"0","Tag":"","Count":3},{"Name":"rabmgl","Level":8,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":3,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"fountain6","InstanceName":"fountain64"}],"HotSpots":[]},{"X":6,"Y":3,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"smotrmgl","Level":9,"Align":"0","Tag":"","Count":2},{"Name":"pg_sand","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":2,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"strmgl","Level":8,"Align":"0","Tag":"hp800","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":1,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"escapepoint_blue1","InstanceName":"escape"},{"ObjectName":"sar2","InstanceName":"sar22"}],"HotSpots":[]},{"X":7,"Y":2,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"workshop","InstanceName":"workshop2"}],"HotSpots":[]},{"X":8,"Y":3,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"smotrmgl","Level":9,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":3,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"smotrmgl","Level":9,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":2,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"strmgl","Level":8,"Align":"0","Tag":"","Count":5}],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":1,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"escapepoint_blue1","InstanceName":"escape"},{"ObjectName":"sar2","InstanceName":"sar21"}],"HotSpots":[]},{"X":10,"Y":4,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"smotrmgl","Level":8,"Align":"9","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":4,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"rabmgl","Level":9,"Align":"9","Tag":"","Count":2},{"Name":"pg_sand","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":5,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":5,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"strmgl","Level":8,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":5,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"rabmgl","Level":9,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":7,"Border":{"Left":2,"Top":1,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"arrowup","InstanceName":"arrow1"}],"HotSpots":[]},{"X":8,"Y":8,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"smotrmgl","Level":8,"Align":"0","Tag":"","Count":3},{"Name":"rabmgl","Level":8,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":8,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":8,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":9,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":10,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"entrancepoint_green1","InstanceName":"enter"},{"ObjectName":"enter","InstanceName":"enter10"}],"HotSpots":[]},{"X":7,"Y":8,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":8,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":8,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":8,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":9,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":10,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"smotrmgl","Level":9,"Align":"9","Tag":"hp2400","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":10,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"entrancepoint_green1","InstanceName":"enter"},{"ObjectName":"enter","InstanceName":"enter9"}],"HotSpots":[]},{"X":6,"Y":10,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":7,"Border":{"Left":2,"Top":1,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"arrowup","InstanceName":"arrow1"}],"HotSpots":[]},{"X":4,"Y":7,"Border":{"Left":2,"Top":1,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"arrowup","InstanceName":"arrow1"}],"HotSpots":[]},{"X":4,"Y":4,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":5,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"strmgl","Level":8,"Align":"0","Tag":"","Count":3},{"Name":"pg_sand","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":5,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"fountain4","InstanceName":"fountain42"}],"HotSpots":[]},{"X":6,"Y":9,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pg_sand","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":8,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":6,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":4,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":3,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pg_sand","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":4,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":5,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":6,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pg_sand","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":3,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pg_sand","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":5,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"smotrmgl","Level":8,"Align":"0","Tag":"","Count":5},{"Name":"pg_sand","Level":8,"Align":"0","Tag":"","Count":5}],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":6,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":1,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"key2_2","InstanceName":"key2_21"}],"HotSpots":[{"HighlightColorString":"LightCoral","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":3,"Y":10}]}]}],"LookDirection":3,"Width":12,"Height":12,"DataBounds":"1, 1, 10, 10","Name":"floor3","Caption":"3 ","Description":[]},{"Cells":[{"X":1,"Y":9,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"escapepoint_blue1","InstanceName":"escape"},{"ObjectName":"sar2","InstanceName":"sar21"}],"HotSpots":[]},{"X":1,"Y":8,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":7,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":7,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":8,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"hroch","Level":9,"Align":"9","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":9,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":10,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"entrancepoint_green1","InstanceName":"enter"},{"ObjectName":"enter","InstanceName":"enter11"}],"HotSpots":[]},{"X":4,"Y":8,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":8,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"sign1","InstanceName":"sign11"}],"HotSpots":[]},{"X":5,"Y":9,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":9,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":9,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":8,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"strkl","Level":8,"Align":"0","Tag":"","Count":2},{"Name":"zbldsh","Level":8,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":6,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"strslpr","InstanceName":"strslpr1"}],"HotSpots":[]},{"X":8,"Y":5,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":6,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"hroch","Level":9,"Align":"9","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":5,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":5,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":4,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":3,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":2,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"strkl","Level":8,"Align":"0","Tag":"","Count":1},{"Name":"hroch","Level":9,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":2,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":1,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":3,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":3,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":3,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"lab","InstanceName":"lab2"}],"HotSpots":[]},{"X":3,"Y":2,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"lab","InstanceName":"lab2"}],"HotSpots":[]},{"X":3,"Y":1,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"lab","InstanceName":"lab2"}],"HotSpots":[]},{"X":4,"Y":1,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":2,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"krpt","Level":9,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":9,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"zbldsh","Level":8,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":7,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"grate","InstanceName":"grate3"}],"HotSpots":[]},{"X":5,"Y":7,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"zbldsh","Level":8,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":5,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"zbldsh","Level":8,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":6,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"zbldsh","Level":8,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":7,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"zbldsh","Level":8,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":2,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"zbldsh","Level":8,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":2,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"enterdoor","InstanceName":"enterdoor2"}],"HotSpots":[]},{"X":5,"Y":0,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"zabgol","Level":11,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[{"ObjectName":"forge","InstanceName":"forge3"}],"HotSpots":[]}],"LookDirection":3,"Width":10,"Height":12,"DataBounds":"1, 0, 8, 11","Name":"floor4","Caption":"4 ","Description":[]}],"Pages":[{"NewLineToBR":false,"ExternalUrl":"","Name":"sandknightugsol","Caption":"","Description":["

    ,


    Sand city 9999, :

    ","
    ","

    ? ! , , \" \". . !
    ","

    ","
    \"\" 10 \"\" , , : \"\" , \"\" , \"\" , \"\" (5 .)
    ","
    . , . ","

    , :
    ","
    (10 .) ","
    (10 .)","
    (10 .) ","
    (50 .)
    ","
    :
    (), , 10 c .
    ","


    ","
    \"\" :

    ","
    ","

    , -. , ... , , ... , .
    ","
    .
    , . ( )
    ---
    ? ... , . , ... , . - ... - . 10 . , . , . . ","
    ---
    ? ... , , , . , , ... : , , ,

    ","
    : 10 \"\" . . ","
    . , \"\" .
    ","
    : , , .
    ","
    , ( G3 ). ","
    : \"\" 3. J4 , [8]. ","
    \"\" . \"\" , , , . , . ","

    : , 10- 4 . B10 \"\" , , . ","
    ( ) \"\" \"\" .

    ","
    ","

    ... , ! , .
    .
    , ... ( )","
    ---
    x 10 ","
    ---
    , , ... . ","
    , . ( )

    ","

    , .","
    \"\" \"\" : +12. ","

    :
    \"\" , . . , .
    ","
    .
    ","
    , , .


    "]}],"Shops":[{"NewLineToBR":true,"ImageBasePath":"https://img.new-combats.com/i/items/","Categories":[{"NewLineToBR":true,"Items":[{"NewLineToBR":true,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"Key22","Caption":" 2","Description":[": 1",": 0/1"," Sandcity"," "," ",""," E2 ."]}],"Name":"key","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":true,"W":60,"H":20,"Binding":2,"IsGift":false,"Name":"amulet67","Caption":" ()","Description":[": 1",": 62 . ",": 0/50"," :"," : 10 "," : 20 "," : 4 "," :"," (HP): +150"," Sandcity"," "," ",""," , J7."]}],"Name":"amulet","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"sword94","Caption":" ()","Description":[": 19",": 174 . ",": 0/50"," :"," : 25 "," : 25 "," : 25 "," : 25 "," : 8 "," : 2 "," : 5 "," :"," : +1 "," . : +25 % "," . : +45 % "," . : +5 % "," : 27 "," : 15 ",":"," : "," : "," Sandcity"," "," ",""," , B9."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"sword93","Caption":" ()","Description":[": 18",": 177 . ",": 0/80"," :"," : 25 "," : 25 "," : 25 "," : 8 "," : 5 "," :"," : +3 "," : +1 "," . : +20 % "," . : +80 % "," : 30 "," : 11 ",":"," : "," : "," : "," Sandcity"," "," ",""," , B9."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"sword74","Caption":" ()","Description":[": 28",": 260 . ",": 0/50"," :"," : 30 "," : 25 "," : 30 "," : 8 "," : 5 "," :"," : +1 "," . : +25 % "," . : +50 % "," . . : +15 % "," . : +10 % "," : +1 "," : 40 "," : 21 "," :"," ",":"," : "," : "," : "," : "," Sandcity"," "," ",""," , B9."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"sword104","Caption":" ()","Description":[": 17",": 220 . ",": 0/50"," :"," : 45 "," : 15 "," : 15 "," : 50 "," : 9 "," : 5 "," :"," : +2 "," : +2 "," . : +40 % "," . : +40 % "," . : +10 % "," : +2 "," : +34 "," : +12 ",":"," : "," : "," : "," Sandcity"," "," ",""," , D5."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"sword103","Caption":" ()","Description":[": 13",": 220 . ",": 0/50"," :"," : 30 "," : 15 "," : 50 "," : 30 "," : 9 "," :"," : +2 "," . : +50 % "," . : +80 % "," . . : +10 % "," : +2 "," : 34 "," : 12 ",":"," : "," : "," : "," : "," Sandcity"," "," ",""," , D5."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"sword102","Caption":" ()","Description":[":17",": 220 .",": 0/50"," :"," : 55"," : 15"," : 9"," : 5"," : 30"," : 30"," :"," : +2 "," . (%): +35"," . (%): +75"," : +1"," :"," : 12 - 34"," : 2"," . (%): 20"," ",":"," : "," : "," : "," Sandcity"," "," ",""," , D5."]}],"Name":"sword","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"pot_curemana200_30","Caption":" ","Description":[": 1",": 4 .",": 0/2"," : 30 . "," :"," 7",": . "," Sandcity"," "," ",""," , J7."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"pot_base_150_fireproof","Caption":" ","Description":[": 5 ",": 1 . ",": 0/1 "," : 20 . "," : 3 . 0 . "," : "," : 4 "," : "," : +75"," Sandcity"," "," ",""," , B6."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"pot_base_150_earthproof","Caption":" ","Description":[": 5 ",": 1 . ",": 0/1 "," : 20 . "," : 3 . 0 . "," : "," : 4 "," : "," : +75"," Sandcity"," "," ",""," , F4."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"pot_base_150_airproof","Caption":" ","Description":[": 5 ",": 1 . ",": 0/1 "," : 20 . "," : 3 . 0 . "," : "," : 4 "," : "," : +75"," Sandcity"," "," ",""," , C6."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"pot_base_150_waterproof","Caption":" ","Description":[": 5 ",": 1 . ",": 0/1 "," : 20 . "," : 3 . 0 . "," : "," : 4 "," : "," : +75"," Sandcity"," "," ",""," , F8."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"pot_base_200_allmag2","Caption":" ","Description":[": 5",": 1 . ",": 0/1"," : 20 . "," : 3 . 0 . "," :"," : 7"," :"," : +75"," Sandcity"," "," ",""," , H3."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"pot_base_200_bot_pm1","Caption":" ","Description":[": 1",": 1 .",": 0/1"," : 30 ."," : 3 . 0 ."," :"," : 40"," :"," : +20"," Sandcity"," "," ",""," . "," : , , (5 )."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"pot_base_200_bot_pm2","Caption":" ","Description":[": 1",": 0/1"," : 30 ."," : 3 . 0 ."," :"," : 45"," :"," : +25"," Sandcity"," "," ",""," . 10 "]}],"Name":"pot_base","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":true,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"mesh1","Caption":" ","Description":[": 1",": 2000 . ",": 0/1 "," : 180 ."," :"," : 4"," : 15"," :"," : +250"," Sandcity"," "," ",""," ."]}],"Name":"mesh","Caption":"","Description":[]}],"Name":"maters","Caption":"","Description":["

    "]},{"NewLineToBR":false,"ImageBasePath":"https://img.new-combats.com/i/items/","Categories":[{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"enhp_13_pm_revard","Caption":" : +12","Description":[": 50 .
    : , [ ]x3
    : 0/1
    :
    (HP): +12
    :
    , 12
    "]},{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"weap_enc_4_1","Caption":" [1]","Description":[": 10 .
    : 0/10
    : 99%

    :
    : 8
    :
    :
    .
    "]}],"Name":"svitki","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":80,"Binding":1,"IsGift":false,"Name":"roba16","Caption":" ","Description":[": 65 .
    :
    (HP): +99"]}],"Name":"roba","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_mat5","Caption":" ","Description":[": 1",": 300 . ",": 0/1 "," ",":"," [10] , ."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_mat13","Caption":" ","Description":[": 1",": 300 . ",": 0/1 "," ",":"," [10] , ."]}],"Name":"sp_mat","Caption":" ","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":true,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"mater275","Caption":" ","Description":[": 28 .
    : 1
    : [ ]x6
    : 0/1

    :
    [10] , .
    "]},{"NewLineToBR":true,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"mater276","Caption":" ","Description":[": 28 .
    : 1
    : [ ]x5
    : 0/1

    :
    [10] , .
    "]}],"Name":"other","Caption":". ","Description":[]}],"Name":"sandknightshop","Caption":"","Description":["

    ,


    ","

    Sand ity 10 000, .

    "]}],"IsDungeon":true,"Name":"sand","Caption":" ","Description":[]}); +underground.addDungeon({"RequiredScriptNames":["dungeon.data.demons.js","dungeon.data.angel.demons.js","dungeon.data.demons.sand.js","dungeon.data.angel.demons.sand.js","dungeon.data.angel.capital.demons.emerald.novice.sand.js","dungeon.data.capital.demons.emerald.js","dungeon.data.abandon.capital.demons.js","dungeon.data.capital.demons.js","dungeon.data.capital.demons.sand.js","dungeon.data.capital.demons.emerald.sand.js","dungeon.data.capital.demons.emerald.novice.sand.js","dungeon.data.demons.novice.js","dungeon.data.angel.demons.novice.js","dungeon.data.angel.capital.demons.novice.js","dungeon.data.angel.capital.demons.js","dungeon.data.angel.demons.novice.sand.js","dungeon.data.abandon.capital.demons.sand.js"],"NewLineToBR":true,"CellBackgroundColorString":"#E9D7D7","CellBorderColorString":"#906C6C","Jobs":{"CollectiveJobs":[],"CapturedJobs":[{"Caption":"","ImageUrl":"https://img.new-combats.com/i/items/mater227.gif","ItemReward":20,"Description":[" - , - ..., \"\" . \"\". ..",""," ."],"DefCount":13},{"Caption":"","ImageUrl":"https://img.new-combats.com/i/items/mater200.gif","ItemReward":25,"Description":[" , , \"\" . \"\" , . ... ",""," ."],"DefCount":13},{"Caption":" ","ImageUrl":"https://img.new-combats.com/i/items/mater215.gif","ItemReward":25,"Description":[" , , \" \" . \"\" \"\".",""," ."],"DefCount":13}],"KillingJobs":[{"MobName":"sl","Unique":false,"Description":[" , : \"\". \"\"."],"DefCount":10},{"MobName":"pp","Unique":false,"Description":[" , \" \". , \"\". , ... "],"DefCount":4},{"MobName":"zm","Unique":false,"Description":[" , ... \"\". \"\". ...",""," , ..."],"DefCount":3},{"MobName":"drstr","Unique":false,"Description":[" , \" \". \"\"."],"DefCount":2},{"MobName":"prokl","Unique":false,"Description":[" , \" \". \"\"."],"DefCount":3},{"MobName":"brsk","Unique":true,"Description":[" , : \"\". a \"\", . ..."],"DefCount":1},{"MobName":"og","Unique":true,"Description":[" , \" \", \"\". ..."],"DefCount":1},{"MobName":"zsl","Unique":true,"Description":[" , \" \". \"\", . "],"DefCount":1},{"MobName":"hsl","Unique":true,"Description":[" , \" \". Ÿ \"\". !"],"DefCount":1},{"MobName":"chkng","Unique":true,"Description":[" , \"\" . \"\"."],"DefCount":1},{"MobName":"ep","Unique":true,"Description":[" , \"\" . a \"\", ."],"DefCount":1},{"MobName":"shtpvl","Unique":true,"Description":[" , ... \" \". \"\", . ..."],"DefCount":1},{"MobName":"trp","Unique":true,"Description":[" , \"\". \"\". ..."],"DefCount":1},{"MobName":"plen","Unique":true,"Description":[" , \" \". \"\". ... "],"DefCount":1},{"MobName":"pvlt","Unique":true,"Description":[" , \"\". \"\". "],"DefCount":1}]},"Floors":[{"Cells":[{"X":1,"Y":1,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":1,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":1,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":1,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":2,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"bed","InstanceName":"bed2"}],"HotSpots":[]},{"X":4,"Y":2,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"lit","Level":7,"Align":"0","Tag":"","Count":6}],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":3,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":4,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":5,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"ng","Level":8,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":6,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":7,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":3,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":3,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"lit","Level":8,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":4,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"smag_collect1","InstanceName":"sunduk7"}],"HotSpots":[]},{"X":1,"Y":4,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"bed","InstanceName":"bed2"}],"HotSpots":[]},{"X":3,"Y":3,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":3,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"blueteleport","InstanceName":"blueteleport6"}],"HotSpots":[{"HighlightColorString":"Transparent","Opacity":0.9,"ImageUrl":"/i/ugobj/escapepoint_yellow1.gif","CellRefs":[{"X":6,"Y":3}]},{"HighlightColorString":"#3E4F4F","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":2,"Y":10}]}]},{"X":6,"Y":3,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":2,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"rg","Level":8,"Align":"0","Tag":"","Count":2},{"Name":"ng","Level":8,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":1,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":0,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"escapepoint_blue1","InstanceName":"escape"},{"ObjectName":"drain_lowering","InstanceName":"drain1"}],"HotSpots":[]},{"X":7,"Y":1,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":1,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":1,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":3,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"enterdoor","InstanceName":"enterdoor6"}],"HotSpots":[]},{"X":8,"Y":3,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":2,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"attentionpoint_red1","InstanceName":"danger9"}],"HotSpots":[]},{"X":9,"Y":2,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"ng","Level":8,"Align":"0","Tag":"","Count":2},{"Name":"sg","Level":8,"Align":"0","Tag":"","Count":1},{"Name":"lit","Level":7,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":3,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":4,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"chest01","InstanceName":"chest25"}],"HotSpots":[]},{"X":10,"Y":3,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"chest1","InstanceName":"chest13"}],"HotSpots":[]},{"X":6,"Y":4,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"ng","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[{"ObjectName":"key3","InstanceName":"key33"}],"HotSpots":[{"HighlightColorString":"#3E4F4F","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":6,"Y":5}]}]},{"X":6,"Y":5,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"enterdoor","InstanceName":"enterdoor5"}],"HotSpots":[{"HighlightColorString":"#3E4F4F","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":6,"Y":4}]}]},{"X":6,"Y":6,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":7,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"sg","Level":8,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":7,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":5,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":5,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":6,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"smag_collect1","InstanceName":"sunduk7"}],"HotSpots":[]},{"X":1,"Y":6,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"bed","InstanceName":"bed2"}],"HotSpots":[]},{"X":1,"Y":7,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":7,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"lit","Level":8,"Align":"0","Tag":"","Count":1},{"Name":"lit","Level":7,"Align":"0","Tag":"","Count":4}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":8,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"smag_collect1","InstanceName":"sunduk7"}],"HotSpots":[]},{"X":1,"Y":8,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"bed","InstanceName":"bed2"}],"HotSpots":[]},{"X":3,"Y":5,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":7,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":8,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":9,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"ng","Level":9,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":9,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":9,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"og","Level":8,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":9,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":10,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"bed","InstanceName":"bed3"}],"HotSpots":[]},{"X":2,"Y":10,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"smag_collect1","InstanceName":"sunduk11"}],"HotSpots":[{"HighlightColorString":"#3E4F4F","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":5,"Y":3}]}]},{"X":5,"Y":9,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"barrikada","InstanceName":"barrikada"}],"HotSpots":[]},{"X":6,"Y":9,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"ng","Level":8,"Align":"0","Tag":"","Count":2},{"Name":"lit","Level":7,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":8,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":10,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"smag_collect1","InstanceName":"sunduk9"}],"HotSpots":[]},{"X":5,"Y":11,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"smotrmgl","Level":8,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":9,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":9,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":10,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"ng","Level":8,"Align":"0","Tag":"","Count":2},{"Name":"sg","Level":8,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":8,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"sg","Level":8,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":7,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":7,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":8,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":8,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"brsk","Level":9,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":9,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":10,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"chest1","InstanceName":"chest14"}],"HotSpots":[]},{"X":9,"Y":7,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"fountain4","InstanceName":"fountain43"}],"HotSpots":[]},{"X":10,"Y":7,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":6,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"smag_collect1","InstanceName":"sunduk10"}],"HotSpots":[]},{"X":8,"Y":6,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"drain_top","InstanceName":"drain_top2"}],"HotSpots":[]},{"X":5,"Y":12,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"drain_bottom","InstanceName":"drain6"}],"HotSpots":[{"HighlightColorString":"LightCoral","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":5,"Y":11}]}]},{"X":5,"Y":13,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":11,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"strmgl","Level":8,"Align":"0","Tag":"","Count":1},{"Name":"strmgl","Level":8,"Align":"0","Tag":"hp800","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":12,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":13,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":15,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":15,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":15,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"skelet1","InstanceName":"skelet11"}],"HotSpots":[]},{"X":9,"Y":17,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":17,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":17,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":16,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"strmgl","Level":8,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":16,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"stat1","InstanceName":"stat1"}],"HotSpots":[]},{"X":7,"Y":16,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":16,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":16,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"smotrmgl","Level":8,"Align":"0","Tag":"","Count":1},{"Name":"rabmgl","Level":7,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":14,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"strmgl","Level":8,"Align":"0","Tag":"","Count":2},{"Name":"smotrmgl","Level":8,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":15,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":18,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"strmgl","Level":8,"Align":"0","Tag":"","Count":1},{"Name":"rabmgl","Level":7,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":19,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":19,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"drain_bottom","InstanceName":"drain3"}],"HotSpots":[]},{"X":7,"Y":19,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"kamen1","InstanceName":"kamen1"}],"HotSpots":[]},{"X":8,"Y":20,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"escapepoint_blue1","InstanceName":"escape"},{"ObjectName":"proboina","InstanceName":"proboina6"}],"HotSpots":[{"HighlightColorString":"Transparent","Opacity":0.9,"ImageUrl":"/i/ugobj/escapepoint_yellow1.gif","CellRefs":[{"X":12,"Y":18}]}]},{"X":9,"Y":20,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"smotrmgl","Level":8,"Align":"0","Tag":"","Count":2},{"Name":"rabmgl","Level":8,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":20,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"kamen1","InstanceName":"kamen1"}],"HotSpots":[]},{"X":4,"Y":16,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"drain_bottom","InstanceName":"drain3"}],"HotSpots":[]},{"X":3,"Y":16,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"rabmgl","Level":7,"Align":"0","Tag":"","Count":6}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":16,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":16,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":15,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":14,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"strmgl","Level":8,"Align":"0","Tag":"","Count":1},{"Name":"rabmgl","Level":7,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":13,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"kamen1","InstanceName":"kamen1"}],"HotSpots":[]},{"X":2,"Y":13,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"violetteleport","InstanceName":"violetteleport1"}],"HotSpots":[]},{"X":3,"Y":13,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":14,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"smotrmgl","Level":8,"Align":"0","Tag":"","Count":1},{"Name":"rabmgl","Level":7,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":15,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":12,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"yellowteleport","InstanceName":"yellowtelepor2"}],"HotSpots":[]},{"X":4,"Y":13,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"orangeteleport","InstanceName":"orangeteleport"}],"HotSpots":[]},{"X":4,"Y":17,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":17,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"kamen1","InstanceName":"kamen1"}],"HotSpots":[]},{"X":2,"Y":17,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"strmgl","Level":8,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":17,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"strmgl","Level":8,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[{"ObjectName":"gobelin1","InstanceName":"gobelin11"}],"HotSpots":[]},{"X":1,"Y":18,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":18,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":18,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"strmgl","Level":8,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":19,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"drain_bottom","InstanceName":"drain5"}],"HotSpots":[]},{"X":2,"Y":19,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":19,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"smotrmgl","Level":8,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":19,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":20,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":19,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"smotrmgl","Level":8,"Align":"0","Tag":"","Count":1},{"Name":"rabmgl","Level":7,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":19,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"kamen1","InstanceName":"kamen1"}],"HotSpots":[]},{"X":12,"Y":18,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"proboina","InstanceName":"proboina5"}],"HotSpots":[]},{"X":15,"Y":18,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"trash2","InstanceName":"trash22"}],"HotSpots":[]},{"X":12,"Y":17,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"rabmgl","Level":7,"Align":"0","Tag":"","Count":7}],"ObjectRefs":[],"HotSpots":[]},{"X":15,"Y":17,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"rabmgl","Level":8,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":12,"Y":16,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":13,"Y":16,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"sl","Level":8,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":14,"Y":16,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"trash2","InstanceName":"trash22"}],"HotSpots":[]},{"X":15,"Y":16,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"sl","Level":8,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":16,"Y":16,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":13,"Y":15,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"strmgl","Level":8,"Align":"0","Tag":"","Count":2},{"Name":"rabmgl","Level":7,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":13,"Y":14,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":14,"Y":15,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":16,"Y":15,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"trash2","InstanceName":"trash22"}],"HotSpots":[]},{"X":13,"Y":13,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":13,"Y":12,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"fountain7","InstanceName":"fountain7"}],"HotSpots":[]},{"X":15,"Y":14,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"zsl","Level":8,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":15,"Y":13,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":15,"Y":12,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"skelet1","InstanceName":"skelet12"}],"HotSpots":[]},{"X":16,"Y":12,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":17,"Y":12,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"escapepoint_blue1","InstanceName":"escape"},{"ObjectName":"proboina2","InstanceName":"proboina21"}],"HotSpots":[]},{"X":15,"Y":15,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"strmgl","Level":8,"Align":"0","Tag":"","Count":2},{"Name":"rabmgl","Level":8,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":14,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"strmgl","Level":8,"Align":"0","Tag":"","Count":1},{"Name":"smotrmgl","Level":8,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":2,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"smag_collect1","InstanceName":"sunduk7"}],"HotSpots":[]},{"X":1,"Y":21,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"enterdoor","InstanceName":"enterdoor4"}],"HotSpots":[]}],"LookDirection":2,"Width":19,"Height":22,"DataBounds":"1, 0, 17, 22","Name":"floor1","Caption":"1 ","Description":[]},{"Cells":[{"X":1,"Y":1,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"entrancepoint_green1","InstanceName":"enter"},{"ObjectName":"drain_bottom","InstanceName":"drain4"}],"HotSpots":[]},{"X":1,"Y":2,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"ng","Level":8,"Align":"0","Tag":"","Count":2},{"Name":"rg","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":3,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":4,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":4,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":4,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"stglb","Level":9,"Align":"3","Tag":"","Count":1},{"Name":"sg","Level":9,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":2,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":1,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"smag_collect1","InstanceName":"sunduk7"}],"HotSpots":[]},{"X":2,"Y":5,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":7,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":7,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":8,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":10,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"well05","InstanceName":"fountain1"}],"HotSpots":[]},{"X":3,"Y":7,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":8,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":9,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"dangerteleport","InstanceName":"teleport6"}],"HotSpots":[{"HighlightColorString":"Transparent","Opacity":0.9,"ImageUrl":"/i/ugobj/escapepoint_yellow1.gif","CellRefs":[{"X":7,"Y":1}]}]},{"X":4,"Y":7,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":5,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"stat3","InstanceName":"stat3"}],"HotSpots":[]},{"X":4,"Y":6,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"stat2","InstanceName":"stat2"}],"HotSpots":[]},{"X":4,"Y":4,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":8,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":6,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":9,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"sg","Level":9,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":5,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":4,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"stglb","Level":9,"Align":"3","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":3,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":2,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"sg","Level":9,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":4,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":4,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":3,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":4,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":4,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"stglb","Level":9,"Align":"3","Tag":"","Count":1},{"Name":"sg","Level":9,"Align":"0","Tag":"","Count":1},{"Name":"rg","Level":9,"Align":"0","Tag":"","Count":1},{"Name":"ng","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":3,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":4,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":2,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":2,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"kk_stone_2_3e","InstanceName":"kk_stone_2_3e"}],"HotSpots":[]},{"X":9,"Y":1,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"escapepoint_blue1","InstanceName":"escape"},{"ObjectName":"proboina","InstanceName":"proboina4"}],"HotSpots":[{"HighlightColorString":"LightCoral","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":9,"Y":7}]}]},{"X":7,"Y":1,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":2,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"stglb","Level":9,"Align":"3","Tag":"","Count":2},{"Name":"rg","Level":9,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":7,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":7,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"sg","Level":9,"Align":"0","Tag":"","Count":1},{"Name":"sg","Level":9,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":7,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":7,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"ep","Level":9,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":6,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"sunduk_1","InstanceName":"sunduk_13"}],"HotSpots":[]},{"X":9,"Y":6,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":8,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":9,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":10,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"chalice","InstanceName":"halice3"}],"HotSpots":[]},{"X":9,"Y":8,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":9,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"stglb","Level":9,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":12,"Y":1,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"rabmgl","Level":9,"Align":"0","Tag":"","Count":1},{"Name":"strmgl","Level":8,"Align":"0","Tag":"hp800","Count":1},{"Name":"smotrmgl","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":12,"Y":2,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":12,"Y":3,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":13,"Y":3,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":13,"Y":2,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"trash2","InstanceName":"trash22"}],"HotSpots":[]},{"X":13,"Y":1,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":14,"Y":1,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"dangerteleport","InstanceName":"teleport8"}],"HotSpots":[{"HighlightColorString":"Transparent","Opacity":0.9,"ImageUrl":"/i/ugobj/escapepoint_yellow1.gif","CellRefs":[{"X":16,"Y":3}]}]},{"X":15,"Y":1,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":14,"Y":2,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"stat3","InstanceName":"stat3"}],"HotSpots":[]},{"X":15,"Y":2,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":15,"Y":3,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"trash2","InstanceName":"trash22"}],"HotSpots":[]},{"X":14,"Y":3,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"rabmgl","Level":9,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":14,"Y":4,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":14,"Y":5,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":15,"Y":5,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"sl","Level":9,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":13,"Y":5,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"strmgl","Level":8,"Align":"9","Tag":"hp1600","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":13,"Y":6,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":12,"Y":5,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":12,"Y":6,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":12,"Y":7,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"chest1","InstanceName":"chest13"}],"HotSpots":[]},{"X":14,"Y":7,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"trash2","InstanceName":"trash22"}],"HotSpots":[]},{"X":13,"Y":8,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":14,"Y":8,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"sl","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":15,"Y":8,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":14,"Y":9,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":14,"Y":10,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"rabmgl","Level":8,"Align":"0","Tag":"","Count":2},{"Name":"smotrmgl","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":12,"Y":10,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"entrancepoint_green1","InstanceName":"enter9"}],"HotSpots":[]},{"X":15,"Y":10,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"dangerteleport","InstanceName":"teleport7"}],"HotSpots":[{"HighlightColorString":"Transparent","Opacity":0.9,"ImageUrl":"/i/ugobj/escapepoint_yellow1.gif","CellRefs":[{"X":16,"Y":10}]}]},{"X":16,"Y":10,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":17,"Y":10,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"attentionpoint_red1","InstanceName":"danger7"}],"HotSpots":[{"HighlightColorString":"LightCoral","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":17,"Y":9}]}]},{"X":15,"Y":6,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"sl","Level":9,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":16,"Y":6,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"rabmgl","Level":9,"Align":"0","Tag":"","Count":2},{"Name":"strmgl","Level":8,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":16,"Y":7,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"trash2","InstanceName":"trash22"}],"HotSpots":[]},{"X":17,"Y":6,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":17,"Y":5,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":18,"Y":5,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":16,"Y":3,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":16,"Y":2,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"rabmgl","Level":9,"Align":"0","Tag":"","Count":2},{"Name":"strmgl","Level":8,"Align":"0","Tag":"hp800","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":16,"Y":1,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":17,"Y":1,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":17,"Y":2,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"dangerteleport","InstanceName":"teleport9"}],"HotSpots":[{"HighlightColorString":"Transparent","Opacity":0.9,"ImageUrl":"/i/ugobj/escapepoint_yellow1.gif","CellRefs":[{"X":17,"Y":3}]}]},{"X":17,"Y":3,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"sl","Level":9,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":17,"Y":9,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"sl","Level":9,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":18,"Y":9,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":19,"Y":5,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":19,"Y":6,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":20,"Y":5,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":20,"Y":6,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":21,"Y":6,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"trash2","InstanceName":"trash22"}],"HotSpots":[]},{"X":20,"Y":7,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"rabmgl","Level":8,"Align":"0","Tag":"","Count":2},{"Name":"strmgl","Level":8,"Align":"0","Tag":"hp800","Count":1},{"Name":"smotrmgl","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":20,"Y":8,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":19,"Y":8,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":20,"Y":9,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"stat1","InstanceName":"stat1"}],"HotSpots":[]},{"X":20,"Y":10,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"well05","InstanceName":"well03"}],"HotSpots":[]},{"X":19,"Y":10,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"strmgl","Level":8,"Align":"0","Tag":"hp800","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":20,"Y":4,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"trash2","InstanceName":"trash22"}],"HotSpots":[]},{"X":20,"Y":3,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"hsl","Level":9,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":21,"Y":3,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"chest01","InstanceName":"chest25"}],"HotSpots":[]},{"X":19,"Y":3,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":18,"Y":3,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"sl","Level":9,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":20,"Y":2,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"kk_stone_2_3ch","InstanceName":"kk_stone_2_3ch"}],"HotSpots":[]},{"X":21,"Y":1,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"escapepoint_blue1","InstanceName":"escape"},{"ObjectName":"proboina2","InstanceName":"proboina2"}],"HotSpots":[]},{"X":20,"Y":1,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"sunduk_1","InstanceName":"sunduk_14"}],"HotSpots":[]},{"X":19,"Y":1,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"chkng","Level":9,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":18,"Y":1,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"rabmgl","Level":9,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":18,"Y":2,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"trash2","InstanceName":"trash22"}],"HotSpots":[]},{"X":2,"Y":6,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"sg","Level":8,"Align":"0","Tag":"","Count":2},{"Name":"stglb","Level":9,"Align":"3","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":9,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"sg","Level":8,"Align":"0","Tag":"","Count":2},{"Name":"rg","Level":9,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":13,"Y":10,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"sl","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":19,"Y":9,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"sl","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":7,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"stglb","Level":9,"Align":"3","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":1,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"altar","InstanceName":"altar3"}],"HotSpots":[]},{"X":4,"Y":5,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"altar","InstanceName":"altar3"}],"HotSpots":[]},{"X":3,"Y":6,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"altar","InstanceName":"altar3"}],"HotSpots":[]},{"X":5,"Y":10,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"altar","InstanceName":"altar3"}],"HotSpots":[]},{"X":9,"Y":10,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"altar","InstanceName":"altar5"}],"HotSpots":[]},{"X":8,"Y":6,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"altar","InstanceName":"altar3"}],"HotSpots":[]},{"X":10,"Y":7,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"altar","InstanceName":"altar3"}],"HotSpots":[]},{"X":3,"Y":10,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"smag_collect1","InstanceName":"sunduk8"}],"HotSpots":[]},{"X":3,"Y":3,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"attentionpoint_red1","InstanceName":"danger8"}],"HotSpots":[]}],"LookDirection":2,"Width":23,"Height":12,"DataBounds":"1, 1, 21, 10","Name":"floor2","Caption":"2 ","Description":[]},{"Cells":[{"X":1,"Y":0,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"entrancepoint_green1","InstanceName":"enter3"}],"HotSpots":[]},{"X":1,"Y":1,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"drain_bottom","InstanceName":"drain3"}],"HotSpots":[]},{"X":2,"Y":1,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"prokl","Level":10,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":0,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"fountain5","InstanceName":"fountain55"}],"HotSpots":[]},{"X":4,"Y":0,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":1,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":0,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"chest4","InstanceName":"chest15"}],"HotSpots":[]},{"X":7,"Y":0,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":1,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"attentionpoint_red1","InstanceName":"danger6"}],"HotSpots":[]},{"X":5,"Y":1,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"trash2","InstanceName":"trash22"}],"HotSpots":[]},{"X":8,"Y":1,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":1,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"trp","Level":10,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":1,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":0,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"trash2","InstanceName":"trash22"}],"HotSpots":[]},{"X":2,"Y":2,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":3,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pp","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":3,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"trash2","InstanceName":"trash22"}],"HotSpots":[]},{"X":2,"Y":4,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"landslip1","InstanceName":"landslip11"}],"HotSpots":[]},{"X":2,"Y":5,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"chest4","InstanceName":"chest15"}],"HotSpots":[]},{"X":2,"Y":6,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"kk_stone_3_4","InstanceName":"kk_stone_3_4"}],"HotSpots":[]},{"X":1,"Y":6,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"escapepoint_blue1","InstanceName":"escape"},{"ObjectName":"blueteleport","InstanceName":"blueteleport5"}],"HotSpots":[]},{"X":2,"Y":7,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"chest4","InstanceName":"chest15"}],"HotSpots":[]},{"X":2,"Y":8,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"landslip1","InstanceName":"landslip11"}],"HotSpots":[]},{"X":2,"Y":9,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":9,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":2,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":2,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"zm","Level":10,"Align":"0","Tag":"","Count":1},{"Name":"prokl","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":3,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"pp","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":3,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":3,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"zm","Level":10,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":2,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"trash2","InstanceName":"trash22"}],"HotSpots":[]},{"X":7,"Y":3,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":3,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":2,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"trash2","InstanceName":"trash22"}],"HotSpots":[]},{"X":5,"Y":4,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"prokl","Level":10,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":5,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":6,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"shtpvl","Level":10,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":7,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":6,"Border":{"Left":0,"Top":2,"Right":1,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":6,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"dangerteleport","InstanceName":"teleport5"}],"HotSpots":[{"HighlightColorString":"Transparent","Opacity":0.9,"ImageUrl":"/i/ugobj/escapepoint_yellow1.gif","CellRefs":[{"X":5,"Y":5}]}]},{"X":5,"Y":5,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":1},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":5,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"trash2","InstanceName":"trash22"}],"HotSpots":[]},{"X":5,"Y":7,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"dangerteleport","InstanceName":"teleport4"}],"HotSpots":[{"HighlightColorString":"Transparent","Opacity":0.9,"ImageUrl":"/i/ugobj/escapepoint_yellow1.gif","CellRefs":[{"X":4,"Y":6}]}]},{"X":6,"Y":7,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"drain_bottom","InstanceName":"drain3"}],"HotSpots":[]},{"X":5,"Y":8,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":8,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"skelet1","InstanceName":"skelet11"}],"HotSpots":[]},{"X":4,"Y":9,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":10,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":10,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":11,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"zm","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":12,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":11,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"zm","Level":10,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":11,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pp","Level":10,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":11,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":11,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":11,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"prokl","Level":10,"Align":"0","Tag":"","Count":2},{"Name":"zm","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":10,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":9,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":8,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"prokl","Level":10,"Align":"0","Tag":"","Count":1},{"Name":"zm","Level":10,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":7,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":6,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":6,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"trash2","InstanceName":"trash22"}],"HotSpots":[]},{"X":9,"Y":3,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"zm","Level":10,"Align":"0","Tag":"","Count":2},{"Name":"prokl","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":2,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pp","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":4,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"bzomb","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":4,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":5,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"drain_bottom","InstanceName":"drain3"}],"HotSpots":[]},{"X":10,"Y":5,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":6,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"prokl","Level":10,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":7,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pp","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":8,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":9,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"prokl","Level":10,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":10,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"drain_bottom","InstanceName":"drain3"}],"HotSpots":[]},{"X":10,"Y":11,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pp","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":8,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"landslip1","InstanceName":"landslip11"}],"HotSpots":[]},{"X":9,"Y":8,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":11,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":11,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"drain_bottom","InstanceName":"drain3"}],"HotSpots":[]},{"X":2,"Y":12,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":12,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":13,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"zm","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":13,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"trash2","InstanceName":"trash22"}],"HotSpots":[]},{"X":4,"Y":13,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":13,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"zm","Level":10,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":14,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":15,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"zm","Level":10,"Align":"0","Tag":"","Count":2},{"Name":"zm","Level":10,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":15,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":15,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"zm","Level":10,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":15,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pp","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":15,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":16,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"zm","Level":10,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":17,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pp","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":12,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"prokl","Level":10,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":13,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"bzomb","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":14,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pp","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":15,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"zm","Level":10,"Align":"0","Tag":"","Count":2},{"Name":"prokl","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":16,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":17,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":12,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":13,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":13,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"trash2","InstanceName":"trash22"}],"HotSpots":[]},{"X":9,"Y":14,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"proboina","InstanceName":"proboina3"}],"HotSpots":[]},{"X":8,"Y":14,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"chalice","InstanceName":"halice2"}],"HotSpots":[]},{"X":7,"Y":14,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"chest4","InstanceName":"chest15"}],"HotSpots":[]},{"X":7,"Y":15,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":15,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"plen","Level":10,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":15,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":18,"Border":{"Left":0,"Top":1,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"arrowup","InstanceName":"arrow1"}],"HotSpots":[]},{"X":9,"Y":18,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":19,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"chest01","InstanceName":"chest24"}],"HotSpots":[]},{"X":8,"Y":19,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":18,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"zm","Level":10,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":17,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":17,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":17,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":17,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"zm","Level":10,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":19,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"trash2","InstanceName":"trash22"}],"HotSpots":[]},{"X":6,"Y":19,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":17,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":17,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"trash2","InstanceName":"trash22"}],"HotSpots":[]},{"X":5,"Y":19,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"pp","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":19,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":19,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"zm","Level":10,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":19,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":18,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"zm","Level":10,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":19,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"entrancepoint_green1","InstanceName":"ladder02"}],"HotSpots":[]},{"X":2,"Y":20,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":18,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":13,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"pp","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":3,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"landslip1","InstanceName":"landslip11"}],"HotSpots":[]}],"LookDirection":2,"Width":12,"Height":21,"DataBounds":"1, 0, 10, 21","Name":"floor3","Caption":"3 ","Description":[]},{"Cells":[{"X":1,"Y":8,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"zm","Level":10,"Align":"9","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":9,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"lab","InstanceName":"lab4"}],"HotSpots":[{"HighlightColorString":"#3E4F4F","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":1,"Y":8},{"X":1,"Y":10},{"X":2,"Y":8},{"X":3,"Y":8},{"X":3,"Y":9},{"X":4,"Y":10},{"X":4,"Y":9},{"X":4,"Y":8},{"X":3,"Y":10},{"X":2,"Y":10},{"X":2,"Y":9}]}]},{"X":1,"Y":10,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"zm","Level":10,"Align":"9","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":8,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"zm","Level":10,"Align":"9","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":8,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"prokl","Level":10,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":9,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":10,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":9,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"prokl","Level":10,"Align":"9","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":8,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":9,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"bzomb","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":9,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"prokl","Level":10,"Align":"9","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":8,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":6,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":5,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":9,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"bzomb","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":8,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":7,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"bzomb","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":9,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":9,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"bzomb","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":8,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":10,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"entrancepoint_green1","InstanceName":"enter10"}],"HotSpots":[]},{"X":9,"Y":7,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":7,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"bzomb","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":6,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"prokl","Level":10,"Align":"9","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":6,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":6,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"prokl","Level":10,"Align":"9","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":5,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":4,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":4,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"drstr","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":4,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":4,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"drstr","Level":10,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":3,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"drstr","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":2,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":1,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"drstr","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":1,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"drstr","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":2,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":3,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"drstr","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":2,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"attentionpoint_red1","InstanceName":"danger10"}],"HotSpots":[{"HighlightColorString":"LightCoral","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":10,"Y":3},{"X":10,"Y":1},{"X":8,"Y":1},{"X":8,"Y":3}]}]},{"X":9,"Y":3,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":1,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"drstr","Level":10,"Align":"9","Tag":" 10 ","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":1,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":1,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"enterdoor","InstanceName":"enterdoor3"}],"HotSpots":[{"HighlightColorString":"#3E4F4F","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":7,"Y":1}]}]},{"X":3,"Y":1,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":1,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"vumpel1","InstanceName":"vumpel11"}],"HotSpots":[]},{"X":1,"Y":1,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":2,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":4,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"gobelin2","InstanceName":"gobelin2"}],"HotSpots":[]},{"X":2,"Y":4,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"throne1","InstanceName":"throne11"}],"HotSpots":[]},{"X":1,"Y":3,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"sunduk_3","InstanceName":"sunduk_32"}],"HotSpots":[]},{"X":2,"Y":3,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pvlt","Level":10,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":2,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"attentionpoint_red1","InstanceName":"danger5"}],"HotSpots":[{"HighlightColorString":"LightCoral","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":2,"Y":3}]}]},{"X":1,"Y":2,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"attentionpoint_red1","InstanceName":"danger5"}],"HotSpots":[{"HighlightColorString":"LightCoral","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":2,"Y":3}]}]},{"X":6,"Y":4,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":4,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"drstr","Level":10,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":3,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":2,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"drstr","Level":10,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":2,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":2,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"drstr","Level":10,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":3,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":3,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":10,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"prokl","Level":10,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":10,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"zm","Level":10,"Align":"9","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":9,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"drstr","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":9,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"prokl","Level":10,"Align":"9","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":1,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"altar","InstanceName":"altar4"}],"HotSpots":[]},{"X":6,"Y":7,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"altar","InstanceName":"altar3"}],"HotSpots":[]},{"X":1,"Y":4,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"gobelin1","InstanceName":"gobelin11"}],"HotSpots":[]},{"X":7,"Y":1,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"sunduk_1","InstanceName":"sunduk_12"}],"HotSpots":[{"HighlightColorString":"#3E4F4F","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":4,"Y":1}]},{"HighlightColorString":"#3E4F4F","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":1,"Y":8},{"X":1,"Y":9},{"X":1,"Y":10},{"X":2,"Y":8},{"X":3,"Y":8},{"X":3,"Y":9},{"X":4,"Y":10},{"X":4,"Y":9},{"X":4,"Y":8},{"X":3,"Y":10},{"X":2,"Y":10},{"X":2,"Y":9}]}]},{"X":3,"Y":3,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"sunduk_4","InstanceName":"sunduk_41"}],"HotSpots":[]},{"X":0,"Y":1,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"zabgol","Level":11,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[{"ObjectName":"forge","InstanceName":"forge4"}],"HotSpots":[]}],"LookDirection":2,"Width":12,"Height":12,"DataBounds":"0, 1, 11, 10","Name":"floor4","Caption":"4 ","Description":[]}],"Pages":[],"Shops":[{"NewLineToBR":true,"ImageBasePath":"https://img.new-combats.com/i/items/","Categories":[{"NewLineToBR":true,"Items":[{"NewLineToBR":true,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"Key24","Caption":" 4","Description":[": 1",": 0/1"," Demons city"," "," ",""," , B4."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"kk_stone_2_3ch","Caption":" ","Description":[": 1",": 0/1"," : 7 ."," Demons city"," "," ",""," U3 ."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"kk_stone_2_3e","Caption":" ","Description":[": 1",": 0/1"," : 7 ."," Demons city"," "," ",""," K3 ."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"kk_stone_3_4","Caption":" ","Description":[": 1",": 0/1"," : 7 .",": 1 ."," Demons city"," "," ",""," 7 ."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"key_cube_1","Caption":" ","Description":[": 1",": 0/1"," Demons city"," "," ",""," K7/b> . "," , ."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"key_cube_2","Caption":" ","Description":[": 1",": 0/1"," Demons city"," "," ",""," U2 . "," , ."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"key_cube_3","Caption":" ","Description":[": 1",": 0/1"," Demons city"," "," "]}],"Name":"key","Caption":"","Description":[" : ( E14), ( D13) ( C14). K .",""," . , J2 ."]},{"NewLineToBR":true,"Items":[{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"d_blat-6","Caption":" ","Description":[": 1",": 1 .",": 0/1"," : 99%"," 5 . ",":"," 6 ."," Demons city"," "," ",""," , C11."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"paper100","Caption":" 10 . ","Description":[": 1 ",": 10 .",": 0/1"," Demons city"," "," ",""," , K4, K7, K11."," . . , . "]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"preservation","Caption":"","Description":[": 1 ",": 1 . "," : 99% "," : "," : "," ..."," Demons city"," "," ",""," , B20."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"spell_powerHPup3","Caption":" +3","Description":[": 1 ",": 20 . ",": 0/3 "," : 50% "," : 120 . "," : "," : 7"," Demons city"," "," ",""]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"spell_powerHPdn3","Caption":" 3","Description":[": 1 ",": 10 . ",": 0/3 "," : 50% "," : 120 . "," : "," : 7"," Demons city"," "," "]}],"Name":"spell","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"enh_1_0","Caption":" [0]","Description":[": 1 ",": 5 . ",": 0/1 ",":"," - . ..."," Demons city"," "," ",""," ."," , D4 ."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"enh_1_1","Caption":" [1]","Description":[": 1 ",": 15 . ",": 0/1 "," : 99%",":"," - . , ."," Demons city"," "," ",""," ."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"enh_1_2","Caption":" [2]","Description":[": 1 ",": 50 . ",": 0/1 "," : 99%",":"," - . , ."," Demons city"," "," ",""]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"enh_1_3","Caption":" [3]","Description":[": 1 ",": 150 . "," : 99%",": 0/1 ",":"," , ."," Demons city"," "," "]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"enh_3_0","Caption":" [0]","Description":[": 1 ",": 5 . ",": 0/1 ",":"," - . ..."," Demons city"," "," ",""," ."," , D4 ."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"enh_3_1","Caption":" [1]","Description":[": 1 ",": 15 . ",": 0/1 "," : 99%",":"," - . ."," Demons city"," "," ",""," ."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"enh_3_2","Caption":" [2]","Description":[": 1 ",": 50 . ",": 0/1 "," : 99%",":"," - . ."," Demons city"," "," ",""]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"enh_3_3","Caption":" [3]","Description":[": 1 ",": 150 . "," : 99%",": 0/1 ",":"," ."," Demons city"," "," "]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"enh_4_0","Caption":" [0]","Description":[": 1 ",": 5 . ",": 0/1 ",":"," - . ..."," Demons city"," "," ",""," ."," , D4 ."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"enh_4_1","Caption":" [1]","Description":[": 1 ",": 15 . ",": 0/1 "," : 99%",":"," - . ."," Demons city"," "," ",""," ."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"enh_4_2","Caption":" [2]","Description":[": 1 ",": 50 . ",": 0/1 "," : 99%",":"," - . ."," Demons city"," "," "]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"enh_4_3","Caption":" [3]","Description":[": 1 ",": 150 . "," : 99%",": 0/1 ",":"," ."," Demons city"," "," "]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"enh_5_0","Caption":" [0]","Description":[": 1 ",": 5 . ",": 0/1 ",":"," - . ..."," Demons city"," "," ",""," ."," , D4 ."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"enh_5_1","Caption":" [1]","Description":[": 1 ",": 15 . ",": 0/1 "," : 99%",":"," - . , ."," Demons city"," "," ",""," ."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"enh_5_2","Caption":" [2]","Description":[": 1 ",": 50 . ",": 0/1 "," : 99%",":"," - . , ."," Demons city"," "," "]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"enh_5_3","Caption":" [3]","Description":[": 1 ",": 150 . "," : 99%",": 0/1 ",":"," , ."," Demons city"," "," "]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"enh_9_0","Caption":" [0]","Description":[": 1 ",": 5 . ",": 0/1 ",":"," - . ..."," Demons city"," "," ",""," ."," , D4 ."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"enh_9_1","Caption":" [1]","Description":[": 1 ",": 15 . ",": 0/1 "," : 99%",":"," - . ."," Demons city"," "," ",""," ."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"enh_9_2","Caption":" [2]","Description":[": 1 ",": 50 . ",": 0/1 "," : 99%",":"," - . ."," Demons city"," "," "]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"enh_9_3","Caption":" [3]","Description":[": 1 ",": 150 . "," : 99%",": 0/1 ",":"," ."," Demons city"," "," "]}],"Name":"enh","Caption":" ","Description":[" , B10.",""," , , .",""," ."]},{"NewLineToBR":true,"Items":[{"NewLineToBR":true,"W":20,"H":20,"Binding":2,"IsGift":false,"Name":"ring120_si8","Caption":" ","Description":[": 1 ",": 100 . ",": 0/50 "," : "," : 9 "," : 3 "," : 25 "," : 25 "," : "," : "," . (%): +50"," Demons city"," "," ",""," ."]},{"NewLineToBR":true,"W":20,"H":20,"Binding":2,"IsGift":false,"Name":"ring121_si8","Caption":" ","Description":[": 1 ",": 100 . ",": 0/50 "," : "," : 9 "," : 3 "," : 25 "," : 25 "," : "," : "," . (%): +25 "," . (%): +25"," Demons city"," "," ",""," ."]}],"Name":"rings","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":true,"W":60,"H":20,"Binding":3,"IsGift":false,"Name":"aamulet2_hs3hg2","Caption":" ","Description":[": 1",": 415 . ",": 0/100"," :"," : 50 "," : 20 "," : 20 "," : 35 "," : 10 "," :"," : +4 "," : +4"," : +15"," : +10"," (HP): +120 "," . : +125%"," . : +125%"," : +2"," , : +2"," , : +2"," , : +2"," Demons city"," "," ",""," ."]}],"Name":"amulet","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":true,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"ashield6_7dk29as","Caption":" ","Description":[": 390 .",": 0/100"," :"," : 10"," : 20"," : 20"," : 50"," : 75"," :"," . (%): +75"," . (%): +45"," : +10"," (HP): +90"," : +4"," : 14-52 (13+d39)"," : 14-52 (13+d39)"," : 14-52 (13+d39)"," : 14-52 (13+d39)"," :"," . (%): +25"," Demons city"," "," ",""," ."]}],"Name":"shield","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":true,"W":60,"H":40,"Binding":3,"IsGift":false,"Name":"aboots2_dk2kd9","Caption":" ","Description":[": 10",": 310 . ",": 0/100"," :"," : 50 "," : 50 "," : 20 "," : 35 "," : 10 "," :"," : +6 "," : +2 "," : +20 "," (HP): +54"," : 14-52 (13+d39) "," . : +70 % "," . : +70 % "," :"," : +15"," Demons city"," "," ",""," , ."]}],"Name":"boots","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":true,"W":60,"H":60,"Binding":2,"IsGift":false,"Name":"hammer71","Caption":" ()","Description":[": 30 ",": 370 . ",": 0/60 "," : "," : 15 "," : 15 "," : 9 "," , : 5 "," : 50 "," : 55 "," : "," . (%): +20 "," : +2 "," : "," : 34 - 52"," . (%): +80 "," . (%): +25 "," , : +2 "," "," : + ",": "," : "," : "," : [0/13] "," Demons city"," "," ",""," ."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"sword106_kki8","Caption":" ","Description":[": 20",": 280 . ",": 0/70"," :"," : 50 "," : 25 "," : 25 "," : 35 "," : 10 "," : 5 "," :"," . (%): +10"," :"," : 14 - 38"," . : +80 % "," . : +10 % "," : +3"," : ",":"," : "," : "," : "," : "," Demons city"," "," ",""," ."]}],"Name":"arms","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"sword8","Caption":" ","Description":[": 8 ",": 0 . ",": 0/3 "," : "," : 4 "," : 20 "," : 20 "," : "," : 7 - 18 "," . (%): +50 "," : + ",": "," : "," : "," : "," : "," Demons city"," "," ",""," ."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"sword11","Caption":" ","Description":[": 8 ",": 0 . ",": 0/3 "," : "," : 3 "," : 15 "," : 15 "," : "," . (%): +50 "," : "," : 5 - 16 "," . (%): +50 "," : +2 "," : + ",": "," : "," : "," : "," : "," Demons city"," "," ",""," ."]},{"NewLineToBR":true,"W":60,"H":80,"Binding":0,"IsGift":false,"Name":"armor8","Caption":"c ","Description":[": 25 ",": 0/3 "," : "," : 5 "," : 25 "," : 25 "," : "," . (%): +25 "," . (%): +20 "," . (%): +25 "," : +1 "," : +1 "," , : +1 "," , : +1 "," , : +1 "," (HP): +33 "," : +4 "," : 1-18 (d18)"," Demons city"," "," ",""," ."]},{"NewLineToBR":true,"W":60,"H":20,"Binding":0,"IsGift":false,"Name":"clip8","Caption":" ","Description":[": 1 ",": 0 . ",": 0/3 "," : "," : 3 "," : 15 "," : 15 "," : "," . (%): +20 "," . (%): +20 "," . (%): +20 "," . (%): +20"," Demons city"," "," ",""," ."]},{"NewLineToBR":true,"W":60,"H":20,"Binding":0,"IsGift":false,"Name":"clip7","Caption":" ","Description":[": 1 ",": 0 . ",": 0/3 "," : "," : 2 "," : 8 "," : 8 "," : "," : +3 "," : +3 "," : +3 "," : +3"," Demons city"," "," "]},{"NewLineToBR":true,"W":60,"H":20,"Binding":0,"IsGift":false,"Name":"clip1","Caption":" ","Description":[": 1 ",": 0 . ",": 0/3 "," : "," : 4 "," : 15 "," : 20 "," : "," : +12 "," . (%): +50"," Demons city"," "," ",""]}],"Name":"rar","Caption":" ","Description":[" ."]},{"NewLineToBR":true,"Items":[{"NewLineToBR":true,"W":60,"H":80,"Binding":3,"IsGift":false,"Name":"armor109_ppwa","Caption":" ","Description":[": 45",": 525 . ",": 0/100"," :"," : 45 "," : 40 "," : 10 "," :"," : +4 "," : +35"," : +25"," (HP): +200"," . (%): +60 +75 "," . : +100%"," . : +65%"," : +2"," , : +2"," , : +2"," , : +2"," :"," : +25",":"," : "," : "," : "," : "," Demons city"," "," ",""," ."]},{"NewLineToBR":true,"W":60,"H":80,"Binding":3,"IsGift":false,"Name":"armor109_ppwa","Caption":" ","Description":[": 45",": 525 . ",": 0/100"," :"," : 45 "," : 40 "," : 10 "," :"," : +4 "," : +35"," : +25"," (HP): +200"," . (%): +60 +75 "," . : +100%"," . : +65%"," : +2"," , : +2"," , : +2"," , : +2"," :"," : +25",":"," : "," : "," : "," : "," Demons city"," "," ",""," ."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"sword107_ppwl","Caption":" ","Description":[": 35",": 420 . ",": 0/100"," :"," : 10 "," : 5 "," : 40 "," : 40 "," :"," . (%): +100 "," : +9 +12 "," :"," : 30 - 48 "," : +3 "," "," : + ",":"," : "," : "," : "," Demons city"," "," ",""," ."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"sword107_ppwl","Caption":" ","Description":[": 35",": 420 . ",": 0/100"," :"," : 10 "," : 5 "," : 40 "," : 40 "," :"," . (%): +100 "," : +9 +12 "," :"," : 30 - 48 "," : +3 "," "," : + ",":"," : "," : "," : "," Demons city"," "," ",""," ."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"sword107_ppwl","Caption":" ","Description":[": 35",": 420 . ",": 0/100"," :"," : 10 "," : 5 "," : 40 "," : 40 "," :"," . (%): +100 "," : +9 +12 "," :"," : 30 - 48 "," : +3 "," "," : + ",":"," : "," : "," : "," Demons city"," "," ",""," ."]}],"Name":"armorsword","Caption":" ","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"pot_base_200_bot3","Caption":" ","Description":[": 1 ",": 1 . ","e: 0/1 "," o: 30 . ","e : 1 . 30 . ","e : "," : +15 "," Demons city"," "," ",""," ."," , C11."," , B11 , U11."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"pot_base_200_bot3","Caption":" ","Description":[": 1 ",": 1 . ","e: 0/1 "," o: 30 . ","e : 3 . 0 . ","e : "," : +15 "," Demons city"," "," ",""," , D1."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"pot_base_200_bot2","Caption":" ","Description":[": 1 ",": 1 . ","e: 0/1 "," o: 30 . ","e : 1 . 30 . ","e : "," : +15 "," Demons city"," "," ",""," ."," , C11."," , B11 , U11."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"pot_base_200_bot2","Caption":" ","Description":[": 1 ",": 1 . ","e: 0/1 "," o: 30 . ","e : 3 . 0 . ","e : "," : +15 "," Demons city"," "," ",""," , D1."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"pot_base_200_bot1","Caption":" ","Description":[": 1 ",": 1 . ","e: 0/1 "," o: 30 . ","e : 1 . 30 . ","e : "," : +15 "," Demons city"," "," ",""," ."," , C11."," , B11 , U11."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"pot_base_200_bot1","Caption":" ","Description":[": 1 ",": 1 . ","e: 0/1 "," o: 30 . ","e : 3 . 0 . ","e : "," : +15 "," Demons city"," "," ",""," , D1."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"pot_base_200_bot4","Caption":" ","Description":[": 1 ",": 1 . ","e: 0/1 "," o: 30 . ","e : 1 . 30 . ","e : "," : +10 "," Demons city"," "," ",""," ."," , C11."," , B11 , U11."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"pot_base_200_bot4","Caption":" ","Description":[": 1 ",": 1 . ","e: 0/1 "," o: 30 . ","e : 3 . 0 . ","e : "," : +10 "," Demons city"," "," ",""," , D1."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"pot_base_50_fireproof","Caption":" ","Description":[": 5 ",": 1 . ",": 0/1"," : 30 ."," : 1 . 30 . "," : "," : 4 "," : "," : +50 "," Demons city"," "," ",""," , F11."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"pot_base_50_earthproof","Caption":" ","Description":[": 5 ",": 1 . ",": 0/1"," : 30 ."," : 1 . 30 . "," : "," : 4 "," : "," : +50 "," Demons city"," "," ",""," , F11."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"pot_base_50_airproof","Caption":" ","Description":[": 5 ",": 1 . ",": 0/1"," : 30 ."," : 1 . 30 . "," : "," : 4 "," : "," : +50 "," Demons city"," "," ",""," , F11."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"pot_base_50_waterproof","Caption":" ","Description":[": 5 ",": 1 . ",": 0/1"," : 30 ."," : 1 . 30 . "," : "," : 4 "," : "," : +50 "," Demons city"," "," ",""," , F11."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"pot_anti_poison_5","Caption":" [5]","Description":[": 1",": 1 . ",": 0/3-5"," : 30 ."," : ",":"," ."," Demons city"," "," ",""," , H11."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"pot_anti_disease_5","Caption":" [5]","Description":[": 1",": 1 . ",": 0/3-5"," : 30 ."," : ",":"," "," Demons city"," "," ",""," , I15."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"pot_cureHP600_50","Caption":" ","Description":[": 1 ",": 1 . ",": 0/1"," : 30 . ",":"," 600 ."," Demons city"," "," ",""," , J8."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"pot_base_50_regeneration","Caption":" ","Description":[": 5 ",": 10 . ",": 0/10 "," : 15 . "," : 120 "," : "," HP: +300%"," Demons city"," "," ",""," ."]}],"Name":"pot_base","Caption":"","Description":[", , ."]}],"Name":"maters","Caption":"","Description":["

    "]},{"NewLineToBR":true,"ImageBasePath":"https://img.new-combats.com/i/items/","Categories":[{"NewLineToBR":true,"Items":[{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_mat15","Caption":" ","Description":[": 1",": 300 . ",": 0/1 "," ",":"," [10] , ."]}],"Name":"sp_mat","Caption":" ","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"mater267","Caption":" ","Description":[": 40 .
    : 1
    : [ ]x8
    : 0/1

    :
    [10] , .
    "]}],"Name":"other","Caption":". ","Description":[]}],"Name":"demonsknightshop","Caption":"","Description":["

    ,


    ","

    Demons ity 10 000, .

    "]}],"IsDungeon":true,"Name":"demons","Caption":"","Description":[]}); +underground.addDungeon({"RequiredScriptNames":["dungeon.data.emerald.js","dungeon.data.angel.capital.demons.emerald.novice.sand.js","dungeon.data.capital.demons.emerald.js","dungeon.data.abandon.capital.emerald.sand.js","dungeon.data.angel.capital.emerald.sand.js","dungeon.data.capital.demons.emerald.sand.js","dungeon.data.capital.emerald.sand.js","dungeon.data.capital.demons.emerald.novice.sand.js"],"NewLineToBR":true,"CellBackgroundColorString":"#C4E5C1","CellBorderColorString":"#70906A","Jobs":{"CollectiveJobs":[{"Caption":" ","ImageUrl":"https://img.new-combats.com/i/items/mater203.gif","ItemReward":4,"Description":[" \" \" . \" \", , . ..."],"DefCount":25},{"Caption":" ","ImageUrl":"https://img.new-combats.com/i/items/mater213.gif","ItemReward":20,"Description":[" , , \" \" . \" \"."],"DefCount":5},{"Caption":"","ImageUrl":"https://img.new-combats.com/i/items/mater223.gif","ItemReward":13,"Description":[" , \"\" . \" \". "],"DefCount":13},{"Caption":"","ImageUrl":"https://img.new-combats.com/i/items/mater214.gif","ItemReward":10,"Description":[" , , \"\" . \" \", , . "],"DefCount":13},{"Caption":" ","ImageUrl":"https://img.new-combats.com/i/items/mater222.gif","ItemReward":3,"Description":[" , \" \" . \" \" . ... "],"DefCount":35}],"CapturedJobs":[{"Caption":" ","ImageUrl":"https://img.new-combats.com/i/items/mater225.gif","ItemReward":50,"Description":[" , \" \" . c \" \". ... ",""," [10] ."],"DefCount":10},{"Caption":" ","ImageUrl":"https://img.new-combats.com/i/items/mater226.gif","ItemReward":50,"Description":[" , \" \" . \" \". ",""," [10] ."],"DefCount":10},{"Caption":" ","ImageUrl":"https://img.new-combats.com/i/items/mater219.gif","ItemReward":25,"Description":[" , \" \" . \" \". , ... ",""," ."],"DefCount":13}],"KillingJobs":[{"MobName":"skr","Unique":false,"Description":[" , \" \", \" \"."],"DefCount":10},{"MobName":"bkr","Unique":false,"Description":[" , \" \", \" \". , ..."],"DefCount":10},{"MobName":"pkr","Unique":false,"Description":[" , \" \", \" \". "],"DefCount":8},{"MobName":"dkr","Unique":false,"Description":[" , \" \", \" \"."],"DefCount":8}]},"Floors":[{"Cells":[{"X":1,"Y":9,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":9,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":9,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"dkr","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":8,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"bkr","Level":8,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":8,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pkr","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":9,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":9,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"bkr","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":9,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":8,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"skr","Level":8,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":10,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":10,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"bkr","Level":8,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":10,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":10,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"entrancepoint_green1","InstanceName":"enter2"}],"HotSpots":[]},{"X":9,"Y":9,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":8,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"skr","Level":8,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":7,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":7,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":6,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"skr","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":5,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":5,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"dkr","Level":8,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":4,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":3,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"bkr","Level":8,"Align":"0","Tag":"","Count":1},{"Name":"skr","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":7,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"fountain5","InstanceName":"fountain52"}],"HotSpots":[{"HighlightColorString":"#3E4F4F","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":2,"Y":2},{"X":3,"Y":2},{"X":4,"Y":2},{"X":2,"Y":1},{"X":3,"Y":1},{"X":4,"Y":1}]}]},{"X":3,"Y":6,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"bkr","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":7,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":6,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pkr","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":5,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":5,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"dkr","Level":8,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":5,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"dkr","Level":9,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":5,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":6,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"skr","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":7,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":2,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pkr","Level":9,"Align":"0","Tag":"","Count":1},{"Name":"skr","Level":9,"Align":"0","Tag":"","Count":1},{"Name":"bkr","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":5,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":2,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"frontdoor","InstanceName":"frontdoor1"}],"HotSpots":[]},{"X":7,"Y":1,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"escapepoint_blue1","InstanceName":"escape"},{"ObjectName":"ladder","InstanceName":"ladder3"}],"HotSpots":[]},{"X":7,"Y":3,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[{"HighlightColorString":"Transparent","Opacity":0.9,"ImageUrl":"/i/ugobj/entrancepoint_yellow1.gif","CellRefs":[{"X":3,"Y":1}]}]},{"X":1,"Y":4,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"skr","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":4,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":4,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":4,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":4,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pkr","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":3,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":2,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"pkr","Level":9,"Align":"0","Tag":"","Count":1},{"Name":"skr","Level":8,"Align":"0","Tag":"","Count":1},{"Name":"bkr","Level":8,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":2,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"skr","Level":8,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":2,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"skr","Level":8,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":1,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"skr","Level":8,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":1,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"blueteleport","InstanceName":"blueteleport3"}],"HotSpots":[{"HighlightColorString":"Transparent","Opacity":0.9,"ImageUrl":"/i/ugobj/escapepoint_yellow1.gif","CellRefs":[{"X":7,"Y":3}]},{"HighlightColorString":"LightCoral","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":4,"Y":5}]},{"HighlightColorString":"#3E4F4F","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":2,"Y":2},{"X":3,"Y":2},{"X":4,"Y":2},{"X":2,"Y":1},{"X":4,"Y":1}]}]},{"X":4,"Y":1,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"bkr","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]}],"LookDirection":3,"Width":11,"Height":12,"DataBounds":"1, 1, 9, 10","Name":"floor1","Caption":"1 ","Description":[]},{"Cells":[{"X":1,"Y":8,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":7,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"dkr","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":6,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":5,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"dkr","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":5,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":8,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"skr","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":8,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"dkr","Level":9,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":9,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":7,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"dkr","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":6,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"dkr","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":5,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"dkr","Level":8,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":4,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":3,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":2,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"skr","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":2,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"skr","Level":9,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":2,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"bkr","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":1,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pkr","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":1,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"blueteleport","InstanceName":"blueteleport4"}],"HotSpots":[]},{"X":1,"Y":1,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"dkr","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":2,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":3,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":3,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":4,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"bkr","Level":9,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":5,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":5,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":6,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"dkr","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":7,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"skr","Level":9,"Align":"9","Tag":"","Count":1},{"Name":"pkr","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":7,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":8,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":9,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"entrancepoint_green1","InstanceName":"enter7"}],"HotSpots":[]},{"X":6,"Y":7,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"redteleport","InstanceName":"redteleport5"}],"HotSpots":[{"HighlightColorString":"Transparent","Opacity":0.9,"ImageUrl":"/i/ugobj/escapepoint_yellow1.gif","CellRefs":[{"X":8,"Y":6}]}]},{"X":7,"Y":3,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[{"HighlightColorString":"Transparent","Opacity":0.9,"ImageUrl":"/i/ugobj/entrancepoint_yellow1.gif","CellRefs":[{"X":8,"Y":4}]}]},{"X":7,"Y":2,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"bkr","Level":9,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":1,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"redteleport","InstanceName":"redteleport9"}],"HotSpots":[{"HighlightColorString":"Transparent","Opacity":0.9,"ImageUrl":"/i/ugobj/escapepoint_yellow1.gif","CellRefs":[{"X":9,"Y":3}]}]},{"X":9,"Y":1,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"redteleport_small_left","InstanceName":"redteleport2"},{"ObjectName":"redteleport_small_right","InstanceName":"redteleport2"}],"HotSpots":[{"HighlightColorString":"Transparent","Opacity":0.9,"ImageUrl":"/i/ugobj/escapepoint_yellow1.gif","CellRefs":[{"X":2,"Y":5},{"X":9,"Y":9}]}]},{"X":9,"Y":2,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"skr","Level":9,"Align":"0","Tag":"","Count":1},{"Name":"bkr","Level":9,"Align":"0","Tag":"","Count":1},{"Name":"pkr","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":3,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[{"HighlightColorString":"Transparent","Opacity":0.9,"ImageUrl":"/i/ugobj/entrancepoint_yellow1.gif","CellRefs":[{"X":7,"Y":1}]}]},{"X":8,"Y":4,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"redteleport_small_left","InstanceName":"redteleport1"},{"ObjectName":"redteleport_small_right","InstanceName":"redteleport1"}],"HotSpots":[{"HighlightColorString":"Transparent","Opacity":0.9,"ImageUrl":"/i/ugobj/escapepoint_yellow1.gif","CellRefs":[{"X":7,"Y":3},{"X":10,"Y":6}]}]},{"X":10,"Y":4,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"fountain4_small","InstanceName":"fountain41"},{"ObjectName":"redteleport_small_right","InstanceName":"redteleport3"}],"HotSpots":[{"HighlightColorString":"Transparent","Opacity":0.9,"ImageUrl":"/i/ugobj/escapepoint_yellow1.gif","CellRefs":[{"X":11,"Y":8}]}]},{"X":8,"Y":5,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pkr","Level":9,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":6,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[{"HighlightColorString":"Transparent","Opacity":0.9,"ImageUrl":"/i/ugobj/entrancepoint_yellow1.gif","CellRefs":[{"X":6,"Y":7}]}]},{"X":10,"Y":5,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"skr","Level":9,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":6,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[{"HighlightColorString":"Transparent","Opacity":0.9,"ImageUrl":"/i/ugobj/entrancepoint_yellow1.gif","CellRefs":[{"X":8,"Y":4}]}]},{"X":9,"Y":7,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"frontdoor","InstanceName":"frontdoor1"}],"HotSpots":[]},{"X":9,"Y":8,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"skr","Level":9,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[{"ObjectName":"redteleport","InstanceName":"redteleport6"}],"HotSpots":[{"HighlightColorString":"Transparent","Opacity":0.9,"ImageUrl":"/i/ugobj/escapepoint_yellow1.gif","CellRefs":[{"X":5,"Y":5}]}]},{"X":9,"Y":9,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[{"HighlightColorString":"Transparent","Opacity":0.9,"ImageUrl":"/i/ugobj/entrancepoint_yellow1.gif","CellRefs":[{"X":9,"Y":1}]}]},{"X":11,"Y":7,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"escapepoint_blue1","InstanceName":"escape"},{"ObjectName":"ladder","InstanceName":"ladder4"}],"HotSpots":[]},{"X":11,"Y":8,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[{"HighlightColorString":"Transparent","Opacity":0.9,"ImageUrl":"/i/ugobj/entrancepoint_yellow1.gif","CellRefs":[{"X":10,"Y":4}]}]}],"LookDirection":3,"Width":13,"Height":11,"DataBounds":"1, 1, 11, 9","Name":"floor2","Caption":"2 ","Description":[]},{"Cells":[{"X":1,"Y":5,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"fountain6","InstanceName":"fountain63"}],"HotSpots":[{"HighlightColorString":"#3E4F4F","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":2,"Y":6},{"X":2,"Y":7},{"X":2,"Y":8},{"X":3,"Y":8},{"X":3,"Y":7},{"X":3,"Y":6}]},{"HighlightColorString":"LightCoral","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":2,"Y":5}]}]},{"X":2,"Y":5,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"kv","Level":14,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[{"HighlightColorString":"DarkGreen","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":7,"Y":4},{"X":7,"Y":5},{"X":8,"Y":5},{"X":9,"Y":5},{"X":9,"Y":4},{"X":9,"Y":6},{"X":8,"Y":11},{"X":7,"Y":6},{"X":6,"Y":6},{"X":5,"Y":4},{"X":6,"Y":4},{"X":6,"Y":5}]}]},{"X":3,"Y":4,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":3,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pkr","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":2,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pkr","Level":9,"Align":"0","Tag":"","Count":6}],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":2,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":2,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"skr","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":1,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"smag_collect1","InstanceName":"sunduk2"}],"HotSpots":[{"HighlightColorString":"LightCoral","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":10,"Y":7}]}]},{"X":6,"Y":2,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":2,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":3,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":4,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"dkr","Level":11,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[{"HighlightColorString":"Red","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":7,"Y":5},{"X":7,"Y":6},{"X":6,"Y":6},{"X":6,"Y":4},{"X":6,"Y":5}]}]},{"X":7,"Y":5,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"dkr","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[{"HighlightColorString":"Red","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":7,"Y":4},{"X":7,"Y":6},{"X":6,"Y":6},{"X":6,"Y":4},{"X":6,"Y":5}]}]},{"X":8,"Y":5,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":5,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":4,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"escapepoint_blue1","InstanceName":"escape"},{"ObjectName":"ladder","InstanceName":"ladder5"}],"HotSpots":[]},{"X":9,"Y":6,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"bkr","Level":10,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":7,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":7,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"dkr","Level":8,"Align":"0","Tag":"","Count":12}],"ObjectRefs":[],"HotSpots":[{"HighlightColorString":"#3E4F4F","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":5,"Y":1}]}]},{"X":10,"Y":8,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":9,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":9,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":9,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"bkr","Level":10,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":10,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":11,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"entrancepoint_green1","InstanceName":"enter8"}],"HotSpots":[]},{"X":7,"Y":10,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":10,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"pkr","Level":11,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":10,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":10,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"dkr","Level":11,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":10,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":10,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"bkr","Level":10,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":6,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"skr","Level":9,"Align":"0","Tag":"","Count":8}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":7,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"bkr","Level":11,"Align":"0","Tag":"","Count":2},{"Name":"pkr","Level":11,"Align":"0","Tag":"","Count":2},{"Name":"skr","Level":11,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":8,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":9,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":8,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"pkr","Level":10,"Align":"0","Tag":"","Count":1},{"Name":"skr","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":8,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":8,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":8,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":8,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"dkr","Level":9,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":8,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":7,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"dkr","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":6,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"dkr","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[{"HighlightColorString":"Red","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":7,"Y":4},{"X":7,"Y":5},{"X":6,"Y":6},{"X":6,"Y":4},{"X":6,"Y":5}]}]},{"X":7,"Y":7,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":6,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"dkr","Level":11,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[{"HighlightColorString":"Red","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":7,"Y":4},{"X":7,"Y":5},{"X":7,"Y":6},{"X":6,"Y":4},{"X":6,"Y":5}]}]},{"X":5,"Y":6,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":7,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":7,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"bkr","Level":10,"Align":"0","Tag":"","Count":1},{"Name":"skr","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":6,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"bkr","Level":10,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":6,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":5,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":4,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"dkr","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":4,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":3,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":4,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"dkr","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[{"HighlightColorString":"Red","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":7,"Y":4},{"X":7,"Y":5},{"X":7,"Y":6},{"X":6,"Y":6},{"X":6,"Y":5}]}]},{"X":6,"Y":5,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"dkr","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[{"HighlightColorString":"Red","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":7,"Y":4},{"X":7,"Y":5},{"X":7,"Y":6},{"X":6,"Y":6},{"X":6,"Y":4}]}]},{"X":4,"Y":9,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":9,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":4,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]}],"LookDirection":3,"Width":12,"Height":13,"DataBounds":"1, 1, 10, 11","Name":"floor3","Caption":"3 ","Description":[]},{"Cells":[{"X":4,"Y":3,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"frontdoor","InstanceName":"frontdoor1"}],"HotSpots":[]},{"X":4,"Y":4,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":5,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"entrancepoint_green1","InstanceName":"enter"},{"ObjectName":"enter","InstanceName":"enter12"}],"HotSpots":[]}],"LookDirection":3,"Width":10,"Height":10,"DataBounds":"4, 3, 1, 3","Name":"floor4","Caption":"4 ","Description":[]}],"Pages":[],"Shops":[{"NewLineToBR":true,"ImageBasePath":"https://img.new-combats.com/i/items/","Categories":[{"NewLineToBR":true,"Items":[{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"spell_repare_1","Caption":" 1","Description":[": 1 ",": 1 .",": 0/1"," Emeralds city"," "," ",""," ."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"spell_repare_3","Caption":" 3","Description":[": 1 ",": 1 .",": 0/1"," Emeralds city"," "," ",""," ."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"spell_repare_5","Caption":" 5","Description":[": 1 ",": 1 .",": 0/1"," Emeralds city"," "," ",""," ."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"spell_repare_7","Caption":" 7","Description":[": 1 ",": 1 .",": 0/1"," Emeralds city"," "," ",""," ."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"spell_repare_10","Caption":" 10","Description":[": 1 ",": 1 .",": 0/1"," Emeralds city"," "," ",""," ."]}],"Name":"spell_repare","Caption":" ","Description":[" .",""," ( ), . ., , ."]},{"NewLineToBR":true,"Items":[{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"spell_godprotect10","Caption":" ","Description":[": 1 ",": 1 . ",": 0/1"," : 99%"," : 120 ."," :"," : 7"," Emeralds city"," "," ",""," F2 ."," ."]}],"Name":"spell","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"pot_base_100_str","Caption":" ","Description":[": 1",": 1 . ",": 0/1"," : 15 ."," : 3 . 0 . "," :"," : 4 "," :"," : +10 "," : +1 +5 "," Emeralds city"," "," ",""," , D8."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"pot_base_100_str","Caption":" ","Description":[": 1",": 1 . ",": 0/1"," : 15 ."," : 3 . 0 . "," :"," : 4 "," :"," : +10 "," : +1 +5 "," Emeralds city"," "," ",""," , D8."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"pot_base_100_str","Caption":" ","Description":[": 1",": 1 . ",": 0/1"," : 15 ."," : 3 . 0 . "," :"," : 4 "," :"," : +10 "," : +1 +5 "," Emeralds city"," "," ",""," , D8."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"pot_base_100_master","Caption":" ","Description":[": 1",": 1 . ",": 0/1"," : 15 ."," : 3 . 0 ."," :"," : 4"," :"," . : +33"," . : +33"," : +50"," : +25"," Emeralds city"," "," ",""," ."," ."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"pot_cureHP600_50","Caption":" ","Description":[": 1 ",": 1 . ",": 0/1"," : 30 . ",":"," 600 ."," Emeralds city"," "," ",""," , K5."]}],"Name":"pot_base","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"mater_izumrud","Caption":" ","Description":[": 1",": 0/1",": 1 ."," Emeralds city"," "," ",""," ."]}],"Name":"maters","Caption":". ","Description":[]}],"Name":"maters","Caption":"","Description":["

    "]}],"IsDungeon":true,"Name":"emerald","Caption":" ","Description":[]}); +underground.addDungeon({"RequiredScriptNames":["dungeon.data.abandon.js","dungeon.data.abandon.novice.js","dungeon.data.abandon.capital.emerald.sand.js","dungeon.data.abandon.capital.js","dungeon.data.abandon.capital.demons.js","dungeon.data.abandon.capital.demons.sand.js"],"NewLineToBR":true,"CellBackgroundColorString":"#D8D8D8","CellBorderColorString":"#75778A","Jobs":{"CollectiveJobs":[],"CapturedJobs":[],"KillingJobs":[{"MobName":"krsnt","Unique":false,"Description":["[4]-[7] ","",", : , . 30 . . , . !"],"DefCount":30},{"MobName":"pg_abadon","Unique":false,"Description":["[8]-[9] ","",", : , . 30 . . , . !"],"DefCount":30},{"MobName":"dkr_abadon","Unique":false,"Description":["[10] +","",", : , . 15 . . , . !"],"DefCount":15}]},"Floors":[{"Cells":[{"X":2,"Y":5,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":6,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"arrowup","InstanceName":"arrow3"}],"HotSpots":[]},{"X":3,"Y":5,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":5,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":4,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"vumpel1","InstanceName":"vumpel11"}],"HotSpots":[]},{"X":3,"Y":4,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"voenkom","Level":12,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":4,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":3,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":3,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"vumpel1","InstanceName":"vumpel11"}],"HotSpots":[]},{"X":4,"Y":3,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":4,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":6,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"greenteleport","InstanceName":"grteleport2"}],"HotSpots":[]},{"X":6,"Y":5,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":4,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":3,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":2,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"redteleport","InstanceName":"redteleport13"}],"HotSpots":[]},{"X":7,"Y":5,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"weap2","InstanceName":"weap21"}],"HotSpots":[]},{"X":7,"Y":4,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"serjant","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":3,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"weap2","InstanceName":"weap21"}],"HotSpots":[]},{"X":8,"Y":4,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"yellowteleport","InstanceName":"yellowtelepor3"}],"HotSpots":[]}],"LookDirection":2,"Width":11,"Height":9,"DataBounds":"2, 2, 7, 5","Name":"floor1","Caption":"","Description":[]},{"Cells":[{"X":2,"Y":5,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"arrowup","InstanceName":"arrow3"}],"HotSpots":[]},{"X":2,"Y":4,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"krsnt","Level":6,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":3,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":2,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"krsnt","Level":6,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":3,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"krsnt","Level":6,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":3,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":3,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"krsnt","Level":6,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":3,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"krsnt","Level":6,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":3,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"yellowteleport","InstanceName":"yellowtelepor4"}],"HotSpots":[]},{"X":4,"Y":4,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"krsnt","Level":6,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":4,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":4,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"krsnt","Level":6,"Align":"0","Tag":"","Count":5}],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":4,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"krsnt","Level":6,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":5,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"krsnt","Level":6,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":2,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"krsnt","Level":6,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]}],"LookDirection":2,"Width":10,"Height":8,"DataBounds":"2, 2, 6, 4","Name":"floor2","Caption":"","Description":[]},{"Cells":[{"X":2,"Y":5,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"arrowright","InstanceName":"arrow2"}],"HotSpots":[]},{"X":3,"Y":5,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"pg_abadon","Level":9,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":3,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"pg_abadon","Level":9,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":2,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pg_abadon","Level":9,"Align":"0","Tag":"","Count":5}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":4,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":4,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"pg_abadon","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":4,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pg_abadon","Level":9,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":4,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":3,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":3,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pg_abadon","Level":9,"Align":"0","Tag":"","Count":4}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":3,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":5,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"pg_abadon","Level":9,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":5,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"pg_abadon","Level":9,"Align":"0","Tag":"","Count":6}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":2,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pg_abadon","Level":9,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":2,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pg_abadon","Level":9,"Align":"0","Tag":"","Count":5}],"ObjectRefs":[],"HotSpots":[]}],"LookDirection":2,"Width":9,"Height":8,"DataBounds":"2, 2, 5, 4","Name":"floor3","Caption":"","Description":[]},{"Cells":[{"X":4,"Y":9,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"arrowup","InstanceName":"arrow3"}],"HotSpots":[]},{"X":4,"Y":8,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"dkr_abadon","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":8,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"dkr_abadon","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":8,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"dkr_abadon","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":8,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"dkr_abadon","Level":10,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":8,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"dkr_abadon","Level":10,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":7,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"dkr_abadon","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":7,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"dkr_abadon","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":6,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":6,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":5,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":5,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"dkr_abadon","Level":10,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":5,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":5,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"dkr_abadon","Level":10,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":4,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":4,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":3,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"dkr_abadon","Level":10,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":3,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":3,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"dkr_abadon","Level":10,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":2,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"dkr_abadon","Level":10,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":2,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":2,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"yellowteleport","InstanceName":"yellowtelepor4"}],"HotSpots":[]}],"LookDirection":2,"Width":9,"Height":12,"DataBounds":"2, 2, 5, 8","Name":"floor4","Caption":"","Description":[]}],"Pages":[{"NewLineToBR":false,"ExternalUrl":"","Name":"kvest","Caption":" ","Description":["

    ,




    . , .



    ","


    Abandoned Plains, . ( \"\"Capital city, ). , 1 .

    .

    : , .

    , . .

    : .

    , .

    \"\" [12] . ","

    : ","
    , ! , ! , ! , , !

    ! !
    , . ( )
    _________________________________


    ! ( ) , .

    ! ( )

    :
    ","
    ","
    ","","","","","
    ","","","","","
    (: 1)
    : 0 .
    : 0/1
    : 7 .
    : 1 .



    \"\". :
    ","
    : ","
    ! ! , ! , : , . 30 . . , . !

    !
    . ( )
    _________________________________
    \"\"
    .

    ","


    . , : ","

      ","
    • [4]-[7] - 30 [6]
    • ","
    • [8]-[9] - 30 [9]
    • ","
    • [10]-[11] - 15 [10]

    , , . . , ( )
    ","


    , . ( - ) ( ).

    , .
    ","
    : ","
    ! ! , ! , ?

    !
    ! !
    , .

    ","

    :
    1 , .
    3 . .
    .
    .
    , , .
    , .

    "]}],"Shops":[{"NewLineToBR":true,"ImageBasePath":"https://img.new-combats.com/i/items/","Categories":[{"NewLineToBR":true,"Items":[{"NewLineToBR":true,"W":20,"H":20,"Binding":3,"IsGift":true,"Name":"ring23f","Caption":" ","Description":[": 1 ",": 62 . ",": 0/50 "," : "," : 4 "," : "," (HP): +100 ",": 1 . "," Abandoned Plain "]}],"Name":"bonuses47","Caption":" [4]-[7] ","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":true,"W":60,"H":80,"Binding":3,"IsGift":true,"Name":"cloak23f1","Caption":" ","Description":[": 1",": 100 . ",": 0/100"," :"," : 8"," :"," (HP): +6",": 1 ."," Abandoned Plain "]}],"Name":"bonuses89","Caption":" [8]-[9] ","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":true,"W":60,"H":80,"Binding":3,"IsGift":true,"Name":"cloak23f2","Caption":" ","Description":[": 1",": 300 .",": 0/100"," :"," : 10"," :"," : +1"," : +1"," : +1"," (HP): +6"," : +1",": 1 . "," Abandoned Plain "]}],"Name":"bonuses10","Caption":" [10] +","Description":[]}],"Name":"bonus","Caption":"","Description":["

    "," , . ."]}],"IsDungeon":true,"Name":"abandon","Caption":" ","Description":[]}); +underground.addDungeon({"RequiredScriptNames":[],"NewLineToBR":false,"CellBackgroundColorString":"#E0E5E9","CellBorderColorString":"#7D8699","Jobs":{"CollectiveJobs":[],"CapturedJobs":[],"KillingJobs":[]},"Floors":[],"Pages":[{"NewLineToBR":false,"ExternalUrl":"","Name":"rings","Caption":"","Description":["


    ","
    ","
    , :","

    ","
    ","","","","","","","
    : 1 . 1
    ",":
    ","
    "," :
    "," : 6
    ",": 1 .
    "," \" 1 .

    ",":
    15

    ","
    : 1 . 1
    "," : [ ]x30,
    ",": 0/50
    ","
    "," :
    "," : 7
    ",": 1 .
    "," \" 6 .

    ",":
    10
    ","
    ","
    : \" \" , . ","
    ","
    - , . , 15 . 30 , , .

    ","
    ","
    ","
    ","
    ","
    100 , . , . Demons city.
    ","
    (2 , U11) .
    ","
    (2 , B11) .","

    ","
    ","","","","","","","","","","","
    : 1 . 1
    ",": 0/50
    ","
    "," :
    "," : 7
    :
    "," . : +10
    "," (HP): +36
    ",": 1 .
    "," \" 6 .
    ","
    : 1 . 1
    ",": 0/50
    ","
    "," :
    "," : 7
    :
    "," . : +10
    "," : +36
    : 1 .
    "," \" 6 .
    ","
    : ' '
    ' , '
    : ' '
    ' , '
    ","
    , 6 .","
    ","
    ",": , , , .","
    ","
    ","
    ","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","
    .
    .
    ","
    ","
    ","
    ","
    "]},{"NewLineToBR":false,"ExternalUrl":"","Name":"rubins","Caption":" ","Description":["


    ","
    - ","
    ","
    . . 15, . \" \". . 1 . 30 , .","
    ","
    ","
    ","
    - ","
    ","
    , [ ]x30, . . 5, . \" \". .","
    ","
    . , , . 6 . . .","

    ! , , :\"C ...\"","
    ","
    ! \" \" \" \" .","
    ","
    ! .","
    ","
    ! , . / \" \"/.","
    ","
    ! \" \", , .","
    ","

    ","
    ","","","","","","","","","","","","","","","","","","","","","","","","
    .
    .
    ","
    ","
    "]},{"NewLineToBR":false,"ExternalUrl":"","Name":"donation","Caption":"","Description":["


    ","
    , \"\" . . .","
    ","
    , , .","
    : , , . ","
    ","
    100 .","
    ","
    100 .","
    ","
    ","
    ","
    ","","","","","","","","","","","","","","
    .
    ","
    "]},{"NewLineToBR":false,"ExternalUrl":"","Name":"smelt_maters","Caption":" ","Description":["


    ","
    .","
    ","
    \"AngelsAngelscity, , , ( , B4) . C , . ","
    ","
    : 0/3, 3 .","
    ","
    . , .","
    ","
    ","","","","","","","","","","","","","","","","","","","","","","","","","","
    -
    \"
    [1]
    \"","\"\"","\"\"","\"","\"\"","\"","
    \"","\"\"","\"","\"","\"","\"\"
    \"
    1 .
    \"
    [2]
    \"","\"","\"","\"","\"","\"","\"\"
    3 .
    \"
    [3]
    \"","\"","\"","\"","\"","\"\"
    10 .
    \"
    [4]
    \"","\"","\"","\"\"","\"\"","\"\"
    30 .
    ","
    ","
    \"Angels Angelscity . , , .","
    : Angelscity 10 000 .","
    ","

    ","","","","","","","","","","","","","","","","","","","","","","","
    -
    \"
    3 .
    + 0,15.
    \"","\"\"","\"\"","\"","\"\"","\"","
    \"","\"\"","\"","\"","\"","\"\"
    \"
    10 .
    + 0,5.
    \"","\"","\"","\"","\"","\"","\"
    \"
    30 .
    + 1,5.
    \"","\"","\"","\"","\"","\"
    \"
    100 .
    + 5.
    \"","\"","\"","\"\"","\"\"","\"
    ","
    \" , , .","
    ","
    ","
    ","
    "]}],"Shops":[{"NewLineToBR":true,"ImageBasePath":"https://img.new-combats.com/i/items/","Categories":[{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":20,"H":20,"Binding":0,"IsGift":true,"Name":"ring127","Caption":" ","Description":[": 1
    : 1 . 1
    ",":
    ","
    "," :
    "," : 6
    "," \" 1 .

    "," 15
    Devils city","
    "]},{"NewLineToBR":false,"W":20,"H":20,"Binding":0,"IsGift":true,"Name":"ring126","Caption":" ","Description":[": 1
    : 1 . 1
    "," : [ ]x30,
    ",": 0/50
    ","
    "," :
    "," : 7
    "," \" 6 .

    "," 10
    Devils city"]}],"Name":"rings","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":true,"Name":"cureHP30","Caption":" 30HP","Description":[": 1
    : 0.01 .
    : [ ]
    : 0/1

    :
    : 1
    : 7

    C ."]},{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":true,"Name":"cureMana50","Caption":" 50","Description":[": 1
    : 0.01 .
    : [ ]
    : 0/1

    :
    : 1
    : 7

    C ."]},{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":true,"Name":"elementalcrit","Caption":" ","Description":[": 1
    : 0.02 .
    : [ ]x2
    : 0/1
    :
    : 3
    : 7
    : 50
    :

    , 5 .

    C 20 ."]},{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":true,"Name":"spell_powerup10","Caption":"","Description":[": 1
    : 0.02 .
    : [ ]x2.
    : 0/1
    : 60 .
    :
    : 2
    : 7

    C 20 ."]},{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":true,"Name":"cureHP60","Caption":" 60HP","Description":[": 1
    : 0.02 .
    : [ ]x2
    : 0/1

    :
    : 2
    : 7

    C 20 .
    "]},{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":true,"Name":"spell_unprotect","Caption":" ","Description":[": 1
    : 0.02 .
    : [ ]x2
    : 0/4

    : 60 .
    :
    : 2
    : 7

    C 20 .
    "]},{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":true,"Name":"spell_unprotect10","Caption":" ","Description":[": 1
    : 0.02 .
    : [ ]x2
    : 0/4

    : 60 .
    :
    : 2
    : 7

    C 20 .
    "]},{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":true,"Name":"cureMana100","Caption":" 100","Description":[": 1
    : 0.02 .
    : [ ]x2
    : 0/1

    :
    : 2
    : 7

    C 20 .
    "]},{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":true,"Name":"spell_powerHPup3","Caption":" +3","Description":[": 1
    : 0.03 .
    : [ ]x4
    : 0/1
    : 120 .
    :
    : 3
    : 7

    C 50 .
    "]},{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":true,"Name":"cureHP120","Caption":" 120HP","Description":[": 1
    : 0.03 .
    : [ ]x4
    : 0/1

    :
    : 3
    : 7

    C 50 .
    "]}],"Name":"svitki","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":true,"Name":"enhp_6_bloodlinew1","Caption":" ","Description":[": 1
    : 1 .
    : [ ]x25
    : 0/1
    :
    . : +1
    (HP): +6
    :
    .


    C 50 ."]},{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":true,"Name":"enhp_6_bloodlinem1","Caption":" ","Description":[": 1
    : 1 .
    : [ ]x25
    : 0/1
    :
    . : +1
    (HP): +6
    :
    .


    C 50 ."]},{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":true,"Name":"enhp_6_bloodlinew2","Caption":" [2]","Description":[": 1
    : 1 .
    : [ ]x50
    : 0/1
    :
    . : +2
    (HP): +12
    :
    .


    C 100 ."]},{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":true,"Name":"enhp_6_bloodlinem2","Caption":" [2]","Description":[": 1
    : 1 .
    : [ ]x50
    : 0/1
    :
    . : +2
    (HP): +12
    :
    .


    C 100 ."]}],"Name":"charki","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":true,"Name":"sp_tacpts_KRT1","Caption":" : 1","Description":[": 1
    : 0.03 .
    : [ ]x4
    : 0/1
    : 3 .

    :
    : 7

    C 50 ."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_tacpts_BLK1","Caption":" : 1","Description":[": 1
    : 0.03 .
    : [ ]x4
    : 0/1
    : 3 .

    :
    : 7

    C 50 .
    "]},{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":true,"Name":"sp_tacpts_CNTR1","Caption":" : 1","Description":[": 1
    : 0.03 .
    : [ ]x4
    : 0/1
    : 3 .

    :
    : 7

    C 50 .
    "]},{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":true,"Name":"sp_tacpts_PRY1","Caption":" : 1","Description":[": 1
    : 0.03 .
    : [ ]x4
    : 0/1
    : 3 .

    :
    : 7

    C 50 .
    "]},{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":true,"Name":"sp_tacpts_HIT1","Caption":" : 1","Description":[": 1
    : 0.03 .
    : [ ]x4
    : 0/1
    : 3 .

    :
    : 7

    C 50 .
    "]},{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":true,"Name":"sp_tacpts_KRT2","Caption":" : 2","Description":[": 1
    : 0.04 .
    : [ ]x6
    : 0/1
    : 3 .

    :
    : 7

    C 100 .
    "]},{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":true,"Name":"sp_tacpts_BLK2","Caption":" : 2","Description":[": 1
    : 0.04 .
    : [ ]x6
    : 0/1
    : 3 .

    :
    : 7

    C 100 .
    "]},{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":true,"Name":"sp_tacpts_CNTR2","Caption":" : 2","Description":[": 1
    : 0.04 .
    : [ ]x6
    : 0/1
    : 3 .

    :
    : 7

    C 100 .
    "]},{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":true,"Name":"sp_tacpts_PRY2","Caption":" : 2","Description":[": 1
    : 0.04 .
    : [ ]x6
    : 0/1
    : 3 .

    :
    : 7

    C 100 .
    "]},{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":true,"Name":"sp_tacpts_HIT2","Caption":" : 2","Description":[": 1
    : 0.04 .
    : [ ]x6
    : 0/1
    : 3 .

    :
    : 7

    C 100 .
    "]}],"Name":"taktiki","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":60,"Binding":0,"IsGift":true,"Name":"pot_base_50_intel2","Caption":" ","Description":[": 1
    : 1 .
    : [ ]x3
    : 0/1
    : 15 .
    : 6 . 0 .
    :
    : 7
    :
    : +15

    20 .
    "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":0,"IsGift":true,"Name":"pot_base_50_str2","Caption":" ","Description":[": 1
    : 1 .
    : [ ]x3
    : 0/1
    : 15 .
    : 6 . 0 .
    :
    : 7
    :
    : +15

    20 .
    "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":0,"IsGift":true,"Name":"pot_base_50_inst2","Caption":" ","Description":[": 1
    : 1 .
    : [ ]x3
    : 0/1
    : 15 .
    : 6 . 0 .
    :
    : 7
    :
    : +15

    20 .
    "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":0,"IsGift":true,"Name":"pot_base_50_dex2","Caption":" ","Description":[": 1
    : 1 .
    : [ ]x3
    : 0/1
    : 15 .
    : 6 . 0 .
    :
    : 7
    :
    : +15

    20 .
    "]}],"Name":"pot","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":60,"Binding":0,"IsGift":true,"Name":"mater_shop1","Caption":" ","Description":[": 1
    : 5 .
    : [ ]x40
    : 0/1
    :


    100 .
    "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":0,"IsGift":true,"Name":"mater_shop2","Caption":" ","Description":[": 1
    : 5 .
    : [ ]x40
    : 0/1
    :


    100 .
    "]}],"Name":"eski","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":60,"Binding":0,"IsGift":true,"Name":"smelt_mater1","Caption":" [1]","Description":[": 1
    : 0.5 .
    : [ ]
    : 0/3
    :


    ."]},{"NewLineToBR":false,"W":60,"H":60,"Binding":0,"IsGift":true,"Name":"smelt_mater3","Caption":" [2]","Description":[": 1
    : 1.5 .
    : [ ]3
    : 0/3
    :


    20 .
    "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":0,"IsGift":true,"Name":"smelt_mater10","Caption":" [3]","Description":[": 1
    : 5 .
    : [ ]10
    : 0/3
    :


    50 .
    "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":0,"IsGift":true,"Name":"smelt_mater30","Caption":" [4]","Description":[": 1
    : 10 .
    : [ ]30
    : 0/3
    :


    100 .
    "]}],"Name":"smelt","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":20,"Binding":1,"IsGift":false,"Name":"amulet102","Caption":" ","Description":[": 1 .
    "," : [ ]x75
    ",": 0/50
    "," :
    "," : 30
    "," : 9
    "," : 30
    "," :
    "," . (%): +50
    "," . : +20
    "," (HP): +100
    "," : +100
    "," 100 ."]},{"NewLineToBR":false,"W":60,"H":20,"Binding":1,"IsGift":false,"Name":"amulet101","Caption":" ","Description":[": 1 .
    "," : [ ]x75
    ",": 0/50
    "," :
    "," : 9
    "," : 30
    "," : 30
    "," :
    "," . (%): +50
    "," . (%): +50
    "," . : +20
    "," (HP): +150
    "," 100 ."]}],"Name":"amulet","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":80,"Binding":1,"IsGift":false,"Name":"leg11","Caption":"oo ax p [10]","Description":[": 10
    : 30 .
    : oo ax p, [o Ppa]x6","
    : 0/50
    ","p ao:
    "," oo: 15
    "," : 15
    "," po: 9
    "," oo: 65
    "," a: 45
    "," :
    "," aa o a: +25
    "," po (HP): +57
    "," po oa: 16-55 (15+d40)
    "," po o: 16-55 (15+d40)
    ","oa pa:
    "," aa o poa: 55
    "," a oa: o ax p [10] [0/12]
    "," 100 ."]},{"NewLineToBR":false,"W":60,"H":80,"Binding":1,"IsGift":false,"Name":"leg12","Caption":"oo poao [10] ","Description":[": 10
    : 30 .
    : oo poao , [o Ppa]x6","
    : 0/50
    ","p ao:
    "," oo: 15
    "," : 60
    "," po: 10
    "," oo: 35
    "," a: 35
    "," :
    "," . po poo apa (%): +25
    "," . po pa (%): +25
    "," . poo apa (%): +45
    "," aa o a: +15
    "," po (HP): +35
    "," po oa: 11-40 (10+d30)
    "," po o: 11-40 (10+d30)
    ","oa pa:
    "," aa o poa: 40
    "," a oa: o poao [10] [0/12]
    "," 100 ."]},{"NewLineToBR":false,"W":60,"H":80,"Binding":1,"IsGift":false,"Name":"leg13","Caption":"oo aa [10] ","Description":[": 10
    : 30 .
    : oo aa, [o Ppa]x6","
    : 0/50
    ","p ao:
    "," oo: 60
    "," : 15
    "," po: 10
    "," oo: 35
    "," a: 35
    "," :
    "," . po poo apa (%): +45
    "," . pa (%): +50
    "," aa o a: +30
    "," po (HP): +27
    "," po oa: 11-40 (10+d30)
    "," po o: 11-40 (10+d30)
    ","oa pa:
    "," aa o poa: 35
    "," a oa: o aa [10] [0/12]
    "," 100 ."]},{"NewLineToBR":false,"W":60,"H":80,"Binding":1,"IsGift":false,"Name":"leg14","Caption":"oo po oa [10]","Description":[": 13
    : 30 .
    : oo po oa, [o Ppa]x6","
    : 0/60
    ","p ao:
    "," oo: 30
    "," : 30
    "," po: 10
    "," oo: 45
    "," a: 45
    "," :
    "," . po poo apa (%): +40
    "," . po pa (%): +20
    "," . appoa (%): +2
    "," aa o a o: +15
    "," aa o poa: +15
    "," aa o a o: -10
    "," po (HP): +45
    "," po oa: 11-40 (10+d30)
    "," po o: 11-40 (10+d30)
    ","oa pa:
    "," aa o poa: 40
    "," a oa: o po oa [10] [0/12]
    "," 100 ."]},{"NewLineToBR":false,"W":60,"H":80,"Binding":1,"IsGift":false,"Name":"leg15","Caption":"a Peoc [10]","Description":[": 5
    : 30 .
    : a Peoc, [o Ppa]x6","
    : 0/50
    ","p ao:
    "," ee: 50
    "," poe: 10
    "," poc: 60
    "," :
    "," oaee a o a: +2
    "," . ooc a cx: +5
    "," poe (HP): +25
    "," poe a: +100
    "," po oca: 6-20 (5+d15)
    "," po o: 6-20 (5+d15)
    ","oa pa:
    "," aa o poa: 15
    "," ac oea: oe Peoc [10] [0/7]
    "," 100 ."]},{"NewLineToBR":false,"W":60,"H":80,"Binding":1,"IsGift":false,"Name":"leg16","Caption":"oo Copoa [10]","Description":[": 10
    : 30 .
    : oo Copoa, [o Ppa]x6","
    : 0/50
    ","p ao:
    "," ooc: 15
    "," : 60
    "," poe: 10
    "," ococ: 50
    "," Ca: 35
    "," :
    "," . po pecoo apa (%): +30
    "," . po epa (%): +35
    "," . pecoo apa (%): +35
    "," poe (HP): +43
    "," Ca: +2
    "," po oca: 11-40 (10+d30)
    "," po o: 11-40 (10+d30)
    ","oa pa:
    "," aa o poa: 35
    "," ac oea: oe Copoa [10] [0/12]
    "," 100 ."]},{"NewLineToBR":false,"W":60,"H":80,"Binding":1,"IsGift":false,"Name":"leg17","Caption":"oo oe [10]","Description":[": 10
    : 30 .
    : oo oe, [o Ppa]x6","
    : 0/50
    ","p ao:
    "," ooc: 60
    "," : 45
    "," poe: 10
    "," ococ: 35
    "," Ca: 25
    "," :
    "," . po pecoo apa (%): +25
    "," . pecoo apa (%): +30
    "," . epa (%): +30
    "," ooc: +2
    "," : +2
    "," aa o a: +25
    "," po oca: 11-40 (10+d30)
    "," po o: 11-40 (10+d30)
    ","oa pa:
    "," aa o poa: 30
    "," ac oea: oe [10] [0/12]
    "," 100 ."]}],"Name":"leg","Caption":"","Description":[]}],"Name":"altarshop","Caption":"","Description":["

    ",""," , , . ","","! [10] ( )."]}],"IsDungeon":false,"Name":"altar","Caption":" ","Description":[]}); +underground.addDungeon({"RequiredScriptNames":[],"NewLineToBR":true,"CellBackgroundColorString":"#E0E5E9","CellBorderColorString":"#7D8699","Jobs":{"CollectiveJobs":[],"CapturedJobs":[],"KillingJobs":[]},"Floors":[],"Pages":[],"Shops":[{"NewLineToBR":false,"ImageBasePath":"https://img.new-combats.com/i/items/","Categories":[{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"abook1","Caption":" ","Description":[": 15 .
    "," :
    "," - 5 .
    "," - 360
    "," : 50
    "," : +1
    "," (HP): +10
    "," +1 ( )","
    .","
    ."]},{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"abook2","Caption":" ","Description":[": 30 .
    "," :
    "," - 360
    "," : 75
    "," : +2
    "," (HP): +20
    "," .","
    .","
    ","
    ","
    , . 1 3 .","
    "]},{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"abook3","Caption":" ","Description":[": 100 .
    "," :
    "," - 3 .
    "," - 360
    "," : 100
    "," : +3
    "," (HP): +30
    "," . . (%): +1
    "," . (%): +1
    "," . (%): +1
    "," : +1
    "," . (%): +1
    "," . (%): +1
    "," . (%): +1
    "," . (%): +1
    "," (%): +1
    "," .","
    .","
    ","

    .","
    "]}],"Name":"abooks","Caption":" ","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_slot7","Caption":" ( 1)","Description":[": 1
    : 120 .
    : 0/1
    :
    : 7
    : 1 .
    :
    +1 .
    .

    4 55
    "]},{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_slot8","Caption":" ( 2)","Description":[": 1
    : 200 .
    : [ ]x15
    : 0/1
    :
    : 8
    : 1 .
    :
    +1 .
    .
    .

    5 55
    "]},{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_slot9","Caption":" ( 3)","Description":[": 1
    : 300 .
    : [ ]x3, [ ]x3, [ ]x3, [ ]x3, [ ]x3, [ ]x3
    : 0/1
    :
    : 9
    : 1 .
    :
    +1 .
    .
    .

    7 10
    "]},{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_slot10","Caption":" ( 4)","Description":[": 1
    : 500 .
    : []x5, [ ]x5, [ ]x5, [ ]x5, [ ]x5, []x5
    : 0/1
    :
    : 10
    : 1 .
    :
    +1 .
    .
    .

    8 35
    "]}],"Name":"booklearn_slots","Caption":" ","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_1","Caption":" ()","Description":[": 1
    : 22.5 .
    : [ ]x5
    : 0/1
    :
    : 25
    : 6
    : 1 .
    :

    :

    : 4 55
    "]},{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_2","Caption":" ()","Description":[": 1
    : 15 .
    : ,
    : 0/1
    :
    : 25
    : 7
    :

    :

    : 4 55
    "]},{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_3","Caption":" ()","Description":[": 1
    : 20 .
    :
    : 0/1
    :
    : 7
    : 25
    : 25
    :
    , .
    :

    : 4 55
    "]},{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_4","Caption":" ()","Description":[": 1
    : 27 .
    : [ 60HP]x2
    : 0/1
    :
    : 7
    : 30
    :
    , .
    :

    : 4 55
    "]},{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_5","Caption":" ()","Description":[": 1
    : 20 .
    :
    : 0/1
    :
    : 7
    : 30
    : 20
    :
    , .
    :

    : 4 55
    "]},{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_6","Caption":" ()","Description":[": 1
    : 20 .
    :
    : 0/1
    :
    : 7
    : 25
    : 1 .
    :
    , .
    :

    : 4 55
    "]},{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_7","Caption":" ()","Description":[": 1
    : 20 .
    :
    : 0/1
    :
    : 7
    : 25
    : 1 .
    :
    , .
    :

    : 4 55
    "]},{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_8","Caption":" ()","Description":[": 1
    : 20 .
    : [ ]x3
    : 0/1
    :
    : 25
    : 7
    : 1 .
    :
    , .
    :

    : 4 55
    "]},{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_9","Caption":" ()","Description":[": 1
    : 20 .
    :
    : 0/1
    :
    : 25
    : 7
    : 1 .
    :
    .
    :

    : 4 55
    "]},{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_10","Caption":" ()","Description":[": 1
    : 20 .
    : [ ]x3
    : 0/1
    :
    : 7
    : 25
    : 1 .
    :

    , , .
    :

    : 4 55
    "]}],"Name":"booklearn","Caption":" ","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_spell1","Caption":" ()","Description":[": 1
    : 20 .
    :
    : 0/1
    :
    : 25
    : 7
    : 7
    : 1 .
    :
    , .
    :

    : 4 55
    "]},{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_spell8","Caption":" ()","Description":[": 1
    : 20 .
    :
    : 0/1
    :
    : 25
    : 7
    : 7
    : 1 .
    :
    , 33%. 125%
    :

    : 4 55
    "]},{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_spell10","Caption":" ()","Description":[": 1
    : 20 .
    : [ ]x3
    : 0/1
    :
    : 25
    : 7
    : 7
    : 1 .
    :
    +100 . . .
    :

    : 4 55
    "]},{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_spell9","Caption":" ()","Description":[": 1
    : 20 .
    :
    : 0/1
    :
    : 25
    : 7
    : 7
    : 1 .
    :
    . 4 33%
    :

    : 4 55
    "]},{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_spell13","Caption":" ()","Description":[": 1
    : 20 .
    :
    : 0/1
    :
    : 30
    : 7
    : 7
    : 1 .
    :
    10%HP, 20% .
    :

    : 4 55
    "]},{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_spell12","Caption":" ()","Description":[": 1
    : 25 .
    : [ ]x2
    : 0/1
    :
    : 35
    : 8
    : 8
    : 1 .
    :
    33%, . .
    :

    : 5 54
    "]},{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_spell14","Caption":" ()","Description":[": 1
    : 25 .
    : [ ]x2
    : 0/1
    :
    : 35
    : 8
    : 8
    : 1 .
    :
    5% +2% . . .
    :

    : 5 54
    "]},{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_spell11","Caption":" ()","Description":[": 1
    : 25 .
    : [ ]x2
    : 0/1
    :
    : 35
    : 8
    : 8
    : 1 .
    :
    50% 2 , . .
    :

    : 5 54
    "]}],"Name":"booklearn_spell_fire","Caption":" ","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_spell4","Caption":" ()","Description":[": 1
    : 20 .
    :
    : 0/1
    :
    : 25
    : 7
    : 7
    : 1 .
    :
    , .
    :

    : 4 55
    "]},{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_spell16","Caption":" ()","Description":[": 1
    : 20 .
    :
    : 0/1
    :
    : 25
    : 7
    : 7
    : 1 .
    :
    2 3 .
    :

    : 4 55
    "]},{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_spell17","Caption":" ()","Description":[": 1
    : 20 .
    :
    : 0/1
    :
    : 25
    : 7
    : 7
    : 1 .
    :
    10% 5 , 30%.
    :

    : 4 55
    "]},{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_spell19","Caption":": ! ()","Description":[": 1
    : 20 .
    :
    : 0/1
    :
    : 25
    : 7
    : 7
    : 1 .
    :
    . ,
    : : !

    : 4 55
    "]},{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_spell21","Caption":" ()","Description":[": 1
    : 20 .
    :
    : 0/1
    :
    : 25
    : 7
    : 7
    : 1 .
    :

    :

    : 4 55
    "]},{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_spell18","Caption":" ()","Description":[": 1
    : 25 .
    : [ ]x2
    : 0/1
    :
    : 35
    : 8
    : 8
    : 1 .
    :
    . 15. ,
    :

    : 5 54
    "]},{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_spell20","Caption":" ()","Description":[": 1
    : 25 .
    : [ ]x2
    : 0/1
    :
    : 35
    : 8
    : 8
    : 1 .
    :
    , , 5
    :

    : 5 54
    "]},{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_spell22","Caption":" ()","Description":[": 1
    : 25 .
    : [ ]x2
    : 0/1
    :
    : 35
    : 8
    : 8
    : 1 .
    :
    .
    :

    : 5 54
    "]},{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_spell23","Caption":" ()","Description":[": 1
    : 25 .
    : [ ]x2
    : 0/1
    :
    : 35
    : 8
    : 8
    : 1 .
    :
    .
    :

    : 5 54
    "]},{"NewLineToBR":true,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_spell15","Caption":" ()","Description":[": 1
    : 25 .
    : [ ]x2
    : 0/1
    :
    : 35
    : 8
    : 8
    : 1 .
    :
    , . .
    :

    : 5 54
    "]},{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_spell24","Caption":" ()","Description":[": 1
    : 45 .
    : [ ]x3
    : 0/1
    :
    : 75
    : 9
    : 9
    : 1 .
    :
    10%. 5 .
    :

    : 7 59
    "]}],"Name":"booklearn_spell_water","Caption":" ","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":true,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_spell25","Caption":" ()","Description":[": 1",": 50 .",": 0/1"," :"," : 60"," : 8"," : 8",": 1 .",":"," 1-95 "," : "," "," : 4 55 "]},{"NewLineToBR":true,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_spell26","Caption":" ( )","Description":[": 1",": 100 ."," : [ ]x4",": 0/1"," :"," : 40"," : 7"," : 7",": 1 .",":"," , "," : , : , : , : "," "," : 4 55 "]},{"NewLineToBR":true,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_spell27","Caption":" ()","Description":[": 1",": 10 ."," : [ ]x5",": 0/1"," :"," : 80"," : 9"," : 9",": 1 .",":"," , 1-0 . ."," ."," ."," : "," "," : 4 55 "]},{"NewLineToBR":true,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_spell28","Caption":" ()","Description":[": 1",": 20 ."," : ",": 0/1"," :"," : 25"," : 7"," : 7",": 1 .",":"," 25 . 4 ."," : "," "," : 4 55 "]},{"NewLineToBR":true,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_spell29","Caption":" ()","Description":[": 1",": 30 ."," : [ ]x2",": 0/1"," :"," : 60"," : 8"," : 8",": 1 .",":"," ."," : "," "," : 4 55 "]},{"NewLineToBR":true,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_spell30","Caption":" ()","Description":[": 1",": 20 ."," : ",": 0/1"," :"," : 25"," : 7"," : 11",": 1 .",":"," 1 - 10% . 5 ."," : "," "," : 4 55 "]}],"Name":"booklearn_spell_air","Caption":" ","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_spell7","Caption":" ()","Description":[": 1
    : 20 .
    : [ ]x3
    : 0/1
    :
    : 25
    : 7
    : 7
    : 1 .
    :
    , .
    :

    : 4 55
    "]}],"Name":"booklearn_spell_earth","Caption":" ","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_spell3","Caption":" ()","Description":[": 1
    : 20 .
    :
    : 0/1
    :
    : 25
    : 7
    : 4
    : 1 .
    :
    : .
    :

    : 4 55
    "]}],"Name":"booklearn_spell_black","Caption":" ","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_spell2","Caption":" ()","Description":[": 1
    : 20 .
    :
    : 0/1
    :
    : 25
    : 7
    : 4
    : 1 .
    :
    ? 10% - ?
    !
    :

    : 4 55
    "]}],"Name":"booklearn_spell_white","Caption":" ","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_spell5","Caption":" ()","Description":[": 1
    : 20 .
    : [ ]x3
    : 0/1
    :
    : 25
    : 7
    : 4
    : 1 .
    :
    ... - ,
    :

    : 4 55
    "]}],"Name":"booklearn_spell_gray","Caption":" ","Description":[]}],"Name":"shop","Caption":"","Description":["

    "," , . , ."]},{"NewLineToBR":false,"ImageBasePath":"https://img.new-combats.com/i/misc/icons/","Categories":[{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"wis_fire_flameshock","Caption":" ","Description":[" : 83
    : 10

    :
    • : 7
    • : 40
    • : 7

    . 75% 2 ."]},{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"wis_fire_boost","Caption":"","Description":[" : 20
    : 5


    :
    • : 7
    • : 40
    • : 7

    +100 . .
    ."]},{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"wis_fire_flametongue","Caption":" [8]","Description":[" : 129
    : 3


    :
    • : 8
    • : 50
    • : 8

    3% . +2% . 200 . , ."]},{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"wis_fire_flametongue","Caption":" [9]","Description":[" : 155
    : 3


    :
    • : 9
    • : 60
    • : 9

    3% . +2% . 250 . , ."]},{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"wis_fire_flametongue","Caption":" [10]","Description":[" : 185
    : 3


    :
    • : 10
    • : 75
    • : 10

    3% . +2% . 300 . , ."]},{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"wis_fire_flamedeath","Caption":" ","Description":[" : 83
    : 5

    :
    • : 7
    • : 40
    • : 7

    , 33%. 150% ."]},{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"wis_fire_sacrifice","Caption":" ","Description":[" 5  
    : 4
    : 5

    :
    • : 7
    • : 40
    • HP: 10%
    • : 7

    10%HP, 20% ."]},{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"wis_fire_hiddenpower","Caption":" ","Description":[" : 41


    :
    • : 8
    • : 50
    • : 8

    33%, . ."]},{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"wis_fire_shield","Caption":" ","Description":[" : 124
    : 10

    :
    • : 8
    • : 50
    • : 8

    50% 2 , .
    ."]},{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"wis_fire_flamedestroy","Caption":" ","Description":[" : 83
    : 5

    :
    • : 7
    • : 40
    • : 7

    . 4 33% ."]}],"Name":"booklearn_spell_fire","Caption":" ","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"wis_water_icegrap","Caption":" ","Description":[" : 83
    : 10

    :
    • : 40
    • : 7
    • : 7

    2 3 ."]},{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"wis_water_break","Caption":": !","Description":[" : 167
    : 5


    :
    • : 40
    • : 7
    • : 7

    ?? ???, 65."]},{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"wis_water_cleance","Caption":" ","Description":[" : 83
    : 5

    :
    • : 50
    • : 8
    • : 8

    ."]},{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"wis_water_crystalize","Caption":"","Description":[" : 178
    : 5

    :
    • : 50
    • : 8
    • : 8

    10*( ).
    ( ) .
    "]},{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"wis_water_hiddenpower","Caption":" ","Description":[" : 166
    : 10


    :
    • : 50
    • : 8
    • : 8

    ."]},{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"wis_water_sacrifice","Caption":" ","Description":[" 5  
    : 4
    : 10

    :
    • : 40
    • : 7
    • : 7

    10% 5 , 50%."]},{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"wis_water_shield","Caption":" [7]","Description":[" : 83
    : 8

    :
    • : 40
    • : 7
    • : 7

    25% 4 ."]},{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"wis_water_shield","Caption":" [8]","Description":[" : 124
    : 8

    :
    • : 50
    • : 8
    • : 8

    25% 4 , .
    ."]},{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"wis_water_shield","Caption":" [9]","Description":[" : 182
    : 8

    :
    • : 60
    • : 9
    • : 9

    25% 4 , .
    ."]},{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"wis_water_spirit","Caption":" ","Description":[" 4  
    : 5
    : 4
    : 10

    :
    • : 50
    • : 8
    • : 8

    . 15. , ."]},{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"wis_water_strike","Caption":" ","Description":[" : 134
    : 3


    :
    • : 40
    • : 7
    • : 7

    ??? . ."]},{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"wis_water_tempheal","Caption":" ","Description":[" 1  
    : 139
    : 5

    :
    • : 50
    • : 8
    • : 8

    , ???HP , 5 ."]},{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"wis_water_aheal","Caption":"","Description":[" 1
    : 70

    :
    : 60
    : 9
    : 9

    10%
    5 "]}],"Name":"booklearn_spell_water","Caption":" ","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"wis_air_spark","Caption":"","Description":[" : 83",": 10",""," :","• : 50","• : 8","• : 8",""," 1-57 ."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"wis_air_shield","Caption":" ","Description":[" : 127",": 12","• ",""," :","• : 60","• : 9","• : 9",""," , 1-190 . . "," . "," . "]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"wis_air_sacrifice","Caption":" ","Description":[" 5"," : 7 ",": 10 ",""," :","• : 25","• : 7","• : 7",""," 25 . 4 ."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"wis_air_speed","Caption":" ","Description":[" : 4"," : 70"," : 5",": 10",""," :","• : 50","• : 8","• : 8",""," ."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"wis_air_charge","Caption":"","Description":[" : 1"," : 20",""," :","• : 40","• : 7","• : 7","",", , , , , 1%. ."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"wis_air_charge_shock","Caption":": ","Description":[" 1",": 3 ",""," :","• : 40","• : 7","• : 7",""," , 5 ."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"wis_air_charge_dmg","Caption":": ","Description":[" 1",": 3 ",""," :","• : 40","• : 7","• : 7",""," 1-2% . 200 . ."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"wis_air_charge_gain","Caption":": ","Description":[" 1",": 3 ",""," :","• : 40","• : 7","• : 7",""," 8 ."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"wis_air_manaheal","Caption":" ","Description":[" : 3",": 10","• ",""," :","• : 10","• : 11","• : 7",""," 1-10% . 5 ."]}],"Name":"booklearn_spell_air","Caption":" ","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"wis_earth_strike","Caption":" [7]","Description":[" : 78


    :
    • : 40
    • : 7
    • : 7

    346 . "]},{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"wis_earth_strike","Caption":" [8]","Description":[" : 93


    :
    • : 50
    • : 8
    • : 8

    415 . "]},{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"wis_earth_strike","Caption":" [9]","Description":[" : 112


    :
    • : 60
    • : 9
    • : 9

    498 . "]},{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"wis_earth_strike","Caption":" [10]","Description":[" : 134


    :
    • : 75
    • : 10
    • : 10

    597 . "]}],"Name":"booklearn_spell_earth","Caption":" ","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"wis_dark_eyeforeye","Caption":" ","Description":[" : 166
    : 10

    :
    • : 4
    • : 40
    • : 7

    , ( 500 . )"]}],"Name":"booklearn_spell_black","Caption":" ","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"wis_light_shield","Caption":" ","Description":[" : 166
    : 10

    :
    • : 4
    • : 40
    • : 7

    10%, 1 ."]}],"Name":"booklearn_spell_white","Caption":" ","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"wis_gray_mastery","Caption":" ","Description":[" : 2
    : 41
    : 5

    :
    • : 40
    • : 4
    • : 7

    , 5 . 5 * ( ) ."]}],"Name":"booklearn_spell_gray","Caption":" ","Description":[]}],"Name":"shop1","Caption":"","Description":["

    "," ."]},{"NewLineToBR":false,"ImageBasePath":"https://img.new-combats.com/i/misc/icons/","Categories":[{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"krit_blooddrink","Caption":" ","Description":[" 7   3  
    : 2

    :
    • : 6

    , 89HP 7 /107HP 8 /128HP 9 /154HP 10 . ."]},{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"block_magicshield","Caption":" ","Description":[" 3  

    :
    • : 7

    1 , ."]},{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"krit_bloodlust","Caption":" ","Description":[" 2   3  

    :
    • : 7

    . 50 . ."]},{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"counter_deathwalk","Caption":" ","Description":[" 5

    :
    : 7

    1*(). . 1*() ., 10*() . ."]},{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"multi_rollback","Caption":"","Description":[" 3 3

    :
    : 7
    : 25
    : 25

    .
    1 ."]},{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"block_revenge","Caption":"","Description":[" 5

    :
    : 7

    6* ( ) . ."]},{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"spirit_survive","Caption":"","Description":[" : 10

    :
    : 7
    : 30

    , .
    "]},{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"counter_ward","Caption":"","Description":[" 2
    : 3

    :
    : 7
    : 30
    : 20

    ."]},{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"parry_supreme","Caption":"","Description":[" 3 1

    :
    : 7

    .
    ."]},{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"hit_empower","Caption":" ","Description":[" 3

    :
    : 7

    5* () . ."]}],"Name":"fighter","Caption":" ","Description":[]}],"Name":"shop2","Caption":" ","Description":["

    "," ."]},{"NewLineToBR":false,"ImageBasePath":"https://img.new-combats.com/i/items/","Categories":[],"Name":"shop3","Caption":" ","Description":["


    - , . , \"Capital Capital city.

    . . , - src=\"https://img.new-combats.com/i/align50.gif\" Talenor , src=\"https://img.new-combats.com/i/align50.gif\" Cptn src=\"https://img.new-combats.com/i/align50.gif\" Enchanter . , , Capital city. ","

    New! .","

    - 28 . ( ), 24.95 . ( )
    - 55 . ( ), 49.95 . ( )
    - 550 . ( ), 499.55 . ( )

    , , \"\" .

    ","","","","","","","","","









    .

    :
    : +1
    (HP): +10

    +1 , .










    .

    :
    : +2
    (HP): +20

    , - , .









    .

    :
    . . (%): +1
    . (%): +1
    . (%): +1
    : +1
    . (%): +1
    . (%): +1
    . (%): +1
    : +3
    (HP): +30
    . (%): +1
    (%): +1

    HP HP .


    , .. - , 30 .
    \" . \"\".

    . , .

    , - . : , \"\" , , .

    50 ( 1 50) .

    ","","","","","","","


    - -
    (: 1)
    : 0/1
    :
    * *
    :

    50 .

    (: 1)
    : 0/1
    :
    * *
    :




    ","
    , \"\" . , .
    ","
    \" .
    ","
    \" \", , , , .



    "]}],"IsDungeon":false,"Name":"bookshop","Caption":" ","Description":[]}); +underground.addDungeon({"RequiredScriptNames":[],"NewLineToBR":true,"CellBackgroundColorString":"#E0E5E9","CellBorderColorString":"#7D8699","Jobs":{"CollectiveJobs":[],"CapturedJobs":[],"KillingJobs":[]},"Floors":[],"Pages":[{"NewLineToBR":false,"ExternalUrl":"","Name":"page1","Caption":" ","Description":["
    ","

    ...

    ","
    \"

    - [13]. - :
    ","
    ","
    , , , ! . , , , , . , ?

    ?
    , , ?
    , . ( )

    : ","
    ","
    , , , , - , . , , , , .


    , : ","
    ","
    . , , . , .

    : ","
    ","
    , . , , . . , .

    ***

    - , . , . , . .

    ","
    \" \"


    :","
    ","
    , ?

    ?


    , , .


    "]},{"NewLineToBR":false,"ExternalUrl":"","Name":"page2","Caption":" ","Description":["
    ","

    ","

    , , . , [13].
    ","

    ","
    , , , , ... , . , . . .

    : \" \" . \" \".

    :
    ","
    ","
    ","","","","","
    ","","","","","
    (: 1)
    : 0/1
    : 1 .
    :
    .
    Abandoned Plain

    . , , \"\" , E11 . .
    ","
    ","
    ","","","","","
    ","","","","","
    ' ' ' '

    ! . .
    ","
    ","
    , , , ! , ... ! , .

    ***

    \" \"
    0 .

    ","

    , . , .


    "]},{"NewLineToBR":false,"ExternalUrl":"","Name":"page3","Caption":" ","Description":["
    ","

    \" \" "," . .

    "," [4]-[6] .

    :

    ","
    \"


    \"\".

    "," , 1 . : ","
    ","
    \" \" \" ","\".

    . , ",": ","
    ","
    \" \" .

    "," , , ",", \"\". , ...

    ","
    ","
    : , , , , , , , , , . ","
    : , , , , . ","
    ","
    ","
    , , ",".


    :
    "," .
    .
    : . . "," . , . , , "," - , , .
    ","
    ","

    ","\" "," \" . "," .

    :

    ","
    \"


    :
    1 , "," , . , . "," , 3 \" \" , , "," ( ).

    :
    - , "," . , ( "," ). . "," ( ). \"\" .


    "]},{"NewLineToBR":false,"ExternalUrl":"","Name":"page4","Caption":" ","Description":["
    ","




    "," , . , , . "," . , - .

    "," \"\" ",", , .



    - .

    ",", . . ., , "," . . , . , . , + , + hp, "," . /, /. , \"\" .

    :

    ","
    ","","","","","","","","","","","","","","","","","","","","","","","","","","
    ","
    ","
    ","
    ","
    ","

    [4]
    : +5
    . : +1
    . : +5
    "," : +5
    . : +1
    : +5
    . : +1
    . : +5
    ",": +5
    . : +1
    : +5
    . : +1
    . : +5
    "," : +5
    . : +1
    : +5
    . : +1
    . : +5
    "," : +5
    . : +1
    ","

    [7]
    : +1
    : +10
    . : +3
    . ",": +10
    : +10
    . : +3
    : +1
    : +10
    . : +3
    . : +10
    "," : +10
    . : +3
    : +1
    : +10
    . : +3
    . : ","+10
    : +10
    . : +3
    : +1
    : +10
    . : +3
    . : ","+10
    : +10
    . : +3
    ","

    [9]
    : +2
    : +20
    : +20
    . : +5
    . "," : +20
    : +20
    . : +5
    : +2
    : +20
    : +20
    . : +5
    ",". : +20
    : +20
    . : +5
    : +2
    : +20
    . : +5
    . : ","+20
    : +20
    . : +5
    . : +3
    . . ",": +5
    : +2
    : +20
    . : +5
    . : ","+20
    : +20
    . : +5
    (HP): ","+20




    ",", \"\" . , . "," .

    ","
    ","","","","","","","","","","","
    ","

    https://img.new-combats.com/i/items/rune_super_2.gif

    ","

    (: 1)
    : 0/1
    :
    : 7
    : ","
    : +25
    :

    Abandoned Plain
    ","

    ","

    ","

    (: 1)
    : 0/1
    ",":
    : 7
    :
    : +50
    : ","

    Abandoned ","Plain

    ","

    ","

    (: 1)
    : 0/1
    ",":
    : 7
    :
    . : +5

    ","

    :

    ","Abandoned Plain

    ","

    ","

    (: 1)
    : 0/1
    ",":
    : 7
    :
    : +4
    :
    ","
    Abandoned Plain
    ","

    ","

    ","

    (: 1)
    : 0/1
    ",":
    : 7
    :
    : +4
    :
    ","
    Abandoned Plain
    ","

    ","

    ","

    (: 1)
    : 0/1
    ",":
    : 7
    :
    : +4
    :
    ","

    ","

    Abandoned Plain
    ","

    ","

    ","

    (: 1)
    : 0/1
    :
    : 7
    : ","
    : +4
    :

    Abandoned Plain


    ","



    ","
    ","

    ","

    . , "," . . - ; "," - . , , .

    ",":
    - , ;
    - , ;
    - , ;
    - ",", .

    :
    () - , ;
    () - , ",";
    () - , .

    :
    [] - ;
    [] - ",";
    [] - ;
    [] - ;
    [] - ;
    [] - ;
    [] ","-;
    [] - ;
    [] - ;
    [] - .

    : ","()[] . ()[] - ",".

    by Andre_be ","[10] \"\"




    "]},{"NewLineToBR":false,"ExternalUrl":"","Name":"page5","Caption":" ","Description":["
    ","


    ?

    ","

    .

    ","

    ","
    , , .
    ","


    ","

    1 . , \" \" .

    ","

    :

    ","


    . 1 ..
    . 2 . , , 1 . . .


    100 \"\" .
    1000 \"\" .



    ?

    . , .

    [4]-[6] .

    [4]-[8] .

    [4]-[10] .



    "]}],"Shops":[],"IsDungeon":false,"Name":"temple","Caption":" ","Description":[]}); diff --git a/dng/head/dungeon.offlinedata.js1 b/dng/head/dungeon.offlinedata.js1 new file mode 100644 index 00000000..d31a9e9e --- /dev/null +++ b/dng/head/dungeon.offlinedata.js1 @@ -0,0 +1,46 @@ +// JS (Akzhan+Newtonsoft) + +new-combats.com.installMobs({"Mobs":[{"SmImg":"","ImageUrl":"http://img.combats.ru/i/chars/d/1/1052_id8363592750.png","Instances":[{"Image":"sl","Level":8,"Align":"0","Tag":"","Move":true,"Description":[" :"," 2 2 . . "," . . ",""," : ","\"\" - + 25HP. ",""," . ."],"Strength":53,"Dexterity":20,"Intuition":50,"Endurance":30,"Intellect":0,"Wisdom":0,"HitPoints":500,"Reward":30,"BirthPlace":"Devils city"},{"Image":"sl","Level":9,"Align":"0","Tag":"","Move":true,"Description":[" :"," 2 2 . . "," . . ",""," : ","\"\" - + 35HP. ","\"\"",""," . ."],"Strength":55,"Dexterity":30,"Intuition":55,"Endurance":30,"Intellect":0,"Wisdom":0,"HitPoints":700,"Reward":60,"BirthPlace":"Devils city"}],"Name":"sl","Caption":"","Description":[]},{"SmImg":"kz","ImageUrl":"http://img.combats.ru/i/chars/d/0/1000.png","Instances":[{"Image":"kz","Level":10,"Align":"0","Tag":"","Move":false,"Description":[" :"," . 1 2 . , \"\", . 5 . ",""," : \" \" - (: -40). "," : \" \" - . 2- 4- , 30-70 . "," : \" \" - (: -20, : -20, : -20). "," : \"\" - +180. "," : \"\" - (: -40). "," [2700HP] . "," : \" \" "," [2000HP] . ",""," \"\". "],"Strength":100,"Dexterity":30,"Intuition":30,"Endurance":75,"Intellect":4,"Wisdom":0,"HitPoints":1800,"Reward":45,"BirthPlace":""},{"Image":"kz","Level":10,"Align":"0","Tag":"hp2000","Move":false,"Description":[],"Strength":100,"Dexterity":30,"Intuition":30,"Endurance":100,"Intellect":4,"Wisdom":0,"HitPoints":2000,"Reward":0,"BirthPlace":""},{"Image":"kz","Level":10,"Align":"0","Tag":"hp2700","Move":false,"Description":[],"Strength":100,"Dexterity":30,"Intuition":30,"Endurance":75,"Intellect":4,"Wisdom":0,"HitPoints":2700,"Reward":0,"BirthPlace":""},{"Image":"kza","Level":10,"Align":"9","Tag":"","Move":false,"Description":[" :","\"\" . 1 2 . , \"\", . 5 . ",""," : \" \" - (: -40). "," : \" \" - . 2- 4- , 30-70 . "," [2160HP 2880HP]: \" \" - (: -20, : -20, : -20). "," [2160HP 2880HP]: \"\" - +216 ( +288HP). "," : \"\" - (: -40). "," [3060HP] . "," [2340HP 2700HP]: \" \" "," [2360HP] . ",""," \"\". "],"Strength":100,"Dexterity":30,"Intuition":30,"Endurance":75,"Intellect":4,"Wisdom":0,"HitPoints":2160,"Reward":0,"BirthPlace":""}],"Name":"zm","Caption":"","Description":[]},{"SmImg":"","ImageUrl":"http://img.combats.ru/i/chars/d/0/1074_qu1639458937.png","Instances":[{"Image":"","Level":10,"Align":"0","Tag":"","Move":false,"Description":[],"Strength":50,"Dexterity":240,"Intuition":75,"Endurance":60,"Intellect":0,"Wisdom":0,"HitPoints":1000,"Reward":90,"BirthPlace":""},{"Image":"proka","Level":10,"Align":"9","Tag":"","Move":false,"Description":[],"Strength":50,"Dexterity":240,"Intuition":75,"Endurance":60,"Intellect":0,"Wisdom":0,"HitPoints":1100,"Reward":0,"BirthPlace":""},{"Image":"proka","Level":10,"Align":"9","Tag":"hp1200","Move":false,"Description":[],"Strength":50,"Dexterity":240,"Intuition":75,"Endurance":60,"Intellect":0,"Wisdom":0,"HitPoints":1200,"Reward":0,"BirthPlace":""},{"Image":"proka","Level":10,"Align":"9","Tag":"hp1300","Move":false,"Description":[],"Strength":50,"Dexterity":240,"Intuition":75,"Endurance":60,"Intellect":0,"Wisdom":0,"HitPoints":1300,"Reward":0,"BirthPlace":""},{"Image":"proka","Level":10,"Align":"9","Tag":"hp1400","Move":false,"Description":[],"Strength":50,"Dexterity":240,"Intuition":75,"Endurance":60,"Intellect":0,"Wisdom":0,"HitPoints":1400,"Reward":0,"BirthPlace":""},{"Image":"proka","Level":10,"Align":"9","Tag":"hp1600","Move":false,"Description":[],"Strength":50,"Dexterity":240,"Intuition":75,"Endurance":60,"Intellect":0,"Wisdom":0,"HitPoints":1600,"Reward":0,"BirthPlace":""}],"Name":"prokl","Caption":"","Description":[" :"," . 2 2 . "," . ",""," :\"\""," :\"\""," :\"\", \" \" - \" \""," : \"\""," : \"\", \" \""," : \"\",\" \", \" \"",""," \"\".",""," \"\" . 100HP. , , , , 1100HP 1400HP, 1300HP 1600HP."]},{"SmImg":"kz","ImageUrl":"http://img.combats.ru/i/chars/d/0/1000.png","Instances":[{"Image":"kz","Level":10,"Align":"0","Tag":"","Move":true,"Description":[],"Strength":100,"Dexterity":30,"Intuition":30,"Endurance":75,"Intellect":0,"Wisdom":0,"HitPoints":1800,"Reward":45,"BirthPlace":""}],"Name":"bzomb","Caption":" ","Description":[" :"," 1 2 . ."," .",""," : "," \" \" - (: -25, : -25), 2- .",""," \"\"."]},{"SmImg":"","ImageUrl":"http://img.combats.ru/i/chars/d/0/1005.png","Instances":[{"Image":"","Level":10,"Align":"0","Tag":"","Move":false,"Description":[],"Strength":100,"Dexterity":30,"Intuition":105,"Endurance":50,"Intellect":0,"Wisdom":0,"HitPoints":8000,"Reward":150,"BirthPlace":""},{"Image":"drsa","Level":10,"Align":"9","Tag":"","Move":false,"Description":[],"Strength":100,"Dexterity":30,"Intuition":105,"Endurance":50,"Intellect":0,"Wisdom":0,"HitPoints":8800,"Reward":0,"BirthPlace":""},{"Image":"drsa","Level":10,"Align":"9","Tag":" 10 ","Move":false,"Description":[],"Strength":100,"Dexterity":30,"Intuition":105,"Endurance":50,"Intellect":0,"Wisdom":0,"HitPoints":10400,"Reward":0,"BirthPlace":""}],"Name":"drstr","Caption":" ","Description":[" :"," 1 2 , : .",""," : ","\" \" - .","\"\" ",""," , \"\", 7- ."]},{"SmImg":"btma","ImageUrl":"http://img.combats.ru/i/chars/d/0/1030_ve5235342848.png","Instances":[{"Image":"btma","Level":9,"Align":"9","Tag":"","Move":false,"Description":[],"Strength":90,"Dexterity":25,"Intuition":25,"Endurance":70,"Intellect":10,"Wisdom":0,"HitPoints":1501,"Reward":350,"BirthPlace":""}],"Name":"brsk","Caption":"","Description":[" :"," , 2 . ",""," : ","\" \" - \" \".","\" \"","\"\" - +75 .","\"\"",""," ( 300% ), () ."]},{"SmImg":"sla","ImageUrl":"http://img.combats.ru/i/chars/d/1/1052_id8363592750.png","Instances":[{"Image":"sla","Level":8,"Align":"9","Tag":"","Move":true,"Description":[],"Strength":50,"Dexterity":20,"Intuition":50,"Endurance":30,"Intellect":0,"Wisdom":0,"HitPoints":1000,"Reward":500,"BirthPlace":"Devils city"}],"Name":"zsl","Caption":" ","Description":[" :"," 2 2 . . "," . .",""," : ","\"\" - +50 HP.","\" \" - 100-800 . .","\" \""]},{"SmImg":"sla","ImageUrl":"http://img.combats.ru/i/chars/d/1/1052_id8363592750.png","Instances":[{"Image":"sla","Level":9,"Align":"9","Tag":"","Move":true,"Description":[],"Strength":50,"Dexterity":35,"Intuition":60,"Endurance":30,"Intellect":0,"Wisdom":0,"HitPoints":1500,"Reward":500,"BirthPlace":""}],"Name":"hsl","Caption":" ","Description":[" :"," 2 2 . . "," . .",""," : ","\"\" - +75.","\" \" - ( : -100), 5 .","\" \" - 100 - 800 . .","\" \"","\" \"","\"\""]},{"SmImg":"","ImageUrl":"http://img.combats.ru/i/chars/d/0/1031_jw3759278305.png","Instances":[{"Image":"","Level":9,"Align":"9","Tag":"","Move":false,"Description":[],"Strength":20,"Dexterity":65,"Intuition":33,"Endurance":30,"Intellect":0,"Wisdom":0,"HitPoints":1000,"Reward":700,"BirthPlace":""}],"Name":"chkng","Caption":"","Description":[" :"," 1 2 . .",""," : ","\" \" - , . 3 . ","\" \" - (: -5, : -50, : -5, : -5)","\" \" - .","\"\"","\"\"",""," , , \"\" -3."]},{"SmImg":"sba","ImageUrl":"http://img.combats.ru/i/chars/d/0/1029_rr2385923954.png","Instances":[{"Image":"sb","Level":9,"Align":"9","Tag":"","Move":false,"Description":[],"Strength":10,"Dexterity":100,"Intuition":55,"Endurance":30,"Intellect":0,"Wisdom":0,"HitPoints":1000,"Reward":700,"BirthPlace":""}],"Name":"ep","Caption":"","Description":[" :"," 1 2 , : .",""," : ","\"\" - +300 HP, .","\" \" - ( : -125, : -125).","\" \" - , , , . 1 1 \" \".","\"\" ","\" \"","\"\"",""," , , +3.","","* J2"]},{"SmImg":"","ImageUrl":"http://img.combats.ru/i/chars/d/0/1032_tp9475823958.png","Instances":[{"Image":"","Level":8,"Align":"9","Tag":"","Move":false,"Description":[],"Strength":40,"Dexterity":50,"Intuition":35,"Endurance":30,"Intellect":0,"Wisdom":0,"HitPoints":1350,"Reward":350,"BirthPlace":""}],"Name":"og","Caption":" ","Description":[" :"," 1 2 , : . ",""," :","\" \" - c +500 HP.","\" \" (: -7, : -7, : -7). 5 .","\" \"","\" \"","\"\"",""," ()."]},{"SmImg":"","ImageUrl":"http://img.combats.ru/i/chars/d/0/1050_pq6472859128.png","Instances":[{"Image":"","Level":10,"Align":"0","Tag":"","Move":true,"Description":[],"Strength":60,"Dexterity":30,"Intuition":60,"Endurance":30,"Intellect":0,"Wisdom":0,"HitPoints":900,"Reward":60,"BirthPlace":""}],"Name":"pp","Caption":" ","Description":[" :"," 2 2 . "," . . . ",""," : ","\" \" - , 100 . , .","\"\"",""," \"\"."]},{"SmImg":"btm","ImageUrl":"http://img.combats.ru/i/chars/d/0/1030_ve5235342848.png","Instances":[{"Image":"btma","Level":9,"Align":"9","Tag":"","Move":false,"Description":[],"Strength":75,"Dexterity":25,"Intuition":25,"Endurance":55,"Intellect":10,"Wisdom":0,"HitPoints":3400,"Reward":0,"BirthPlace":""},{"Image":"btmb","Level":9,"Align":"3","Tag":"","Move":false,"Description":[],"Strength":75,"Dexterity":25,"Intuition":25,"Endurance":55,"Intellect":10,"Wisdom":0,"HitPoints":1700,"Reward":0,"BirthPlace":""}],"Name":"stglb","Caption":" ","Description":[" :"," 1 2 .",": . ."]},{"SmImg":"","ImageUrl":"http://img.combats.ru/i/chars/d/0/1082_9dh7ka.png","Instances":[{"Image":"","Level":10,"Align":"9","Tag":"","Move":false,"Description":[],"Strength":120,"Dexterity":30,"Intuition":30,"Endurance":45,"Intellect":0,"Wisdom":0,"HitPoints":5000,"Reward":800,"BirthPlace":""}],"Name":"trp","Caption":"","Description":[" :"," 1 2 . ",""," : ","\"\" - (. (%): -500, . (%): -1000), 3 , . .","\" \" - ( -50, (HP): -10%), 5 .","\"\" - (- HP - HP ).","\"\"","\" \"","\"\"",""," , \"\" ."]},{"SmImg":"prpa","ImageUrl":"http://img.combats.ru/i/chars/d/0/1001.png","Instances":[{"Image":"prpa","Level":10,"Align":"9","Tag":"","Move":false,"Description":[],"Strength":25,"Dexterity":75,"Intuition":40,"Endurance":40,"Intellect":0,"Wisdom":0,"HitPoints":2500,"Reward":800,"BirthPlace":""}],"Name":"plen","Caption":" ","Description":[" :",". - 2 . ",""," : ","\" \" - c , .","\" \" - 600 1 1 . , .","\" \" - , . ","\" \" - .",""," ."]},{"SmImg":"","ImageUrl":"http://img.combats.ru/i/chars/d/0/1076_nu1697563487.png","Instances":[{"Image":"","Level":10,"Align":"9","Tag":"","Move":false,"Description":[],"Strength":50,"Dexterity":120,"Intuition":50,"Endurance":50,"Intellect":0,"Wisdom":0,"HitPoints":2500,"Reward":800,"BirthPlace":""}],"Name":"shtpvl","Caption":" ","Description":[" :"," 1 2 . . .",""," : ","\" \" - . , P , 1HP. , , , 33% HP, . \" \", \" \" \"\".","\" \" - ( , , , / , ). .","\" \"","\"\"","\"\"",""," , \"\" ."]},{"SmImg":"","ImageUrl":"http://img.combats.ru/i/chars/d/0/1015.png","Instances":[{"Image":"","Level":10,"Align":"9","Tag":"","Move":false,"Description":[],"Strength":150,"Dexterity":180,"Intuition":225,"Endurance":240,"Intellect":0,"Wisdom":0,"HitPoints":10000,"Reward":1750,"BirthPlace":""}],"Name":"pvlt","Caption":"","Description":[" :"," 1 2 . ",", C3, B3.",""," 4 : ","1.\"\". (. (%): +250, : +15, : +30, : +60, . (%): +250, . (%): +100),","2.\"\". (. (%): +100, : +30, . (%): +300, : +60, : +15, . (%): -400), ","3.\"\". (. (%): +300, : +30, : +60, : +15, : +50, . (%): -400),","4.\"\". (. (%): +500, : +40, : +40, : +40, : +40, . (%): -250)."," \"\" . ",""," :","\" \"","\" \"","\" \"","\"\"","\"\"","\" \"","\"\"","\"\"",""," , ."]}],"Objects":[{"SmImg":"teleport05","ImageUrl":"http://img.combats.ru/i/objects/teleport05.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":4,"MT":5,"MW":28,"MH":28,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":1,"ClickChapter":"demons.3","ClickPoint":"B1","Name":"orangeteleport","Caption":" ","Description":[" , ."," B1 ."]}],"Name":"orangeteleport","Caption":" ","Description":[]},{"SmImg":"teleport07","ImageUrl":"http://img.combats.ru/i/objects/teleport07.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":4,"MT":5,"MW":28,"MH":28,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":1,"ClickChapter":"demons.4","ClickPoint":"K9","Name":"violetteleport1","Caption":" ","Description":[" , ."," K9 ."]}],"Name":"violetteleport","Caption":" ","Description":[]},{"SmImg":"well02","ImageUrl":"http://img.combats.ru/i/objects/well02.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"fountain1","Caption":" ","Description":[" . ."," , .",""," ' , '. : , , ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"well03","Caption":" ","Description":[" . ."," , .",""," ' , '. : , , .",""]}],"Name":"well05","Caption":"","Description":[]},{"SmImg":"well07","ImageUrl":"http://img.combats.ru/i/objects/well07.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"fountain7","Caption":" ","Description":[", :( HP (%): +80).",""," 99% , , :","\" \" -( HP(%):-80)","\" 2\" -( HP(%):-160)","\" 3\" -( HP(%):-240)","\" 4\" -( HP(%):-320)","\" 5\" - ( HP(%)-400)",""," -3 .",""]}],"Name":"fountain7","Caption":" 7","Description":[]},{"SmImg":"smag_collect1_4","ImageUrl":"http://img.combats.ru/i/objects/smag_collect1_4.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":5,"MT":5,"MW":24,"MH":24,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"sunduk_41","Caption":"","Description":[" ."," \"\" . ."]}],"Name":"sunduk_4","Caption":" ","Description":[]},{"SmImg":"kamen1","ImageUrl":"http://img.combats.ru/i/objects/kamen1.png","Rotate":false,"Importance":1,"BW":60,"BH":30,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"kamen1","Caption":"","Description":[" : , , , , , ."," \"\" ."]}],"Name":"kamen1","Caption":" 1","Description":[]},{"SmImg":"drain_bottom","ImageUrl":"http://img.combats.ru/i/objects/drain_bottom.png","Rotate":false,"Importance":1,"BW":80,"BH":50,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":1,"ClickChapter":"demons.2","ClickPoint":"B2","Name":"drain1","Caption":" ","Description":[" . "," , ."," B2 ."]}],"Name":"drain_lowering","Caption":" - ","Description":[]},{"SmImg":"proboina2","ImageUrl":"http://img.combats.ru/i/objects/proboina2.png","Rotate":false,"Importance":1,"BW":60,"BH":30,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":1,"ClickChapter":"demons.3","ClickPoint":"B20","Name":"proboina2","Caption":" ","Description":[" - ."," B20 ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":1,"ClickChapter":"demons.2","ClickPoint":"M11","Name":"proboina21","Caption":" ","Description":[" - ."," M11 ."]}],"Name":"proboina2","Caption":" 2","Description":[]},{"SmImg":"throne01","ImageUrl":"http://img.combats.ru/i/objects/throne01.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"throne11","Caption":" ","Description":[" ..."]}],"Name":"throne1","Caption":"","Description":[]},{"SmImg":"landslip01","ImageUrl":"http://img.combats.ru/i/objects/2/landslip01.png","Rotate":false,"Importance":1,"BW":126,"BH":87,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"landslip11","Caption":"","Description":[" - . ..."]}],"Name":"landslip1","Caption":"","Description":[]},{"SmImg":"skelet1","ImageUrl":"http://img.combats.ru/i/objects/skelet1.png","Rotate":false,"Importance":1,"BW":120,"BH":60,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"DarkRed","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"skelet11","Caption":" ","Description":[", 1000 HP."," . , ?!"]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"skelet12","Caption":" ","Description":[", , , . "]}],"Name":"skelet1","Caption":"","Description":[]},{"SmImg":"kk_stone_3_4","ImageUrl":"http://img.combats.ru/i/objects/kk_stone_3_4.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"kk_stone_3_4","Caption":" ","Description":[" , ( , Q9), 4 . "," K9 ."," , ."]}],"Name":"kk_stone_3_4","Caption":" ","Description":[]},{"SmImg":"kk_stone_2_3e","ImageUrl":"http://img.combats.ru/i/objects/kk_stone_2_3e.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"kk_stone_2_3e","Caption":" ","Description":[" , ( , O9), 3 . "," B1 ."," , ."]}],"Name":"kk_stone_2_3e","Caption":" ","Description":[]},{"SmImg":"kk_stone_2_3ch","ImageUrl":"http://img.combats.ru/i/objects/kk_stone_2_3ch.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"kk_stone_2_3ch","Caption":" ","Description":[" , ( , P10), 3 . "," B20 ."," , ."]}],"Name":"kk_stone_2_3ch","Caption":" ","Description":[]},{"SmImg":"stat1","ImageUrl":"http://img.combats.ru/i/objects/stat1.png","Rotate":false,"Importance":1,"BW":60,"BH":105,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"stat1","Caption":" ","Description":["."]}],"Name":"stat1","Caption":" ","Description":[]},{"SmImg":"stat2","ImageUrl":"http://img.combats.ru/i/objects/stat2.png","Rotate":false,"Importance":1,"BW":60,"BH":105,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"stat2","Caption":"","Description":["."]}],"Name":"stat2","Caption":" 2","Description":[]},{"SmImg":"stat3","ImageUrl":"http://img.combats.ru/i/objects/stat3.png","Rotate":false,"Importance":1,"BW":60,"BH":105,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"stat3","Caption":"","Description":["."]}],"Name":"stat3","Caption":" 3","Description":[]},{"SmImg":"barrikada","ImageUrl":"http://img.combats.ru/i/objects/barrikada.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"barrikada","Caption":"","Description":[", . "]}],"Name":"barrikada","Caption":"","Description":[]}]}); +new-combats.com.installMobs({"Mobs":[{"SmImg":"","ImageUrl":"http://img.combats.ru/i/chars/d/0/1025_zh2021090523.png","Instances":[{"Image":"","Level":8,"Align":"0","Tag":"","Move":false,"Description":[],"Strength":30,"Dexterity":25,"Intuition":50,"Endurance":30,"Intellect":0,"Wisdom":0,"HitPoints":500,"Reward":10,"BirthPlace":""},{"Image":"","Level":9,"Align":"0","Tag":"","Move":false,"Description":[],"Strength":50,"Dexterity":15,"Intuition":60,"Endurance":30,"Intellect":5,"Wisdom":0,"HitPoints":650,"Reward":25,"BirthPlace":""}],"Name":"rg","Caption":" ","Description":[" :"," 1 2 , : "," ."]},{"SmImg":"","ImageUrl":"http://img.combats.ru/i/chars/d/0/1024_kv8409230530.png","Instances":[{"Image":"","Level":8,"Align":"0","Tag":"","Move":false,"Description":[" :"," 1 2 , : ."," ."],"Strength":40,"Dexterity":50,"Intuition":35,"Endurance":30,"Intellect":0,"Wisdom":0,"HitPoints":375,"Reward":10,"BirthPlace":""},{"Image":"","Level":9,"Align":"0","Tag":"","Move":false,"Description":[" :"," 1 2 , : ."," , ."],"Strength":50,"Dexterity":50,"Intuition":20,"Endurance":30,"Intellect":10,"Wisdom":0,"HitPoints":600,"Reward":25,"BirthPlace":""}],"Name":"ng","Caption":" ","Description":[]},{"SmImg":"","ImageUrl":"http://img.combats.ru/i/chars/d/0/1026_vh8728572092.png","Instances":[{"Image":"","Level":7,"Align":"0","Tag":"","Move":false,"Description":[" :"," 1 2 , : . "," ."],"Strength":50,"Dexterity":25,"Intuition":20,"Endurance":30,"Intellect":0,"Wisdom":0,"HitPoints":450,"Reward":5,"BirthPlace":""},{"Image":"","Level":8,"Align":"0","Tag":"","Move":false,"Description":[" :"," 1 2 , : . ","."],"Strength":30,"Dexterity":30,"Intuition":50,"Endurance":30,"Intellect":0,"Wisdom":0,"HitPoints":500,"Reward":10,"BirthPlace":""}],"Name":"lit","Caption":"","Description":[]},{"SmImg":"","ImageUrl":"http://img.combats.ru/i/chars/d/0/1028_mm0939431234.png","Instances":[{"Image":"","Level":8,"Align":"0","Tag":"","Move":false,"Description":[],"Strength":30,"Dexterity":30,"Intuition":50,"Endurance":30,"Intellect":0,"Wisdom":0,"HitPoints":500,"Reward":12,"BirthPlace":""},{"Image":"","Level":9,"Align":"0","Tag":"","Move":false,"Description":[],"Strength":50,"Dexterity":15,"Intuition":15,"Endurance":50,"Intellect":0,"Wisdom":0,"HitPoints":750,"Reward":30,"BirthPlace":""},{"Image":"sga","Level":9,"Align":"9","Tag":"","Move":false,"Description":[],"Strength":50,"Dexterity":15,"Intuition":15,"Endurance":50,"Intellect":0,"Wisdom":0,"HitPoints":1500,"Reward":0,"BirthPlace":""}],"Name":"sg","Caption":" ","Description":[" :"," 1 2 , : . "," . .",""," : ","\" \" - .","\" \""]}],"Objects":[{"SmImg":"chalice01","ImageUrl":"http://img.combats.ru/i/objects/chalice01.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"halice1","Caption":" ","Description":[" ."," 2 ."," ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"halice2","Caption":"","Description":[" .",", , . , ."," ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"halice3","Caption":"","Description":[" .",", , . , , ."," ."]}],"Name":"chalice","Caption":"","Description":[]},{"SmImg":"bed","ImageUrl":"http://img.combats.ru/i/objects/bed01.png","Rotate":false,"Importance":0,"BW":60,"BH":60,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"bed1","Caption":"","Description":[" : , , , , , , : 3 ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"bed2","Caption":"","Description":["..."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"bed3","Caption":"","Description":[" , , : , , , , , ."]}],"Name":"bed","Caption":"","Description":[]}]}); +new-combats.com.installMobs({"Mobs":[{"SmImg":"","ImageUrl":"http://img.combats.ru/i/chars/d/0/1029_rr2385923954.png","Instances":[{"Image":"","Level":9,"Align":"0","Tag":"","Move":false,"Description":[],"Strength":50,"Dexterity":15,"Intuition":15,"Endurance":50,"Intellect":0,"Wisdom":0,"HitPoints":1200,"Reward":35,"BirthPlace":""}],"Name":"sb","Caption":" ","Description":[" :"," 1 2 , : ."," .",""," : ","\" \" - .","\" \" - \" \".","\"\" - . .","\" \" - + 45HP.","\"\""]},{"SmImg":"","ImageUrl":"http://img.combats.ru/i/chars/d/0/1030_ve5235342848.png","Instances":[{"Image":"","Level":9,"Align":"0","Tag":"","Move":false,"Description":[],"Strength":100,"Dexterity":50,"Intuition":50,"Endurance":50,"Intellect":0,"Wisdom":0,"HitPoints":1425,"Reward":0,"BirthPlace":""}],"Name":"btm","Caption":" ","Description":[" :"," 1 2 . .",""," : :","\" \"","\" \"","\"\"","\"\""]},{"SmImg":"sk","ImageUrl":"http://img.combats.ru/i/chars/d/0/1020_vf3369140625.png","Instances":[{"Image":"sk","Level":9,"Align":"9","Tag":"","Move":false,"Description":[],"Strength":50,"Dexterity":20,"Intuition":60,"Endurance":30,"Intellect":0,"Wisdom":0,"HitPoints":1200,"Reward":0,"BirthPlace":""}],"Name":"sd","Caption":" ","Description":[" :"," 5 2 "," . ",""," : ","\" \" - \" \".","\" \"","\" \"","\"\"","\" \"","\" \" - +45HP.",""," ()."]},{"SmImg":"","ImageUrl":"http://img.combats.ru/i/chars/d/0/1060_ms8259273602.png","Instances":[{"Image":"","Level":12,"Align":"0","Tag":"","Move":false,"Description":[],"Strength":150,"Dexterity":100,"Intuition":150,"Endurance":200,"Intellect":0,"Wisdom":0,"HitPoints":4500,"Reward":0,"BirthPlace":""}],"Name":"kg","Caption":" ","Description":[" :"," 2 2 .","- .",""," : ","\" \" - .","\" \" - \" \".","\"\" - \" \".","\"\"","\"\"",""," ()."]},{"SmImg":"","ImageUrl":"http://img.combats.ru/i/chars/d/0/1027_er8653875623.png","Instances":[{"Image":"","Level":9,"Align":"0","Tag":"","Move":false,"Description":[],"Strength":50,"Dexterity":50,"Intuition":50,"Endurance":50,"Intellect":0,"Wisdom":0,"HitPoints":1500,"Reward":0,"BirthPlace":""}],"Name":"gjs","Caption":" ","Description":[" :"," 1 2 . - .",""," : ","\" \"","\"\"","\"\"","\" \"","\" \" - +45HP.",""," ()(+5 ). "]},{"SmImg":"","ImageUrl":"http://img.combats.ru/i/chars/d/0/10015.png","Instances":[{"Image":"olgrta","Level":10,"Align":"9","Tag":"","Move":false,"Description":[],"Strength":50,"Dexterity":50,"Intuition":50,"Endurance":90,"Intellect":0,"Wisdom":0,"HitPoints":10000,"Reward":0,"BirthPlace":""}],"Name":"olgvirt","Caption":" ","Description":[" :"," 1 3 . ",""," : ","\" \" - . .","\" \" - . .","\" \"","\" \"","\"\"","\"\"","\"\"","\"\"","\"\" - 1% 1% . - , 33%. 85%.","\" \" - \" \" . 8-10 . 8 10 , . ."]}],"Objects":[{"SmImg":"chest01","ImageUrl":"http://img.combats.ru/i/objects/chest01.png","Rotate":false,"Importance":0,"BW":60,"BH":60,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"chest1","Caption":"","Description":[" 3 5 . \"\" ."]}],"Name":"chest1_blendy","Caption":" 1, ","Description":[]},{"SmImg":"chest03","ImageUrl":"http://img.combats.ru/i/objects/chest03.png","Rotate":false,"Importance":0,"BW":60,"BH":60,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"DarkRed","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"chest31","Caption":" - ","Description":[" ... ."," , , ."," \"\" . "]}],"Name":"chest3_bledny","Caption":" 3, ","Description":[]},{"SmImg":"duffer","ImageUrl":"http://img.combats.ru/i/objects/2/duffer.png","Rotate":false,"Importance":0,"BW":60,"BH":60,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"duffer1","Caption":"","Description":[" : , , . - ."]}],"Name":"duffer","Caption":"","Description":[]},{"SmImg":"duffer","ImageUrl":"http://img.combats.ru/i/objects/2/duffer.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"duffer21","Caption":"","Description":[" , . , , K4. ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"duffer22","Caption":"","Description":[" . , K5."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"duffer23","Caption":"","Description":[" . , K3."]}],"Name":"duffer2","Caption":" - ","Description":[]},{"SmImg":"kamen","ImageUrl":"http://img.combats.ru/i/objects/kamen.png","Rotate":false,"Importance":1,"BW":60,"BH":30,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"kamen","Caption":"","Description":[" . . "]}],"Name":"kamen","Caption":"","Description":[]},{"SmImg":"pot","ImageUrl":"http://img.combats.ru/i/objects/boiler01.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"DarkRed","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"boiler1","Caption":"","Description":[" , ..."," , ."]}],"Name":"boiler","Caption":"","Description":[]},{"SmImg":"vagon","ImageUrl":"http://img.combats.ru/i/objects/lorry01.png","Rotate":false,"Importance":0,"BW":60,"BH":60,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"lorry1","Caption":"","Description":["..."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"lorry2","Caption":"","Description":[" c."]}],"Name":"lorry","Caption":"","Description":[]}]}); +new-combats.com.installMobs({"Mobs":[{"SmImg":"","ImageUrl":"http://img.combats.ru/i/chars/d/0/1019.png","Instances":[{"Image":"pg","Level":6,"Align":"0","Tag":"","Move":true,"Description":[" :"," 1 2 ."," . / ."," ."],"Strength":30,"Dexterity":20,"Intuition":20,"Endurance":25,"Intellect":0,"Wisdom":0,"HitPoints":250,"Reward":2,"BirthPlace":""},{"Image":"pg","Level":7,"Align":"0","Tag":"","Move":true,"Description":[" :"," 1 2 ."," . / ."," . .",""," , ."],"Strength":40,"Dexterity":15,"Intuition":30,"Endurance":25,"Intellect":0,"Wisdom":0,"HitPoints":500,"Reward":6,"BirthPlace":""},{"Image":"pga","Level":7,"Align":"9","Tag":"","Move":true,"Description":[" :"," 1 2 ."," . / ."," . .",""," , ."],"Strength":40,"Dexterity":15,"Intuition":30,"Endurance":25,"Intellect":0,"Wisdom":0,"HitPoints":1500,"Reward":0,"BirthPlace":""},{"Image":"pg","Level":8,"Align":"0","Tag":"","Move":true,"Description":[" :"," 1 2 , : ."," . / ."," . .",""," , ."],"Strength":80,"Dexterity":3,"Intuition":3,"Endurance":40,"Intellect":0,"Wisdom":0,"HitPoints":800,"Reward":9,"BirthPlace":""},{"Image":"pg","Level":9,"Align":"0","Tag":"","Move":true,"Description":[" :"," 1 2 , : ."," . / ."," . .",""," , ."],"Strength":50,"Dexterity":15,"Intuition":15,"Endurance":50,"Intellect":0,"Wisdom":0,"HitPoints":1000,"Reward":20,"BirthPlace":""},{"Image":"pga","Level":9,"Align":"9","Tag":"","Move":true,"Description":[" :"," 1 2 , : ."," . / ."," . .",""," , ."],"Strength":50,"Dexterity":15,"Intuition":15,"Endurance":50,"Intellect":0,"Wisdom":0,"HitPoints":2000,"Reward":0,"BirthPlace":""},{"Image":"pg","Level":8,"Align":"0","Tag":"","Move":true,"Description":[" :"," 1 2 , : ."," , . . / ."," . .",""," , ."],"Strength":80,"Dexterity":3,"Intuition":3,"Endurance":40,"Intellect":0,"Wisdom":0,"HitPoints":800,"Reward":0,"BirthPlace":""}],"Name":"pg","Caption":" ","Description":[]}],"Objects":[{"SmImg":"arrow3","ImageUrl":"/i/ugobj/arrow3.gif","Rotate":false,"Importance":1,"BW":23,"BH":38,"ML":9,"MT":1,"MW":23,"MH":38,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"arrow1","Caption":" ","Description":[" - . ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":1,"ClickChapter":"capital.4","ClickPoint":"H1","Name":"arrow2","Caption":" ","Description":[" , . "," ."]}],"Name":"arrowdown","Caption":" ()","Description":[]}]}); +new-combats.com.installMobs({"Mobs":[{"SmImg":"pg","ImageUrl":"http://img.combats.ru/i/chars/d/0/1019.png","Instances":[{"Image":"pg","Level":7,"Align":"0","Tag":"","Move":true,"Description":[" :"," 1 2 , : ."," . / ."," . .",""," , ."],"Strength":40,"Dexterity":15,"Intuition":30,"Endurance":25,"Intellect":0,"Wisdom":0,"HitPoints":500,"Reward":6,"BirthPlace":""},{"Image":"pg","Level":8,"Align":"0","Tag":"","Move":true,"Description":[" :"," 1 2 , : ."," . / ."," . .",""," , ."],"Strength":80,"Dexterity":3,"Intuition":3,"Endurance":40,"Intellect":0,"Wisdom":0,"HitPoints":800,"Reward":10,"BirthPlace":""},{"Image":"pg","Level":9,"Align":"0","Tag":"","Move":true,"Description":[" :"," 1 2 , : ."," . / ."," . .",""," , ."],"Strength":50,"Dexterity":15,"Intuition":15,"Endurance":50,"Intellect":0,"Wisdom":0,"HitPoints":1000,"Reward":25,"BirthPlace":""}],"Name":"pg_sand","Caption":" ","Description":[]},{"SmImg":"sba","ImageUrl":"http://img.combats.ru/i/chars/d/0/1029_rr2385923954.png","Instances":[{"Image":"sba","Level":9,"Align":"9","Tag":"","Move":false,"Description":[],"Strength":10,"Dexterity":100,"Intuition":55,"Endurance":30,"Intellect":4,"Wisdom":0,"HitPoints":2000,"Reward":0,"BirthPlace":""}],"Name":"krpt","Caption":"","Description":[" :"," 1 2 , : . ",""," : ","\" \"","\" \" - \" \".","\" \" - 600 1 1 . , .","\" \" - ( : -125, : -125).","\"\"","\" \"","\"\"",""," , C ."]},{"SmImg":"strmgl","ImageUrl":"http://img.combats.ru/i/chars/d/0/1003.png","Instances":[{"Image":"strmgl","Level":8,"Align":"0","Tag":"","Move":false,"Description":[],"Strength":80,"Dexterity":3,"Intuition":3,"Endurance":40,"Intellect":0,"Wisdom":0,"HitPoints":1900,"Reward":0,"BirthPlace":""}],"Name":"strkl","Caption":" ","Description":[" :"," 1 2 , : . ",""," : ","\" \"","\" \" - \" \"","\" \"","\"\""]},{"SmImg":"btma","ImageUrl":"http://img.combats.ru/i/chars/d/0/1030_ve5235342848.png","Instances":[{"Image":"btma","Level":9,"Align":"9","Tag":"","Move":false,"Description":[],"Strength":90,"Dexterity":25,"Intuition":25,"Endurance":70,"Intellect":0,"Wisdom":0,"HitPoints":1501,"Reward":0,"BirthPlace":""}],"Name":"hroch","Caption":" ","Description":[" :"," 1 2 . ",""," : ","\" \"","\"\"","\" \""]},{"SmImg":"btma","ImageUrl":"http://img.combats.ru/i/chars/d/0/1030_ve5235342848.png","Instances":[{"Image":"btma","Level":9,"Align":"9","Tag":"","Move":false,"Description":[],"Strength":50,"Dexterity":15,"Intuition":60,"Endurance":30,"Intellect":5,"Wisdom":0,"HitPoints":1950,"Reward":0,"BirthPlace":" "}],"Name":"rh","Caption":" ","Description":[" :"," 1 2 , : . ",""," : ","\" \"","\" \"","\"\"","\"\"",""," ."]}],"Objects":[{"SmImg":"key2","ImageUrl":"http://img.combats.ru/i/objects/Key22.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"key2_21","Caption":" 2","Description":[" , D11."]}],"Name":"key2_2","Caption":" 2","Description":[]},{"SmImg":"sar2","ImageUrl":"http://img.combats.ru/i/objects/2/sar2.png","Rotate":false,"Importance":1,"BW":63,"BH":52,"ML":7,"MT":12,"MW":26,"MH":18,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"sar21","Caption":" ","Description":[" . , ."," 3. "," J4 , ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":1,"ClickChapter":"sand.4","ClickPoint":"D11","Name":"sar22","Caption":" ","Description":[" ."," , D11 ."]}],"Name":"sar2","Caption":" ","Description":[]},{"SmImg":"sign1","ImageUrl":"http://img.combats.ru/i/objects/2/sign1.png","Rotate":false,"Importance":0,"BW":67,"BH":45,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"sign11","Caption":"","Description":[" - , - ."]}],"Name":"sign1","Caption":"","Description":[]},{"SmImg":"strslpr","ImageUrl":"/i/ugobj/strslprbig.gif","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"strslpr1","Caption":" ","Description":[" ."]}],"Name":"strslpr","Caption":" ","Description":[]}]}); +new-combats.com.installMobs({"Mobs":[{"SmImg":"pg","ImageUrl":"http://img.combats.ru/i/chars/d/0/1019.png","Instances":[{"Image":"","Level":9,"Align":"0","Tag":"","Move":false,"Description":[" :"," 1 2 , : .",""," , ."," / ."],"Strength":50,"Dexterity":15,"Intuition":15,"Endurance":50,"Intellect":0,"Wisdom":0,"HitPoints":1000,"Reward":0,"BirthPlace":""}],"Name":"pg_abadon","Caption":" ","Description":[]},{"SmImg":"dkr","ImageUrl":"http://img.combats.ru/i/chars/d/1/1040_vk8345642089.png","Instances":[{"Image":"","Level":10,"Align":"0","Tag":"","Move":false,"Description":[" :"," 2 2 . . . . "," , .",""],"Strength":70,"Dexterity":100,"Intuition":100,"Endurance":100,"Intellect":100,"Wisdom":100,"HitPoints":1350,"Reward":0,"BirthPlace":""}],"Name":"dkr_abadon","Caption":" ","Description":[]},{"SmImg":"51","ImageUrl":"http://img.combats.ru/i/chars/d/0/51.png","Instances":[{"Image":"","Level":12,"Align":"0","Tag":"","Move":false,"Description":[],"Strength":0,"Dexterity":0,"Intuition":0,"Endurance":0,"Intellect":0,"Wisdom":0,"HitPoints":0,"Reward":0,"BirthPlace":""}],"Name":"voenkom","Caption":"","Description":[]},{"SmImg":"16","ImageUrl":"http://img.combats.ru/i/chars/d/0/16.png","Instances":[{"Image":"","Level":10,"Align":"0","Tag":"","Move":false,"Description":[],"Strength":0,"Dexterity":0,"Intuition":0,"Endurance":0,"Intellect":0,"Wisdom":0,"HitPoints":0,"Reward":0,"BirthPlace":""}],"Name":"serjant","Caption":"","Description":[]}],"Objects":[]}); +new-combats.com.installMobs({"Mobs":[{"SmImg":"","ImageUrl":"http://img.combats.ru/i/chars/d/0/1017.png","Instances":[{"Image":"","Level":6,"Align":"0","Tag":"","Move":false,"Description":[" :"," 2 2 , : . ",". ."],"Strength":30,"Dexterity":20,"Intuition":25,"Endurance":25,"Intellect":0,"Wisdom":0,"HitPoints":200,"Reward":2,"BirthPlace":""},{"Image":"","Level":7,"Align":"0","Tag":"","Move":false,"Description":[" :"," 1 2 , : . ",". ."],"Strength":35,"Dexterity":20,"Intuition":30,"Endurance":30,"Intellect":0,"Wisdom":0,"HitPoints":500,"Reward":5,"BirthPlace":""},{"Image":"pma","Level":7,"Align":"9","Tag":"","Move":false,"Description":[" :"," 1 2 , : . ",". ."],"Strength":35,"Dexterity":20,"Intuition":30,"Endurance":30,"Intellect":0,"Wisdom":0,"HitPoints":1000,"Reward":0,"BirthPlace":""},{"Image":"","Level":8,"Align":"0","Tag":"","Move":false,"Description":[" :"," 1 2 , : . ",". ."],"Strength":70,"Dexterity":20,"Intuition":50,"Endurance":30,"Intellect":0,"Wisdom":0,"HitPoints":700,"Reward":10,"BirthPlace":""},{"Image":"pma","Level":8,"Align":"9","Tag":"","Move":false,"Description":[" :"," 1 2 , : . ",". ."],"Strength":70,"Dexterity":20,"Intuition":50,"Endurance":30,"Intellect":0,"Wisdom":0,"HitPoints":1400,"Reward":0,"BirthPlace":""}],"Name":"pm","Caption":" ","Description":[]},{"SmImg":"","ImageUrl":"http://img.combats.ru/i/chars/d/0/1016.png","Instances":[{"Image":"","Level":6,"Align":"0","Tag":"","Move":false,"Description":[" :"," 1 2 . ",". ."],"Strength":30,"Dexterity":10,"Intuition":40,"Endurance":25,"Intellect":0,"Wisdom":0,"HitPoints":250,"Reward":2,"BirthPlace":""},{"Image":"","Level":7,"Align":"0","Tag":"","Move":false,"Description":[" :"," 1 2 . ","."],"Strength":50,"Dexterity":25,"Intuition":25,"Endurance":30,"Intellect":0,"Wisdom":0,"HitPoints":375,"Reward":5,"BirthPlace":""},{"Image":"pua","Level":7,"Align":"9","Tag":"","Move":false,"Description":[" :"," 1 2 .","."],"Strength":50,"Dexterity":25,"Intuition":25,"Endurance":30,"Intellect":0,"Wisdom":0,"HitPoints":750,"Reward":0,"BirthPlace":""},{"Image":"","Level":8,"Align":"0","Tag":"","Move":false,"Description":[" :"," 1 2 , : .","."],"Strength":30,"Dexterity":25,"Intuition":50,"Endurance":30,"Intellect":0,"Wisdom":0,"HitPoints":500,"Reward":10,"BirthPlace":""},{"Image":"pua","Level":8,"Align":"9","Tag":"","Move":false,"Description":[" :"," 1 2 , : .","."],"Strength":30,"Dexterity":25,"Intuition":50,"Endurance":30,"Intellect":0,"Wisdom":0,"HitPoints":1000,"Reward":0,"BirthPlace":""}],"Name":"pu","Caption":" ","Description":[]},{"SmImg":"","ImageUrl":"http://img.combats.ru/i/chars/d/0/1018.png","Instances":[{"Image":"","Level":8,"Align":"0","Tag":"","Move":false,"Description":[" :"," 1 2 , : . "," . ",""," : ","\" \"","\" \""],"Strength":40,"Dexterity":50,"Intuition":35,"Endurance":30,"Intellect":0,"Wisdom":0,"HitPoints":375,"Reward":20,"BirthPlace":""},{"Image":"paa","Level":8,"Align":"9","Tag":"","Move":false,"Description":[" :"," 1 2 , : . "," . ",""," : ","\" \"","\" \""],"Strength":40,"Dexterity":50,"Intuition":35,"Endurance":30,"Intellect":0,"Wisdom":0,"HitPoints":750,"Reward":0,"BirthPlace":""},{"Image":"","Level":9,"Align":"0","Tag":"","Move":false,"Description":[" :"," 1 2 , : . "," . .",""," : ","\" \"","\" \""],"Strength":50,"Dexterity":55,"Intuition":15,"Endurance":30,"Intellect":0,"Wisdom":0,"HitPoints":550,"Reward":50,"BirthPlace":""},{"Image":"paa","Level":9,"Align":"9","Tag":"","Move":false,"Description":[" :"," 1 2 , : . "," . .",""," : ","\" \"","\" \""],"Strength":50,"Dexterity":55,"Intuition":15,"Endurance":30,"Intellect":0,"Wisdom":0,"HitPoints":1100,"Reward":0,"BirthPlace":""}],"Name":"pa","Caption":" ","Description":[]},{"SmImg":"","ImageUrl":"http://img.combats.ru/i/chars/d/1/1040_vk8345642089.png","Instances":[{"Image":"","Level":8,"Align":"9","Tag":"","Move":true,"Description":[],"Strength":50,"Dexterity":25,"Intuition":15,"Endurance":30,"Intellect":100,"Wisdom":100,"HitPoints":1800,"Reward":300,"BirthPlace":""}],"Name":"dk","Caption":" ","Description":[" :"," 1 2 , : . "," . ",""," : ","\" \" - . . ","\" \" ","\"\" ","\"\""," \" \" - + 40HP. "," , , +600 HP."," .",""," () ()."]},{"SmImg":"","ImageUrl":"http://img.combats.ru/i/chars/d/0/1011.png","Instances":[{"Image":"","Level":9,"Align":"9","Tag":"","Move":false,"Description":[],"Strength":50,"Dexterity":15,"Intuition":15,"Endurance":70,"Intellect":0,"Wisdom":0,"HitPoints":2200,"Reward":300,"BirthPlace":""}],"Name":"im","Caption":" ","Description":[" :"," 1 2 , : ."," . ",""," : ","\" \" - c +45HP.","\" \"","\" \" - \" \".","\" \"","\" \"","\" \"","\"\"","\"\"",""," ."]},{"SmImg":"","ImageUrl":"http://img.combats.ru/i/chars/d/0/1020_vf3369140625.png","Instances":[{"Image":"","Level":9,"Align":"9","Tag":"","Move":false,"Description":[],"Strength":50,"Dexterity":60,"Intuition":20,"Endurance":30,"Intellect":0,"Wisdom":0,"HitPoints":1200,"Reward":250,"BirthPlace":""}],"Name":"sk","Caption":" ","Description":[" :"," 5 2 , : . "," .",""," : ","\" \" - \" \".","\" \"","\" \"","\" \" - +45.","\"\"","\"\"",""," ()."]},{"SmImg":"pua","ImageUrl":"http://img.combats.ru/i/chars/d/0/1016.png","Instances":[{"Image":"pua","Level":8,"Align":"9","Tag":"","Move":false,"Description":[],"Strength":60,"Dexterity":55,"Intuition":50,"Endurance":30,"Intellect":0,"Wisdom":0,"HitPoints":2000,"Reward":200,"BirthPlace":""}],"Name":"ms","Caption":" ","Description":[" :"," 1 2 , : ."," , .",""," : ","\" \" - \" \".","\" \"","\" \"","\"\"","\"\"",""," 1 ( , Sand city), - ."]},{"SmImg":"pga","ImageUrl":"http://img.combats.ru/i/chars/d/0/1019.png","Instances":[{"Image":"pga","Level":9,"Align":"9","Tag":"","Move":true,"Description":[],"Strength":50,"Dexterity":15,"Intuition":15,"Endurance":50,"Intellect":0,"Wisdom":0,"HitPoints":3000,"Reward":450,"BirthPlace":""}],"Name":"dpg","Caption":" ","Description":[" :"," 1 2 , : ."," ."," .",""," : ","\" \"- \" \".","\"\" - \" \".","\" \"","\" \"","\"\"","\"\"","\" \" - +18HP.",""," ()."]},{"SmImg":"","ImageUrl":"http://img.combats.ru/i/chars/d/0/1042a_ru2300519285.png","Instances":[{"Image":"","Level":10,"Align":"0","Tag":"","Move":false,"Description":[],"Strength":1,"Dexterity":50,"Intuition":50,"Endurance":50,"Intellect":0,"Wisdom":0,"HitPoints":2000,"Reward":10,"BirthPlace":""}],"Name":"duhhr","Caption":"-","Description":[" :"," 1 2 , . ",", , . "," . . ",""," : ","\" \" - , - 2 .",""," c ."]},{"SmImg":"mhub","ImageUrl":"http://img.combats.ru/i/chars/d/0/1095a_nu2987456891.png","Instances":[{"Image":"mhub","Level":10,"Align":"0","Tag":"","Move":true,"Description":[],"Strength":80,"Dexterity":45,"Intuition":45,"Endurance":45,"Intellect":0,"Wisdom":0,"HitPoints":2500,"Reward":40,"BirthPlace":""}],"Name":"mhub","Caption":" ","Description":[" :"," 1 2 ."," , . "," . , 10 .",""," : "," : ","\"\" - 5%, 5 , , 5%.","\" \" - - , , 0.5% HP , , (5% ) . . - 10 000 ",""," ."]},{"SmImg":"","ImageUrl":"http://img.combats.ru/i/chars/d/0/1094a_jw2305972054.png","Instances":[{"Image":"","Level":9,"Align":"9","Tag":"","Move":false,"Description":[],"Strength":75,"Dexterity":20,"Intuition":0,"Endurance":55,"Intellect":0,"Wisdom":0,"HitPoints":7000,"Reward":250,"BirthPlace":""}],"Name":"kamstr","Caption":" ","Description":[" :"," 1 2 . ",", M15.",""," : ","\"\" - .","\"\" - , . 3 . 3 , - 10 , - 30 .",""," ."]},{"SmImg":"","ImageUrl":"http://img.combats.ru/i/chars/d/0/1026a_rq2360403311.png","Instances":[{"Image":"","Level":9,"Align":"0","Tag":"","Move":false,"Description":[],"Strength":90,"Dexterity":30,"Intuition":30,"Endurance":40,"Intellect":40,"Wisdom":15,"HitPoints":1530,"Reward":15,"BirthPlace":""}],"Name":"mhk","Caption":"","Description":[" :"," 1 2 . ",""," : ","\"\" - 200-400 .",""," ."]},{"SmImg":"mhgol","ImageUrl":"http://img.combats.ru/i/chars/d/0/1095_hw4984572354.png","Instances":[{"Image":"mhgol","Level":10,"Align":"0","Tag":"","Move":false,"Description":[],"Strength":50,"Dexterity":50,"Intuition":50,"Endurance":50,"Intellect":0,"Wisdom":0,"HitPoints":1600,"Reward":15,"BirthPlace":""}],"Name":"mhohr","Caption":" ","Description":[" :"," 2 2 . ",""," : ","\"\" - .","\"\" - \"\".","\"\" - . \" \"."]},{"SmImg":"","ImageUrl":"http://img.combats.ru/i/chars/d/0/1095_hw4984572354.png","Instances":[{"Image":"","Level":9,"Align":"0","Tag":"","Move":false,"Description":[],"Strength":50,"Dexterity":0,"Intuition":75,"Endurance":40,"Intellect":0,"Wisdom":0,"HitPoints":1200,"Reward":15,"BirthPlace":""}],"Name":"mhgol","Caption":" ","Description":[" :"," 2 2 . ",""," : ","\"\" - .","\"\" - \"\".","\"\" - . \" \"."]},{"SmImg":"strsokra","ImageUrl":"http://img.combats.ru/i/chars/d/0/1094g_bn3894752896.png","Instances":[{"Image":"strsokra","Level":11,"Align":"9","Tag":"- ","Move":false,"Description":[" :"," 1 2 , : . ",""," : ","\"\" - \"\". ","\" \" - (: -60). 50% HP. \" \".","\"\" - .","\" \" - - .",""," : ***."],"Strength":55,"Dexterity":55,"Intuition":55,"Endurance":100,"Intellect":0,"Wisdom":0,"HitPoints":6500,"Reward":80,"BirthPlace":""},{"Image":"strsokra","Level":11,"Align":"9","Tag":"-","Move":false,"Description":[" :"," 1 2 , : . ",""," : ","\"\" - \"\". ","\" \" - (: -60). 50% HP. \" \".","\"\" - .","\" \" - - .",""," : ***."],"Strength":55,"Dexterity":55,"Intuition":55,"Endurance":100,"Intellect":0,"Wisdom":0,"HitPoints":6500,"Reward":0,"BirthPlace":""},{"Image":"strsokra","Level":11,"Align":"9","Tag":"- ","Move":false,"Description":[" :"," 1 2 , : . ",""," : ","\"\" - \"\". ","\" \" - (: -60). 50% HP. \" \".","\"\" - .","\" \" - - .",""," : ***."],"Strength":55,"Dexterity":55,"Intuition":55,"Endurance":100,"Intellect":0,"Wisdom":0,"HitPoints":6500,"Reward":0,"BirthPlace":""},{"Image":"strsokra","Level":11,"Align":"9","Tag":"-","Move":false,"Description":[" :"," 1 2 , : . ",""," : ","\"\" - \"\". ","\" \" - (: -60). 50% HP. \" \".","\"\" - .","\" \" - - .",""," : ***."],"Strength":55,"Dexterity":55,"Intuition":55,"Endurance":100,"Intellect":0,"Wisdom":0,"HitPoints":6500,"Reward":0,"BirthPlace":""},{"Image":"strsokra","Level":11,"Align":"9","Tag":"-","Move":false,"Description":[" :"," 1 2 , : . ",""," : ","\"\" - \"\". ","\" \" - (: -60). 50% HP. \" \".","\"\" - .","\" \" - - .",""," : ***."],"Strength":55,"Dexterity":55,"Intuition":55,"Endurance":100,"Intellect":0,"Wisdom":0,"HitPoints":6500,"Reward":0,"BirthPlace":""}],"Name":"strsokr","Caption":" ","Description":[]},{"SmImg":"mgrta","ImageUrl":"http://img.combats.ru/i/chars/d/0/1096_nr34185697153.png","Instances":[{"Image":"mgrta","Level":11,"Align":"9","Tag":"","Move":false,"Description":[],"Strength":10,"Dexterity":25,"Intuition":25,"Endurance":25,"Intellect":25,"Wisdom":0,"HitPoints":3000,"Reward":450,"BirthPlace":""}],"Name":"mgrt","Caption":" ","Description":[" :"," 1 2 . ",""," : ","\" \"","\" \"","\" \"","\"\"","\"c \" - (: +90, (HP): +3700) - .","\"\"- .","\" \" ","\" \"",""," :***."]},{"SmImg":"kz","ImageUrl":"http://img.combats.ru/i/chars/d/0/1000.png","Instances":[{"Image":"kz","Level":10,"Align":"0","Tag":"","Move":false,"Description":[],"Strength":100,"Dexterity":30,"Intuition":30,"Endurance":100,"Intellect":4,"Wisdom":0,"HitPoints":2000,"Reward":0,"BirthPlace":""}],"Name":"kzm","Caption":" ","Description":[" :"," 1 2 .",", L11.",""," \"\"."]},{"SmImg":"kz","ImageUrl":"http://img.combats.ru/i/chars/d/0/1000.png","Instances":[{"Image":"kz","Level":10,"Align":"0","Tag":"","Move":false,"Description":[],"Strength":100,"Dexterity":30,"Intuition":30,"Endurance":75,"Intellect":4,"Wisdom":0,"HitPoints":2700,"Reward":0,"BirthPlace":""}],"Name":"gzm","Caption":" ","Description":[" :"," 1 2 .",", L11.",""," \"\"."]}],"Objects":[{"SmImg":"chest02","ImageUrl":"http://img.combats.ru/i/objects/chest02.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":5,"MT":1,"MW":28,"MH":25,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"chest21","Caption":" ","Description":[" , ."," \"\" ."]}],"Name":"chest2_small","Caption":" 2 - .","Description":[]},{"SmImg":"chest04","ImageUrl":"http://img.combats.ru/i/objects/chest04.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":5,"MT":20,"MW":28,"MH":22,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"chest41","Caption":" ","Description":[" . "," \"\" ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"chest42","Caption":" ","Description":[" . "," \"\" ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"chest43","Caption":" ","Description":[" . "," \"\" ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"chest44","Caption":" ","Description":[" . "," \"\" ."]}],"Name":"chest4_small","Caption":" 4 - .","Description":[]},{"SmImg":"weap3","ImageUrl":"http://img.combats.ru/i/objects/2/weap3.png","Rotate":false,"Importance":0,"BW":60,"BH":60,"ML":4,"MT":5,"MW":27,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"weap31","Caption":"","Description":["..."]}],"Name":"weap3","Caption":" ","Description":[]},{"SmImg":"zer","ImageUrl":"http://img.combats.ru/i/objects/2/zer.png","Rotate":false,"Importance":0,"BW":60,"BH":60,"ML":9,"MT":5,"MW":21,"MH":28,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"zer1","Caption":"","Description":["..."]}],"Name":"zer","Caption":"","Description":[]}]}); +new-combats.com.installMobs({"Mobs":[{"SmImg":"","ImageUrl":"http://img.combats.ru/i/chars/d/1/1040a_dr8472409823.png","Instances":[{"Image":"","Level":10,"Align":"0","Tag":"","Move":true,"Description":[" :",", 2 ."," , ."," . . ",""," : ","\" \" - 100-115 . .","\" \" - 70-80 . .","\"\" - \" \".",""," c ."],"Strength":10,"Dexterity":25,"Intuition":25,"Endurance":40,"Intellect":25,"Wisdom":40,"HitPoints":900,"Reward":10,"BirthPlace":""},{"Image":"","Level":8,"Align":"0","Tag":"","Move":true,"Description":[" :",", 2 . ",""," : ","\"Ҹ \" - 100-200 . .",""," 3, . 4- . "],"Strength":25,"Dexterity":50,"Intuition":50,"Endurance":50,"Intellect":50,"Wisdom":50,"HitPoints":950,"Reward":0,"BirthPlace":""}],"Name":"zbldsh","Caption":" ","Description":[]}],"Objects":[{"SmImg":"well03","ImageUrl":"http://img.combats.ru/i/objects/well03.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"fountain21","Caption":" ","Description":[" ."," 1."," ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"fountain22","Caption":" ","Description":[" ."," ."]}],"Name":"well03","Caption":" 2","Description":[]},{"SmImg":"key","ImageUrl":"http://img.combats.ru/i/objects/Key1.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"key11","Caption":" 1","Description":[" ."," . , ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"key12","Caption":" 1","Description":[" :"," 1"," ( F8 )"," ( F4 )"]}],"Name":"key1","Caption":" 1","Description":[]},{"SmImg":"key21","ImageUrl":"http://img.combats.ru/i/objects/Key2.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"key21","Caption":" 2","Description":[" I6."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"key22","Caption":" 2","Description":[" :"," 2 "," ( F8 )"," ( F4 )"," ( C6 )"," ( C4 )"]}],"Name":"key2","Caption":" 2","Description":[]},{"SmImg":"well08","ImageUrl":"http://img.combats.ru/i/objects/well08.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"workshop1","Caption":" ","Description":[" , , .",", , 3. H6."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"workshop2","Caption":" ","Description":[" ."," , ."," ."]}],"Name":"workshop","Caption":"","Description":[]}]}); +new-combats.com.installMobs({"Mobs":[{"SmImg":"","ImageUrl":"http://img.combats.ru/i/chars/d/0/1002.png","Instances":[{"Image":"","Level":7,"Align":"0","Tag":"","Move":false,"Description":[" :"," 1 2 ."],"Strength":50,"Dexterity":25,"Intuition":20,"Endurance":30,"Intellect":0,"Wisdom":0,"HitPoints":450,"Reward":5,"BirthPlace":"Demons city"},{"Image":"rma","Level":7,"Align":"9","Tag":"","Move":false,"Description":[" :"," 1 2 ."," ."],"Strength":50,"Dexterity":25,"Intuition":20,"Endurance":30,"Intellect":0,"Wisdom":0,"HitPoints":1350,"Reward":0,"BirthPlace":"Demons city"},{"Image":"","Level":8,"Align":"0","Tag":"","Move":false,"Description":[" :"," 1 2 , : ."],"Strength":30,"Dexterity":30,"Intuition":50,"Endurance":30,"Intellect":0,"Wisdom":0,"HitPoints":500,"Reward":10,"BirthPlace":"Demons city"},{"Image":"rma","Level":8,"Align":"9","Tag":"","Move":false,"Description":[" :"," 1 2 ."],"Strength":50,"Dexterity":20,"Intuition":35,"Endurance":40,"Intellect":20,"Wisdom":0,"HitPoints":1000,"Reward":0,"BirthPlace":"Demons city"},{"Image":"","Level":9,"Align":"0","Tag":"","Move":false,"Description":[" :"," 1 2 , : ."," , ."],"Strength":50,"Dexterity":15,"Intuition":15,"Endurance":50,"Intellect":0,"Wisdom":0,"HitPoints":3000,"Reward":25,"BirthPlace":"Demons city"},{"Image":"rma","Level":9,"Align":"9","Tag":"","Move":false,"Description":[" :"," 1 2 , : "," . . ."],"Strength":50,"Dexterity":15,"Intuition":15,"Endurance":50,"Intellect":0,"Wisdom":0,"HitPoints":6000,"Reward":0,"BirthPlace":"Demons cuty"}],"Name":"rabmgl","Caption":" ","Description":[]},{"SmImg":"","ImageUrl":"http://img.combats.ru/i/chars/d/0/1003.png","Instances":[{"Image":"","Level":7,"Align":"0","Tag":"","Move":false,"Description":[" :"," 1 2 . ","."],"Strength":30,"Dexterity":30,"Intuition":35,"Endurance":30,"Intellect":0,"Wisdom":0,"HitPoints":400,"Reward":5,"BirthPlace":"Demons city"},{"Image":"","Level":8,"Align":"0","Tag":"","Move":false,"Description":[" :"," 1 2 . ","."],"Strength":50,"Dexterity":20,"Intuition":35,"Endurance":40,"Intellect":20,"Wisdom":0,"HitPoints":700,"Reward":10,"BirthPlace":"Demons city"},{"Image":"sma","Level":8,"Align":"9","Tag":"","Move":false,"Description":[" :"," 1 2 . ","."],"Strength":50,"Dexterity":20,"Intuition":35,"Endurance":40,"Intellect":20,"Wisdom":0,"HitPoints":1400,"Reward":0,"BirthPlace":"Demons city"},{"Image":"strmgl","Level":8,"Align":"0","Tag":"hp800","Move":false,"Description":[" :"," 1 2 , : ."," ."],"Strength":80,"Dexterity":3,"Intuition":3,"Endurance":40,"Intellect":0,"Wisdom":0,"HitPoints":800,"Reward":0,"BirthPlace":"Demons city"},{"Image":"sma","Level":8,"Align":"9","Tag":"hp1600","Move":false,"Description":[" :"," 1 2 , : ."," . ."],"Strength":80,"Dexterity":3,"Intuition":3,"Endurance":40,"Intellect":0,"Wisdom":0,"HitPoints":1600,"Reward":0,"BirthPlace":"Demons city"}],"Name":"strmgl","Caption":" ","Description":[]},{"SmImg":"","ImageUrl":"http://img.combats.ru/i/chars/d/0/1004.png","Instances":[{"Image":"","Level":7,"Align":"0","Tag":"","Move":false,"Description":[" :"," 1 2 , : .",", ."],"Strength":15,"Dexterity":35,"Intuition":35,"Endurance":20,"Intellect":0,"Wisdom":0,"HitPoints":300,"Reward":5,"BirthPlace":"Demons city"},{"Image":"","Level":8,"Align":"0","Tag":"","Move":false,"Description":[" :"," 1 2 , : .",", ."],"Strength":50,"Dexterity":50,"Intuition":30,"Endurance":30,"Intellect":0,"Wisdom":0,"HitPoints":350,"Reward":10,"BirthPlace":"Demons city"},{"Image":"smma","Level":8,"Align":"9","Tag":"","Move":false,"Description":[" :"," 1 2 , : .",", ."," . "],"Strength":50,"Dexterity":50,"Intuition":30,"Endurance":30,"Intellect":0,"Wisdom":0,"HitPoints":700,"Reward":0,"BirthPlace":"Demons city"},{"Image":"","Level":9,"Align":"0","Tag":"","Move":false,"Description":[" :"," 1 2 .",", ."," ."],"Strength":50,"Dexterity":70,"Intuition":15,"Endurance":30,"Intellect":0,"Wisdom":0,"HitPoints":600,"Reward":25,"BirthPlace":"Demons city"},{"Image":"smma","Level":9,"Align":"9","Tag":"","Move":false,"Description":[" :"," 1 2 .",", ."," ."],"Strength":50,"Dexterity":70,"Intuition":15,"Endurance":30,"Intellect":0,"Wisdom":0,"HitPoints":1200,"Reward":0,"BirthPlace":"Demons city"},{"Image":"smma","Level":9,"Align":"9","Tag":"hp2400","Move":false,"Description":[" :"," 1 2 . "," . ."],"Strength":50,"Dexterity":70,"Intuition":15,"Endurance":30,"Intellect":0,"Wisdom":0,"HitPoints":2400,"Reward":0,"BirthPlace":"Demons city"}],"Name":"smotrmgl","Caption":" ","Description":[]}],"Objects":[{"SmImg":"well04","ImageUrl":"http://img.combats.ru/i/objects/well04.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"fountain42","Caption":" ","Description":[" ."," 2. F5 ."," ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"fountain43","Caption":" ","Description":[" . ."]}],"Name":"fountain4","Caption":" 4","Description":[]}]}); +new-combats.com.installMobs({"Mobs":[{"SmImg":"","ImageUrl":"http://img.combats.ru/i/chars/d/0/1041_rk0170592363.png","Instances":[{"Image":"","Level":8,"Align":"0","Tag":"","Move":false,"Description":[" :"," 1 2 .",". ."],"Strength":70,"Dexterity":40,"Intuition":40,"Endurance":50,"Intellect":0,"Wisdom":0,"HitPoints":1200,"Reward":25,"BirthPlace":""},{"Image":"","Level":9,"Align":"0","Tag":"","Move":false,"Description":[" :"," 2 2 .",". ."],"Strength":95,"Dexterity":65,"Intuition":65,"Endurance":75,"Intellect":0,"Wisdom":0,"HitPoints":1500,"Reward":50,"BirthPlace":""},{"Image":"skra","Level":9,"Align":"9","Tag":"","Move":false,"Description":[" :"," 2 2 .",". ."],"Strength":95,"Dexterity":65,"Intuition":65,"Endurance":75,"Intellect":0,"Wisdom":0,"HitPoints":3000,"Reward":0,"BirthPlace":""},{"Image":"","Level":10,"Align":"0","Tag":"","Move":false,"Description":[" :"," 2 2 .",". ."],"Strength":125,"Dexterity":65,"Intuition":65,"Endurance":100,"Intellect":0,"Wisdom":0,"HitPoints":1800,"Reward":100,"BirthPlace":""},{"Image":"","Level":11,"Align":"0","Tag":"","Move":false,"Description":[" :"," 2 2 .",". ."],"Strength":160,"Dexterity":85,"Intuition":85,"Endurance":120,"Intellect":0,"Wisdom":0,"HitPoints":2400,"Reward":200,"BirthPlace":""}],"Name":"skr","Caption":" ","Description":[]},{"SmImg":"","ImageUrl":"http://img.combats.ru/i/chars/d/0/1042_zh6184692382.png","Instances":[{"Image":"","Level":8,"Align":"0","Tag":"","Move":false,"Description":[],"Strength":75,"Dexterity":75,"Intuition":75,"Endurance":50,"Intellect":0,"Wisdom":0,"HitPoints":750,"Reward":25,"BirthPlace":""},{"Image":"","Level":9,"Align":"0","Tag":"","Move":false,"Description":[],"Strength":100,"Dexterity":100,"Intuition":100,"Endurance":75,"Intellect":0,"Wisdom":0,"HitPoints":1800,"Reward":50,"BirthPlace":""},{"Image":"bkra","Level":9,"Align":"9","Tag":"","Move":false,"Description":[],"Strength":100,"Dexterity":100,"Intuition":100,"Endurance":75,"Intellect":0,"Wisdom":0,"HitPoints":3600,"Reward":0,"BirthPlace":""},{"Image":"","Level":10,"Align":"0","Tag":"","Move":false,"Description":[],"Strength":120,"Dexterity":120,"Intuition":120,"Endurance":100,"Intellect":0,"Wisdom":0,"HitPoints":3000,"Reward":100,"BirthPlace":""},{"Image":"","Level":11,"Align":"0","Tag":"","Move":false,"Description":[],"Strength":150,"Dexterity":150,"Intuition":150,"Endurance":120,"Intellect":0,"Wisdom":0,"HitPoints":4000,"Reward":200,"BirthPlace":""}],"Name":"bkr","Caption":" ","Description":[" :"," 1 2 .",", , 150 500. ."]},{"SmImg":"","ImageUrl":"http://img.combats.ru/i/chars/d/1/1040_vk8345642089.png","Instances":[{"Image":"","Level":8,"Align":"0","Tag":"","Move":true,"Description":[" :"," 2 2 . ."," .",""," : ","\" \" - . 200 . . ","\" \"","\"\" - + 47HP. "],"Strength":25,"Dexterity":50,"Intuition":50,"Endurance":50,"Intellect":50,"Wisdom":50,"HitPoints":950,"Reward":30,"BirthPlace":""},{"Image":"","Level":9,"Align":"0","Tag":"","Move":true,"Description":[" :"," 2 2 . . . "," .",""," : ","\" \" - . 200 . . ","\" \"","\"\" - + 57HP. "],"Strength":50,"Dexterity":60,"Intuition":60,"Endurance":60,"Intellect":60,"Wisdom":60,"HitPoints":1150,"Reward":60,"BirthPlace":""},{"Image":"dkra","Level":9,"Align":"9","Tag":"","Move":true,"Description":[" :"," 2 2 . . ."," .",""," : ","\" \" - . 200-400 . . ","\" \"","\"\" - + 57HP. "],"Strength":50,"Dexterity":60,"Intuition":60,"Endurance":60,"Intellect":60,"Wisdom":60,"HitPoints":2300,"Reward":0,"BirthPlace":""},{"Image":"","Level":10,"Align":"0","Tag":"","Move":true,"Description":[" :"," 2 2 . . . "," .",""," : ","\" \" - . 500 . . ","\" \"","\"\" - + 67HP. "],"Strength":70,"Dexterity":100,"Intuition":100,"Endurance":100,"Intellect":100,"Wisdom":100,"HitPoints":1350,"Reward":120,"BirthPlace":""},{"Image":"","Level":11,"Align":"0","Tag":"","Move":true,"Description":[" :"," 2 2 . . . "," .",""," : ","\" \" - . 500 . . ","\" \"","\"\" - + 90HP. "],"Strength":90,"Dexterity":120,"Intuition":120,"Endurance":120,"Intellect":120,"Wisdom":120,"HitPoints":1800,"Reward":250,"BirthPlace":""}],"Name":"dkr","Caption":" ","Description":[]},{"SmImg":"","ImageUrl":"http://img.combats.ru/i/chars/d/0/1043_ro9557495117.png","Instances":[{"Image":"","Level":9,"Align":"0","Tag":"","Move":false,"Description":[" :",". . ",""," : ","\" \" - . 200 . .","\" \" - ( +600 HP)."],"Strength":40,"Dexterity":50,"Intuition":50,"Endurance":50,"Intellect":100,"Wisdom":65,"HitPoints":2500,"Reward":60,"BirthPlace":""},{"Image":"pkra","Level":9,"Align":"9","Tag":"","Move":false,"Description":[" :",". . ",""," : ","\" \" - . 200 . .","\" \" - ( +600 HP)."],"Strength":40,"Dexterity":50,"Intuition":50,"Endurance":50,"Intellect":100,"Wisdom":65,"HitPoints":5000,"Reward":0,"BirthPlace":""},{"Image":"","Level":10,"Align":"0","Tag":"","Move":false,"Description":[" :",". . ",""," : ","\" \" - . 500 . .","\" \" - ( +600 HP)."],"Strength":40,"Dexterity":50,"Intuition":50,"Endurance":50,"Intellect":50,"Wisdom":65,"HitPoints":2000,"Reward":120,"BirthPlace":""},{"Image":"","Level":11,"Align":"0","Tag":"","Move":false,"Description":[" :",". . ",""," : ","\" \" - . 500 . .","\" \" - ( +600 HP)."],"Strength":60,"Dexterity":70,"Intuition":70,"Endurance":70,"Intellect":100,"Wisdom":80,"HitPoints":2500,"Reward":250,"BirthPlace":""}],"Name":"pkr","Caption":" ","Description":[]},{"SmImg":"","ImageUrl":"http://img.combats.ru/i/chars/d/0/1044_kv7870496581.png","Instances":[{"Image":"","Level":14,"Align":"9","Tag":"","Move":true,"Description":[],"Strength":200,"Dexterity":200,"Intuition":200,"Endurance":200,"Intellect":0,"Wisdom":0,"HitPoints":6000,"Reward":0,"BirthPlace":""}],"Name":"kv","Caption":" ","Description":[" :"," 2 2 . "," .",""," : ","\" \"","\" \"","\" \"","\" \" - +600.","\"\"","\" \"","\"\"","\"\"","\"\"",""," ."]}],"Objects":[{"SmImg":"teleport02","ImageUrl":"http://img.combats.ru/i/objects/teleport02.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":2,"MT":5,"MW":16,"MH":16,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"redteleport1","Caption":" ","Description":[" K7."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"redteleport2","Caption":" ","Description":[" C6."]}],"Name":"redteleport_small_left","Caption":" , ","Description":[]},{"SmImg":"teleport02","ImageUrl":"http://img.combats.ru/i/objects/teleport02.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":21,"MT":5,"MW":16,"MH":16,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"redteleport1","Caption":" ","Description":[" H4."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"redteleport2","Caption":" ","Description":[" J10."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"redteleport3","Caption":" ","Description":[" L9."]}],"Name":"redteleport_small_right","Caption":" , ","Description":[]},{"SmImg":"door2","ImageUrl":"http://img.combats.ru/i/objects/1_front_door.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"frontdoor1","Caption":" ","Description":[" ."]}],"Name":"frontdoor","Caption":" ","Description":[]},{"SmImg":"well04","ImageUrl":"http://img.combats.ru/i/objects/well04.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":2,"MT":5,"MW":17,"MH":20,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"fountain41","Caption":" ","Description":[" . ."]}],"Name":"fountain4_small","Caption":" 4 - .","Description":[]}]}); +new-combats.com.installMobs({"Mobs":[{"SmImg":"kza","ImageUrl":"http://img.combats.ru/i/chars/d/0/1000.png","Instances":[{"Image":"kza","Level":5,"Align":"9","Tag":"","Move":false,"Description":[],"Strength":30,"Dexterity":10,"Intuition":25,"Endurance":25,"Intellect":0,"Wisdom":0,"HitPoints":1800,"Reward":0,"BirthPlace":""}],"Name":"luka","Caption":"","Description":[" :"," 1 2 . ",""," : ","\" \" - .","\"\" - 7-10.","\" \" - \"\"","\" \" - \"\" ",""," .",""," , , ."]},{"SmImg":"kza","ImageUrl":"http://img.combats.ru/i/chars/d/0/1000.png","Instances":[{"Image":"kza","Level":5,"Align":"9","Tag":"","Move":false,"Description":[],"Strength":30,"Dexterity":10,"Intuition":25,"Endurance":25,"Intellect":0,"Wisdom":0,"HitPoints":900,"Reward":0,"BirthPlace":""}],"Name":"martn","Caption":" ","Description":[" :"," 1 2 . ",""," : ","\" \" - .","\"\" - 8-12HP.","\" \" - 2 . 1% .","\" \" - \"\".","\" \" - \"\".",""," ."]},{"SmImg":"sla","ImageUrl":"http://img.combats.ru/i/chars/d/1/1052_id8363592750.png","Instances":[{"Image":"sla","Level":4,"Align":"9","Tag":"","Move":false,"Description":[],"Strength":25,"Dexterity":15,"Intuition":20,"Endurance":15,"Intellect":0,"Wisdom":0,"HitPoints":600,"Reward":0,"BirthPlace":""}],"Name":"gmrz","Caption":" ","Description":[" :"," 2 2 . ",""," : ","\" \" - 2 . .","\" \" - .","\"\" - 8-12.","\"\" - , .",""," ."]},{"SmImg":"pp","ImageUrl":"http://img.combats.ru/i/chars/d/0/1050_pq6472859128.png","Instances":[{"Image":"pp","Level":4,"Align":"9","Tag":"","Move":false,"Description":[],"Strength":18,"Dexterity":25,"Intuition":20,"Endurance":15,"Intellect":0,"Wisdom":0,"HitPoints":540,"Reward":0,"BirthPlace":""}],"Name":"tungad","Caption":" ","Description":[" :"," 2 2 . ",""," : ","\" \" - 2 . .","\"\" - 8-12 .",""," ."]},{"SmImg":"trp","ImageUrl":"http://img.combats.ru/i/chars/d/0/1082_9dh7ka.png","Instances":[{"Image":"trp","Level":4,"Align":"9","Tag":"","Move":false,"Description":[],"Strength":15,"Dexterity":10,"Intuition":15,"Endurance":25,"Intellect":0,"Wisdom":0,"HitPoints":300,"Reward":0,"BirthPlace":""}],"Name":"obpodv","Caption":" ","Description":[" :"," 1 2 . ",""," : ","\" \" - .","\" \" - \"\".","\"\" - , .",""," ."]},{"SmImg":"","ImageUrl":"http://img.combats.ru/i/chars/d/0/1021_rz7360376769.png","Instances":[{"Image":"","Level":4,"Align":"0","Tag":"","Move":false,"Description":[],"Strength":5,"Dexterity":20,"Intuition":8,"Endurance":15,"Intellect":0,"Wisdom":0,"HitPoints":60,"Reward":0,"BirthPlace":""}],"Name":"pauk","Caption":"","Description":[" :"," 2 2 . ",""," : ","\" \" - 2 . .","\"\" - \" \".",""," ."]},{"SmImg":"","ImageUrl":"http://img.combats.ru/i/chars/d/0/1023_tv2330604720.png","Instances":[{"Image":"","Level":4,"Align":"0","Tag":"","Move":false,"Description":[],"Strength":7,"Dexterity":25,"Intuition":10,"Endurance":10,"Intellect":0,"Wisdom":0,"HitPoints":120,"Reward":0,"BirthPlace":""}],"Name":"stpauk","Caption":" ","Description":[" :"," 2 2 . ",""," : ","\" \" - 2 . .","\"\" - \" \".",""," ."]},{"SmImg":"","ImageUrl":"http://img.combats.ru/i/chars/d/0/1071_es6482658226.png","Instances":[{"Image":"","Level":4,"Align":"0","Tag":"","Move":false,"Description":[],"Strength":15,"Dexterity":10,"Intuition":15,"Endurance":25,"Intellect":0,"Wisdom":0,"HitPoints":200,"Reward":0,"BirthPlace":""}],"Name":"santzm","Caption":"-","Description":[" :"," 2 2 . ",""," : ","\" \" - 2 . .","\" \" - \"\".","\" \"",""," ."]},{"SmImg":"","ImageUrl":"http://img.combats.ru/i/chars/d/0/1022_ht7629239682.png","Instances":[{"Image":"","Level":4,"Align":"0","Tag":"","Move":false,"Description":[],"Strength":30,"Dexterity":10,"Intuition":10,"Endurance":15,"Intellect":0,"Wisdom":0,"HitPoints":100,"Reward":0,"BirthPlace":""}],"Name":"kanzuk","Caption":" ","Description":[" :"," 1 3 . ",""," : ","\" \" - \"\".","\" \" - \"\".",""," ."]},{"SmImg":"","ImageUrl":"http://img.combats.ru/i/chars/d/0/1102_njsojmlanai.png","Instances":[{"Image":"","Level":5,"Align":"0","Tag":"","Move":false,"Description":[],"Strength":15,"Dexterity":25,"Intuition":35,"Endurance":20,"Intellect":0,"Wisdom":0,"HitPoints":240,"Reward":0,"BirthPlace":""}],"Name":"kanpauk","Caption":" ","Description":[" :"," 2 2 . ",""," : ","\" \" - 2 .","\"\" - , . 1-3 . . 2-5 , .","\" \" - 1-3 . .",""," ."]},{"SmImg":"","ImageUrl":"http://img.combats.ru/i/chars/d/0/1129_uuzyzugyv.png","Instances":[{"Image":"","Level":5,"Align":"0","Tag":"","Move":false,"Description":[],"Strength":25,"Dexterity":15,"Intuition":15,"Endurance":25,"Intellect":0,"Wisdom":0,"HitPoints":312,"Reward":0,"BirthPlace":""}],"Name":"bzgsnt","Caption":" ","Description":[" :"," 2 2 . ",""," : ","\" \" - 3 . 10 .","\" \" - \"\"",""," ."]},{"SmImg":"","ImageUrl":"http://img.combats.ru/i/chars/d/1/1135_jhilayhqjy.png","Instances":[{"Image":"","Level":5,"Align":"0","Tag":"","Move":false,"Description":[],"Strength":15,"Dexterity":25,"Intuition":25,"Endurance":20,"Intellect":0,"Wisdom":0,"HitPoints":360,"Reward":0,"BirthPlace":""}],"Name":"strkr","Caption":" ","Description":[" :"," 2 2 . ",""," : ","\"\" - 10-20 . .","\"\" - \" \".","\"\" - 1-3 . . , \"\" .",""," ."]},{"SmImg":"","ImageUrl":"http://img.combats.ru/i/chars/d/1/1123_cprywpvgu.png","Instances":[{"Image":"","Level":6,"Align":"0","Tag":"","Move":false,"Description":[],"Strength":20,"Dexterity":35,"Intuition":40,"Endurance":25,"Intellect":0,"Wisdom":0,"HitPoints":270,"Reward":0,"BirthPlace":""}],"Name":"letb","Caption":" ","Description":[" :"," 2 2 . ",""," : ","\" \" - \"\".","\"\" - 10-20 . .",""," ."]},{"SmImg":"","ImageUrl":"http://img.combats.ru/i/chars/d/0/1131_wguwqcui.png","Instances":[{"Image":"","Level":6,"Align":"0","Tag":"","Move":false,"Description":[],"Strength":25,"Dexterity":15,"Intuition":20,"Endurance":25,"Intellect":0,"Wisdom":0,"HitPoints":450,"Reward":0,"BirthPlace":""}],"Name":"slzm","Caption":" - ","Description":[" :"," 1 2 . ",""," : ","\" \" - 2 .","\"\" - 10 . 5 .","\" \"",""," ."]},{"SmImg":"hozkana","ImageUrl":"http://img.combats.ru/i/chars/d/0/1132_bkiowybc.png","Instances":[{"Image":"hozkana","Level":6,"Align":"9","Tag":"","Move":false,"Description":[],"Strength":40,"Dexterity":35,"Intuition":30,"Endurance":25,"Intellect":0,"Wisdom":0,"HitPoints":1000,"Reward":0,"BirthPlace":""}],"Name":"hozkan","Caption":" ","Description":[" :"," 1 3 . ",""," : ","\" \" - 30-50 . .","\" \"","\" \" - 2 .","\"\" - , . .",""," ."]},{"SmImg":"mstngtla","ImageUrl":"http://img.combats.ru/i/chars/d/0/1128_cstfzebj.png","Instances":[{"Image":"mstngtla","Level":6,"Align":"9","Tag":"","Move":false,"Description":[],"Strength":15,"Dexterity":35,"Intuition":35,"Endurance":75,"Intellect":0,"Wisdom":0,"HitPoints":700,"Reward":0,"BirthPlace":""}],"Name":"mstngtl","Caption":" ","Description":[" :"," 2 2 . ",""," : ","\" \"","\" \" - \"\".","\"\" - .","\"\" - , .","\" \" - 20-30 . .",""," ",""," \" \" :","\" \" - 460","\" \" - 550 ","\" \" - 900","\" \" - 550."]},{"SmImg":"glprba","ImageUrl":"http://img.combats.ru/i/chars/d/0/1115_czyethrbsk.png","Instances":[{"Image":"glprba","Level":6,"Align":"9","Tag":"","Move":false,"Description":[],"Strength":35,"Dexterity":25,"Intuition":25,"Endurance":40,"Intellect":0,"Wisdom":0,"HitPoints":1000,"Reward":0,"BirthPlace":""}],"Name":"glprb","Caption":" ","Description":[" :"," 2 2 . ",""," : ","\" \"","\" \" - 2 .","\" \" - 1.5 , 2 , 3 .","\"\" - 50 HP , 10-15 . 2-3 . .",""," ."]},{"SmImg":"strgla","ImageUrl":"http://img.combats.ru/i/chars/d/0/1133_zgdtcylqfy.png","Instances":[{"Image":"strgla","Level":5,"Align":"9","Tag":"","Move":false,"Description":[],"Strength":30,"Dexterity":20,"Intuition":35,"Endurance":50,"Intellect":0,"Wisdom":0,"HitPoints":960,"Reward":0,"BirthPlace":""}],"Name":"strgl","Caption":"","Description":[" :"," 2 2 . ",""," : ","\" \" - 20-30 . .","\" \" - \"\".","\" \" - 30-50 . .",""," ."]}],"Objects":[{"SmImg":"door3","ImageUrl":"http://img.combats.ru/i/objects/1_front_door2.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"lukadoor1","Caption":" ","Description":[" . ."]}],"Name":"lukadoor","Caption":" ","Description":[]},{"SmImg":"ladder02","ImageUrl":"http://img.combats.ru/i/objects/ladder02.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":4,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"ladder21","Caption":"","Description":[" ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":1,"ClickChapter":"novice.2","ClickPoint":"E16","Name":"ladder22","Caption":"","Description":[" E16 ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":1,"ClickChapter":"novice.1","ClickPoint":"L12","Name":"ladder23","Caption":"","Description":[" L12 ."]}],"Name":"ladder2","Caption":" ()","Description":[]},{"SmImg":"key","ImageUrl":"http://img.combats.ru/i/objects/Key1.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":20,"MT":20,"MW":18,"MH":18,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"key11","Caption":" 1","Description":[" 2- ."]}],"Name":"key1_small","Caption":" 1 - .","Description":[]},{"SmImg":"key21","ImageUrl":"http://img.combats.ru/i/objects/Key2.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":1,"MT":1,"MW":18,"MH":18,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"key21","Caption":" 2","Description":[" 3- ."]}],"Name":"key2_small","Caption":" 2 - .","Description":[]},{"SmImg":"key3","ImageUrl":"http://img.combats.ru/i/objects/Key3.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":20,"MT":20,"MW":18,"MH":18,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"key31","Caption":" 3","Description":[" 4- ."]}],"Name":"key3_small","Caption":" 3 - .","Description":[]},{"SmImg":"key","ImageUrl":"http://img.combats.ru/i/objects/Key4.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":20,"MT":20,"MW":18,"MH":18,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"key41","Caption":" 4","Description":[" 4- ."]}],"Name":"key4_small","Caption":" 4 - .","Description":[]},{"SmImg":"key5","ImageUrl":"http://img.combats.ru/i/objects/Key5.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"key51","Caption":" 5","Description":[" ."]}],"Name":"key5","Caption":" 5","Description":[]},{"SmImg":"key6","ImageUrl":"http://img.combats.ru/i/objects/Key6.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"key61","Caption":" 6","Description":[" ."]}],"Name":"key6","Caption":" 6","Description":[]},{"SmImg":"key","ImageUrl":"http://img.combats.ru/i/objects/Key7.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":20,"MT":20,"MW":19,"MH":19,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"key71","Caption":" 7","Description":[" ."]}],"Name":"key7_small","Caption":" 7 - .","Description":[]},{"SmImg":"key8","ImageUrl":"http://img.combats.ru/i/objects/Key8.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"key81","Caption":" 8","Description":[" ."]}],"Name":"key8","Caption":" 8","Description":[]},{"SmImg":"key9","ImageUrl":"http://img.combats.ru/i/objects/Key9.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"key91","Caption":" 9","Description":[" ."]}],"Name":"key9","Caption":" 9","Description":[]},{"SmImg":"smag_collect1","ImageUrl":"http://img.combats.ru/i/objects/smag_collect1.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":2,"MT":2,"MW":20,"MH":20,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"smag_collect1","Caption":" ","Description":[" ."," \"\" ."]}],"Name":"sunduk_small","Caption":" - .","Description":[]},{"SmImg":"smag_collect1_2","ImageUrl":"http://img.combats.ru/i/objects/smag_collect1_2.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":5,"MT":5,"MW":24,"MH":24,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"sunduk_21","Caption":" ","Description":[" ."," \"\" ."]}],"Name":"sunduk_2","Caption":" ","Description":[]},{"SmImg":"smag_collect1_2","ImageUrl":"http://img.combats.ru/i/objects/smag_collect1_2.png","Rotate":false,"Importance":0,"BW":60,"BH":60,"ML":5,"MT":5,"MW":24,"MH":24,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"sunduk_21","Caption":" ","Description":[" ."," \"\" ."]}],"Name":"sunduk_2_blendy","Caption":" , ","Description":[]},{"SmImg":"chest01","ImageUrl":"http://img.combats.ru/i/objects/chest01.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":2,"MT":2,"MW":22,"MH":22,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"chest11","Caption":" ","Description":[" ."," \"\" ."]}],"Name":"chest1_small","Caption":" 1 - .","Description":[]},{"SmImg":"grate02","ImageUrl":"http://img.combats.ru/i/objects/grate02.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"grate21","Caption":"","Description":[" 4- ."," 3."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"grate22","Caption":"","Description":[" 4- ."," 4."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"grate23","Caption":"","Description":[" ."," 8."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"grate24","Caption":"","Description":[" ."," 9."]}],"Name":"grate2","Caption":" 2","Description":[]},{"SmImg":"1_front_walll_tr","ImageUrl":"http://img.combats.ru/i/objects/1_front_walll_tr.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"front_walll_tr1","Caption":"","Description":[" , , ."," ."]}],"Name":"front_walll_tr","Caption":"","Description":[]},{"SmImg":"drain_bottom1","ImageUrl":"http://img.combats.ru/i/objects/drain_bottom.png","Rotate":false,"Importance":0,"BW":80,"BH":50,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"drain1","Caption":"","Description":["..."]},{"HighlightColorString":"ForestGreen","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"drain2","Caption":"","Description":["..."," ."]}],"Name":"drain_bottom1","Caption":" ( )","Description":[]},{"SmImg":"trash01","ImageUrl":"http://img.combats.ru/i/objects/trash01.png","Rotate":false,"Importance":1,"BW":102,"BH":50,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"trash11","Caption":" ","Description":[" ."]}],"Name":"trash1","Caption":" ","Description":[]},{"SmImg":"full_rune_vial","ImageUrl":"http://img.combats.ru/i/items/full_rune_vial.gif","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"OrangeRed","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"full_rune_via1","Caption":" ","Description":[" , ."," .",""]}],"Name":"full_rune_vial","Caption":" ","Description":[]}]}); +new-combats.com.installMobs({"Mobs":[{"SmImg":"","ImageUrl":"http://img.combats.ru/i/chars/d/0/1130_mcqzbnqy.png","Instances":[{"Image":"","Level":6,"Align":"0","Tag":"","Move":false,"Description":[],"Strength":35,"Dexterity":35,"Intuition":25,"Endurance":25,"Intellect":0,"Wisdom":0,"HitPoints":390,"Reward":0,"BirthPlace":""}],"Name":"krsnt","Caption":" ","Description":[" :"," 1 3 . ",""," : ","\" \" - \"\".","\" \"","\"\" - 10-30 . . , \"\" .","\" \" - 3 . 10 .",""," ."]}],"Objects":[]}); +new-combats.com.installMobs({"Mobs":[{"SmImg":"mhgol","ImageUrl":"http://img.combats.ru/i/objects/anvil_golem.png","Instances":[{"Image":"","Level":11,"Align":"0","Tag":"","Move":false,"Description":[],"Strength":0,"Dexterity":0,"Intuition":0,"Endurance":0,"Intellect":0,"Wisdom":0,"HitPoints":0,"Reward":0,"BirthPlace":""}],"Name":"zabgol","Caption":"","Description":[]}],"Objects":[{"SmImg":"kuzn","ImageUrl":"http://img.combats.ru/i/objects/forge01.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"forge1","Caption":"","Description":[" ... 9- 10 . ... ",", - C . ",", , .",""," ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"forge2","Caption":" ","Description":[" ... [9] [10] ."," .",""," :"," [10] "," [10] "," [10] "," [10] "," [10] "," [10] ",""," :"," [10] "," [10] "," [10] "," [10] "," [10] "," [10] "]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"forge3","Caption":" ","Description":[" ... [9] [10] ."," .",""," :"," [10] "," [10] "," [10] "," [10] "," [10] "," [10] "," [10] ",""," :"," [10] "," [10] "," [10] "," [10] "," [10] "," [10] "," [10] "]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"forge4","Caption":" ","Description":[" ... [9] [10] ."," .",""," :"," [10] "," [10] "," [10] "," [10] "," [10] "," [10] "]}],"Name":"forge","Caption":"","Description":[]}]}); +new-combats.com.installMobs({"Mobs":[],"Objects":[{"SmImg":"vxod","ImageUrl":"/i/ugobj/vxod.gif","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":0,"MT":0,"MW":38,"MH":38,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"enter","Caption":"","Description":[]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":1,"ClickChapter":"demons.2","ClickPoint":"V2","Name":"ladder02","Caption":"","Description":[" ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":1,"ClickChapter":"demons.2","ClickPoint":"J2","Name":"enter3","Caption":"","Description":[" ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"enter2","Caption":" ","Description":[" ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":1,"ClickChapter":"capital.1","ClickPoint":"I2","Name":"enter4","Caption":"","Description":[" ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":1,"ClickChapter":"capital.2","ClickPoint":"I6","Name":"enter5","Caption":"","Description":[" ."," , , I6 ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":1,"ClickChapter":"capital.1","ClickPoint":"F10","Name":"enter6","Caption":" ","Description":[" ."," , : , F10 , B15."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":1,"ClickChapter":"emerald.1","ClickPoint":"H2","Name":"enter7","Caption":" ","Description":[" ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":1,"ClickChapter":"emerald.2","ClickPoint":"L8","Name":"enter8","Caption":"","Description":[" ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":1,"ClickChapter":"demons.1","ClickPoint":"R13","Name":"enter9","Caption":"","Description":[" ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":1,"ClickChapter":"demons.3","ClickPoint":"7","Name":"enter10","Caption":" ","Description":[" ."]}],"Name":"entrancepoint_green1","Caption":" ","Description":[]},{"SmImg":"vyxod","ImageUrl":"/i/ugobj/vyxod.gif","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":4,"MT":2,"MW":34,"MH":34,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"escape","Caption":" ","Description":[]}],"Name":"escapepoint_blue1","Caption":" ","Description":[]}]}); +new-combats.com.installMobs({"Mobs":[],"Objects":[{"SmImg":"teleport01","ImageUrl":"http://img.combats.ru/i/objects/teleport01.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":4,"MT":5,"MW":28,"MH":28,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":1,"ClickChapter":"capital.4","ClickPoint":"H8","Name":"blueteleport1","Caption":"","Description":[" 4 ."," ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"blueteleport2","Caption":"","Description":[" D5. "," , E5."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"blueteleport3","Caption":" - ","Description":[" H4. "," ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"blueteleport4","Caption":" - ","Description":[" ..."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":1,"ClickChapter":"demons.4","ClickPoint":"K11","Name":"blueteleport5","Caption":"","Description":[" 4 ."," K11 ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"blueteleport6","Caption":"","Description":[" G4."," 1."," , ."]}],"Name":"blueteleport","Caption":" ","Description":[]}]}); +new-combats.com.installMobs({"Mobs":[],"Objects":[{"SmImg":"teleport02","ImageUrl":"http://img.combats.ru/i/objects/teleport02.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":4,"MT":5,"MW":28,"MH":28,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":1,"ClickChapter":"capital.3","ClickPoint":"B7","Name":"redteleport1","Caption":" ","Description":[" B7 ."," 2."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"redteleport2","Caption":" ","Description":[" D11."," ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":1,"ClickChapter":"capital.4","ClickPoint":"K16","Name":"redteleport3","Caption":" - ","Description":[" K16 ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"redteleport4","Caption":" ","Description":[" K5 ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"redteleport5","Caption":" ","Description":[" I7."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"redteleport6","Caption":" ","Description":[" F6."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"redteleport7","Caption":" ","Description":[" . H4, K7."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"redteleport8","Caption":" ","Description":[" . C6, J10."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"redteleport9","Caption":" ","Description":[" J4."," ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":1,"ClickChapter":"sand.2","ClickPoint":"K11","Name":"redteleport10","Caption":"","Description":[" ..."," K11 . . "]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":1,"ClickChapter":"sand.3","ClickPoint":"K11","Name":"redteleport11","Caption":"","Description":[" K11 ."," \"\" ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"redteleport12","Caption":"","Description":[" G10 ."," \"\" ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":1,"ClickChapter":"abandon.4","ClickPoint":"E10","Name":"redteleport13","Caption":" ()","Description":[" , ."]}],"Name":"redteleport","Caption":" ","Description":[]}]}); +new-combats.com.installMobs({"Mobs":[],"Objects":[{"SmImg":"teleport04","ImageUrl":"http://img.combats.ru/i/objects/teleport04.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":4,"MT":5,"MW":28,"MH":28,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"grteleport1","Caption":" ","Description":[" , H8."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":1,"ClickChapter":"abandon.2","ClickPoint":"C6","Name":"grteleport2","Caption":" ()","Description":[" , ."]}],"Name":"greenteleport","Caption":" ","Description":[]},{"SmImg":"weap2","ImageUrl":"http://img.combats.ru/i/objects/2/weap2.png","Rotate":false,"Importance":0,"BW":60,"BH":60,"ML":2,"MT":5,"MW":32,"MH":31,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"weap21","Caption":"","Description":["..."]}],"Name":"weap2","Caption":" ","Description":[]},{"SmImg":"arrow2","ImageUrl":"/i/ugobj/arrow2.gif","Rotate":false,"Importance":1,"BW":38,"BH":23,"ML":1,"MT":9,"MW":38,"MH":23,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"arrow1","Caption":" ","Description":[" - . ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"arrow2","Caption":"","Description":[]}],"Name":"arrowright","Caption":" ()","Description":[]}]}); +new-combats.com.installMobs({"Mobs":[],"Objects":[{"SmImg":"teleport06","ImageUrl":"http://img.combats.ru/i/objects/teleport06.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":4,"MT":5,"MW":28,"MH":28,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"yellowteleport1","Caption":"","Description":[" G13."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":1,"ClickChapter":"demons.3","ClickPoint":"C21","Name":"yellowtelepor2","Caption":" ","Description":[" , ."," C21 ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":1,"ClickChapter":"abandon.3","ClickPoint":"C6","Name":"yellowtelepor3","Caption":"","Description":[" , ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":1,"ClickChapter":"abandon.1","ClickPoint":"D7","Name":"yellowtelepor4","Caption":" ","Description":[" ."]}],"Name":"yellowteleport","Caption":" ","Description":[]},{"SmImg":"vumpel01","ImageUrl":"http://img.combats.ru/i/objects/2/polot.png","Rotate":false,"Importance":0,"BW":70,"BH":62,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"vumpel11","Caption":"","Description":["..."]}],"Name":"vumpel1","Caption":" ","Description":[]}]}); +new-combats.com.installMobs({"Mobs":[],"Objects":[{"SmImg":"danger2","ImageUrl":"/i/ugobj/danger2_big.gif","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"DarkRed","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"teleport1","Caption":" - ","Description":[", , H6."]},{"HighlightColorString":"DarkRed","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"teleport2","Caption":" - ","Description":[", , I4."]},{"HighlightColorString":"DarkRed","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"teleport3","Caption":" - ","Description":[", , I4."]},{"HighlightColorString":"DarkRed","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"teleport4","Caption":" - ","Description":[", , E7."]},{"HighlightColorString":"DarkRed","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"teleport5","Caption":" - ","Description":[", , F6."]},{"HighlightColorString":"DarkRed","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"teleport6","Caption":" - ","Description":[", , H2."]},{"HighlightColorString":"DarkRed","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"teleport7","Caption":" - ","Description":[", , Q11."]},{"HighlightColorString":"DarkRed","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"teleport8","Caption":" - ","Description":[", , Q4."]},{"HighlightColorString":"DarkRed","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"teleport9","Caption":" - ","Description":[", , R4."]}],"Name":"dangerteleport","Caption":" - ","Description":[]},{"SmImg":"smag_collect1_1","ImageUrl":"http://img.combats.ru/i/objects/smag_collect1_1.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":5,"MT":5,"MW":24,"MH":24,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"sunduk_11","Caption":" ","Description":[" , ."," \"\" ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"sunduk_12","Caption":"","Description":[" 4, ."," ... ."," ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"sunduk_13","Caption":"","Description":[" ."," ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"sunduk_14","Caption":"","Description":[" ."," ."]}],"Name":"sunduk_1","Caption":" ","Description":[]},{"SmImg":"chest04","ImageUrl":"http://img.combats.ru/i/objects/chest04.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":5,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"chest11","Caption":" ","Description":[" ."," \"\" ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"chest12","Caption":" ","Description":[" ."," \"\" ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"chest13","Caption":" ","Description":[" ."," \"\" ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"chest14","Caption":" ","Description":[" ."," \"\" ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"chest15","Caption":"","Description":[" - ."]},{"HighlightColorString":"DarkRed","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"chest16","Caption":" - ","Description":[" - , . !"]}],"Name":"chest4","Caption":" 4","Description":[]},{"SmImg":"gobelin01","ImageUrl":"http://img.combats.ru/i/objects/2/dec_gobelin02.png","Rotate":false,"Importance":0,"BW":85,"BH":48,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"gobelin11","Caption":"","Description":["..."]}],"Name":"gobelin1","Caption":" 1","Description":[]},{"SmImg":"gobelin02","ImageUrl":"http://img.combats.ru/i/objects/2/dec_gobelin01.png","Rotate":false,"Importance":0,"BW":85,"BH":48,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"gobelin2","Caption":"","Description":["..."]}],"Name":"gobelin2","Caption":" 2","Description":[]}]}); +new-combats.com.installMobs({"Mobs":[],"Objects":[{"SmImg":"enter1","ImageUrl":"http://img.combats.ru/i/objects/les1up1.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":10,"MT":5,"MW":21,"MH":30,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"enter1","Caption":"","Description":[]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"enter2","Caption":"","Description":[" ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":1,"ClickChapter":"capital.2","ClickPoint":"I2","Name":"enter3","Caption":" ","Description":[" ."," , - , I2."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":1,"ClickChapter":"capital.3","ClickPoint":"G7","Name":"enter4","Caption":"","Description":[" ."," , , G7 ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":1,"ClickChapter":"angel.1","ClickPoint":"E2","Name":"enter5","Caption":"","Description":[" ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":1,"ClickChapter":"angel.2","ClickPoint":"G2","Name":"enter6","Caption":"","Description":[" ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":1,"ClickChapter":"sand.1","ClickPoint":"G2","Name":"enter7","Caption":"","Description":[" ."," , - 1 , G2."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":1,"ClickChapter":"sand.1","ClickPoint":"J2","Name":"enter8","Caption":"","Description":[" ."," , - 2 , G2 , D6 ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":1,"ClickChapter":"sand.2","ClickPoint":"I2","Name":"enter9","Caption":"","Description":[" ."," , -, I2 ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":1,"ClickChapter":"sand.2","ClickPoint":"B2","Name":"enter10","Caption":"","Description":[" ."," , , B2 ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":1,"ClickChapter":"sand.3","ClickPoint":"G2","Name":"enter11","Caption":"","Description":[" ."," , , G2 ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":1,"ClickChapter":"emerald.3","ClickPoint":"J5","Name":"enter12","Caption":"","Description":[" ."]}],"Name":"enter","Caption":" ","Description":[]},{"SmImg":"ladder1","ImageUrl":"http://img.combats.ru/i/objects/les1down1.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":2,"MT":5,"MW":34,"MH":29,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":1,"ClickChapter":"capital.2","ClickPoint":"I11","Name":"ladder1","Caption":" ","Description":[", I11 ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":1,"ClickChapter":"capital.3","ClickPoint":"I7","Name":"ladder2","Caption":" ","Description":[", I7 ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":1,"ClickChapter":"emerald.2","ClickPoint":"F10","Name":"ladder3","Caption":" ","Description":[", F10 ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":1,"ClickChapter":"emerald.3","ClickPoint":"I12","Name":"ladder4","Caption":" ","Description":[", I12 ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":1,"ClickChapter":"emerald.4","ClickPoint":"E6","Name":"ladder5","Caption":" ","Description":[" , E6 . "," , ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":1,"ClickChapter":"angel.2","ClickPoint":"G11","Name":"ladder6","Caption":" ","Description":[", G11 ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":1,"ClickChapter":"angel.3","ClickPoint":"F11","Name":"ladder7","Caption":" ","Description":[", F11 ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":1,"ClickChapter":"sand.2","ClickPoint":"C11","Name":"ladder8","Caption":" 1","Description":[" .",", C11 ."," 1!"]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":1,"ClickChapter":"sand.2","ClickPoint":"K11","Name":"ladder9","Caption":" 2","Description":[" .",", K11 ."," 2!"]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":1,"ClickChapter":"sand.3","ClickPoint":"F11","Name":"ladder10","Caption":" ","Description":[", F11 ."]}],"Name":"ladder","Caption":"","Description":[]}]}); +new-combats.com.installMobs({"Mobs":[],"Objects":[{"SmImg":"door1","ImageUrl":"http://img.combats.ru/i/objects/1/door2.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"enterdoor1","Caption":"","Description":[" ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"enterdoor2","Caption":" ","Description":[" 3."," J4 , ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"enterdoor3","Caption":" ","Description":[" 4."," , ..."," ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"enterdoor4","Caption":"","Description":[" ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"enterdoor5","Caption":"","Description":[" 3."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"enterdoor6","Caption":"","Description":[]}],"Name":"enterdoor","Caption":", ","Description":[]},{"SmImg":"key3","ImageUrl":"http://img.combats.ru/i/objects/Key3.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"key31","Caption":" 3","Description":[" ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"key32","Caption":" 3","Description":[" :"," , "," "]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"key33","Caption":" 3","Description":[" , G6."]}],"Name":"key3","Caption":" 3","Description":[]}]}); +new-combats.com.installMobs({"Mobs":[],"Objects":[{"SmImg":"well05","ImageUrl":"http://img.combats.ru/i/objects/well05.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"fountain51","Caption":" ","Description":[" , , ."," , ."," ."," ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"fountain52","Caption":" ","Description":[" , . "," . ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"fountain53","Caption":" ","Description":[" ."," 1 2. "," F5 H8 ."," ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"fountain54","Caption":" ","Description":[" ."," 1 2. "," F5 H8 ."," ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"fountain55","Caption":" ","Description":[" , , ."," , ."]}],"Name":"fountain5","Caption":" 5","Description":[]}]}); +new-combats.com.installMobs({"Mobs":[],"Objects":[{"SmImg":"well06","ImageUrl":"http://img.combats.ru/i/objects/well06.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"fountain61","Caption":" ","Description":[" . ... ."," ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"fountain62","Caption":" ","Description":[" ."," , ."," ... , ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"fountain63","Caption":" ","Description":[" ."," ."," .",""," ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"fountain64","Caption":" ","Description":[" , , , , . "," . . "]}],"Name":"fountain6","Caption":" 6","Description":[]}]}); +new-combats.com.installMobs({"Mobs":[],"Objects":[{"SmImg":"smag_collect1","ImageUrl":"http://img.combats.ru/i/objects/smag_collect1.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":6,"MT":5,"MW":28,"MH":28,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"sunduk1","Caption":"","Description":[" : , (), (), (), , ..."," \"\" ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"sunduk2","Caption":"","Description":[" ..."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"sunduk3","Caption":"","Description":[" : , ()."," \"\" ."]},{"HighlightColorString":"DarkRed","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"sunduk4","Caption":"","Description":[" ... , ."," , (), () (), ..."," \"\" ."]},{"HighlightColorString":"DarkRed","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"sunduk5","Caption":"","Description":[" ... , ."," , (), () (), ..."," \"\" ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"sunduk6","Caption":" ","Description":[" ."," \"\" ."]},{"HighlightColorString":"DarkRed","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"sunduk7","Caption":"","Description":[" : , , , \" \". ."," - !"]},{"HighlightColorString":"DarkRed","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"sunduk8","Caption":" - ","Description":[", , , ..."," , ..."]},{"HighlightColorString":"DarkRed","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"sunduk9","Caption":"","Description":[" ."," : , , . "]},{"HighlightColorString":"DarkRed","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"sunduk10","Caption":"","Description":[" ."," : , - . ."," \"\" ."]},{"HighlightColorString":"DarkRed","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"sunduk11","Caption":"","Description":[" ."," 1. , F4.",""," , ."," ."]}],"Name":"smag_collect1","Caption":"","Description":[]}]}); +new-combats.com.installMobs({"Mobs":[],"Objects":[{"SmImg":"smag_collect1_3","ImageUrl":"http://img.combats.ru/i/objects/smag_collect1_3.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":5,"MT":5,"MW":24,"MH":24,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"sunduk_31","Caption":" ","Description":[" ."," \"\" ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"sunduk_32","Caption":"","Description":[" 4."," \"\" . ."]}],"Name":"sunduk_3","Caption":" ","Description":[]},{"SmImg":"drain_bottom","ImageUrl":"http://img.combats.ru/i/objects/drain_bottom.png","Rotate":false,"Importance":0,"BW":80,"BH":50,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"drain1","Caption":"","Description":["..."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"drain2","Caption":"","Description":["..."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"drain3","Caption":"","Description":["..."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":1,"ClickChapter":"demons.1","ClickPoint":"G1","Name":"drain4","Caption":" ","Description":[" ."," , \"\" ( G1 )."]},{"HighlightColorString":"ForestGreen","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"drain5","Caption":"","Description":[" [0/1] ."," ."]},{"HighlightColorString":"DarkRed","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"drain6","Caption":" - ","Description":[" , , 80% HP."," . , ."]}],"Name":"drain_bottom","Caption":"","Description":[]},{"SmImg":"drain_top","ImageUrl":"http://img.combats.ru/i/objects/drain_top.png","Rotate":false,"Importance":0,"BW":70,"BH":40,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"ForestGreen","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"drain_top1","Caption":"","Description":[" ."," ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"drain_top2","Caption":"","Description":[]}],"Name":"drain_top","Caption":" - ","Description":[]},{"SmImg":"proboina","ImageUrl":"http://img.combats.ru/i/objects/proboina.png","Rotate":false,"Importance":1,"BW":60,"BH":30,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"proboina1","Caption":"","Description":[" , J14."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"proboina2","Caption":"","Description":[" , F16."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"proboina3","Caption":"","Description":[" ..."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":1,"ClickChapter":"demons.3","ClickPoint":"B1","Name":"proboina4","Caption":" ","Description":[" - ."," B1 ."," , ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"proboina5","Caption":"","Description":[" , I21 ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"proboina6","Caption":" ","Description":[" - ."," M19 ."]}],"Name":"proboina","Caption":"","Description":[]},{"SmImg":"trash2","ImageUrl":"http://img.combats.ru/i/objects/trash02.png","Rotate":false,"Importance":1,"BW":102,"BH":50,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"trash21","Caption":" ","Description":[" ."]},{"HighlightColorString":"DarkRed","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"trash22","Caption":" ","Description":[" ... ",", .","",":","\" \" - (: -6), 6 .","\" \" - (: -6), 6 .","\" \" - (: -6), 6 .","\" \" - (: -2, : -2, : -2), 3 .","\"\" - ( : -10), 3 .","\" \" - (. -20%, . -25%, . -30%, . -25%), 36 .",""," :","\" \" - HP(%):-40","",": , .",""," - ( ) ."]}],"Name":"trash2","Caption":"","Description":[]}]}); +new-combats.com.installMobs({"Mobs":[],"Objects":[{"SmImg":"chest01","ImageUrl":"http://img.combats.ru/i/objects/chest01.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"chest12","Caption":"","Description":[" , , 400 , ..."," \"\" ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"chest15","Caption":"","Description":[" ."," \"\" ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"chest11","Caption":" ","Description":[" ."," \"\" ."]},{"HighlightColorString":"DarkRed","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"chest13","Caption":"","Description":[" - ..., , 10 .","! ."," \"\" ."]},{"HighlightColorString":"DarkRed","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"chest14","Caption":"","Description":[" , +60HP, , 10 . ","! , . , ."," \"\" ."]}],"Name":"chest1","Caption":" 1","Description":[]}]}); +new-combats.com.installMobs({"Mobs":[],"Objects":[{"SmImg":"chest02","ImageUrl":"http://img.combats.ru/i/objects/chest02.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":2,"MT":2,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"chest21","Caption":" ","Description":[" , ."," \"\" ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"chest22","Caption":"","Description":[" 3."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"chest23","Caption":" ","Description":[" ."," \"\" ."]},{"HighlightColorString":"DarkRed","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"chest24","Caption":" - ","Description":[" [6]-[7] ."," ! , 1000 HP."," \"\" ."]},{"HighlightColorString":"DarkRed","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"chest25","Caption":"","Description":[" - . , , - ...","! ."," \"\" ."]}],"Name":"chest01","Caption":" 2","Description":[]},{"SmImg":"attentionpoint_red1","ImageUrl":"/i/ugobj/attentionpoint_red1.gif","Rotate":false,"Importance":1,"BW":40,"BH":40,"ML":0,"MT":0,"MW":38,"MH":38,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"danger1","Caption":"","Description":[" - c ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"danger2","Caption":"","Description":[" - . , ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"danger3","Caption":"","Description":[" , 90% , ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"danger4","Caption":"","Description":[" - . , !"]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"danger5","Caption":"","Description":[" - ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"danger6","Caption":"","Description":[" , 90% , ."," ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"danger7","Caption":"","Description":[" - R10."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"danger8","Caption":"","Description":[" - 1000 . ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"danger9","Caption":"","Description":[" - 1000 . ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"danger10","Caption":"","Description":[" - ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"danger11","Caption":"","Description":[" - ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"danger12","Caption":"","Description":[" - , ."]}],"Name":"attentionpoint_red1","Caption":"","Description":[]}]}); +new-combats.com.installMobs({"Mobs":[],"Objects":[{"SmImg":"chest03","ImageUrl":"http://img.combats.ru/i/objects/chest03.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":2,"MT":5,"MW":34,"MH":34,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"chest31","Caption":" ","Description":[" . C G12."," ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"chest32","Caption":"","Description":[" , , oca, Aea, ."," \"\" ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"chest33","Caption":" ","Description":[" ."," \"\" ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"chest34","Caption":" ","Description":[" ."," \"\" ."]}],"Name":"chest3","Caption":" 3","Description":[]}]}); +new-combats.com.installMobs({"Mobs":[],"Objects":[{"SmImg":"altar","ImageUrl":"http://img.combats.ru/i/objects/altar01.png","Rotate":false,"Importance":2,"BW":60,"BH":60,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"altar1","Caption":" ","Description":[" ."," , - . \"\" ..."," - , 4 ."," - , 5 ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"altar2","Caption":"","Description":[" - . ."," B5. ."]},{"HighlightColorString":"DarkRed","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"altar3","Caption":" - ","Description":[" , 3 6 . : 2, 3, 4, 5. ",""," : ","\" \" - ( +25), 3.","\"\" - ( (HP) +30), 6 .","\"\" - ( HP (%): +50), 3 . ","\"\" (: +5), 6 .","\"\" (: +5), 6 .","\"\" (: +5), 6 . ",""," :","\" \" - ( : +25, : -25), 3 . ","\"\" - ( (HP) -30), 6 .","\"\" - ( HP (%): -50), 3 .","\"\" - (: -5), 6 .","\"\" - (: -5), 6 .","\"\" - (: -5), 6 . ",""," : , , , , ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"altar4","Caption":" ","Description":[" ."," ."]},{"HighlightColorString":"DarkRed","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"altar5","Caption":" ","Description":[" . ( 700-701 HP). "," : , , , , ."]}],"Name":"altar","Caption":"","Description":[]}]}); +new-combats.com.installMobs({"Mobs":[],"Objects":[{"SmImg":"grate","ImageUrl":"http://img.combats.ru/i/objects/grate.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"grate1","Caption":"","Description":[" 3."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"grate2","Caption":"","Description":[" 2."," F5 ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"grate3","Caption":" ","Description":[]}],"Name":"grate","Caption":"","Description":[]}]}); +new-combats.com.installMobs({"Mobs":[],"Objects":[{"SmImg":"grate01","ImageUrl":"http://img.combats.ru/i/objects/grate01.png","Rotate":false,"Importance":1,"BW":60,"BH":60,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"grate11","Caption":"","Description":[" ."," , J1..."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"grate12","Caption":"","Description":[" ."," 5."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"grate13","Caption":"","Description":[" 2- ."," 1."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"grate14","Caption":"","Description":[" 3- ."," 2."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"grate15","Caption":"","Description":[" 1."," 7."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"grate16","Caption":"","Description":[" 2."," 7."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"grate17","Caption":"","Description":[" 3."," 7."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"grate18","Caption":"","Description":[" 4."," 7."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"grate19","Caption":"","Description":[" ."," 6."]}],"Name":"grate1","Caption":" 1","Description":[]}]}); +new-combats.com.installMobs({"Mobs":[],"Objects":[{"SmImg":"lab","ImageUrl":"http://img.combats.ru/i/objects/lab01.png","Rotate":false,"Importance":2,"BW":60,"BH":60,"ML":2,"MT":5,"MW":32,"MH":32,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"lab1","Caption":"","Description":[" , 3 10 ."," , . ( B4)."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"lab2","Caption":"","Description":[" . : , , (5 .)."," ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"lab3","Caption":" ","Description":[" , ."," ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"lab4","Caption":"","Description":[" , ."," ."]}],"Name":"lab","Caption":"","Description":[]}]}); +new-combats.com.installMobs({"Mobs":[],"Objects":[{"SmImg":"arrow1","ImageUrl":"/i/ugobj/arrow1.gif","Rotate":false,"Importance":1,"BW":23,"BH":38,"ML":9,"MT":1,"MW":23,"MH":38,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"arrow1","Caption":" ","Description":[" - . ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":1,"ClickChapter":"capital.5","ClickPoint":"S5","Name":"arrow2","Caption":" ","Description":[" , . "," ."]},{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"arrow3","Caption":"","Description":[]}],"Name":"arrowup","Caption":" ()","Description":[]}]}); +new-combats.com.installMobs({"Mobs":[],"Objects":[{"SmImg":"arrow4","ImageUrl":"/i/ugobj/arrow4.gif","Rotate":false,"Importance":1,"BW":38,"BH":23,"ML":1,"MT":9,"MW":38,"MH":23,"Instances":[{"HighlightColorString":"Transparent","LookDirection":0,"ClickAction":0,"ClickChapter":"","ClickPoint":"","Name":"arrow1","Caption":" ","Description":[" - . ."]}],"Name":"arrowleft","Caption":" ()","Description":[]}]}); +new-combats.com.addDungeon({"RequiredScriptNames":["dungeon.data.novice.js","dungeon.data.abandon.novice.js","dungeon.data.angel.capital.demons.emerald.novice.sand.js","dungeon.data.capital.demons.emerald.novice.sand.js","dungeon.data.demons.novice.js","dungeon.data.angel.demons.novice.js","dungeon.data.angel.capital.demons.novice.js","dungeon.data.angel.capital.novice.js","dungeon.data.capital.novice.js","dungeon.data.angel.demons.novice.sand.js"],"NewLineToBR":true,"CellBackgroundColorString":"#EBEBD3","CellBorderColorString":"#9E965C","Jobs":{"CollectiveJobs":[],"CapturedJobs":[{"Caption":"","ImageUrl":"http://img.combats.ru/i/items/mater247.gif","ItemReward":0,"Description":[" .",""," . "," ."],"DefCount":1}],"KillingJobs":[{"MobName":"strgl","Unique":false,"Description":[" , .",""," 3 ."],"DefCount":1},{"MobName":"hozkan","Unique":false,"Description":[" , , ",""," 3 ."],"DefCount":1},{"MobName":"glprb","Unique":false,"Description":[" , , ",""," 3 ."],"DefCount":1}]},"Floors":[{"Cells":[{"X":2,"Y":14,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":14,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"santzm","Level":4,"Align":"0","Tag":"","Count":2},{"Name":"stpauk","Level":4,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":14,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":14,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"grate2","InstanceName":"grate22"}],"HotSpots":[{"HighlightColorString":"#3E4F4F","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":11,"Y":4}]}]},{"X":6,"Y":14,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"santzm","Level":4,"Align":"0","Tag":"","Count":1},{"Name":"stpauk","Level":4,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[{"ObjectName":"drain_bottom1","InstanceName":"drain1"}],"HotSpots":[]},{"X":6,"Y":13,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":13,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"chest3","InstanceName":"chest33"}],"HotSpots":[]},{"X":2,"Y":13,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"santzm","Level":4,"Align":"0","Tag":"","Count":2},{"Name":"stpauk","Level":4,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[{"ObjectName":"drain_bottom1","InstanceName":"drain1"}],"HotSpots":[]},{"X":2,"Y":12,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":12,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"chest01","InstanceName":"chest23"}],"HotSpots":[]},{"X":4,"Y":12,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"martn","Level":5,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":12,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"chest01","InstanceName":"chest23"}],"HotSpots":[]},{"X":6,"Y":12,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"santzm","Level":4,"Align":"0","Tag":"","Count":1},{"Name":"stpauk","Level":4,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":11,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":10,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"proboina","InstanceName":"proboina1"}],"HotSpots":[{"HighlightColorString":"Transparent","Opacity":0.9,"ImageUrl":"/i/ugobj/escapepoint_yellow1.gif","CellRefs":[{"X":9,"Y":13}]}]},{"X":3,"Y":10,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"santzm","Level":4,"Align":"0","Tag":"","Count":4}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":10,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":11,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"grate1","InstanceName":"grate12"}],"HotSpots":[{"HighlightColorString":"#3E4F4F","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":1,"Y":5}]}]},{"X":6,"Y":10,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"pauk","Level":4,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":11,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"chest1","InstanceName":"chest11"}],"HotSpots":[]},{"X":3,"Y":9,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"chest1","InstanceName":"chest11"}],"HotSpots":[]},{"X":3,"Y":8,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":7,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"stpauk","Level":4,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":6,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":6,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"pauk","Level":4,"Align":"0","Tag":"","Count":2},{"Name":"kanzuk","Level":4,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[{"ObjectName":"drain_top","InstanceName":"drain_top1"}],"HotSpots":[]},{"X":3,"Y":5,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"stpauk","Level":4,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":0,"Y":6,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"chest1","InstanceName":"chest11"}],"HotSpots":[]},{"X":1,"Y":5,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"key5","InstanceName":"key51"}],"HotSpots":[{"HighlightColorString":"#3E4F4F","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":2,"Y":11}]}]},{"X":1,"Y":7,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"chest1","InstanceName":"chest11"}],"HotSpots":[]},{"X":5,"Y":6,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"stpauk","Level":4,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":6,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"stpauk","Level":4,"Align":"0","Tag":"","Count":1},{"Name":"kanzuk","Level":4,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":8,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"stpauk","Level":4,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":8,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"chest1","InstanceName":"chest11"}],"HotSpots":[]},{"X":6,"Y":9,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"stpauk","Level":4,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":10,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":10,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"drain_bottom","InstanceName":"drain2"}],"HotSpots":[]},{"X":9,"Y":10,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":10,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"pauk","Level":4,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":13,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"grate2","InstanceName":"grate21"}],"HotSpots":[{"HighlightColorString":"#3E4F4F","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":7,"Y":0}]}]},{"X":8,"Y":13,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"pauk","Level":4,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":13,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"drain_bottom","InstanceName":"drain2"}],"HotSpots":[]},{"X":9,"Y":14,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"entrancepoint_green1","InstanceName":"enter"},{"ObjectName":"ladder2","InstanceName":"ladder21"}],"HotSpots":[]},{"X":10,"Y":13,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"pauk","Level":4,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":11,"Y":13,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":11,"Y":14,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"luka","Level":5,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":11,"Y":15,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"front_walll_tr","InstanceName":"front_walll_tr1"}],"HotSpots":[]},{"X":12,"Y":13,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":12,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":11,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"santzm","Level":4,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":11,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"lab","InstanceName":"lab3"}],"HotSpots":[]},{"X":11,"Y":11,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"escapepoint_blue1","InstanceName":"escape"},{"ObjectName":"ladder2","InstanceName":"ladder22"}],"HotSpots":[]},{"X":10,"Y":9,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":12,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":11,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pauk","Level":4,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":9,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pauk","Level":4,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":8,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":8,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"stpauk","Level":4,"Align":"0","Tag":"","Count":1},{"Name":"kanzuk","Level":4,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":8,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":7,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"stpauk","Level":4,"Align":"0","Tag":"","Count":1},{"Name":"santzm","Level":4,"Align":"0","Tag":"","Count":1},{"Name":"kanzuk","Level":4,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":6,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":6,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"chest1","InstanceName":"chest11"}],"HotSpots":[]},{"X":7,"Y":6,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"kanzuk","Level":4,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":7,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":8,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pauk","Level":4,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":11,"Y":8,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"drain_bottom","InstanceName":"drain1"}],"HotSpots":[]},{"X":12,"Y":8,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"pauk","Level":4,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":12,"Y":7,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pauk","Level":4,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":13,"Y":7,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"chest1","InstanceName":"chest11"}],"HotSpots":[]},{"X":10,"Y":7,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pauk","Level":4,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":6,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pauk","Level":4,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":11,"Y":6,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"drain_bottom","InstanceName":"drain1"}],"HotSpots":[]},{"X":12,"Y":6,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"drain_bottom","InstanceName":"drain1"}],"HotSpots":[]},{"X":12,"Y":5,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pauk","Level":4,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":11,"Y":7,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"kanzuk","Level":4,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":11,"Y":5,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"tungad","Level":4,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":5,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"stpauk","Level":4,"Align":"0","Tag":"","Count":2},{"Name":"kanzuk","Level":4,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":11,"Y":4,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"chest1_small","InstanceName":"chest11"},{"ObjectName":"key4_small","InstanceName":"key41"}],"HotSpots":[{"HighlightColorString":"#3E4F4F","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":5,"Y":14}]}]},{"X":11,"Y":3,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":12,"Y":4,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":12,"Y":3,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pauk","Level":4,"Align":"0","Tag":"","Count":2},{"Name":"kanzuk","Level":4,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":3,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":2,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":1,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"obpodv","Level":4,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":0,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"key1_small","InstanceName":"key11"},{"ObjectName":"chest1_small","InstanceName":"chest11"}],"HotSpots":[{"HighlightColorString":"#3E4F4F","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":8,"Y":4}]}]},{"X":9,"Y":3,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"pauk","Level":4,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":3,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":3,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"pauk","Level":4,"Align":"0","Tag":"","Count":2},{"Name":"kanzuk","Level":4,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[{"ObjectName":"drain_bottom1","InstanceName":"drain2"}],"HotSpots":[]},{"X":6,"Y":3,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":4,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"grate1","InstanceName":"grate14"}],"HotSpots":[{"HighlightColorString":"#3E4F4F","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":7,"Y":0}]}]},{"X":5,"Y":3,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"santzm","Level":4,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":3,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"chest1","InstanceName":"chest11"}],"HotSpots":[]},{"X":8,"Y":4,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"grate1","InstanceName":"grate13"}],"HotSpots":[{"HighlightColorString":"#3E4F4F","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":10,"Y":0}]}]},{"X":7,"Y":5,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"stpauk","Level":4,"Align":"0","Tag":"","Count":1},{"Name":"kanzuk","Level":4,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":5,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":5,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":2,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":1,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"obpodv","Level":4,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":13,"Y":13,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"lukadoor","InstanceName":"lukadoor1"}],"HotSpots":[]},{"X":1,"Y":6,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"gmrz","Level":4,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[{"ObjectName":"drain_bottom1","InstanceName":"drain1"}],"HotSpots":[]},{"X":2,"Y":6,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"santzm","Level":4,"Align":"0","Tag":"","Count":1},{"Name":"stpauk","Level":4,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[{"ObjectName":"drain_bottom1","InstanceName":"drain1"}],"HotSpots":[]},{"X":6,"Y":7,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":5,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"drain_bottom","InstanceName":"drain1"}],"HotSpots":[]},{"X":7,"Y":0,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"key2_small","InstanceName":"key21"},{"ObjectName":"key3_small","InstanceName":"key31"}],"HotSpots":[{"HighlightColorString":"#3E4F4F","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":7,"Y":13},{"X":6,"Y":4}]}]},{"X":4,"Y":10,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"full_rune_vial","InstanceName":"full_rune_via1"}],"HotSpots":[]}],"LookDirection":3,"Width":15,"Height":17,"DataBounds":"0, 0, 14, 16","Name":"floor1","Caption":"1 ","Description":[]},{"Cells":[{"X":0,"Y":0,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"sunduk_small","InstanceName":"smag_collect1"},{"ObjectName":"key7_small","InstanceName":"key71"}],"HotSpots":[{"HighlightColorString":"#3E4F4F","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":9,"Y":11},{"X":7,"Y":11},{"X":7,"Y":15},{"X":9,"Y":15}]}]},{"X":1,"Y":0,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"hozkan","Level":6,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":0,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"proboina","InstanceName":"proboina2"}],"HotSpots":[{"HighlightColorString":"Transparent","Opacity":0.9,"ImageUrl":"/i/ugobj/escapepoint_yellow1.gif","CellRefs":[{"X":5,"Y":15}]}]},{"X":1,"Y":1,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":2,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"grate1","InstanceName":"grate19"}],"HotSpots":[{"HighlightColorString":"#3E4F4F","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":3,"Y":5}]}]},{"X":1,"Y":3,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":4,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"krsnt","Level":6,"Align":"0","Tag":"","Count":1},{"Name":"bzgsnt","Level":5,"Align":"0","Tag":"","Count":2},{"Name":"letb","Level":6,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":4,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":5,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":6,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"kanpauk","Level":5,"Align":"0","Tag":"","Count":3},{"Name":"letb","Level":6,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":6,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"trash1","InstanceName":"trash11"}],"HotSpots":[]},{"X":1,"Y":8,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":8,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":5,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"key6","InstanceName":"key61"}],"HotSpots":[{"HighlightColorString":"#3E4F4F","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":1,"Y":2}]}]},{"X":3,"Y":6,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"krsnt","Level":6,"Align":"0","Tag":"","Count":2},{"Name":"bzgsnt","Level":5,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":7,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":7,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":8,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"letb","Level":6,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":8,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":7,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"kanpauk","Level":5,"Align":"0","Tag":"","Count":1},{"Name":"strkr","Level":5,"Align":"0","Tag":"","Count":2},{"Name":"letb","Level":6,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":4,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":4,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"letb","Level":6,"Align":"0","Tag":"","Count":1},{"Name":"bzgsnt","Level":5,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":4,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":4,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":6,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":6,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"drain_bottom","InstanceName":"drain2"}],"HotSpots":[]},{"X":7,"Y":5,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"krsnt","Level":6,"Align":"0","Tag":"","Count":1},{"Name":"bzgsnt","Level":5,"Align":"0","Tag":"","Count":1},{"Name":"kanpauk","Level":5,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":4,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":6,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":7,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":8,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"krsnt","Level":6,"Align":"0","Tag":"","Count":2},{"Name":"letb","Level":6,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":8,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"sunduk_2","InstanceName":"sunduk_21"}],"HotSpots":[]},{"X":8,"Y":6,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":2},"BackColorString":"WhiteSmoke","MobRefs":[],"ObjectRefs":[{"ObjectName":"trash1","InstanceName":"trash11"}],"HotSpots":[]},{"X":8,"Y":4,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":2},"BackColorString":"WhiteSmoke","MobRefs":[],"ObjectRefs":[{"ObjectName":"trash2","InstanceName":"trash21"}],"HotSpots":[]},{"X":9,"Y":4,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"WhiteSmoke","MobRefs":[{"Name":"strkr","Level":5,"Align":"0","Tag":"","Count":1},{"Name":"bzgsnt","Level":5,"Align":"0","Tag":"","Count":2},{"Name":"kanpauk","Level":5,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":5,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"WhiteSmoke","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":6,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"WhiteSmoke","MobRefs":[{"Name":"strkr","Level":5,"Align":"0","Tag":"","Count":1},{"Name":"bzgsnt","Level":5,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":7,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"WhiteSmoke","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":8,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"WhiteSmoke","MobRefs":[{"Name":"strkr","Level":5,"Align":"0","Tag":"","Count":1},{"Name":"bzgsnt","Level":5,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":3,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"WhiteSmoke","MobRefs":[],"ObjectRefs":[{"ObjectName":"drain_bottom","InstanceName":"drain2"}],"HotSpots":[]},{"X":9,"Y":2,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"WhiteSmoke","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":2,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"WhiteSmoke","MobRefs":[{"Name":"strkr","Level":5,"Align":"0","Tag":"","Count":2},{"Name":"bzgsnt","Level":5,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":2,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":2},"BackColorString":"WhiteSmoke","MobRefs":[],"ObjectRefs":[{"ObjectName":"trash2","InstanceName":"trash21"}],"HotSpots":[]},{"X":5,"Y":9,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"WhiteSmoke","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":9,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"WhiteSmoke","MobRefs":[{"Name":"kanpauk","Level":5,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":9,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"WhiteSmoke","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":9,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"WhiteSmoke","MobRefs":[{"Name":"kanpauk","Level":5,"Align":"0","Tag":"","Count":1},{"Name":"strkr","Level":5,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":9,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"WhiteSmoke","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":7,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"WhiteSmoke","MobRefs":[{"Name":"kanpauk","Level":5,"Align":"0","Tag":"","Count":1},{"Name":"bzgsnt","Level":5,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":11,"Y":7,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"WhiteSmoke","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":11,"Y":6,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"WhiteSmoke","MobRefs":[{"Name":"kanpauk","Level":5,"Align":"0","Tag":"","Count":1},{"Name":"strkr","Level":5,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":11,"Y":5,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"WhiteSmoke","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":5,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"WhiteSmoke","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":12,"Y":5,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"WhiteSmoke","MobRefs":[{"Name":"kanpauk","Level":5,"Align":"0","Tag":"","Count":2},{"Name":"bzgsnt","Level":5,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":12,"Y":7,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"WhiteSmoke","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":13,"Y":7,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"WhiteSmoke","MobRefs":[],"ObjectRefs":[{"ObjectName":"drain_bottom","InstanceName":"drain2"}],"HotSpots":[]},{"X":13,"Y":6,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"WhiteSmoke","MobRefs":[{"Name":"bzgsnt","Level":5,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":13,"Y":5,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"WhiteSmoke","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":15,"Y":7,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":2},"BackColorString":"WhiteSmoke","MobRefs":[],"ObjectRefs":[{"ObjectName":"trash1","InstanceName":"trash11"}],"HotSpots":[]},{"X":14,"Y":5,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"WhiteSmoke","MobRefs":[{"Name":"strkr","Level":5,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":14,"Y":4,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"WhiteSmoke","MobRefs":[{"Name":"strgl","Level":5,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":15,"Y":4,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":2},"BackColorString":"WhiteSmoke","MobRefs":[],"ObjectRefs":[{"ObjectName":"chest3","InstanceName":"chest34"}],"HotSpots":[]},{"X":14,"Y":3,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"WhiteSmoke","MobRefs":[],"ObjectRefs":[{"ObjectName":"proboina","InstanceName":"proboina2"}],"HotSpots":[{"HighlightColorString":"Transparent","Opacity":0.9,"ImageUrl":"/i/ugobj/escapepoint_yellow1.gif","CellRefs":[{"X":5,"Y":15}]}]},{"X":12,"Y":4,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"WhiteSmoke","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":12,"Y":3,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"WhiteSmoke","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":13,"Y":3,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"WhiteSmoke","MobRefs":[{"Name":"bzgsnt","Level":5,"Align":"0","Tag":"","Count":2},{"Name":"strkr","Level":5,"Align":"0","Tag":"","Count":1},{"Name":"kanpauk","Level":5,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":11,"Y":3,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"WhiteSmoke","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":3,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"WhiteSmoke","MobRefs":[{"Name":"strkr","Level":5,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":13,"Y":2,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"WhiteSmoke","MobRefs":[],"ObjectRefs":[{"ObjectName":"trash2","InstanceName":"trash21"}],"HotSpots":[]},{"X":5,"Y":10,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"WhiteSmoke","MobRefs":[{"Name":"kanpauk","Level":5,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":15,"Y":8,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":14,"Y":8,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"krsnt","Level":6,"Align":"0","Tag":"","Count":1},{"Name":"slzm","Level":6,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":13,"Y":8,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"drain_bottom","InstanceName":"drain2"}],"HotSpots":[]},{"X":12,"Y":8,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":11,"Y":8,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"slzm","Level":6,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":8,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":9,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"mstngtl","Level":6,"Align":"9","Tag":"","Count":1},{"Name":"slzm","Level":6,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":10,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"key9","InstanceName":"key91"}],"HotSpots":[{"HighlightColorString":"#3E4F4F","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":15,"Y":13}]}]},{"X":11,"Y":9,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"sunduk_2","InstanceName":"sunduk_21"}],"HotSpots":[]},{"X":15,"Y":9,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"krsnt","Level":6,"Align":"0","Tag":"","Count":1},{"Name":"slzm","Level":6,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":15,"Y":10,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":14,"Y":10,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":15,"Y":11,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"krsnt","Level":6,"Align":"0","Tag":"","Count":1},{"Name":"bzgsnt","Level":5,"Align":"0","Tag":"","Count":1},{"Name":"letb","Level":6,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":15,"Y":12,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"slzm","Level":6,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":14,"Y":12,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"smag_collect1","InstanceName":"sunduk6"}],"HotSpots":[]},{"X":13,"Y":10,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"bzgsnt","Level":5,"Align":"0","Tag":"","Count":1},{"Name":"slzm","Level":6,"Align":"0","Tag":"","Count":1},{"Name":"krsnt","Level":6,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":13,"Y":11,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":13,"Y":12,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":13,"Y":13,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"drain_bottom","InstanceName":"drain2"}],"HotSpots":[]},{"X":12,"Y":13,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":15,"Y":13,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"grate2","InstanceName":"grate24"}],"HotSpots":[{"HighlightColorString":"#3E4F4F","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":10,"Y":10}]}]},{"X":11,"Y":13,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"grate2","InstanceName":"grate23"}],"HotSpots":[{"HighlightColorString":"#3E4F4F","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":8,"Y":10}]}]},{"X":10,"Y":13,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":13,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"slzm","Level":6,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":12,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":11,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"grate1","InstanceName":"grate18"}],"HotSpots":[{"HighlightColorString":"#3E4F4F","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":0,"Y":0}]}]},{"X":9,"Y":10,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"attentionpoint_red1","InstanceName":"danger4"}],"HotSpots":[{"HighlightColorString":"LightCoral","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":8,"Y":10}]}]},{"X":7,"Y":10,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"attentionpoint_red1","InstanceName":"danger4"}],"HotSpots":[{"HighlightColorString":"LightCoral","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":6,"Y":10}]}]},{"X":6,"Y":10,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"mstngtl","Level":6,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[{"ObjectName":"sunduk_2_blendy","InstanceName":"sunduk_21"}],"HotSpots":[]},{"X":7,"Y":11,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"grate1","InstanceName":"grate16"}],"HotSpots":[{"HighlightColorString":"#3E4F4F","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":0,"Y":0}]}]},{"X":7,"Y":12,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":13,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"krsnt","Level":6,"Align":"0","Tag":"","Count":1},{"Name":"slzm","Level":6,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":13,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":13,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":13,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"WhiteSmoke","MobRefs":[],"ObjectRefs":[{"ObjectName":"drain_bottom","InstanceName":"drain2"}],"HotSpots":[]},{"X":5,"Y":12,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"WhiteSmoke","MobRefs":[{"Name":"bzgsnt","Level":5,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":11,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"WhiteSmoke","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":14,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":15,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"grate1","InstanceName":"grate15"}],"HotSpots":[{"HighlightColorString":"#3E4F4F","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":0,"Y":0}]}]},{"X":7,"Y":16,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"attentionpoint_red1","InstanceName":"danger4"}],"HotSpots":[{"HighlightColorString":"LightCoral","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":6,"Y":16}]}]},{"X":9,"Y":14,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":15,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"grate1","InstanceName":"grate17"}],"HotSpots":[{"HighlightColorString":"#3E4F4F","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":0,"Y":0}]}]},{"X":9,"Y":16,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"attentionpoint_red1","InstanceName":"danger4"}],"HotSpots":[{"HighlightColorString":"LightCoral","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":8,"Y":16}]}]},{"X":8,"Y":16,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"mstngtl","Level":6,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[{"ObjectName":"sunduk_2_blendy","InstanceName":"sunduk_21"}],"HotSpots":[]},{"X":5,"Y":14,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"WhiteSmoke","MobRefs":[{"Name":"kanpauk","Level":5,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":15,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"WhiteSmoke","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":16,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"WhiteSmoke","MobRefs":[{"Name":"kanpauk","Level":5,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":17,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"WhiteSmoke","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":15,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":2},"BackColorString":"WhiteSmoke","MobRefs":[],"ObjectRefs":[{"ObjectName":"entrancepoint_green1","InstanceName":"enter"},{"ObjectName":"escapepoint_blue1","InstanceName":"escape"},{"ObjectName":"ladder2","InstanceName":"ladder23"}],"HotSpots":[]},{"X":5,"Y":18,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"WhiteSmoke","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":10,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"WhiteSmoke","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":10,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"WhiteSmoke","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":11,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"WhiteSmoke","MobRefs":[{"Name":"bzgsnt","Level":5,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":12,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"WhiteSmoke","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":13,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"WhiteSmoke","MobRefs":[{"Name":"kanpauk","Level":5,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":13,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"WhiteSmoke","MobRefs":[],"ObjectRefs":[{"ObjectName":"trash1","InstanceName":"trash11"}],"HotSpots":[]},{"X":4,"Y":12,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"WhiteSmoke","MobRefs":[{"Name":"strkr","Level":5,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":13,"Y":14,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"krsnt","Level":6,"Align":"0","Tag":"","Count":4}],"ObjectRefs":[],"HotSpots":[]},{"X":13,"Y":15,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":12,"Y":15,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"krsnt","Level":6,"Align":"0","Tag":"","Count":1},{"Name":"slzm","Level":6,"Align":"0","Tag":"","Count":1},{"Name":"letb","Level":6,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":14,"Y":15,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"krsnt","Level":6,"Align":"0","Tag":"","Count":2},{"Name":"slzm","Level":6,"Align":"0","Tag":"","Count":1},{"Name":"letb","Level":6,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":14,"Y":16,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"sunduk_2","InstanceName":"sunduk_21"}],"HotSpots":[]},{"X":15,"Y":17,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"sunduk_3","InstanceName":"sunduk_31"}],"HotSpots":[]},{"X":16,"Y":17,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"proboina","InstanceName":"proboina2"}],"HotSpots":[{"HighlightColorString":"Transparent","Opacity":0.9,"ImageUrl":"/i/ugobj/escapepoint_yellow1.gif","CellRefs":[{"X":5,"Y":15}]}]},{"X":16,"Y":16,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":15,"Y":16,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"glprb","Level":6,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":15,"Y":15,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":15,"Y":14,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":18,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"WhiteSmoke","MobRefs":[{"Name":"strkr","Level":5,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":19,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"WhiteSmoke","MobRefs":[],"ObjectRefs":[{"ObjectName":"trash1","InstanceName":"trash11"}],"HotSpots":[]},{"X":5,"Y":19,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"WhiteSmoke","MobRefs":[{"Name":"strkr","Level":5,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":17,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"WhiteSmoke","MobRefs":[{"Name":"bzgsnt","Level":5,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":17,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"WhiteSmoke","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":17,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"WhiteSmoke","MobRefs":[{"Name":"bzgsnt","Level":5,"Align":"0","Tag":"","Count":1},{"Name":"strkr","Level":5,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":17,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":2},"BackColorString":"WhiteSmoke","MobRefs":[],"ObjectRefs":[{"ObjectName":"trash1","InstanceName":"trash11"}],"HotSpots":[]},{"X":1,"Y":7,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"krsnt","Level":6,"Align":"0","Tag":"","Count":1},{"Name":"strkr","Level":5,"Align":"0","Tag":"","Count":1},{"Name":"letb","Level":6,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":8,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"krsnt","Level":6,"Align":"0","Tag":"","Count":1},{"Name":"letb","Level":6,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":14,"Y":7,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"WhiteSmoke","MobRefs":[{"Name":"kanpauk","Level":5,"Align":"0","Tag":"","Count":2},{"Name":"bzgsnt","Level":5,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":16,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"mstngtl","Level":6,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[{"ObjectName":"sunduk_2_blendy","InstanceName":"sunduk_21"}],"HotSpots":[]},{"X":12,"Y":16,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"smag_collect1","InstanceName":"sunduk6"}],"HotSpots":[]},{"X":8,"Y":10,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"mstngtl","Level":6,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[{"ObjectName":"key8","InstanceName":"key81"}],"HotSpots":[{"HighlightColorString":"#3E4F4F","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":11,"Y":13}]}]}],"LookDirection":3,"Width":17,"Height":20,"DataBounds":"0, 0, 17, 20","Name":"floor2","Caption":"2 ","Description":[" : . "," - c 5- . "," - c 6- . ",""," . "]}],"Pages":[],"Shops":[{"NewLineToBR":true,"ImageBasePath":"http://img.combats.ru/i/items/","Categories":[{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":20,"Binding":3,"IsGift":false,"Name":"amulet99","Caption":" ","Description":[": 1
    ",": 90 .
    ",": 0/30
    "," :
    "," : 4
    "," : 15
    "," :
    "," . (%): +27
    "," . (%): +27
    "," (HP): +33
    "," : +3
    "," : 4-6 (3+d3)
    "," : 4-6 (3+d3)
    "," : 4-6 (3+d3)
    "," : 4-6 (3+d3)

    "]},{"NewLineToBR":false,"W":60,"H":20,"Binding":3,"IsGift":false,"Name":"amulet100","Caption":" ","Description":[": 1
    ",": 90 .
    ",": 0/30
    "," :
    "," : 15
    "," : 4
    "," :
    "," . (%): +27
    "," : +3
    "," (HP): +30
    "," : +30
    "," : 4-6 (3+d3)
    "," : 4-6 (3+d3)
    "," : 4-6 (3+d3)
    "," : 4-6 (3+d3)

    "]}],"Name":"amulet","Caption":"","Description":[""," ."]},{"NewLineToBR":true,"Items":[{"NewLineToBR":true,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"mater_small_lvl4_reward","Caption":"","Description":[": 0.1 ",": 0/1 "," "," ",""," , , , , ."," : , H4, E7 ( ) ."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"mater_small_lvl5_reward","Caption":" ","Description":[": 0.1 ",": 0/1 "," "," ",""," , ."," ."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"mater_small_lvl6_reward","Caption":" ","Description":[": 0.1 ",": 0/1 "," "," ",""," , ."," ."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"mater_med_lvl4_reward","Caption":"","Description":[": 0.1 ",": 0/1 "," "," ",""," . "," ."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"mater_med_lvl5_reward","Caption":" ","Description":[": 0.1 ",": 0/1 "," "," ",""," . "," ."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"mater_med_lvl6_reward","Caption":" ","Description":[": 0.1 ",": 0/1 "," "," ",""," , - , ."," ."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"mater_big_lvl4_reward","Caption":"","Description":[": 0.1 ",": 0/1 "," "," ",""," . "," ."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"mater_big_lvl5_reward","Caption":" ","Description":[": 0.1 ",": 0/1 "," "," ",""," . "," ."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"mater_big_lvl6_reward","Caption":" ","Description":[": 0.1 ",": 0/1 "," "," ",""," . "," ."]}],"Name":"maters","Caption":", , ","Description":[""," ."]},{"NewLineToBR":false,"Items":[{"NewLineToBR":true,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"mater_coin_lvl4_reward","Caption":"","Description":[": 0.1 ",": 0/1 "," "," "]},{"NewLineToBR":true,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"mater_coin_lvl5_reward","Caption":" ","Description":[": 0.1 ",": 0/1 "," "," "]},{"NewLineToBR":true,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"mater_coin_lvl6_reward","Caption":" ","Description":[": 0.1 ",": 0/1 "," "," "]}],"Name":"mater_coin","Caption":"","Description":[""," , . "," , , !"," , , , !",""," 3 C .",""," [4]-[6] ."]},{"NewLineToBR":true,"Items":[{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"pot_cureHP100_20","Caption":" ","Description":[": 5",": 1 . ",": 0/7"," : 30 . ",": 100 .",""," , J12."," ."]}],"Name":"pot_base","Caption":"","Description":[]},{"NewLineToBR":false,"Items":[{"NewLineToBR":true,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"mater247","Caption":"","Description":[""," ."," . , ."]}],"Name":"key","Caption":"","Description":[" .
    "," ."]}],"Name":"maters","Caption":"","Description":["

    "]},{"NewLineToBR":false,"ImageBasePath":"http://img.combats.ru/i/items/","Categories":[{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"knife54","Caption":" ","Description":[": 5
    : 0.00 .
    : []x8
    : 0/40
    :
    : 17
    : 17
    : 4
    , : 3
    : 9
    :
    : 3 - 9
    . (%): +20
    . (%): +30
    . (%): +20

    : +
    :
    :
    :
    :
    : "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"knife56","Caption":" ","Description":[": 6
    : 0.00 .
    : []x9
    : 0/30
    :
    : 17
    : 17
    : 4
    , : 3
    : 9
    :
    : 3 - 9
    . (%): +10
    . (%): +50

    : +
    :
    :
    :
    :
    : "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"knife58","Caption":" ","Description":[": 4
    : 0.00 .
    : []x14
    : 0/40
    :
    : 21
    : 21
    : 4
    , : 3
    : 11
    :
    . (%): +60
    :
    : 4 - 11
    . (%): +40
    . (%): +20
    . (%): +5

    : +
    :
    :
    :
    :
    :
    "]}],"Name":"knife","Caption":", ","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"axe60","Caption":" ","Description":[": 10
    : 0.00 .
    : []x12
    : 0/50
    :
    : 13
    : 4
    , : 3
    : 13
    : 13
    :
    : +2
    :
    : 8 - 14

    : +
    :
    :
    :
    :
    : "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"axe84","Caption":" ","Description":[": 8
    : 0.00 .
    : []x13
    : 0/30
    :
    : 15
    : 4
    , : 3
    : 15
    : 15
    :
    : +1
    :
    : 7 - 13
    . (%): +30
    . (%): +20

    : +
    :
    : "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"axe63","Caption":" ","Description":[": 10
    : 0.00 .
    : []x15
    : 0/50
    :
    : 13
    : 4
    , : 3
    : 13
    : 13
    :
    . (%): +5
    : -1
    :
    : 8 - 15

    : +
    :
    :
    :
    :
    : "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"axe70","Caption":" ","Description":[": 13
    : 0.00 .
    : []x16
    : 0/50
    :
    : 13
    : 2
    : 4
    , : 3
    : 13
    : 13
    :
    : 8 - 15
    : +
    :
    :
    :
    :
    :
    :
    10-20 .
    : 20% ."]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"axe79","Caption":" ","Description":[": 12
    : 0.00 .
    : []x16
    : 0/50
    :
    : 13
    : 2
    : 4
    , : 3
    : 13
    : 13
    :
    : 8 - 15

    : +
    :
    :
    :
    :
    :
    :
    10-20 .
    : 20% ."]}],"Name":"axe","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"hammer50","Caption":"","Description":[": 18
    : 0.00 .
    : []x15
    : 0/50
    :
    : 4
    , : 3
    : 16
    : 20
    :
    : -1
    :
    : 10 - 18
    . (%): +7
    . (%): +20
    : +
    :
    :
    : "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"hammer65","Caption":" ","Description":[": 19
    : 0.00 .
    : []x15
    : 0/50
    :
    : 4
    , : 3
    : 16
    : 20
    :
    : -2
    :
    : 10 - 18
    . (%): +15
    . (%): +20
    : +
    :
    :
    : "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"mace55","Caption":" ","Description":[": 7
    : 0.00 .
    : []x17
    : 0/50
    :
    : 4
    , : 3
    : 16
    : 20
    :
    : -1
    :
    : 10 - 18
    . (%): +50
    . (%): +20
    :
    :
    :
    : "]}],"Name":"hammer","Caption":", ","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"sword61","Caption":" ","Description":[": 10
    : 0.00 .
    : []x12
    : 0/50
    :
    : 13
    : 4
    : 3
    : 13
    : 13
    :
    : 7 - 18
    : +
    :
    :
    :
    :
    : "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"sword62","Caption":" ","Description":[": 12
    : 0.00 .
    : []x12
    : 0/50
    :
    : 10
    : 4
    : 3
    : 10
    : 10
    :
    . (%): -20
    . (%): +5
    :
    : 5 - 18
    . (%): +20
    : +
    :
    :
    :
    : "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"sword55","Caption":" ","Description":[": 13
    : 0.00 .
    : []x13
    : 0/50
    :
    : 13
    : 4
    : 3
    : 13
    : 13
    :
    . (%): +15
    . (%): +10
    : -1
    : +1
    :
    : 8 - 15
    : +
    :
    :
    :
    :
    : "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"sword54","Caption":" ","Description":[": 11
    : 0.00 .
    : []x13
    : 0/50
    :
    : 13
    : 4
    : 3
    : 13
    : 13
    :
    . (%): +20
    :
    : 8 - 15
    . (%): +20

    : +
    :
    :
    :
    :
    : "]}],"Name":"sword","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"staff1","Caption":" ","Description":[": 4
    : 0.00 .
    : []x20
    : 0/30
    :
    : 20
    : 4
    : 1
    :
    : +1
    (HP): +30
    : +100
    :
    : 1 - 10

    : +
    :
    :
    : "]}],"Name":"staff","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"boots10","Caption":" ","Description":[": 4
    : 0.00 .
    : []x8
    : 0/20
    :
    : 4
    : 15
    : 15
    :
    . (%): +20
    . (%): +25
    (HP): +15
    : 2-10 (1+d9)"]},{"NewLineToBR":false,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"boots210","Caption":" ","Description":[": 4
    : 0.00 .
    : []x8
    : 0/30
    :
    : 20
    : 4
    :
    . (%): +20
    (HP): +15
    : +30
    : 2-2"]}],"Name":"boots","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"naruchi54","Caption":" ","Description":[": 3
    : 0.00 .
    : []x6
    : 0/30
    :
    : 15
    : 4
    : 20
    :
    . (%): +5
    (HP): +18
    : +2"]},{"NewLineToBR":false,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"naruchi61","Caption":" ","Description":[": 3
    : 0.00 .
    : []x6
    : 0/30
    :
    : 25
    : 4
    : 15
    :
    . (%): +15
    . (%): +30
    : +1"]},{"NewLineToBR":false,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"naruchi70","Caption":" ","Description":[": 1
    : 0.00 .
    : []x6
    : 0/30
    :
    : 20
    : 4
    : 20
    :
    : +1
    : +6
    : +3"]},{"NewLineToBR":false,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"gloves1","Caption":" ","Description":[": 1
    : 0.00 .
    : []x6
    : 0/30
    :
    : 20
    : 4
    :
    : +1
    (HP): +6
    : +30"]},{"NewLineToBR":false,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"naruchi65","Caption":" ","Description":[": 2
    : 0.00 .
    : []x7
    : 0/20
    :
    : 10
    : 4
    : 15
    : 15
    :
    . (%): +5
    (HP): +45"]},{"NewLineToBR":false,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"naruchi58","Caption":" ","Description":[": 3
    : 0.00 .
    : []x7
    : 0/30
    :
    : 25
    : 4
    : 10
    :
    . (%): +5
    . (%): +5
    . (%): +5
    : +1"]}],"Name":"gloves","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":80,"Binding":1,"IsGift":false,"Name":"roba14","Caption":" ","Description":[": 2
    : 0.00 .
    : []x3
    : 0/30
    :
    : 4
    : 15
    : 15
    :
    : +10
    : +5
    : +5
    : +5
    (HP): +3"]},{"NewLineToBR":false,"W":60,"H":80,"Binding":1,"IsGift":false,"Name":"roba17","Caption":" ","Description":[": 5
    : 0.00 .
    : []x20
    : 0/50
    :
    : 20
    : 4
    :
    . (%): +10
    : +1
    (HP): +30
    : +80
    : 6-10 (5+d5)"]}],"Name":"roba","Caption":" , ","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":80,"Binding":1,"IsGift":false,"Name":"armor61","Caption":" ","Description":[": 10
    : 0.00 .
    : []x18
    : 0/50
    :
    : 5
    : 5
    : 4
    : 17
    : 17
    :
    . (%): +15
    . (%): -10
    , : +1
    (HP): +24
    : 7-24 (6+d18)
    :
    : +100"]},{"NewLineToBR":false,"W":60,"H":80,"Binding":1,"IsGift":false,"Name":"armor64","Caption":" ","Description":[": 18
    : 0.00 .
    : []x18
    : 0/50
    :
    : 7
    : 7
    : 4
    : 22
    : 22
    :
    . (%): +15
    . (%): +15
    : +2
    (HP): +33
    : 7-24 (6+d18)"]},{"NewLineToBR":false,"W":60,"H":80,"Binding":1,"IsGift":false,"Name":"armor52","Caption":" ","Description":[": 14
    : 0.00 .
    : []x20
    : 0/40
    :
    : 15
    : 4
    : 15
    : 15
    :
    . (%): +15
    . (%): +5
    . (%): +15
    : +2
    : +2
    (HP): +12
    : +4
    : 6-20 (5+d15)"]},{"NewLineToBR":false,"W":60,"H":80,"Binding":1,"IsGift":false,"Name":"armor83","Caption":" ","Description":[": 17
    : 0.00 .
    : []x21
    : 0/50
    :
    : 7
    : 7
    : 4
    : 22
    : 22
    :
    . (%): +25
    . (%): +30
    . (%): +45
    : +2
    (HP): +33
    : 7-24 (6+d18)"]},{"NewLineToBR":false,"W":60,"H":80,"Binding":1,"IsGift":false,"Name":"armor98","Caption":" ","Description":[": 9
    : 0.00 .
    : []x22
    : 0/50
    :
    : 22
    : 22
    : 4
    : 7
    : 7
    :
    . (%): +30
    . : +5
    , : +2
    (HP): +18
    : +3
    : 3-8 (2+d6)"]},{"NewLineToBR":false,"W":60,"H":80,"Binding":1,"IsGift":false,"Name":"armor82","Caption":" ","Description":[": 15
    : 0.00 .
    : []x22
    : 0/50
    :
    : 7
    : 7
    : 4
    : 20
    : 20
    :
    . (%): +20
    . (%): +20
    . (%): +20
    (HP): +6
    . (%): +20
    : +4
    : 7-24 (6+d18)"]}],"Name":"armor","Caption":" ","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":80,"Binding":1,"IsGift":false,"Name":"leg18","Caption":" ","Description":[": 2
    : 0.00 .
    : []x8
    : 0/30
    :
    : 4
    : 15
    : 15
    :
    . (%): +5
    . (%): +5
    . (%): +5
    . (%): +5
    (HP): +27
    : 1-12 (d12)
    : 1-12 (d12)"]}],"Name":"leg","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"helmet61","Caption":" ","Description":[": 5
    : 0.00 .
    : []x9
    : 0/30
    :
    : 4
    : 15
    : 15
    :
    . (%): +15
    . (%): +30
    (HP): +21
    : 2-10 (1+d9)"]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"helmet34","Caption":" ","Description":[": 10
    : 0.00 .
    : []x9
    : 0/40
    :
    : 4
    : 15
    : 15
    :
    . (%): +20
    (HP): +30
    : 5-22 (4+d18)"]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"helmet30","Caption":" ","Description":[": 8
    : 0.00 .
    : []x9
    : 0/40
    :
    : 4
    : 15
    : 15
    :
    . (%): +15
    (HP): +18
    : +2
    : 4-15 (3+d12)"]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"helmet32","Caption":" ","Description":[": 4
    : 0.00 .
    : []x9
    : 0/30
    :
    : 4
    :
    . (%): +25
    : +2
    : +2
    : 3-8 (2+d6)"]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"helmet52","Caption":" ","Description":[": 10
    : 0.00 .
    : []x9
    : 0/35
    :
    : 4
    : 15
    : 15
    :
    . (%): +10
    : +2
    : +20
    : 5-16 (4+d12)"]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"whelmet4","Caption":" ","Description":[": 4
    : 0.00 .
    : []x9
    : 0/30
    :
    : 20
    : 4
    :
    (HP): +24
    : +45
    : 3-3"]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"helmet48","Caption":" ","Description":[": 5
    : 0.00 .
    : []x10
    : 0/30
    :
    : 10
    : 10
    : 4
    : 10
    : 10
    :
    : +1
    : +1
    : +1
    (HP): +12
    : +1
    : 4-15 (3+d12)"]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"helmet49","Caption":" ","Description":[": 7
    : 0.00 .
    : []x10
    : 0/30
    :
    : 4
    : 15
    : 15
    :
    . (%): +10
    : +4
    : 5-16 (4+d12)"]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"helmet77","Caption":" ","Description":[": 5
    : 0.00 .
    : []x10
    : 0/30
    :
    : 4
    : 15
    : 15
    :
    . (%): +30
    : +2
    : +2
    : 3-10 (2+d8)"]}],"Name":"helmet","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"shield12","Caption":" ","Description":[": 8
    : 0.00 .
    : []x11
    : 0/30
    :
    : 12
    : 4
    : 15
    : 15
    :
    . (%): +25
    : +1
    : 3-14 (2+d12)
    : 4-15 (3+d12)
    : 3-14 (2+d12)
    : 3-14 (2+d12)"]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"shield10","Caption":" ","Description":[": 10
    : 0.00 .
    : []x12
    : 0/40
    :
    : 12
    : 4
    : 15
    : 15
    :
    . (%): +25
    : +3
    : +2
    : 3-14 (2+d12)
    : 4-15 (3+d12)
    : 3-14 (2+d12)
    : 3-14 (2+d12)"]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"shield19","Caption":" ","Description":[": 10
    : 0.00 .
    : []x13
    : 0/30
    :
    : 12
    : 4
    : 15
    : 15
    :
    . (%): +20
    : +1
    (HP): +15
    : 3-14 (2+d12)
    : 4-15 (3+d12)
    : 3-14 (2+d12)
    : 3-14 (2+d12)"]}],"Name":"shield","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"braslet6","Caption":" ","Description":[": 1
    : 0.00 .
    : []x6
    : 0/20
    :
    : 15
    : 4
    : 10
    : 10
    :
    . (%): +10
    . (%): +15
    : +2"]},{"NewLineToBR":false,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"braslet9","Caption":" ","Description":[": 5
    : 0.00 .
    : []x6
    : 0/30
    :
    : 15
    : 4
    : 10
    : 10
    :
    . (%): +10
    . (%): +25
    : +2"]},{"NewLineToBR":false,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"braslet26","Caption":" ","Description":[": 1
    : 0.00 .
    : []x6
    : 0/30
    :
    : 20
    : 4
    :
    (HP): +12
    : +35"]},{"NewLineToBR":false,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"braslet10","Caption":" ","Description":[": 2
    : 0.00 .
    : []x13
    : 0/30
    :
    : 10
    : 10
    : 4
    : 10
    : 10
    :
    : +2
    : +2
    (HP): +18
    : +3"]}],"Name":"braslet","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"belt5","Caption":" ","Description":[": 2
    : 0.00 .
    : []x4
    : 0/30
    :
    : 10
    : 10
    : 4
    : 10
    : 10
    :
    : +1
    : +1
    : 3-8 (2+d6)"]},{"NewLineToBR":false,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"belt40","Caption":" ","Description":[": 2
    : 0.00 .
    : []x4
    : 0/20
    :
    : 20
    : 4
    :
    : +30
    : 3-3"]},{"NewLineToBR":false,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"belt31","Caption":" ","Description":[": 2
    : 0.00 .
    : []x5
    : 0/30
    :
    : 15
    : 4
    : 15
    :
    : +2
    : 1-12 (d12)"]}],"Name":"belt","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":20,"Binding":1,"IsGift":false,"Name":"clip53","Caption":" ","Description":[": 1
    : 0.00 .
    : []x12
    : 0/30
    :
    : 12
    : 4
    : 12
    : 12
    :
    . (%): +30
    . (%): +30
    . (%): +15
    . (%): +15
    : +1"]},{"NewLineToBR":false,"W":60,"H":20,"Binding":1,"IsGift":false,"Name":"clip57","Caption":" ","Description":[": 1
    : 0.00 .
    : []x12
    : 0/40
    :
    : 18
    : 4
    : 10
    : 10
    :
    . (%): +20
    . (%): +55
    . (%): +3
    : +2"]},{"NewLineToBR":false,"W":60,"H":20,"Binding":1,"IsGift":false,"Name":"clip86","Caption":" ","Description":[": 1
    : 0.00 .
    : []x12
    : 0/50
    :
    : 20
    : 4
    :
    . (%): +10
    (HP): +36
    : +50"]}],"Name":"clip","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":20,"Binding":1,"IsGift":false,"Name":"amulet53","Caption":" - -","Description":[": 1
    : 0.00 .
    : []x12
    : 0/30
    :
    : 15
    : 4
    : 15
    : 15
    :
    . (%): +25
    : +3
    (HP): +33"]},{"NewLineToBR":false,"W":60,"H":20,"Binding":1,"IsGift":false,"Name":"amulet90","Caption":" ","Description":[": 1
    : 0.00 .
    : []x12
    : 0/50
    :
    : 20
    : 4
    :
    . (%): +30
    : +2
    (HP): +18
    : +25"]},{"NewLineToBR":false,"W":60,"H":20,"Binding":1,"IsGift":false,"Name":"amulet63","Caption":" ","Description":[": 1
    : 0.00 .
    : []x13
    : 0/50
    :
    : 4
    : 15
    : 15
    :
    . (%): +30
    : +25
    (HP): +18"]},{"NewLineToBR":false,"W":60,"H":20,"Binding":1,"IsGift":false,"Name":"amulet67","Caption":" ","Description":[": 1
    : 0.00 .
    : []x13
    : 0/50
    :
    : 4
    : 20
    : 10
    :
    (HP): +99"]}],"Name":"amulet","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":20,"H":20,"Binding":1,"IsGift":false,"Name":"ring108","Caption":" ","Description":[": 1
    : 0.00 .
    : []x6
    : 0/30
    :
    : 4
    : 15
    : 15
    :
    . (%): +5
    . (%): +2
    . (%): -5
    (HP): +33"]},{"NewLineToBR":false,"W":20,"H":20,"Binding":1,"IsGift":false,"Name":"ring81","Caption":" ","Description":[": 1
    : 0.00 .
    : []x6
    : 0/30
    :
    : 4
    : 20
    : 20
    :
    : 1-15 (d15)
    : 1-15 (d15)
    : 1-15 (d15)
    : 1-15 (d15)"]},{"NewLineToBR":false,"W":20,"H":20,"Binding":1,"IsGift":false,"Name":"ring54","Caption":" ","Description":[": 1
    : 0.00 .
    : []x6
    : 0/30
    :
    : 4
    : 15
    : 15
    :
    : +21
    : +25"]},{"NewLineToBR":false,"W":20,"H":20,"Binding":1,"IsGift":false,"Name":"ring123","Caption":" ","Description":[": 1
    : 0.00 .
    : []x6
    : 0/50
    :
    : 20
    : 4
    :
    : +1
    : +35"]},{"NewLineToBR":false,"W":20,"H":20,"Binding":1,"IsGift":false,"Name":"ring101","Caption":" ","Description":[": 1
    : 0.00 .
    : []x7
    : 0/30
    :
    : 17
    : 4
    : 10
    : 10
    :
    . (%): +10
    . (%): +3
    . (%): +2"]},{"NewLineToBR":false,"W":20,"H":20,"Binding":1,"IsGift":false,"Name":"ring55","Caption":" ","Description":[": 1
    : 0.00 .
    : []x7
    : 0/30
    :
    : 10
    : 10
    : 4
    : 10
    : 10
    :
    . (%): +10
    . (%): +5
    . (%): +15
    : +1
    : +1"]},{"NewLineToBR":false,"W":20,"H":20,"Binding":1,"IsGift":false,"Name":"ring60","Caption":" ","Description":[": 1
    : 0.00 .
    : []x7
    : 0/30
    :
    : 12
    : 4
    : 10
    : 10
    :
    . (%): +30
    : +20"]},{"NewLineToBR":false,"W":20,"H":20,"Binding":1,"IsGift":false,"Name":"ring73","Caption":" ","Description":[": 1
    : 0.00 .
    : []x9
    : 0/20
    :
    : 4
    : 1
    : 10
    : 10
    :
    . (%): +25
    :
    10-15 .
    : 30% ."]},{"NewLineToBR":false,"W":20,"H":20,"Binding":1,"IsGift":false,"Name":"ring66","Caption":" ","Description":[": 1
    : 0.00 .
    : []x9
    : 0/20
    :
    : 4
    : 1
    : 10
    : 10
    :
    . (%): +25
    :
    1-24 .
    : 30% . "]},{"NewLineToBR":false,"W":20,"H":20,"Binding":1,"IsGift":false,"Name":"ring91","Caption":" ","Description":[": 1
    : 0.00 .
    : []x9
    : 0/20
    :
    : 4
    : 10
    : 15
    :
    . (%): +25
    :
    10-15 .
    : 30% ."]}],"Name":"ring","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"sharpen_axe_1","Caption":" 1: ","Description":[": 1
    : 0.00 .
    : []x12
    : 0/1
    : 50%
    :
    : 4
    , : 1
    :
    : +1
    : +1
    :
    , , . . "]},{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"sharpen_knife_1","Caption":" 1: ","Description":[": 1
    : 0.00 .
    : []x12
    : 0/1
    : 50%
    :
    : 4
    , : 1
    :
    : +1
    : +1
    :
    , , . ."]},{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"sharpen_molot_1","Caption":" 1: , , ","Description":[": 1
    : 0.00 .
    : []x12
    : 0/1
    : 50%
    :
    : 4
    , : 1
    :
    : +1
    : +1
    :
    , , . ."]},{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"sharpen_sword_1","Caption":" 1: ","Description":[": 1
    : 0.00 .
    : []x12
    : 0/1
    : 50%
    :
    : 4
    : 1
    :
    : +1
    : +1
    :
    , , . . "]}],"Name":"svitki","Caption":"","Description":[]}],"Name":"noviceshop1","Caption":"","Description":["

    , . .


    ","

    , \"\" , \"\" , \"\" ? \"\" .

    ","","","","","","","","","","","
    [4]-[6] [7] [8]
    3 = 1
    1 = 1
    1 = 3
    9 = 1
    3 = 1
    1 = 1
    15 = 1
    5 = 1
    5 = 3

    ","


    ","

    , , [4] .

    ","

    "]},{"NewLineToBR":false,"ImageBasePath":"http://img.combats.ru/i/items/","Categories":[{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"knife66","Caption":" ","Description":[": 5
    : 0.00 .
    : [ ]x14
    : 0/50
    :
    •: 21
    •: 21
    •: 5
    • , : 3
    •: 11
    :
    •. (%): +20
    •: +1
    •: +1
    :
    •: 4 - 11
    •. (%): 20
    •. (%): 20
    •. (%): 20
    • : +
    :
    • :
    • :
    • : "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"knife62","Caption":"","Description":[": 6
    : 0.00 .
    : [ ]x14
    : 0/40
    :
    •: 18
    •: 18
    •: 5
    • , : 3
    :
    •. (%): +5
    :
    •: 4 - 11
    •. (%): 35

    • : +
    :
    • :
    • :
    • :
    • : "]}],"Name":"knife","Caption":", ","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"axe52","Caption":" ","Description":[": 15
    : 0.00 .
    : [ ]x17
    : 0/50
    :
    •: 16
    •: 5
    • , : 3
    •: 16
    •: 16
    :
    •: -1
    :
    •: 10 - 18
    •. (%): 40
    •. : 8
    • : +
    :
    • :
    • :
    • :
    • : "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"axe67","Caption":" ","Description":[": 13
    : 0.00 .
    : [ ]x18
    : 0/50
    :
    •: 16
    •: 5
    • , : 3
    •: 16
    •: 16
    :
    •. (%): +20
    :
    •: 10 - 18
    •. (%): 20
    •. (%): 20

    • : +
    :
    • :
    • :
    • :
    • : "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"axe71","Caption":" ","Description":[": 13
    : 0.00 .
    : [ ]x18
    : 0/50
    :
    •: 16
    •: 5
    • , : 3
    •: 16
    •: 16
    :
    •: 10 - 18
    •. (%): 50
    •. (%): 20
    • : +
    :
    • :
    • : "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"axe57","Caption":" ","Description":[": 15
    : 0.00 .
    : [ ]x18
    : 0/50
    :
    •: 16
    •: 5
    • , : 3
    •: 16
    •: 16
    :
    •: +2
    :
    •: 10 - 18
    •. (%): 25
    • : +
    :
    • :
    • :
    • :
    • : "]}],"Name":"axe","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"hammer51","Caption":" ","Description":[": 23
    : 0.00 .
    : [ ]x19
    : 0/50
    :
    •: 5
    • , : 3
    •: 20
    •: 25
    :
    •: -2
    •: +1
    :
    •: 13 - 22
    •. (%): 30
    • : +
    :
    • :
    • : "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"mace60","Caption":" ","Description":[": 21
    : 0.00 .
    : [ ]x19
    : 0/50
    :
    •: 5
    • , : 3
    •: 20
    •: 25
    :
    •. (%): -20
    •. (%): +20
    •. (%): -20
    :
    •: 13 - 22
    •. (%): 35
    • : +
    :
    • :
    • : "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"hammer52","Caption":" ","Description":[": 24
    : 0.00 .
    : [ ]x20
    : 0/50
    :
    •: 5
    • , : 3
    •: 20
    •: 25
    :
    •. (%): -15
    •: -1
    •: +1
    :
    •: 13 - 23
    •. (%): 15
    •. (%): 15
    • : +
    :
    • :
    • : "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"mace54","Caption":" ","Description":[": 22
    : 0.00 .
    : [ ]x20
    : 0/50
    :
    •: 5
    • , : 3
    •: 20
    •: 25
    :
    •: -2
    :
    •: 13 - 22
    •. . (%): 10
    •. (%): 15
    • : +
    :
    • :
    • : "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"hammer4","Caption":" ","Description":[": 20
    : 0.00 .
    : [ ]x22
    : 0/50
    :
    •: 10
    •: 10
    •: 5
    • , : 3
    •: 20
    •: 20
    :
    •: -2
    :
    •: 13 - 25
    •. (%): 50
    • : +
    :
    • :
    • :
    • :
    • : "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"mace53","Caption":" ","Description":[": 9
    : 0.00 .
    : [ ]x24
    : 0/50
    :
    •: 5
    • , : 3
    •: 20
    •: 25
    :
    •: 13 - 22
    •. (%): 70
    •. (%): 15
    • :
    :
    • :
    • : "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"hammer60","Caption":" ","Description":[": 29
    : 0.00 .
    : [ ]x31
    : 0/50
    :
    •: 5
    • , : 4
    •: 20
    •: 25
    :
    •. (%): -20
    •: -1
    :
    •: 20 - 27
    •. (%): 30
    •. (%): 45
    • , : 1

    • : +
    :
    • :
    • : "]}],"Name":"hammer","Caption":", , ","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"sword79","Caption":" --","Description":[": 16
    : 0.00 .
    : [ ]x18
    : 0/50
    :
    •: 16
    •: 5
    • : 3
    •: 16
    •: 16
    :
    •: 8 - 21
    •. (%): 50
    •. (%): 10
    • : +
    :
    • :
    • :
    • :
    • : "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"sword81","Caption":" ","Description":[": 13
    : 0.00 .
    : [ ]x18
    : 0/50
    :
    • : 5
    • : 3
    • : 16
    • : 16
    :
    • . (%): -10
    • . (%): -30
    • : +1
    • : -1
    • (HP): +20
    • : +1
    :
    • : 10 - 18
    • . (%): 40
    • . (%): 25
    • : +
    :
    • :
    • :
    • :
    • : "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"sword73","Caption":" ̸","Description":[": 13
    : 0.00 .
    : [ ]x18
    : 0/50
    :
    •: 16
    •: 5
    • : 3
    •: 16
    •: 16
    :
    •. (%): +40
    •: -1
    •: +1
    :
    •: 10 - 18
    • : +
    :
    • :
    • :
    • :
    • : "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"sword50","Caption":" ","Description":[": 7
    : 0.00 .
    : [ ]x18
    : 0/50
    :
    •: 16
    •: 5
    • : 3
    •: 16
    •: 16
    :
    •. (%): +20
    •. (%): +30
    :
    •: 10 - 18
    • : +
    :
    • :
    • :
    • :
    • : "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"sword56","Caption":" --","Description":[": 13
    : 0.00 .
    : [ ]x18
    : 0/50
    :
    •: 16
    •: 5
    • : 3
    •: 16
    •: 16
    :
    •: 7 - 23
    •. (%): 25
    •. (%): 25
    • : +
    :
    • :
    • :
    • : "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"sword87","Caption":" ","Description":[": 13
    : 0.00 .
    : [ ]x18
    : 0/50
    :
    •: 16
    •: 5
    • : 3
    •: 16
    •: 16
    :
    •. (%): +10
    •. (%): +10
    •: +1
    :
    •: 10 - 18
    •. (%): 10
    •. (%): 10

    • : +
    :
    • :
    • :
    • :
    • : "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"sword57","Caption":" ","Description":[": 11
    : 0.00 .
    : [ ]x18
    : 0/50
    :
    •: 14
    •: 14
    •: 5
    • : 3
    •: 16
    •: 16
    :
    •. (%): +20
    •. (%): +20
    •: -1
    •: -1
    •: +1
    :
    •: 10 - 18
    •. (%): 30
    • : +
    :
    • :
    • :
    • :
    • : "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"sword69","Caption":" ","Description":[": 15
    : 0.00 .
    : [ ]x24
    : 0/50
    :
    •: 16
    •: 2
    •: 5
    • : 3
    •: 16
    •: 16
    :
    •. (%): -20
    •. (%): +20
    :
    •: 10 - 18
    •. (%): 20
    • : +
    :
    • :
    • :
    • :
    • :
    :
    20-30 .
    : 30% "]}],"Name":"sword","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"boots7","Caption":" ","Description":[": 6
    : 0.00 .
    : [ ]x7
    : 0/40
    :
    •: 5
    •: 17
    •: 17
    :
    •. (%): +25
    • (HP): +12
    • : 6-20 (5+d15)"]},{"NewLineToBR":false,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"boots11","Caption":" ","Description":[": 7
    : 0.00 .
    : [ ]x9
    : 0/50
    :
    •: 5
    •: 17
    •: 17
    :
    • (HP): +45
    •: +1
    • : 6-20 (5+d15)"]}],"Name":"boots","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"naruchi51","Caption":" ","Description":[": 3
    : 0.00 .
    : [ ]x7
    : 0/50
    :
    •: 20
    •: 5
    •: 15
    :
    • : +1
    • (HP): +30"]},{"NewLineToBR":false,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"naruchi57","Caption":" ","Description":[": 3
    : 0.00 .
    : [ ]x8
    : 0/30
    :
    •: 20
    •: 5
    •: 20
    :
    • : +20
    • : +30"]},{"NewLineToBR":false,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"gloves2","Caption":" ","Description":[": 1
    : 0.00 .
    : [ ]x11
    : 0/30
    :
    •: 25
    •: 5
    •: 10
    :
    •: +1
    • : +1
    • : +10
    • (HP): +12
    • : +30"]},{"NewLineToBR":false,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"naruchi63","Caption":" ","Description":[": 3
    : 0.00 .
    : [ ]x11
    : 0/30
    :
    •: 15
    •: 5
    •: 25
    :
    •. : +3
    • , : +3"]},{"NewLineToBR":false,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"naruchi64","Caption":" ","Description":[": 3
    : 0.00 .
    : [ ]x11
    : 0/30
    :
    •: 25
    •: 5
    •: 15
    :
    •. : +6
    • , : +3"]},{"NewLineToBR":false,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"naruchi68","Caption":" ","Description":[": 3
    : 0.00 .
    : [ ]x11
    : 0/30
    :
    •: 20
    •: 5
    •: 20
    :
    •. : +4
    •. : +2
    • : +3"]}],"Name":"gloves","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":80,"Binding":1,"IsGift":false,"Name":"armor51","Caption":" ","Description":[": 23
    : 0.00 .
    : [ ]x20
    : 0/80
    :
    •: 5
    •: 25
    •: 25
    :
    •. (%): +20
    • : +25
    • (HP): +27
    •: +1
    • : 6-26 (5+d21)
    :
    • : 25"]},{"NewLineToBR":false,"W":60,"H":80,"Binding":1,"IsGift":false,"Name":"armor53","Caption":" ","Description":[": 16
    : 0.00 .
    : [ ]x25
    : 0/40
    :
    •: 25
    •: 5
    •: 10
    •: 15
    :
    •. (%): +15
    •. (%): +25
    •. (%): +5
    •. (%): +50
    •: +2
    • (HP): +18
    •: +2
    • : 6-20 (5+d15)"]},{"NewLineToBR":false,"W":60,"H":80,"Binding":1,"IsGift":false,"Name":"armor55","Caption":" ","Description":[": 25
    : 0.00 .
    : [ ]x25
    : 0/80
    :
    •: 5
    •: 25
    •: 25
    :
    •. (%): +40
    • (HP): +33
    • : 7-30 (6+d24)
    :
    • : 75"]},{"NewLineToBR":false,"W":60,"H":80,"Binding":1,"IsGift":false,"Name":"armor56","Caption":" ","Description":[": 24
    : 0.00 .
    : [ ]x25
    : 0/70
    :
    •: 20
    •: 5
    •: 25
    •: 25
    :
    •. . (%): +5
    •. (%): +30
    •. (%): +40
    • (HP): +33
    •: +4
    • : 8-28 (7+d21)"]},{"NewLineToBR":false,"W":60,"H":80,"Binding":1,"IsGift":false,"Name":"armor60","Caption":" ","Description":[": 18
    : 0.00 .
    : [ ]x26
    : 0/50
    :
    •: 7
    •: 7
    •: 5
    •: 25
    •: 25
    :
    •. (%): +30
    •. (%): +20
    • , : +1
    • (HP): +33
    •: +1
    • : 8-31 (7+d24)
    :
    • : 100"]},{"NewLineToBR":false,"W":60,"H":80,"Binding":1,"IsGift":false,"Name":"armor102","Caption":" ","Description":[": 20
    : 0.00 .
    : [ ]x26
    : 0/80
    :
    •: 20
    •: 20
    •: 5
    •: 15
    •: 15
    :
    •. (%): +20
    •. (%): +20
    •. : +25
    • (HP): +24
    • : 8-28 (7+d21)"]}],"Name":"armor","Caption":" ","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":80,"Binding":1,"IsGift":false,"Name":"leg32","Caption":"","Description":[": 7
    : 0.00 .
    : [ ]x10
    : 0/50
    :
    •: 5
    •: 18
    •: 18
    :
    • (HP): +27
    •: +1
    • : 7-18 (6+d12)
    • : 7-18 (6+d12)"]}],"Name":"leg","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"helmet63","Caption":" ","Description":[": 5
    : 0.00 .
    : [ ]x10
    : 0/40
    :
    •: 5
    •: 18
    •: 18
    :
    •. (%): +50
    • (HP): +12
    • : 6-20 (5+d15)"]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"helmet35","Caption":" ","Description":[": 12
    : 0.00 .
    : [ ]x10
    : 0/50
    :
    •: 20
    •: 5
    •: 20
    •: 20
    :
    •. (%): +35
    •. (%): +35
    • (HP): +12
    • : 1-15 (d15)"]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"helmet67","Caption":" ","Description":[": 7
    : 0.00 .
    : [ ]x10
    : 0/30
    :
    •: 5
    •: 18
    •: 18
    :
    •. (%): +15
    •: +1
    • (HP): +18
    •: +2
    • : 4-18 (3+d15)"]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"helmet72","Caption":" ","Description":[": 4
    : 0.00 .
    : [ ]x10
    : 0/20
    :
    •: 5
    •: 18
    •: 18
    :
    •: +1
    • : +30
    • (HP): +33
    •: +1"]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"helmet38","Caption":" ","Description":[": 5
    : 0.00 .
    : [ ]x11
    : 0/30
    :
    •: 20
    •: 5
    •: 20
    •: 20
    :
    •. . (%): +20
    •. (%): -25
    •. (%): +20
    •. (%): -25
    • : 1-15 (d15)"]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"helmet43","Caption":" ","Description":[": 8
    : 0.00 .
    : [ ]x15
    : 0/40
    :
    •: 5
    •: 18
    •: 18
    :
    •. (%): +20
    •. (%): -10
    • (HP): +27
    •: +2
    • : 7-24 (6+d18)
    :
    • : 25
    • : 25"]}],"Name":"helmet","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"shield7","Caption":" ","Description":[": 5
    : 0.00 .
    : [ ]x14
    : 0/30
    :
    •: 15
    •: 5
    •: 18
    •: 18
    :
    •. (%): +25
    •. (%): +20
    • (HP): +15
    • : 4-15 (3+d12)
    • : 4-15 (3+d12)
    • : 4-15 (3+d12)
    • : 4-15 (3+d12)"]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"shield79","Caption":" ","Description":[": 15
    : 0.00 .
    : [ ]x16
    : 0/50
    :
    •: 15
    •: 5
    •: 18
    •: 18
    :
    •. (%): +10
    •. (%): +15
    • : +50
    • : 4-15 (3+d12)
    • : 4-15 (3+d12)
    • : 4-15 (3+d12)
    • : 4-15 (3+d12)"]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"shield13","Caption":" ","Description":[": 15
    : 0.00 .
    : [ ]x17
    : 0/50
    :
    •: 15
    •: 5
    •: 18
    •: 18
    :
    • (HP): +18
    • : 8-31 (7+d24)
    • : 9-32 (8+d24)
    • : 8-31 (7+d24)
    • : 8-31 (7+d24)"]}],"Name":"shield","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"naruchi81","Caption":" ","Description":[": 2
    : 0.00 .
    : [ ]x8
    : 0/30
    :
    •: 21
    •: 5
    •: 20
    •: 20
    :
    •. (%): +10
    •. (%): +10
    •. (%): +20
    •: +2"]},{"NewLineToBR":false,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"braslet28","Caption":" ","Description":[": 1
    : 0.00 .
    : [ ]x9
    : 0/30
    :
    •: 25
    •: 5
    •: 10
    :
    •: +1
    • (HP): +21
    • : +40"]}],"Name":"braslet","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"belt25","Caption":" ","Description":[": 1
    : 0.00 .
    : [ ]x6
    : 0/30
    \t :
    • : 15
    • : 5
    • : 15
    :
    • . (%): +15
    • . (%): +25
    • : 5-16 (4+d12)"]},{"NewLineToBR":false,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"belt26","Caption":" ","Description":[": 1
    : 0.00 .
    : [ ]x6
    : 0/20
    :
    •: 5
    •: 15
    •: 20
    :
    •. (%): +5
    •. (%): +5
    • : +10
    • (HP): +18
    • : 3-17 (2+d15)"]},{"NewLineToBR":false,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"belt3","Caption":" ","Description":[": 3
    : 0.00 .
    : [ ]x6
    : 0/30
    :
    •: 20
    •: 5
    •: 10
    •: 20
    :
    •. (%): +5
    •. (%): +10
    •: +1
    •: +1
    • : 3-14 (2+d12)"]},{"NewLineToBR":false,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"belt20","Caption":" ","Description":[": 5
    : 0.00 .
    : [ ]x6
    : 0/30
    :
    •: 25
    •: 5
    •: 10
    •: 10
    :
    •. (%): +5
    •. (%): +25
    • : 6-20 (5+d15)"]},{"NewLineToBR":false,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"belt23","Caption":" ","Description":[": 2
    : 0.00 .
    : [ ]x6
    : 0/20
    :
    •: 5
    •: 20
    •: 20
    :
    • (HP): +45
    • : 3-8 (2+d6)"]},{"NewLineToBR":false,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"belt41","Caption":" ","Description":[": 2
    : 0.00 .
    : [ ]x6
    : 0/20
    :
    •: 25
    •: 5
    •: 10
    :
    • : +45
    • : 4-9 (3+d6)"]}],"Name":"belt","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":20,"Binding":1,"IsGift":false,"Name":"clip63","Caption":" ","Description":[": 1
    : 0.00 .
    : [ ]x14
    : 0/50
    :
    •: 5
    •: 20
    •: 20
    :
    • (HP): +120"]},{"NewLineToBR":false,"W":60,"H":20,"Binding":1,"IsGift":false,"Name":"clip55","Caption":" ","Description":[": 1
    : 0.00 .
    : [ ]x15
    : 0/50
    :
    •: 5
    •: 17
    •: 17
    :
    •. (%): +15
    •. (%): +30
    • (HP): +33
    •: +2
    • : 1-9 (d9)
    • : 1-9 (d9)
    • : 1-9 (d9)
    • : 1-9 (d9)"]},{"NewLineToBR":false,"W":60,"H":20,"Binding":1,"IsGift":false,"Name":"clip54","Caption":" ","Description":[": 1
    : 0.00 .
    : [ ]x15
    : 0/30
    :
    •: 10
    •: 10
    •: 5
    •: 10
    •: 10
    :
    •: +2
    •: +2
    •: +2
    • (HP): +33
    •: +2"]}],"Name":"clip","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":20,"Binding":1,"IsGift":false,"Name":"amulet54","Caption":" ","Description":[": 1
    : 0.00 .
    : [ ]x17
    : 0/50
    :
    •: 10
    •: 10
    •: 5
    •: 10
    •: 10
    :
    •: +4
    •: +4
    •: +4"]},{"NewLineToBR":false,"W":60,"H":20,"Binding":1,"IsGift":false,"Name":"amulet56","Caption":" - -","Description":[": 1
    : 0.00 .
    : [ ]x17
    : 0/60
    :
    •: 20
    •: 5
    •: 10
    •: 10
    :
    •. (%): +25
    •. (%): +25
    •. (%): +45
    •. (%): +5
    •: +3"]},{"NewLineToBR":false,"W":60,"H":20,"Binding":1,"IsGift":false,"Name":"amulet65","Caption":" ","Description":[": 1
    : 0.00 .
    : [ ]x18
    : 0/50
    :
    •: 5
    •: 20
    •: 20
    :
    •. (%): +25
    •. (%): +25
    •: +2
    •: +2
    •: +5"]},{"NewLineToBR":false,"W":60,"H":20,"Binding":1,"IsGift":false,"Name":"amulet60","Caption":" ","Description":[": 1
    : 0.00 .
    : [ ]x18
    : 0/30
    :
    •: 15
    •: 15
    •: 5
    •: 15
    •: 15
    :
    •. (%): +25
    •. (%): +25
    •. (%): +25
    •. (%): +25
    •: +1
    •: +1
    • (HP): +6
    •: +1
    • : 1-6 (d6)
    • : 1-6 (d6)
    • : 1-6 (d6)
    • : 1-6 (d6)"]}],"Name":"amulet","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":20,"H":20,"Binding":1,"IsGift":false,"Name":"ring67","Caption":" ","Description":[": 1
    : 0.00 .
    : [ ]x7
    : 0/50
    :
    •: 5
    •: 15
    •: 15
    :
    •: +5"]},{"NewLineToBR":false,"W":20,"H":20,"Binding":1,"IsGift":false,"Name":"ring70","Caption":" ","Description":[": 1
    : 0.00 .
    : [ ]x7
    : 0/50
    :
    •: 5
    •: 15
    •: 15
    :
    •: +5"]},{"NewLineToBR":false,"W":20,"H":20,"Binding":1,"IsGift":false,"Name":"ring124","Caption":" ","Description":[": 1
    : 0.00 .
    : [ ]x8
    : 0/50
    :
    •: 25
    •: 5
    :
    •. : +1
    •: +1
    • : +40"]},{"NewLineToBR":false,"W":20,"H":20,"Binding":1,"IsGift":false,"Name":"ring50","Caption":" ","Description":[": 1
    : 0.00 .
    : [ ]x8
    : 0/50
    :
    •: 25
    •: 5
    •: 15
    :
    •: +5
    • (HP): +3"]},{"NewLineToBR":false,"W":20,"H":20,"Binding":1,"IsGift":false,"Name":"ring77","Caption":" ","Description":[": 1
    : 0.00 .
    : [ ]x8
    : 0/30
    :
    •: 20
    •: 5
    •: 15
    •: 15
    :
    •. . (%): +6
    •. (%): +25
    • : 1-3 (d3)
    • : 1-3 (d3)
    • : 1-3 (d3)
    • : 1-3 (d3)"]},{"NewLineToBR":false,"W":20,"H":20,"Binding":1,"IsGift":false,"Name":"ring78","Caption":" ","Description":[": 1
    : 0.00 .
    : [ ]x8
    : 0/30
    :
    •: 5
    •: 15
    •: 15
    :
    •. (%): +15
    •. (%): +5"]},{"NewLineToBR":false,"W":20,"H":20,"Binding":1,"IsGift":false,"Name":"ring59","Caption":" ","Description":[": 1
    : 0.00 .
    : [ ]x8
    : 0/40
    :
    •: 10
    •: 10
    •: 5
    •: 10
    •: 10
    :
    •: +1
    •: +1
    •: +1
    • (HP): +18
    •: +1"]},{"NewLineToBR":false,"W":20,"H":20,"Binding":1,"IsGift":false,"Name":"ring62","Caption":" ","Description":[": 1
    : 0.00 .
    : [ ]x8
    : 0/30
    :
    •: 5
    •: 20
    •: 20
    :
    •. (%): +5
    •. (%): +7
    • (HP): +12"]}],"Name":"ring","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"sharpen_axe_2","Caption":" 2: ","Description":[": 1
    : 0.00 .
    : [ ]x24
    : 0/1
    : 60%
    :
    : 4
    , : 2
    :
    : +2
    : +2
    :
    , , . . "]},{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"sharpen_knife_2","Caption":" 2: ","Description":[": 1
    : 0.00 .
    : [ ]x24
    : 0/1
    : 60%
    :
    : 4
    , : 2
    :
    : +2
    : +2
    :
    , , . . "]},{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"sharpen_molot_2","Caption":" 2: , , ","Description":[": 1
    : 0.00 .
    : [ ]x24
    : 0/1
    : 60%
    :
    : 4
    , : 2
    :
    : +2
    : +2
    :
    , , . ."]},{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"sharpen_sword_2","Caption":" 2: ","Description":[": 1
    : 0.00 .
    : [ ]x24
    : 0/1
    : 50%
    :
    : 4
    : 2
    :
    : +2
    : +2
    :
    , , . . "]}],"Name":"svitki","Caption":"","Description":[]}],"Name":"noviceshop2","Caption":"","Description":["

    , . .


    ","","

    \"\" , \"\" \"\" \"\" .

    ","","","","","","","","","","","
    [4]-[6] [7] [8]
    3 = 1
    1 = 1
    1 = 3
    9 = 1
    3 = 1
    1 = 1
    15 = 1
    5 = 1
    5 = 3

    ","


    ","

    , , [5] .

    ","

    "]},{"NewLineToBR":false,"ImageBasePath":"http://img.combats.ru/i/items/","Categories":[{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"dagger70","Caption":" ","Description":[": 7
    : 0.00 .
    : [ ]x19
    : 0/50
    :
    •: 34
    •: 25
    •: 6
    • , : 4
    •: 13
    :
    •: 4 - 12
    •. (%): 45
    •. : 15
    •. (%): 50

    • : +
    :
    • :
    • : "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"knife57","Caption":" ","Description":[": 6
    : 0.00 .
    : [ ]x20
    : 0/40
    :
    •: 25
    •: 25
    •: 5
    •: 6
    • , : 4
    •: 13
    :
    •: 4 - 13
    •. (%): 20
    •. (%): 30

    • : +
    :
    • :
    • :
    • :
    • :
    :
    10-16 .
    : 50% "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"knife68","Caption":" ","Description":[": 7
    : 0.00 .
    : [ ]x20
    : 0/40
    :
    •: 25
    •: 25
    •: 5
    •: 6
    • , : 4
    •: 13
    :
    •. (%): +20
    :
    •: 4 - 12
    •. (%): 20

    • : +
    :
    • :
    • :
    • :
    • :
    :
    10-16 .
    : 50% "]}],"Name":"knife","Caption":", ","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"axe76","Caption":" ","Description":[": 17
    : 0.00 .
    : [ ]x22
    : 0/50
    :
    •: 16
    •: 6
    • , : 4
    •: 16
    •: 16
    :
    •. (%): +20
    •: +2
    •: +1
    :
    •: 11 - 19
    •. (%): 15
    • : +
    :
    • :
    • :
    • :
    • : "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"axe58","Caption":" ","Description":[": 19
    : 0.00 .
    : [ ]x23
    : 0/50
    :
    •: 19
    •: 6
    • , : 4
    •: 19
    •: 19
    :
    •. (%): +30
    • , : +1
    :
    •: 11 - 21
    •. (%): 40
    • : +
    :
    • :
    • :
    • :
    • : "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"axe59","Caption":" ","Description":[": 16
    : 0.00 .
    : [ ]x23
    : 0/50
    :
    •: 19
    •: 6
    • , : 4
    •: 19
    •: 19
    :
    •: 12 - 21
    •. . (%): 10
    •. (%): 30

    • : +
    :
    • :
    • :
    • :
    • : "]}],"Name":"axe","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"molot1","Caption":" ","Description":[": 10
    : 0.00 .
    : [ ]x25
    : 0/50
    :
    •: 15
    •: 6
    • , : 3
    •: 20
    •: 20
    :
    •: -2
    •: +5
    :
    •: 10 - 22
    •. (%): 25
    •. (%): 35
    • : +
    :
    • :
    • :
    • :
    • : "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"mace56","Caption":" Ҹ ","Description":[": 25
    : 0.00 .
    : [ ]x26
    : 0/50
    :
    •: 6
    • , : 4
    •: 24
    •: 30
    :
    •. (%): -20
    :
    •: 15 - 25
    •. (%): 50
    •. (%): 30
    • : +
    :
    • :
    • : "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"hammer59","Caption":"˸ ","Description":[": 27
    : 0.00 .
    : [ ]x27
    : 0/40
    :
    •: 6
    • , : 4
    •: 24
    •: 30
    :
    •: +1
    :
    •: 15 - 25
    • , : 2
    • : +
    :
    • :
    • :
    • : "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"mace62","Caption":" ","Description":[": 9
    : 0.00 .
    : [ ]x29
    : 0/50
    :
    •: 6
    • , : 4
    •: 24
    •: 30
    :
    •: 15 - 25
    •. (%): 70
    •. (%): 40
    • :
    :
    • :
    • : "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"mace59","Caption":" ","Description":[": 25
    : 0.00 .
    : [ ]x29
    : 0/50
    :
    •: 6
    • , : 4
    •: 24
    •: 30
    :
    •: 15 - 25
    •. (%): -10
    •. (%): 25
    •. : 15
    • : +
    :
    • :
    • : "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"hammer54","Caption":" ","Description":[": 24
    : 0.00 .
    : [ ]x32
    : 0/50
    :
    •: 6
    • , : 4
    •: 24
    •: 30
    :
    •. . (%): +10
    •: -3
    •: +1
    •: +3
    :
    •: 15 - 25
    •. (%): 30
    • : +
    :
    • :
    • : "]}],"Name":"hammer","Caption":", , ","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"sword96","Caption":" ","Description":[": 13
    : 0.00 .
    : [ ]x22
    : 0/50
    :
    •: 19
    •: 6
    • : 4
    •: 19
    •: 19
    :
    •: +4
    :
    •: 11 - 21
    •. . (%): -10
    •. (%): 25
    •. (%): 30
    • : +
    :
    • :
    • :
    • :
    • : "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"sword70","Caption":" ","Description":[": 16
    : 0.00 .
    : [ ]x22
    : 0/50
    :
    •: 18
    •: 6
    • : 4
    •: 18
    •: 18
    :
    •. (%): +1
    •: +3
    • (HP): +15
    :
    •: 11 - 21
    • : +
    :
    • :
    • :
    • :
    • : "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"sword83","Caption":" ","Description":[": 10
    : 0.00 .
    : [ ]x23
    : 0/50
    :
    •: 16
    •: 6
    • : 4
    •: 16
    •: 16
    :
    •. (%): +60
    :
    •: 9 - 24
    •. (%): 10

    • : +
    :
    • :
    • :
    • :
    • : "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"sword58","Caption":" ","Description":[": 22
    : 0.00 .
    : [ ]x32
    : 0/50
    :
    •: 19
    •: 6
    • : 5
    •: 22
    •: 22
    :
    •: -2
    :
    •: 14 - 32
    •. : 20

    • : +
    :
    • :
    • :
    • : "]}],"Name":"sword","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"staff2","Caption":" ","Description":[": 4
    : 0.00 .
    : [ ]x30
    : 0/30
    :
    •: 30
    •: 6
    • : 2
    :
    •. : +5
    • : +1
    • (HP): +33
    • : +100
    :
    •: 1 - 15

    • : +
    :
    • :
    • : "]}],"Name":"staff","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"boots17","Caption":" ","Description":[": 6
    : 0.00 .
    : [ ]x12
    : 0/40
    :
    •: 6
    •: 20
    •: 20
    :
    •. (%): +50
    •: +2
    • : 7-24 (6+d18)"]},{"NewLineToBR":false,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"boots15","Caption":" ","Description":[": 6
    : 0.00 .
    : [ ]x13
    : 0/30
    :
    •: 6
    •: 20
    •: 20
    :
    •. (%): +15
    •. (%): +15
    •. (%): +5
    •. (%): +15
    •: +4
    • : 6-20 (5+d15)"]},{"NewLineToBR":false,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"boots19","Caption":" ","Description":[": 5
    : 0.00 .
    : [ ]x13
    : 0/50
    :
    •: 15
    •: 6
    •: 20
    •: 20
    :
    •. (%): +25
    •. (%): +20
    •: +4
    • : 7-24 (6+d18)"]},{"NewLineToBR":false,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"boots211","Caption":" ","Description":[": 4
    : 0.00 .
    : [ ]x14
    : 0/30
    :
    •: 30
    •: 6
    •: 15
    •: 10
    :
    •. (%): +25
    •: +1
    • (HP): +18
    • : +50
    • : 4-12 (3+d9)"]}],"Name":"boots","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"naruchi66","Caption":" ","Description":[": 3
    : 0.00 .
    : [ ]x10
    : 0/50
    :
    • : 15
    •: 6
    •: 15
    :
    • : +10
    :
    20-25 .
    : 20% "]},{"NewLineToBR":false,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"naruchi71","Caption":" ","Description":[": 3
    : 0.00 .
    : [ ]x10
    : 0/50
    :
    • : 15
    •: 6
    •: 15
    :
    • : +10
    :
    1-44 .
    : 20% "]},{"NewLineToBR":false,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"naruchi72","Caption":" ","Description":[": 3
    : 0.00 .
    : [ ]x10
    : 0/50
    :
    • : 15
    •: 6
    •: 15
    :
    • : +20
    :
    20-25 .
    : 20% "]},{"NewLineToBR":false,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"naruchi74","Caption":" ","Description":[": 4
    : 0.00 .
    : [ ]x14
    : 0/50
    :
    •: 30
    •: 30
    •: 6
    •: 10
    •: 10
    :
    • , : +4"]},{"NewLineToBR":false,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"naruchi53","Caption":" ","Description":[": 3
    : 0.00 .
    : [ ]x20
    : 0/50
    :
    •: 20
    •: 6
    •: 15
    :
    •. (%): +5
    •. (%): +5
    •. (%): +5
    •. (%): +5
    • : +2
    • (HP): +72
    •: +1"]}],"Name":"gloves","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":80,"Binding":1,"IsGift":false,"Name":"roba18","Caption":" ","Description":[": 5
    : 0.00 .
    : [ ]x34
    : 0/50
    :
    •: 30
    •: 6
    •: 15
    •: 10
    :
    •. (%): +15
    •. : +5
    • : +1
    • (HP): +48
    • : +90
    • : 4-10 (3+d7)
    :
    • : 25"]}],"Name":"roba","Caption":" , ","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":80,"Binding":1,"IsGift":false,"Name":"armor74","Caption":" ","Description":[": 3
    : 0.00 .
    : [ ]x33
    : 0/50
    :
    •: 17
    •: 17
    •: 6
    :
    •. (%): +25
    •. (%): +30
    •. (%): +50
    •: +4
    • : +90
    • : +25
    • (HP): +33
    • : 9-32 (8+d24)"]},{"NewLineToBR":false,"W":60,"H":80,"Binding":1,"IsGift":false,"Name":"armor65","Caption":" ","Description":[": 14
    : 0.00 .
    : [ ]x33
    : 0/50
    :
    •: 34
    •: 34
    •: 6
    •: 11
    •: 11
    :
    •. (%): +25
    •. (%): +65
    •: +10
    • : +2
    • (HP): +18
    • : 4-11 (3+d8)"]},{"NewLineToBR":false,"W":60,"H":80,"Binding":1,"IsGift":false,"Name":"armor57","Caption":" ","Description":[": 23
    : 0.00 .
    : [ ]x34
    : 0/60
    :
    •: 20
    •: 15
    •: 6
    •: 20
    •: 20
    :
    •. . (%): +5
    •. (%): +30
    •. (%): +30
    •. (%): +20
    •. (%): +5
    • : +25
    • (HP): +33
    •: +1
    • : 8-28 (7+d21)"]},{"NewLineToBR":false,"W":60,"H":80,"Binding":1,"IsGift":false,"Name":"armor76","Caption":" ","Description":[": 33
    : 0.00 .
    : [ ]x34
    : 0/50
    :
    •: 11
    •: 11
    •: 6
    •: 30
    •: 30
    :
    •. (%): +40
    •. (%): +40
    •. : +20
    • (HP): +33
    •: +3
    • : 9-32 (8+d24)"]},{"NewLineToBR":false,"W":60,"H":80,"Binding":1,"IsGift":false,"Name":"armor79","Caption":" ","Description":[": 28
    : 0.00 .
    : [ ]x34
    : 0/60
    :
    •: 15
    •: 15
    •: 6
    •: 25
    •: 25
    :
    •. (%): +40
    •. (%): +40
    •: +2
    • : 9-32 (8+d24)
    :
    • : 200"]},{"NewLineToBR":false,"W":60,"H":80,"Binding":1,"IsGift":false,"Name":"armor90","Caption":" ","Description":[": 13
    : 0.00 .
    : [ ]x34
    : 0/50
    :
    •: 34
    •: 34
    •: 6
    •: 11
    •: 11
    :
    •. (%): +30
    •. (%): +10
    •. (%): +95
    •. (%): +15
    • : 3-8 (2+d6)"]},{"NewLineToBR":false,"W":60,"H":80,"Binding":1,"IsGift":false,"Name":"armor54","Caption":" ","Description":[": 21
    : 0.00 .
    : [ ]x34
    : 0/50
    :
    •: 6
    •: 12
    •: 20
    :
    •. (%): +25
    •. (%): +25
    •. (%): +5
    •. (%): +40
    •. (%): +5
    •: +1
    • (HP): +33
    •: +2
    • : 7-24 (6+d18)
    :
    • : 25"]},{"NewLineToBR":false,"W":60,"H":80,"Binding":1,"IsGift":false,"Name":"armor70","Caption":" ","Description":[": 33
    : 0.00 .
    : [ ]x38
    : 0/50
    :
    •: 11
    •: 11
    •: 6
    •: 30
    •: 30
    :
    •. (%): +30
    •. (%): +30
    •. (%): +45
    •: +2
    •: +2
    • : +30
    • (HP): +45
    • : 9-32 (8+d24)"]}],"Name":"armor","Caption":" ","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":80,"Binding":1,"IsGift":false,"Name":"leg19","Caption":" ","Description":[": 4
    : 0.00 .
    : [ ]x13
    : 0/30
    :
    •: 10
    •: 6
    •: 25
    •: 10
    :
    •. (%): +10
    •. (%): +10
    • (HP): +36
    • : 3-20 (2+d18)
    • : 3-20 (2+d18)
    :
    • : 10"]},{"NewLineToBR":false,"W":60,"H":80,"Binding":1,"IsGift":false,"Name":"leg21","Caption":" ","Description":[": 4
    : 0.00 .
    : [ ]x13
    : 0/30
    :
    •: 10
    •: 6
    •: 25
    •: 10
    :
    •. (%): +25
    •. (%): +25
    • (HP): +18
    • : 3-20 (2+d18)
    • : 3-20 (2+d18)
    :
    • : 10"]}],"Name":"leg","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"helmet45","Caption":" ","Description":[": 10
    : 0.00 .
    : [ ]x13
    : 0/40
    :
    •: 6
    •: 21
    •: 21
    :
    •. (%): +35
    •. (%): +25
    • : +1
    • : 6-20 (5+d15)"]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"whelmet5","Caption":" ","Description":[": 2
    : 0.00 .
    : [ ]x14
    : 0/30
    :
    •: 30
    •: 6
    •: 15
    •: 10
    :
    •. : +3
    • (HP): +30
    • : +50
    • : 4-4"]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"helmet39","Caption":" ","Description":[": 8
    : 0.00 .
    : [ ]x14
    : 0/40
    :
    •: 6
    •: 21
    •: 21
    :
    •: +4
    •: +4
    • : 6-20 (5+d15)"]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"helmet50","Caption":" ","Description":[": 10
    : 0.00 .
    : [ ]x14
    : 0/50
    :
    •: 6
    •: 21
    •: 21
    :
    •. . (%): +8
    •. : +10
    • : 7-24 (6+d18)"]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"helmet75","Caption":" ","Description":[": 5
    : 0.00 .
    : [ ]x14
    : 0/30
    :
    •: 6
    •: 21
    •: 21
    :
    •. (%): +15
    •. (%): +20
    •. (%): +20
    •: +4
    • : 6-20 (5+d15)"]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"helmet70","Caption":" ","Description":[": 7
    : 0.00 .
    : [ ]x14
    : 0/50
    :
    •: 20
    •: 6
    •: 20
    •: 20
    :
    •. (%): +25
    •. (%): +25
    •. (%): +5
    • : 4-18 (3+d15)"]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"helmet51","Caption":" ","Description":[": 13
    : 0.00 .
    : [ ]x15
    : 0/40
    :
    •: 6
    •: 25
    •: 25
    :
    •. (%): +10
    •. (%): +5
    • : +2
    • (HP): +6
    • : 7-27 (6+d21)"]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"helmet66","Caption":" ","Description":[": 4
    : 0.00 .
    : [ ]x15
    : 0/30
    :
    •: 6
    •: 21
    •: 21
    :
    •. (%): +25
    •. : +10
    • (HP): +33
    • : 5-22 (4+d18)"]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"helmet47","Caption":" ","Description":[": 18
    : 0.00 .
    : [ ]x17
    : 0/60
    :
    •: 24
    •: 6
    •: 21
    •: 21
    :
    • : +40
    • : 21-60 (20+d40)"]}],"Name":"helmet","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"shield9","Caption":" ","Description":[": 10
    : 0.00 .
    : [ ]x19
    : 0/40
    :
    •: 18
    •: 6
    •: 21
    •: 21
    :
    •. (%): +45
    • : +3
    • : +2
    • : 6-23 (5+d18)
    • : 7-24 (6+d18)
    • : 6-23 (5+d18)
    • : 6-23 (5+d18)"]}],"Name":"shield","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"braslet8","Caption":" ","Description":[": 1
    : 0.00 .
    : [ ]x12
    : 0/30
    :
    •: 6
    •: 25
    •: 30
    :
    • : +35
    • : 1-9 (d9)
    • : 1-9 (d9)
    • : 1-9 (d9)
    • : 1-9 (d9)"]},{"NewLineToBR":false,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"braslet11","Caption":" ","Description":[": 1
    : 0.00 .
    : [ ]x12
    : 0/40
    :
    •: 15
    •: 6
    •: 15
    •: 15
    :
    •. (%): +15
    •. (%): +10
    • : +25
    •: +2"]},{"NewLineToBR":false,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"braslet23","Caption":" ","Description":[": 1
    : 0.00 .
    : [ ]x12
    : 0/60
    :
    •: 6
    •: 15
    •: 15
    :
    •. : +5
    •: +6"]}],"Name":"braslet","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"belt13","Caption":" ","Description":[": 1
    : 0.00 .
    : [ ]x8
    : 0/30
    :
    •: 6
    •: 15
    •: 24
    :
    •: +4
    • : 4-21 (3+d18)"]},{"NewLineToBR":false,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"belt24","Caption":" ","Description":[": 2
    : 0.00 .
    : [ ]x8
    : 0/30
    :
    •: 12
    •: 12
    •: 6
    •: 12
    •: 12
    :
    •. (%): +5
    •. (%): +6
    •. (%): +5
    •. (%): +6
    •: +2
    • : 6-20 (5+d15)"]},{"NewLineToBR":false,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"belt8","Caption":" ","Description":[": 3
    : 0.00 .
    : [ ]x8
    : 0/30
    :
    •: 18
    •: 18
    •: 6
    •: 15
    •: 15
    :
    •: +1
    •: +1
    • (HP): +12
    •: +1
    • : 5-16 (4+d12)"]},{"NewLineToBR":false,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"belt14","Caption":" ","Description":[": 2
    : 0.00 .
    : [ ]x8
    : 0/30
    :
    •: 24
    •: 6
    •: 24
    :
    •. . (%): +10
    • : 4-18 (3+d15)"]},{"NewLineToBR":false,"W":60,"H":40,"Binding":1,"IsGift":false,"Name":"belt29","Caption":" ","Description":[": 3
    : 0.00 .
    : [ ]x8
    : 0/30
    :
    •: 25
    •: 25
    •: 6
    •: 10
    •: 10
    :
    •. : +10
    • : 5-16 (4+d12)"]}],"Name":"belt","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":20,"Binding":1,"IsGift":false,"Name":"clip62","Caption":" ","Description":[": 1
    : 0.00 .
    : [ ]x17
    : 0/50
    :
    •: 25
    •: 6
    •: 20
    •: 20
    :
    •. . (%): +10
    •. (%): +50
    • (HP): +33
    •: +1"]},{"NewLineToBR":false,"W":60,"H":20,"Binding":1,"IsGift":false,"Name":"clip60","Caption":" ","Description":[": 1
    : 0.00 .
    : [ ]x19
    : 0/50
    :
    •: 6
    •: 16
    •: 15
    :
    •. (%): +30
    •. (%): +30
    •. (%): +30
    •. (%): +30
    •: +4"]},{"NewLineToBR":false,"W":60,"H":20,"Binding":1,"IsGift":false,"Name":"clip87","Caption":" ","Description":[": 1
    : 0.00 .
    : [ ]x20
    : 0/50
    :
    •: 30
    •: 6
    •: 15
    •: 10
    :
    •. (%): +15
    •. : +2
    • : +1
    • (HP): +36
    • : +60"]}],"Name":"clip","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":20,"Binding":1,"IsGift":false,"Name":"amulet82","Caption":" ","Description":[": 1
    : 0.00 .
    : [ ]x24
    : 0/60
    :
    •: 10
    •: 10
    •: 6
    •: 25
    •: 25
    :
    •. (%): +30
    •: +1
    •: +1
    •: +1
    • : +25
    • (HP): +21
    •: +1
    • : 1-15 (d15)
    • : 1-15 (d15)
    • : 1-15 (d15)
    • : 1-15 (d15)"]},{"NewLineToBR":false,"W":60,"H":20,"Binding":1,"IsGift":false,"Name":"amulet55","Caption":" ","Description":[": 1
    : 0.00 .
    : [ ]x26
    : 0/60
    :
    •: 25
    •: 6
    •: 15
    •: 15
    :
    •. . (%): +40
    •: +1"]},{"NewLineToBR":false,"W":60,"H":20,"Binding":1,"IsGift":false,"Name":"amulet91","Caption":" ","Description":[": 1
    : 0.00 .
    : [ ]x26
    : 0/50
    :
    •: 30
    •: 6
    •: 15
    •: 10
    :
    •. (%): +35
    •. : +5
    •: +2
    • : +1
    • (HP): +24
    • : +50"]}],"Name":"amulet","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":20,"H":20,"Binding":1,"IsGift":false,"Name":"ring52","Caption":" ","Description":[": 1
    : 0.00 .
    : [ ]x9
    : 0/50
    :
    •: 10
    •: 6
    •: 15
    •: 15
    :
    •. (%): -5
    •. (%): -5
    •. (%): -5
    •. (%): -5
    •: +4
    •: +4"]},{"NewLineToBR":false,"W":20,"H":20,"Binding":1,"IsGift":false,"Name":"ring65","Caption":" ","Description":[": 1
    : 0.00 .
    : [ ]x10
    : 0/30
    :
    •: 6
    •: 20
    •: 20
    :
    • (HP): +9
    •: +6"]},{"NewLineToBR":false,"W":20,"H":20,"Binding":1,"IsGift":false,"Name":"ring68","Caption":" ","Description":[": 1
    : 0.00 .
    : [ ]x10
    : 0/30
    :
    •: 15
    •: 6
    •: 10
    •: 15
    :
    •: +2
    • (HP): +9
    •: +4"]},{"NewLineToBR":false,"W":20,"H":20,"Binding":1,"IsGift":false,"Name":"ring71","Caption":" ","Description":[": 1
    : 0.00 .
    : [ ]x10
    : 0/30
    :
    •: 6
    •: 20
    •: 20
    :
    • : +10
    • (HP): +45
    •: +2"]},{"NewLineToBR":false,"W":20,"H":20,"Binding":1,"IsGift":false,"Name":"ring86","Caption":" ","Description":[": 1
    : 0.00 .
    : [ ]x10
    : 0/30
    :
    •: 6
    •: 25
    •: 25
    :
    •. (%): +20
    •. (%): +20
    •. (%): +20
    •. (%): +20
    • : 1-3 (d3)
    • : 1-3 (d3)
    • : 1-3 (d3)
    • : 1-3 (d3)"]},{"NewLineToBR":false,"W":20,"H":20,"Binding":1,"IsGift":false,"Name":"ring87","Caption":" ","Description":[": 1
    : 0.00 .
    : [ ]x10
    : 0/50
    :
    •: 6
    •: 25
    •: 25
    :
    •. (%): +2
    •. (%): +1
    • : +4
    • : +25"]}],"Name":"ring","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"sharpen_axe_3","Caption":" 3: ","Description":[": 1
    : 0.00 .
    : [ ]x48
    : 0/1
    : 70%
    :
    : 4
    , : 3
    :
    : +3
    : +3
    :
    , , . ."]},{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"sharpen_knife_3","Caption":" 3: ","Description":[": 1
    : 0.00 .
    : [ ]x48
    : 0/1
    : 70%
    :
    : 4
    , : 3
    :
    : +3
    : +3
    :
    , , . ."]},{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"sharpen_molot_3","Caption":" 3: , , ","Description":[": 1
    : 0.00 .
    : [ ]x48
    : 0/1
    : 70%
    :
    : 4
    , :3
    :
    : +3
    : +3
    :
    , , . . "]},{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"sharpen_sword_3","Caption":" 3: ","Description":[": 1
    : 0.00 .
    : [ ]x48
    : 0/1
    : 70%
    :
    : 4
    : 3
    :
    : +3
    : +3
    :
    , , . ."]}],"Name":"svitki","Caption":"","Description":[]}],"Name":"noviceshop3","Caption":"","Description":["

    , . .


    ","","

    \"\" , \"\" \"\" \"\" .

    ","","","","","","","","","","","","","
    [4]-[6] [7] [8]
    3 = 1
    1 = 1
    1 = 3
    9 = 1
    3 = 1
    1 = 1
    15 = 1
    5 = 1
    5 = 3
    3 =

    ","


    ","

    , , [6] .

    ","

    "]}],"IsDungeon":true,"Name":"novice","Caption":"","Description":[]}); +new-combats.com.addDungeon({"RequiredScriptNames":["dungeon.data.angel.capital.js","dungeon.data.capital.js","dungeon.data.capital.sand.js","dungeon.data.angel.capital.demons.emerald.novice.sand.js","dungeon.data.capital.demons.emerald.js","dungeon.data.abandon.capital.emerald.sand.js","dungeon.data.abandon.capital.js","dungeon.data.abandon.capital.demons.js","dungeon.data.capital.demons.js","dungeon.data.angel.capital.emerald.sand.js","dungeon.data.capital.demons.sand.js","dungeon.data.capital.demons.emerald.sand.js","dungeon.data.capital.emerald.sand.js","dungeon.data.capital.demons.emerald.novice.sand.js","dungeon.data.angel.capital.demons.novice.js","dungeon.data.angel.capital.novice.js","dungeon.data.angel.capital.demons.js","dungeon.data.capital.novice.js","dungeon.data.abandon.capital.demons.sand.js"],"NewLineToBR":true,"CellBackgroundColorString":"#E0E5E9","CellBorderColorString":"#7D8699","Jobs":{"CollectiveJobs":[{"Caption":" ","ImageUrl":"http://img.combats.ru/i/items/mater203.gif","ItemReward":4,"Description":[" \" \" . \" \" , . ... "],"DefCount":25},{"Caption":"","ImageUrl":"http://img.combats.ru/i/items/mater214.gif","ItemReward":10,"Description":[" , , \"\" . \" \" , ."],"DefCount":13},{"Caption":" ","ImageUrl":"http://img.combats.ru/i/items/mater213.gif","ItemReward":20,"Description":[" , \" \" . \" \" , . ..."],"DefCount":5},{"Caption":"","ImageUrl":"http://img.combats.ru/i/items/mater223.gif","ItemReward":13,"Description":[" , , \"\" . \" \".",""],"DefCount":13},{"Caption":" ","ImageUrl":"http://img.combats.ru/i/items/mater222.gif","ItemReward":3,"Description":[" , \" \" . \" \" . ..."],"DefCount":30},{"Caption":"","ImageUrl":"http://img.combats.ru/i/items/mater244.gif","ItemReward":12,"Description":[" , \"\" . \" \". , ..."],"DefCount":30},{"Caption":" ","ImageUrl":"http://img.combats.ru/i/items/mater245.gif","ItemReward":12,"Description":[" , \" \" . \" \" , . ...",""],"DefCount":32}],"CapturedJobs":[{"Caption":" ","ImageUrl":"http://img.combats.ru/i/items/mater205.gif","ItemReward":15,"Description":[" , \" \" . \" \". ! ",""," , , 1-2 ."],"DefCount":12},{"Caption":" ","ImageUrl":"http://img.combats.ru/i/items/mater215.gif","ItemReward":10,"Description":[" , \" \" . \"\" \" \". ... ",""," , [8}-[9] , 1-2 ."],"DefCount":14},{"Caption":" ","ImageUrl":"http://img.combats.ru/i/items/mater204.gif","ItemReward":12,"Description":[" , , \" \" . \" \". ... "],"DefCount":13},{"Caption":"","ImageUrl":"http://img.combats.ru/i/items/mater216.gif","ItemReward":8,"Description":[" , \"\" . \" \". ",""," . 2 ."],"DefCount":15},{"Caption":" ","ImageUrl":"http://img.combats.ru/i/items/mater242.gif","ItemReward":20,"Description":[" , \" \" . \" \". ! ",""," , 1 ."],"DefCount":15},{"Caption":" ","ImageUrl":"http://img.combats.ru/i/items/mater243.gif","ItemReward":75,"Description":[" , , \" \" . \" \" , . ... ",""," C C, ."],"DefCount":5},{"Caption":" ","ImageUrl":"http://img.combats.ru/i/items/mater241.gif","ItemReward":15,"Description":[" , \" \" . \" \". , ... ",""," ."],"DefCount":23},{"Caption":"","ImageUrl":"http://img.combats.ru/i/items/mater240.gif","ItemReward":15,"Description":[" , , \"\" . \" \". ...",""," ... "],"DefCount":17}],"KillingJobs":[{"MobName":"pa","Unique":false,"Description":[" , \" \". \" \". ..."],"DefCount":2},{"MobName":"pm","Unique":false,"Description":[" , , \" \". \" \""],"DefCount":14},{"MobName":"pu","Unique":false,"Description":[" , \" \". \" \". , "],"DefCount":13},{"MobName":"pg","Unique":false,"Description":[" , \" \", \" \". ... "],"DefCount":12},{"MobName":"dk","Unique":true,"Description":[" \" \". , , , , . \" \" .",": \" \". "],"DefCount":1},{"MobName":"ms","Unique":true,"Description":[" , \" \". \" \"."],"DefCount":1},{"MobName":"sk","Unique":true,"Description":[" \" \", \" \". , - , .",": \" \"."],"DefCount":1},{"MobName":"im","Unique":true,"Description":[" \" \" \" \". , .",": \" \"."],"DefCount":1},{"MobName":"dpg","Unique":true,"Description":[" , . \" \", ."],"DefCount":1},{"MobName":"duhhr","Unique":false,"Description":[" , \"-\". \" \". ..."],"DefCount":25},{"MobName":"zbldsh","Unique":false,"Description":[" , \" \". \" \"."],"DefCount":25},{"MobName":"mhohr","Unique":false,"Description":[" , \" \", \" \". ..."],"DefCount":20},{"MobName":"mhgol","Unique":false,"Description":[" , \" \". \" \". ..."],"DefCount":17},{"MobName":"mhub","Unique":false,"Description":[" , \" \". \" \"."],"DefCount":10},{"MobName":"mhk","Unique":false,"Description":[" , : , \"\". , \" \"."],"DefCount":17},{"MobName":"mgrt","Unique":true,"Description":[" , \" \". , \" \". "],"DefCount":1},{"MobName":"strsokr","Unique":false,"Description":[" , \" \", \" \". ..."],"DefCount":5},{"MobName":"kamstr","Unique":true,"Description":[" , \" \". \" \". . "],"DefCount":1}]},"Floors":[{"Cells":[{"X":1,"Y":7,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"pa","Level":8,"Align":"0","Tag":"","Count":1},{"Name":"pm","Level":7,"Align":"9","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":6,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"well03","InstanceName":"fountain21"}],"HotSpots":[{"HighlightColorString":"#3E4F4F","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":10,"Y":5}]}]},{"X":2,"Y":7,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":7,"Border":{"Left":0,"Top":0,"Right":1,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"arrowright","InstanceName":"arrow1"}],"HotSpots":[]},{"X":4,"Y":7,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":7,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pu","Level":7,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":8,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":8,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":7,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"pm","Level":7,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":6,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pm","Level":7,"Align":"0","Tag":"","Count":5}],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":6,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"pm","Level":6,"Align":"0","Tag":"","Count":10}],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":4,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pu","Level":6,"Align":"0","Tag":"","Count":6}],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":4,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pm","Level":7,"Align":"0","Tag":"","Count":1},{"Name":"pa","Level":8,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":5,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pm","Level":7,"Align":"0","Tag":"","Count":2},{"Name":"pu","Level":7,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":6,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pm","Level":7,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":5,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":5,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":4,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":4,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pu","Level":6,"Align":"0","Tag":"","Count":5}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":4,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"pu","Level":7,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":3,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":2,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":2,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"pm","Level":7,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":2,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":3,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":4,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"pg","Level":8,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":2,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":3,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pm","Level":7,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":1,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pa","Level":8,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":1,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"escapepoint_blue1","InstanceName":"escape"},{"ObjectName":"ladder","InstanceName":"ladder1"}],"HotSpots":[]},{"X":6,"Y":5,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":5,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":4,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pg","Level":7,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":6,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":7,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"pg","Level":7,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":6,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pg","Level":7,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":8,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"pg","Level":6,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":7,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pg","Level":7,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":9,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"blueteleport","InstanceName":"blueteleport1"}],"HotSpots":[]},{"X":10,"Y":5,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"key1","InstanceName":"key11"}],"HotSpots":[{"HighlightColorString":"#3E4F4F","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":1,"Y":6}]},{"HighlightColorString":"#3E4F4F","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":9,"Y":6},{"X":10,"Y":6},{"X":10,"Y":4},{"X":9,"Y":4},{"X":9,"Y":5}]}]},{"X":5,"Y":2,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pg","Level":6,"Align":"0","Tag":"","Count":8}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":9,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"entrancepoint_green1","InstanceName":"enter"},{"ObjectName":"enter","InstanceName":"enter2"}],"HotSpots":[]}],"LookDirection":3,"Width":12,"Height":11,"DataBounds":"1, 1, 10, 9","Name":"floor1","Caption":"1 ","Description":[]},{"Cells":[{"X":2,"Y":10,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"pa","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[{"ObjectName":"key2","InstanceName":"key21"}],"HotSpots":[{"HighlightColorString":"#3E4F4F","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":8,"Y":5}]}]},{"X":3,"Y":10,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[{"HighlightColorString":"Transparent","Opacity":0.9,"ImageUrl":"/i/ugobj/entrancepoint_yellow1.gif","CellRefs":[{"X":10,"Y":4}]}]},{"X":3,"Y":8,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"pg","Level":8,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":9,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"pm","Level":7,"Align":"0","Tag":"","Count":8}],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":8,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pm","Level":8,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":7,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pa","Level":8,"Align":"9","Tag":"","Count":1},{"Name":"pm","Level":7,"Align":"9","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":9,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"pm","Level":8,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":9,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"pm","Level":7,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":8,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pm","Level":8,"Align":"0","Tag":"","Count":5}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":7,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pa","Level":8,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":7,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pa","Level":8,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":8,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"fountain6","InstanceName":"fountain61"}],"HotSpots":[{"HighlightColorString":"LightCoral","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":2,"Y":5}]}]},{"X":7,"Y":9,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":9,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pg","Level":8,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":10,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"entrancepoint_green1","InstanceName":"enter4"}],"HotSpots":[]},{"X":9,"Y":8,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":7,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":6,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pm","Level":8,"Align":"0","Tag":"","Count":1},{"Name":"pu","Level":8,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":4,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"redteleport","InstanceName":"redteleport2"}],"HotSpots":[{"HighlightColorString":"#3E4F4F","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":4,"Y":9},{"X":4,"Y":8},{"X":4,"Y":7},{"X":5,"Y":9},{"X":6,"Y":9},{"X":6,"Y":8},{"X":6,"Y":7},{"X":5,"Y":7},{"X":5,"Y":8}]},{"HighlightColorString":"Transparent","Opacity":0.9,"ImageUrl":"/i/ugobj/escapepoint_yellow1.gif","CellRefs":[{"X":3,"Y":10}]}]},{"X":5,"Y":5,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":5,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pm","Level":8,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":6,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"pu","Level":8,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":5,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"redteleport","InstanceName":"redteleport1"}],"HotSpots":[{"HighlightColorString":"#3E4F4F","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":2,"Y":10}]}]},{"X":7,"Y":4,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":3,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pu","Level":8,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":3,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":2,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"pu","Level":8,"Align":"0","Tag":"","Count":3},{"Name":"pa","Level":8,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":1,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"escapepoint_blue1","InstanceName":"escape"},{"ObjectName":"ladder","InstanceName":"ladder2"}],"HotSpots":[]},{"X":9,"Y":2,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"im","Level":9,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":2,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"smag_collect1","InstanceName":"sunduk1"}],"HotSpots":[]},{"X":5,"Y":2,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":3,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":4,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":5,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":4,"Border":{"Left":2,"Top":2,"Right":1,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"arrowright","InstanceName":"arrow1"}],"HotSpots":[{"HighlightColorString":"Transparent","Opacity":0.9,"ImageUrl":"/i/ugobj/entrancepoint_yellow1.gif","CellRefs":[{"X":1,"Y":10}]}]},{"X":3,"Y":3,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":3,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pu","Level":8,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":4,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":5,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"dk","Level":8,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":7,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pg","Level":8,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":2,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":6,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":8,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":5,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"pg","Level":9,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":3,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"pg","Level":9,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":5,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"pg","Level":7,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":6,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pg","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":9,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"pg","Level":8,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":7,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":5,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pg","Level":8,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":10,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"blueteleport","InstanceName":"blueteleport2"}],"HotSpots":[{"HighlightColorString":"Transparent","Opacity":0.9,"ImageUrl":"/i/ugobj/escapepoint_yellow1.gif","CellRefs":[{"X":3,"Y":4}]}]}],"LookDirection":3,"Width":12,"Height":12,"DataBounds":"1, 1, 10, 10","Name":"floor2","Caption":"2 ","Description":[]},{"Cells":[{"X":1,"Y":3,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pu","Level":8,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":4,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"pm","Level":7,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":4,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":6,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":6,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":3,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pa","Level":8,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":3,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pm","Level":8,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":4,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"pu","Level":7,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":5,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"redteleport","InstanceName":"redteleport4"}],"HotSpots":[{"HighlightColorString":"Transparent","Opacity":0.9,"ImageUrl":"/i/ugobj/escapepoint_yellow1.gif","CellRefs":[{"X":10,"Y":4}]}]},{"X":4,"Y":6,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":6,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"sk","Level":9,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":6,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"redteleport","InstanceName":"redteleport3"}],"HotSpots":[]},{"X":8,"Y":6,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"entrancepoint_green1","InstanceName":"enter"},{"ObjectName":"enter","InstanceName":"enter3"}],"HotSpots":[]},{"X":9,"Y":6,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":4,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":4,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":4,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pa","Level":9,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":4,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":4,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":3,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":2,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"ms","Level":8,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":2,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pu","Level":8,"Align":"9","Tag":"","Count":1},{"Name":"pa","Level":8,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":2,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":1,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pm","Level":8,"Align":"9","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":1,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pm","Level":8,"Align":"9","Tag":"","Count":1},{"Name":"pu","Level":7,"Align":"9","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":2,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"pm","Level":8,"Align":"9","Tag":"","Count":1},{"Name":"pu","Level":7,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":5,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pg","Level":8,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":5,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pg","Level":7,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":5,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"key3","InstanceName":"key31"},{"ObjectName":"fountain5","InstanceName":"fountain51"}],"HotSpots":[{"HighlightColorString":"#3E4F4F","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":1,"Y":3},{"X":1,"Y":4},{"X":2,"Y":4},{"X":2,"Y":3},{"X":3,"Y":3},{"X":3,"Y":4}]}]},{"X":10,"Y":2,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"workshop","InstanceName":"workshop1"}],"HotSpots":[{"HighlightColorString":"#3E4F4F","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":7,"Y":5}]}]},{"X":6,"Y":3,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":1,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"fountain6","InstanceName":"fountain62"}],"HotSpots":[{"HighlightColorString":"#3E4F4F","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":6,"Y":2},{"X":7,"Y":2},{"X":7,"Y":1},{"X":5,"Y":1},{"X":5,"Y":2}]}]},{"X":1,"Y":6,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"entrancepoint_green1","InstanceName":"enter5"}],"HotSpots":[]}],"LookDirection":3,"Width":12,"Height":8,"DataBounds":"1, 1, 10, 6","Name":"floor3","Caption":"3 ","Description":[]},{"Cells":[{"X":1,"Y":1,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"zbldsh","Level":10,"Align":"0","Tag":"","Count":1},{"Name":"duhhr","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":1,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":1,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":1,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":1,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"zbldsh","Level":10,"Align":"0","Tag":"","Count":1},{"Name":"duhhr","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":1,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":1,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"zer","InstanceName":"zer1"}],"HotSpots":[]},{"X":7,"Y":0,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"escapepoint_blue1","InstanceName":"escape"},{"ObjectName":"arrowup","InstanceName":"arrow2"}],"HotSpots":[]},{"X":8,"Y":1,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"dangerteleport","InstanceName":"teleport2"}],"HotSpots":[{"HighlightColorString":"Transparent","Opacity":0.9,"ImageUrl":"/i/ugobj/escapepoint_yellow1.gif","CellRefs":[{"X":8,"Y":3}]}]},{"X":9,"Y":1,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"zbldsh","Level":10,"Align":"0","Tag":"","Count":1},{"Name":"duhhr","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":1,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":11,"Y":1,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":12,"Y":1,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":13,"Y":1,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"zbldsh","Level":10,"Align":"0","Tag":"","Count":1},{"Name":"duhhr","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":2,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":3,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":3,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":3,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":2,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":13,"Y":2,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":13,"Y":3,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"zer","InstanceName":"zer1"}],"HotSpots":[]},{"X":13,"Y":4,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":13,"Y":5,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"zbldsh","Level":10,"Align":"0","Tag":"","Count":1},{"Name":"duhhr","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":13,"Y":6,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":13,"Y":7,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":13,"Y":8,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"zbldsh","Level":10,"Align":"0","Tag":"","Count":1},{"Name":"duhhr","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":13,"Y":9,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":4,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":5,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"zbldsh","Level":10,"Align":"0","Tag":"","Count":1},{"Name":"duhhr","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":6,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":7,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":8,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"zbldsh","Level":10,"Align":"0","Tag":"","Count":1},{"Name":"duhhr","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":9,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"zer","InstanceName":"zer1"}],"HotSpots":[]},{"X":1,"Y":10,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":11,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":12,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"zbldsh","Level":10,"Align":"0","Tag":"","Count":1},{"Name":"duhhr","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":3,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"zbldsh","Level":10,"Align":"0","Tag":"","Count":1},{"Name":"duhhr","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":3,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":3,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":3,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":3,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"zbldsh","Level":10,"Align":"0","Tag":"","Count":1},{"Name":"duhhr","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":11,"Y":3,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"zbldsh","Level":10,"Align":"0","Tag":"","Count":1},{"Name":"duhhr","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":11,"Y":4,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":11,"Y":5,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":11,"Y":6,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":4,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":5,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"duhhr","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":5,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":5,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":5,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":4,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":5,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":6,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":7,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"zbldsh","Level":10,"Align":"0","Tag":"","Count":1},{"Name":"duhhr","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":8,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":11,"Y":7,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"zbldsh","Level":10,"Align":"0","Tag":"","Count":1},{"Name":"duhhr","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":11,"Y":8,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":5,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"zbldsh","Level":10,"Align":"0","Tag":"","Count":1},{"Name":"duhhr","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":6,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":5,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"zbldsh","Level":10,"Align":"0","Tag":"","Count":1},{"Name":"duhhr","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":6,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"weap3","InstanceName":"weap31"}],"HotSpots":[]},{"X":6,"Y":6,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":6,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"zer","InstanceName":"zer1"}],"HotSpots":[]},{"X":8,"Y":6,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"zbldsh","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":7,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":7,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"entrancepoint_green1","InstanceName":"enter6"}],"HotSpots":[{"HighlightColorString":"Transparent","Opacity":0.9,"ImageUrl":"/i/ugobj/entrancepoint_yellow1.gif","CellRefs":[{"X":1,"Y":14}]}]},{"X":8,"Y":7,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":8,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"zbldsh","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":8,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"zer","InstanceName":"zer1"}],"HotSpots":[]},{"X":8,"Y":8,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":7,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"zbldsh","Level":10,"Align":"0","Tag":"","Count":1},{"Name":"duhhr","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":7,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":8,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":9,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"zbldsh","Level":10,"Align":"0","Tag":"","Count":1},{"Name":"duhhr","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":9,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":9,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":9,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":9,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":9,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":9,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"zbldsh","Level":10,"Align":"0","Tag":"","Count":1},{"Name":"duhhr","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":9,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":7,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"vumpel1","InstanceName":"vumpel11"}],"HotSpots":[]},{"X":5,"Y":7,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"zbldsh","Level":10,"Align":"0","Tag":"","Count":1},{"Name":"duhhr","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":8,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":11,"Y":9,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"zbldsh","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":10,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"dangerteleport","InstanceName":"teleport1"}],"HotSpots":[{"HighlightColorString":"Transparent","Opacity":0.9,"ImageUrl":"/i/ugobj/escapepoint_yellow1.gif","CellRefs":[{"X":7,"Y":5}]}]},{"X":7,"Y":11,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"mhk","Level":9,"Align":"0","Tag":"","Count":1},{"Name":"mhgol","Level":9,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":11,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"chest2_small","InstanceName":"chest21"},{"ObjectName":"chest4_small","InstanceName":"chest42"}],"HotSpots":[]},{"X":10,"Y":10,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"gzm","Level":10,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":11,"Y":10,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"attentionpoint_red1","InstanceName":"danger1"}],"HotSpots":[{"HighlightColorString":"LightCoral","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":10,"Y":10},{"X":12,"Y":10}]}]},{"X":12,"Y":10,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"kzm","Level":10,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":11,"Y":11,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"chest2_small","InstanceName":"chest21"},{"ObjectName":"chest4_small","InstanceName":"chest41"}],"HotSpots":[]},{"X":12,"Y":9,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":13,"Y":10,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"zer","InstanceName":"zer1"}],"HotSpots":[]},{"X":13,"Y":11,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":13,"Y":12,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"zbldsh","Level":10,"Align":"0","Tag":"","Count":1},{"Name":"duhhr","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":12,"Y":12,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":11,"Y":12,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"duhhr","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":12,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"dangerteleport","InstanceName":"teleport3"}],"HotSpots":[{"HighlightColorString":"Transparent","Opacity":0.9,"ImageUrl":"/i/ugobj/escapepoint_yellow1.gif","CellRefs":[{"X":8,"Y":3}]}]},{"X":12,"Y":13,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":12,"Y":14,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"attentionpoint_red1","InstanceName":"danger2"}],"HotSpots":[{"HighlightColorString":"LightCoral","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":12,"Y":15}]}]},{"X":13,"Y":14,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"chest01","InstanceName":"chest21"}],"HotSpots":[]},{"X":11,"Y":14,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"chest4","InstanceName":"chest11"}],"HotSpots":[]},{"X":13,"Y":15,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":12,"Y":15,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"kamstr","Level":9,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":11,"Y":15,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":10,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":11,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"zbldsh","Level":10,"Align":"0","Tag":"","Count":1},{"Name":"duhhr","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":11,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"yellowteleport","InstanceName":"yellowteleport1"}],"HotSpots":[{"HighlightColorString":"Transparent","Opacity":0.9,"ImageUrl":"/i/ugobj/escapepoint_yellow1.gif","CellRefs":[{"X":6,"Y":12}]}]},{"X":6,"Y":11,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":12,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"weap3","InstanceName":"weap31"}],"HotSpots":[]},{"X":3,"Y":12,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":12,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"weap2","InstanceName":"weap21"}],"HotSpots":[]},{"X":6,"Y":12,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[{"HighlightColorString":"Transparent","Opacity":0.9,"ImageUrl":"/i/ugobj/entrancepoint_yellow1.gif","CellRefs":[{"X":5,"Y":11}]}]},{"X":5,"Y":12,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"zbldsh","Level":10,"Align":"0","Tag":"","Count":1},{"Name":"duhhr","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":15,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"entrancepoint_green1","InstanceName":"enter"},{"ObjectName":"enter","InstanceName":"enter4"}],"HotSpots":[]},{"X":1,"Y":14,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"greenteleport","InstanceName":"grteleport1"}],"HotSpots":[{"HighlightColorString":"Transparent","Opacity":0.9,"ImageUrl":"/i/ugobj/escapepoint_yellow1.gif","CellRefs":[{"X":7,"Y":7}]}]},{"X":9,"Y":14,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"pg","Level":8,"Align":"0","Tag":"","Count":4},{"Name":"pg","Level":6,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":14,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":11,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"weap3","InstanceName":"weap31"}],"HotSpots":[]},{"X":1,"Y":3,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"gobelin1","InstanceName":"gobelin11"}],"HotSpots":[]},{"X":9,"Y":5,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"gobelin2","InstanceName":"gobelin2"}],"HotSpots":[]},{"X":8,"Y":14,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":14,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"pg","Level":7,"Align":"0","Tag":"","Count":5}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":13,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":14,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":15,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":13,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pg","Level":8,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":15,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"pg","Level":9,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":14,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"pg","Level":7,"Align":"0","Tag":"","Count":3},{"Name":"pg","Level":8,"Align":"0","Tag":"","Count":4}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":14,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pg","Level":7,"Align":"0","Tag":"","Count":4},{"Name":"dpg","Level":9,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":15,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":15,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"pg","Level":8,"Align":"0","Tag":"","Count":4}],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":15,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":14,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pg","Level":9,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":12,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":12,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"zbldsh","Level":10,"Align":"0","Tag":"","Count":1},{"Name":"duhhr","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":12,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]}],"LookDirection":3,"Width":15,"Height":17,"DataBounds":"1, 0, 13, 16","Name":"floor4","Caption":"4 ","Description":[]},{"Cells":[{"X":7,"Y":0,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"mhk","Level":9,"Align":"0","Tag":"","Count":1},{"Name":"mhohr","Level":10,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":0,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"attentionpoint_red1","InstanceName":"danger11"}],"HotSpots":[{"HighlightColorString":"LightCoral","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":7,"Y":0}]}]},{"X":9,"Y":0,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"chest3","InstanceName":"chest31"}],"HotSpots":[{"HighlightColorString":"#3E4F4F","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":6,"Y":11}]}]},{"X":8,"Y":1,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":1,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"mhub","Level":10,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":2,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":3,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":4,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"mhgol","Level":9,"Align":"0","Tag":"","Count":2},{"Name":"mhohr","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":4,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"sunduk_1","InstanceName":"sunduk_11"}],"HotSpots":[]},{"X":9,"Y":4,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":3,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"mhub","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":3,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"mhgol","Level":9,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":4,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"mhk","Level":9,"Align":"0","Tag":"","Count":1},{"Name":"mhgol","Level":9,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":5,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"mhgol","Level":9,"Align":"0","Tag":"","Count":1},{"Name":"mhohr","Level":10,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":6,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":6,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":6,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"mhk","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":7,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":8,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":8,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":8,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"mhub","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":9,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":9,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":8,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":8,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"mhohr","Level":10,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":7,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":8,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"chest01","InstanceName":"chest21"}],"HotSpots":[]},{"X":3,"Y":6,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"mhk","Level":9,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":6,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":6,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"mhub","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":0,"Y":6,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"mhk","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":0,"Y":7,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":0,"Y":8,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"mhub","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":0,"Y":9,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":0,"Y":10,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":10,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"mhk","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":0,"Y":11,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"altar","InstanceName":"altar1"}],"HotSpots":[]},{"X":1,"Y":11,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"mhub","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":11,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"mhk","Level":9,"Align":"0","Tag":"","Count":2},{"Name":"mhgol","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":11,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"mhk","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":11,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":11,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"mhk","Level":9,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":10,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":6,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"mhgol","Level":9,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":10,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"mhub","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":10,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":11,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"grate1","InstanceName":"grate11"}],"HotSpots":[{"HighlightColorString":"#3E4F4F","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":9,"Y":0}]}]},{"X":6,"Y":12,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":13,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"strsokr","Level":11,"Align":"9","Tag":"- ","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":14,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"chest4","InstanceName":"chest13"}],"HotSpots":[]},{"X":5,"Y":12,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":12,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":13,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"strsokr","Level":11,"Align":"9","Tag":"-","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":14,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"chest4","InstanceName":"chest14"}],"HotSpots":[]},{"X":3,"Y":12,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"vumpel1","InstanceName":"vumpel11"}],"HotSpots":[]},{"X":2,"Y":12,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":13,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"strsokr","Level":11,"Align":"9","Tag":"-","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":14,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"chest2_small","InstanceName":"chest21"},{"ObjectName":"chest4_small","InstanceName":"chest44"}],"HotSpots":[]},{"X":7,"Y":12,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"vumpel1","InstanceName":"vumpel11"}],"HotSpots":[]},{"X":8,"Y":12,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":13,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"strsokr","Level":11,"Align":"9","Tag":"-","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":14,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"chest4","InstanceName":"chest12"}],"HotSpots":[]},{"X":9,"Y":12,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":12,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":14,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"chest2_small","InstanceName":"chest21"},{"ObjectName":"chest4_small","InstanceName":"chest43"}],"HotSpots":[]},{"X":8,"Y":10,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":10,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":10,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":9,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"enterdoor","InstanceName":"enterdoor1"}],"HotSpots":[]},{"X":8,"Y":8,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":8,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":7,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":7,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"chest01","InstanceName":"chest21"}],"HotSpots":[]},{"X":8,"Y":7,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":11,"Y":10,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"mhub","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":11,"Y":9,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":11,"Y":8,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":11,"Y":7,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"mhk","Level":9,"Align":"0","Tag":"","Count":3},{"Name":"mhohr","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":11,"Y":6,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"attentionpoint_red1","InstanceName":"danger12"}],"HotSpots":[{"HighlightColorString":"LightCoral","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":10,"Y":6},{"X":11,"Y":7}]}]},{"X":11,"Y":5,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":11,"Y":4,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":11,"Y":3,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":11,"Y":2,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"mhub","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":12,"Y":2,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":13,"Y":2,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"mhk","Level":9,"Align":"0","Tag":"","Count":1},{"Name":"mhgol","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":12,"Y":4,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":12,"Y":5,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"chest01","InstanceName":"chest21"}],"HotSpots":[]},{"X":13,"Y":4,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"mhohr","Level":10,"Align":"0","Tag":"","Count":4}],"ObjectRefs":[],"HotSpots":[]},{"X":13,"Y":5,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":13,"Y":3,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":14,"Y":4,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":14,"Y":5,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"mhgol","Level":9,"Align":"0","Tag":"","Count":1},{"Name":"mhohr","Level":10,"Align":"0","Tag":"","Count":1},{"Name":"mhk","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":14,"Y":2,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"zer","InstanceName":"zer1"}],"HotSpots":[]},{"X":15,"Y":2,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"zer","InstanceName":"zer1"}],"HotSpots":[]},{"X":16,"Y":2,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"mhk","Level":9,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":17,"Y":2,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":15,"Y":4,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"mhgol","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":15,"Y":5,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":16,"Y":4,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"mhub","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":17,"Y":4,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"mhk","Level":9,"Align":"0","Tag":"","Count":1},{"Name":"mhohr","Level":10,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":16,"Y":3,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":16,"Y":5,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"chest01","InstanceName":"chest21"}],"HotSpots":[]},{"X":17,"Y":5,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":18,"Y":2,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"mhgol","Level":9,"Align":"0","Tag":"","Count":4}],"ObjectRefs":[],"HotSpots":[]},{"X":18,"Y":3,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":18,"Y":4,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"mhub","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":18,"Y":5,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":1},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"entrancepoint_green1","InstanceName":"enter"},{"ObjectName":"arrowdown","InstanceName":"arrow2"}],"HotSpots":[]},{"X":10,"Y":13,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"strsokr","Level":11,"Align":"9","Tag":"- ","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":8,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"mgrt","Level":11,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]}],"LookDirection":3,"Width":20,"Height":16,"DataBounds":"0, 0, 19, 15","Name":"floor5","Caption":"5 ","Description":[]}],"Pages":[{"NewLineToBR":false,"ExternalUrl":"","Name":"capitalknightugsol","Caption":"","Description":["

    ,

    ","
    Capital ity 9999, :

    ","
    ","
    . , ? \" \" 1000 .
    ","
    ","

    ","
    .
    ","
    ","
    \"\" (), .","
    : 4- 66 \"\" ( ) \"\" (). 30-60 , \"\", . , .","
    1000 \"\", .","
    , \"\" \"\" : .


    "]}],"Shops":[{"NewLineToBR":true,"ImageBasePath":"http://img.combats.ru/i/items/","Categories":[{"NewLineToBR":true,"Items":[{"NewLineToBR":true,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"Key21","Caption":" 1","Description":[": 1",": 0/1"," Capital city"," "," ",""," , Sandcity."," ."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"key_amul_1","Caption":" ","Description":[": 1",": 0/1 "," Capital city "," "," ",""," L12 ."," , 2- ."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"key_amul_2","Caption":" ","Description":[": 1",": 0/1 "," Capital city "," "," ",""," I12 ."," , 2- ."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"key_amul_3","Caption":" ","Description":[": 1",": 0/1 "," Capital city "," "," ",""," L15 ."," , 2- ."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"key_amul_4","Caption":" ","Description":[": 1",": 0/1 "," Capital city "," "," ",""," F10."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"key_TR_1","Caption":" ","Description":[": 1",": 0/1 "," Capital city "," "," ",""," K15 ."," ."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"key_TR_2","Caption":" ","Description":[": 1",": 0/1 "," Capital city "," "," ",""," I15 ."," ."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"key_TR_3","Caption":" ","Description":[": 1",": 0/1 "," Capital city "," "," ",""," G15 ."," ."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"key_TR_4","Caption":" ","Description":[": 1",": 0/1 "," Capital city "," "," ",""," E15 ."," ."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"key_TR_5","Caption":" ","Description":[": 1",": 0/1 "," Capital city "," "," ",""," C15 ."," ."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"key_TR_6","Caption":" ","Description":[": 1",": 0/1 "," Capital city "," "," ",""," . ."]}],"Name":"key","Caption":"","Description":[" , A12 .",""," , - ."]},{"NewLineToBR":true,"Items":[{"NewLineToBR":true,"W":60,"H":20,"Binding":3,"IsGift":false,"Name":"amulet84","Caption":" ","Description":[": 1",": 290 .",": 0/40"," :"," : 15"," : 15"," : 9"," : 36"," : 35"," :"," : +80"," : +100"," (HP): +120"," apital city"," "," ",""," ."]}],"Name":"amulet","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":true,"W":20,"H":20,"Binding":2,"IsGift":false,"Name":"ring91","Caption":" ()","Description":[": 1",": 45 . ",": 0/20"," :"," : 15 "," : 10 "," : 4 "," : "," :"," . : +25 %"," (HP): +10"," Capital city"," "," ",""," , K3."]},{"NewLineToBR":true,"W":20,"H":20,"Binding":2,"IsGift":false,"Name":"ring91","Caption":" ()","Description":[": 1",": 45 . ",": 0/20"," :"," : 15 "," : 10 "," : 4 "," : "," :"," . : +25 %"," : +1"," Capital city"," "," ",""," , K3."]},{"NewLineToBR":true,"W":20,"H":20,"Binding":2,"IsGift":false,"Name":"ring91","Caption":" ()","Description":[": 1",": 45 . ",": 0/20"," :"," : 15 "," : 10 "," : 4 "," : "," :"," . : +25 %"," : +2"," Capital city"," "," ",""," , K3."]},{"NewLineToBR":true,"W":20,"H":20,"Binding":2,"IsGift":false,"Name":"ring73","Caption":" ()","Description":[": 1",": 45 . ",": 0/20"," :"," : 15 "," : 10 "," : 4 "," : 1 "," : "," :"," . : +25 %"," (HP): +10 "," Capital city"," "," ",""," , K3."]},{"NewLineToBR":true,"W":20,"H":20,"Binding":2,"IsGift":false,"Name":"ring73","Caption":" ()","Description":[": 1",": 45 . ",": 0/20"," :"," : 15 "," : 10 "," : 4 "," : 1 "," : "," :"," . : +25 %"," : +2"," Capital city"," "," ",""," , K3."]},{"NewLineToBR":true,"W":20,"H":20,"Binding":2,"IsGift":false,"Name":"ring73","Caption":" ()","Description":[": 1",": 45 . ",": 0/20"," :"," : 15 "," : 10 "," : 4 "," : 1 "," : "," :"," . : +25 %"," : +2"," Capital city"," "," ",""," , K3."]},{"NewLineToBR":true,"W":20,"H":20,"Binding":2,"IsGift":false,"Name":"ring66","Caption":" ()","Description":[": 1",": 45 . ",": 0/20"," :"," : 15 "," : 10 "," : 4 "," : 1"," : "," :"," . : +25 %"," (HP): +10 "," Capital city"," "," ",""," , K3."]},{"NewLineToBR":true,"W":20,"H":20,"Binding":2,"IsGift":false,"Name":"ring66","Caption":" ()","Description":[": 1",": 45 . ",": 0/20"," :"," : 15 "," : 10 "," : 4 "," : 1"," : "," :"," . : +25 %"," : +1"," Capital city"," "," ",""," , K3."]},{"NewLineToBR":true,"W":20,"H":20,"Binding":2,"IsGift":false,"Name":"ring66","Caption":" ()","Description":[": 1",": 45 . ",": 0/20"," :"," : 15 "," : 10 "," : 4 "," : 1"," : "," :"," . : +25 %"," : +2"," Capital city"," "," ",""," , K3."]},{"NewLineToBR":true,"W":20,"H":20,"Binding":2,"IsGift":false,"Name":"ring71","Caption":" ()","Description":[": 1",": 30 . ",": 0/50"," :"," : 20 "," : 20 "," : 6 "," :"," : +2 "," (HP): +60"," :"," : +2"," Capital city"," "," ",""," ."]},{"NewLineToBR":true,"W":20,"H":20,"Binding":2,"IsGift":false,"Name":"ring80","Caption":" ()","Description":[": 1",": 82 .",": 0/60"," :"," : 40 "," : 40 "," : 8 ","
    :"," : +5"," : 1-12 (d12) "," : 1-12 (d12) "," : 1-12 (d12) "," : 1-12 (d12) "," . : +10 % "," . : +20 % "," (HP): +33 "," :"," : +15"," Capital city"," "," ",""," ."]},{"NewLineToBR":true,"W":20,"H":20,"Binding":2,"IsGift":false,"Name":"ring80","Caption":" ()","Description":[": 1",": 82 .",": 0/60"," :"," : 30 "," : 30 "," : 8 "," :"," : 1-12 (d12) "," : 1-12 (d12) "," : 1-12 (d12) "," : 1-12 (d12) "," . : +10 % "," . : +20 % "," (HP): +66"," :"," : +15"," Capital city"," "," ",""," ."]},{"NewLineToBR":true,"W":20,"H":20,"Binding":2,"IsGift":false,"Name":"ring93","Caption":" ()","Description":[": 1",": 78 . ",": 0/50"," :"," : 25 "," : 15 "," : 8 "," :"," : +2 "," (HP): +6"," . : +20 %"," . : +45 %"," . : +5 %"," . : +2 %"," : [0/6]"," Capital city"," "," ",""," ."]}],"Name":"rings","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"dispell1","Caption":" ","Description":[": 1",": 10 .",": 0/1"," : 99%",":"," "," Capital city"," "," ",""," , K3."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"d_blat24","Caption":"","Description":[": 1",": 1 .",": 0/1"," : 99%",":"," 24 ."," Capital city"," "," ",""," ."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"d_blat-6","Caption":" ","Description":[": 1",": 1 .",": 0/1"," : 99%"," 5 . ",":"," 6 ."," Capital city"," "," ",""," ."]}],"Name":"spell","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":true,"W":40,"H":25,"Binding":3,"IsGift":false,"Name":"enhp_3_costr1","Caption":" : 1","Description":[": 1 ",": 1 . ",": 0/1 "," : 99%"," : ",": "," ."," Capital city"," "," ",""," 30 5 . : 1% ."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":3,"IsGift":false,"Name":"enhp_3_costr2","Caption":" : 2","Description":[": 1 ",": 1 . ",": 0/1 "," : 99%"," : ",": "," ."," Capital city"," "," ",""," 30 5 . : 2% ."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":3,"IsGift":false,"Name":"enhp_3_costr3","Caption":" : 3","Description":[": 1 ",": 1 . ",": 0/1 "," : 99%"," : ",": "," ."," Capital city"," "," ",""," 30 5 . : 3% ."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":3,"IsGift":false,"Name":"enhp_3_codex1","Caption":" : 1","Description":[": 1 ",": 1 . ",": 0/1 "," : 99%"," : ",": "," ."," Capital city"," "," ",""," 30 5 . : 1% ."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":3,"IsGift":false,"Name":"enhp_3_codex2","Caption":" : 2","Description":[": 1 ",": 1 . ",": 0/1 "," : 99%"," : ",": "," ."," Capital city"," "," ",""," 30 5 . : 2% ."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":3,"IsGift":false,"Name":"enhp_3_codex3","Caption":" : 3","Description":[": 1 ",": 1 . ",": 0/1 "," : 99%"," : ",": "," ."," Capital city"," "," ",""," 30 5 . : 3% ."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":3,"IsGift":false,"Name":"enhp_3_coinst1","Caption":" : 1","Description":[": 1 ",": 1 . ",": 0/1 "," : 99%"," : ",": "," ."," Capital city"," "," ",""," 30 5 . : 1% ."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":3,"IsGift":false,"Name":"enhp_3_coinst2","Caption":" : 2","Description":[": 1 ",": 1 . ",": 0/1 "," : 99%"," : ",": "," ."," Capital city"," "," ",""," 30 5 . : 2% ."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":3,"IsGift":false,"Name":"enhp_3_coinst3","Caption":" : 3","Description":[": 1 ",": 1 . ",": 0/1 "," : 99%"," : ",": "," ."," Capital city"," "," ",""," 30 5 . : 3% ."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":3,"IsGift":false,"Name":"enhp_3_copower1","Caption":" : 1","Description":[": 1 ",": 1 . ",": 0/1 "," : 99%"," : ",": "," ."," Capital city"," "," ",""," 30 50 HP 5 . : 1% ."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":3,"IsGift":false,"Name":"enhp_3_copower2","Caption":" : 2","Description":[": 1 ",": 1 . ",": 0/1 "," : 99%"," : ",": "," ."," Capital city"," "," ",""," 30 50 HP 5 . : 2% ."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":3,"IsGift":false,"Name":"enhp_3_copower3","Caption":" : 3","Description":[": 1 ",": 1 . ",": 0/1 "," : 99%"," : ",": "," ."," Capital city"," "," ",""," 30 50 HP 5 . : 3% ."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":3,"IsGift":false,"Name":"enhp_3_cointel1","Caption":" : 1","Description":[": 1 ",": 1 . ",": 0/1 "," : 99%"," : ",": "," ."," Capital city"," "," ",""," 30 5 . : 1% ."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":3,"IsGift":false,"Name":"enhp_3_cointel2","Caption":" : 2","Description":[": 1 ",": 1 . ",": 0/1 "," : 99%"," : ",": "," ."," Capital city"," "," ",""," 30 5 . : 2% ."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":3,"IsGift":false,"Name":"enhp_3_cointel3","Caption":" : 3","Description":[": 1 ",": 1 . ",": 0/1 "," : 99%"," : ",": "," ."," Capital city"," "," ",""," 30 5 . : 3% ."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":3,"IsGift":false,"Name":"enhp_3_manabuff1","Caption":" : 1","Description":[": 1 ",": 1 . ",": 0/1 "," : 99%"," :"," : +10 ",": "," (+20). "," Capital city"," "," ",""]},{"NewLineToBR":true,"W":40,"H":25,"Binding":3,"IsGift":false,"Name":"enhp_3_manabuff2","Caption":" : 2","Description":[": 1 ",": 1 . ",": 0/1 "," : 99%"," :"," : +20 ",": "," (+40). "," Capital city"," "," ",""]},{"NewLineToBR":true,"W":40,"H":25,"Binding":3,"IsGift":false,"Name":"enhp_3_manabuff3","Caption":" : 3","Description":[": 1 ",": 1 . ",": 0/1 "," : 99%"," :"," : +30 ",": "," (+60). "," Capital city"," "," ",""]}],"Name":"enhp","Caption":" ","Description":[" , . .",""," ."]},{"NewLineToBR":true,"Items":[{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"pot_base_150_waterproof","Caption":" ","Description":[": 5 ",": 1 . ",": 0/1 "," : 20 . "," : 3 . 0 . "," : "," : 4 "," : "," : +75"," apital city"," "," ",""," , B7."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"pot_base_200_bot3","Caption":" ","Description":[": 1 ",": 1 . ","e: 0/1 "," o: 30 . ","e : 3 . 0 . ","e : "," : +15 "," apital city"," "," ",""," , H6."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"pot_base_200_bot2","Caption":" ","Description":[": 1 ",": 1 . ","e: 0/1 "," o: 30 . ","e : 3 . 0 . ","e : "," : +15 "," apital city"," "," ",""," , H6."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"pot_base_200_bot1","Caption":" ","Description":[": 1 ",": 1 . ","e: 0/1 "," o: 30 . ","e : 3 . 0 . ","e : "," : +15 "," apital city"," "," ",""," , H6."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"pot_base_200_bot4","Caption":" ","Description":[": 1 ",": 1 . ","e: 0/1 "," o: 30 . ","e : 3 . 0 . ","e : "," : +10 "," apital city"," "," ",""," , H6."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"pot_base_200_alldmg2","Caption":" ","Description":[": 5",": 1 . ",": 0/1"," : 20 . "," : 3 . 0 . "," :"," : 7"," :"," : +75"," apital city"," "," ",""," , F9."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"pot_base_200_allmag2","Caption":" ","Description":[": 5",": 1 . ",": 0/1"," : 20 . "," : 3 . 0 . "," :"," : 7"," :"," : +75 "," apital city"," "," ",""," , G2."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"pot_base_1000_str","Caption":" ","Description":[": 5",": 1 . ",": 0/1"," : 21 . "," : 6 . 0 . "," :"," : 8"," :"," : +12",":"," - . "," apital city"," "," ",""," . [1] ."," ."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"pot_base_1000_dex","Caption":" ","Description":[": 5",": 1 . ",": 0/1"," : 21 . "," : 6 . 0 . "," :"," : 8"," :"," : +12",":"," ... ... "," apital city"," "," ",""," . [1] ."," ."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"pot_base_1000_inst","Caption":" ","Description":[": 5",": 1 . ",": 0/1"," : 21 . "," : 6 . 0 . "," :"," : 8"," :"," : +12",":"," ... (?) ... "," apital city"," "," ",""," . [1] ."," ."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"pot_base_200_alldmg2_p1k","Caption":" ","Description":[": 1",": 1 . ",": 0/3"," : 14 . "," : 4 . 0 . "," :"," : 8"," :"," : +120"," apital city"," "," ",""," ."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"pot_base_200_allmag2_p1k","Caption":" ","Description":[": 1",": 1 . ",": 0/3"," : 14 . "," : 4 . 0 . "," :"," : 8"," :"," : +120"," apital city"," "," ",""," ."]}],"Name":"pot_base","Caption":"","Description":[]}],"Name":"maters","Caption":"","Description":["

    "]},{"NewLineToBR":false,"ImageBasePath":"http://img.combats.ru/i/items/","Categories":[{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":80,"Binding":1,"IsGift":false,"Name":"cloak2","Caption":" [1]","Description":[": 200 .
    : 0/100
    :
    : 8
    Capital City: 10 000
    : 2 1 . ."]},{"NewLineToBR":false,"W":60,"H":80,"Binding":1,"IsGift":false,"Name":"cloak2_1","Caption":" [1]","Description":[": 200 .
    : 0/100
    :
    : 8
    Capital City: 10 000
    T : 3 1 . ."]},{"NewLineToBR":false,"W":60,"H":80,"Binding":1,"IsGift":false,"Name":"cloak2_2","Caption":" [1]","Description":[": 200 .
    : 0/100
    :
    : 8
    Capital City: 10 000
    : 1 1 . ."]},{"NewLineToBR":false,"W":60,"H":80,"Binding":1,"IsGift":false,"Name":"cloak2_3","Caption":" [1]","Description":[": 200 .
    : 0/100
    :
    : 8
    Capital City: 10 000
    : 2 1 . ."]},{"NewLineToBR":false,"W":60,"H":80,"Binding":1,"IsGift":false,"Name":"cloak2_4","Caption":" [1]","Description":[": 200 .
    : 0/100
    :
    : 8
    Capital City: 10 000
    : 2 1 . ."]}],"Name":"Cloaks","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"enhp_5_dampen_all_1","Caption":" : 1","Description":[": 50 .
    : , []x3
    : 0/1
    : 30 .
    :
    :
    .
    .
    "]},{"NewLineToBR":true,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"cureHP120","Caption":" 120HP","Description":[": 20 .
    : 0/5
    : 70%
    :
    : 10
    : 8
    : 3
    : "]}],"Name":"Svitki","Caption":"","Description":[]}],"Name":"capitalknightshop","Caption":"","Description":["

    ,


    ","

    Capital ity 10 000, .

    "]}],"IsDungeon":true,"Name":"capital","Caption":" ","Description":[]}); +new-combats.com.addDungeon({"RequiredScriptNames":["dungeon.data.angel.demons.js","dungeon.data.angel.js","dungeon.data.angel.capital.js","dungeon.data.angel.demons.sand.js","dungeon.data.angel.capital.demons.emerald.novice.sand.js","dungeon.data.angel.capital.emerald.sand.js","dungeon.data.angel.demons.novice.js","dungeon.data.angel.capital.demons.novice.js","dungeon.data.angel.capital.novice.js","dungeon.data.angel.capital.demons.js","dungeon.data.angel.sand.js","dungeon.data.angel.demons.novice.sand.js"],"NewLineToBR":true,"CellBackgroundColorString":"#E0EBF0","CellBorderColorString":"#608399","Jobs":{"CollectiveJobs":[{"Caption":" ","ImageUrl":"http://img.combats.ru/i/items/mater203.gif","ItemReward":4,"Description":[" \" \" . \"\" , . ..."],"DefCount":25},{"Caption":" ","ImageUrl":"http://img.combats.ru/i/items/mater213.gif","ItemReward":20,"Description":[" , , \" \" . \"\". ",""," . "],"DefCount":5},{"Caption":"","ImageUrl":"http://img.combats.ru/i/items/mater223.gif","ItemReward":13,"Description":[" , \"\" . \"\" . ...",""," ."],"DefCount":13},{"Caption":"","ImageUrl":"http://img.combats.ru/i/items/mater214.gif","ItemReward":10,"Description":[" , , \"\" . \"\" , . ",""," 2-3 ."],"DefCount":13},{"Caption":" ","ImageUrl":"http://img.combats.ru/i/items/mater222.gif","ItemReward":3,"Description":[" , \" \" . \"\"."],"DefCount":35}],"CapturedJobs":[{"Caption":"","ImageUrl":"http://img.combats.ru/i/items/mater216.gif","ItemReward":8,"Description":[" , \"\" . \"\". ",""," ."],"DefCount":11},{"Caption":"","ImageUrl":"http://img.combats.ru/i/items/mater201.gif","ItemReward":10,"Description":[" , \"\" . \"\". , ... ",""," ."],"DefCount":13},{"Caption":"","ImageUrl":"http://img.combats.ru/i/items/mater227.gif","ItemReward":10,"Description":[" , \"\" . \"\". , ...",""," ."],"DefCount":13},{"Caption":"","ImageUrl":"http://img.combats.ru/i/items/mater200.gif","ItemReward":6,"Description":[" , \"\" . \"\". ! ",""," , "],"DefCount":13},{"Caption":"","ImageUrl":"http://img.combats.ru/i/items/mater207.gif","ItemReward":14,"Description":[" , \"\" . \"\". ! ",""," , "],"DefCount":13},{"Caption":" ","ImageUrl":"http://img.combats.ru/i/items/mater204.gif","ItemReward":12,"Description":[" , , \" \" . \"\". ..."],"DefCount":11}],"KillingJobs":[{"MobName":"lit","Unique":false,"Description":[" , \"\" . \"\". ..."],"DefCount":14},{"MobName":"rg","Unique":false,"Description":[" , \"\". , \"\"."],"DefCount":15},{"MobName":"ng","Unique":false,"Description":[" , \" \". \"\". "],"DefCount":13},{"MobName":"sg","Unique":false,"Description":[" , \" \", \"\".","","9 : 4 8 5 9 ."],"DefCount":9},{"MobName":"sb","Unique":false,"Description":[" , \" \". \"\". , ",""," 2 , 3- 5. 8- ( , ). "],"DefCount":7}]},"Floors":[{"Cells":[{"X":4,"Y":10,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"entrancepoint_green1","InstanceName":"enter"},{"ObjectName":"enter","InstanceName":"enter2"}],"HotSpots":[]},{"X":4,"Y":9,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":9,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":9,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":9,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"rg","Level":8,"Align":"0","Tag":"","Count":2},{"Name":"ng","Level":8,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":8,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":7,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"rg","Level":8,"Align":"0","Tag":"","Count":2},{"Name":"ng","Level":8,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":3,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"sd","Level":9,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":4,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":5,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":1},"BackColorString":"Transparent","MobRefs":[{"Name":"rg","Level":8,"Align":"0","Tag":"","Count":2},{"Name":"ng","Level":8,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":6,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"arrowdown","InstanceName":"arrow1"}],"HotSpots":[]},{"X":3,"Y":3,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"lit","Level":7,"Align":"0","Tag":"","Count":4},{"Name":"ng","Level":8,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":3,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":2,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"rg","Level":8,"Align":"0","Tag":"","Count":2},{"Name":"ng","Level":8,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":1,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"escapepoint_blue1","InstanceName":"escape"},{"ObjectName":"ladder","InstanceName":"ladder6"}],"HotSpots":[]},{"X":4,"Y":8,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"lit","Level":7,"Align":"0","Tag":"","Count":4},{"Name":"sg","Level":8,"Align":"0","Tag":"","Count":1},{"Name":"ng","Level":8,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":9,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":8,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":7,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":7,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"lit","Level":7,"Align":"0","Tag":"","Count":6}],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":7,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"sg","Level":8,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":7,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":6,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"sb","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":5,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":5,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"sg","Level":8,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":4,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":3,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":3,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"rg","Level":8,"Align":"0","Tag":"","Count":2},{"Name":"ng","Level":8,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":5,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"ng","Level":8,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":6,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"chalice","InstanceName":"halice1"}],"HotSpots":[{"HighlightColorString":"LightCoral","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":3,"Y":6},{"X":6,"Y":6}]}]},{"X":5,"Y":6,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"rg","Level":8,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":4,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":5,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":6,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":6,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":5,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"ng","Level":8,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":4,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"chest3","InstanceName":"chest32"}],"HotSpots":[]},{"X":8,"Y":7,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":3,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"lab","InstanceName":"lab1"}],"HotSpots":[]},{"X":6,"Y":9,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"rg","Level":8,"Align":"0","Tag":"","Count":2},{"Name":"ng","Level":8,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":6,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"rg","Level":8,"Align":"0","Tag":"","Count":2},{"Name":"ng","Level":8,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":6,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"altar","InstanceName":"altar2"}],"HotSpots":[{"HighlightColorString":"Transparent","Opacity":0.9,"ImageUrl":"/i/ugobj/escapepoint_yellow1.gif","CellRefs":[{"X":1,"Y":4}]}]},{"X":8,"Y":8,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"chest3_bledny","InstanceName":"chest31"}],"HotSpots":[]}],"LookDirection":3,"Width":10,"Height":12,"DataBounds":"1, 1, 8, 10","Name":"floor1","Caption":"1 ","Description":[]},{"Cells":[{"X":6,"Y":9,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":9,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":9,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":8,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"ng","Level":9,"Align":"0","Tag":"","Count":1},{"Name":"rg","Level":8,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":8,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":8,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"ng","Level":9,"Align":"0","Tag":"","Count":1},{"Name":"ng","Level":8,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":7,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":8,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"lit","Level":7,"Align":"0","Tag":"","Count":5}],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":8,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"duffer","InstanceName":"duffer1"}],"HotSpots":[]},{"X":8,"Y":6,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"ng","Level":9,"Align":"0","Tag":"","Count":1},{"Name":"rg","Level":8,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":6,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"lit","Level":7,"Align":"0","Tag":"","Count":4}],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":6,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"duffer","InstanceName":"duffer1"}],"HotSpots":[]},{"X":8,"Y":5,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":5,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"ng","Level":9,"Align":"0","Tag":"","Count":1},{"Name":"ng","Level":8,"Align":"0","Tag":"","Count":2},{"Name":"lit","Level":7,"Align":"0","Tag":"","Count":5}],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":4,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":4,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"lit","Level":8,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":3,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":2,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"ng","Level":9,"Align":"0","Tag":"","Count":1},{"Name":"ng","Level":8,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":2,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"lit","Level":7,"Align":"0","Tag":"","Count":5}],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":2,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"duffer","InstanceName":"duffer1"}],"HotSpots":[]},{"X":11,"Y":3,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":11,"Y":4,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"olgvirt","Level":10,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":11,"Y":5,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"kamen","InstanceName":"kamen"}],"HotSpots":[]},{"X":6,"Y":5,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"sg","Level":8,"Align":"0","Tag":"","Count":1},{"Name":"lit","Level":8,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":5,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"ng","Level":9,"Align":"0","Tag":"","Count":1},{"Name":"rg","Level":8,"Align":"0","Tag":"","Count":2},{"Name":"lit","Level":8,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":6,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"lit","Level":8,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":6,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"boiler","InstanceName":"boiler1"}],"HotSpots":[]},{"X":6,"Y":4,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"lit","Level":8,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[{"ObjectName":"lorry","InstanceName":"lorry2"}],"HotSpots":[]},{"X":5,"Y":4,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"forge","InstanceName":"forge1"}],"HotSpots":[]},{"X":4,"Y":8,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":6,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"ng","Level":9,"Align":"0","Tag":"","Count":1},{"Name":"ng","Level":8,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":7,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":8,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"ng","Level":9,"Align":"0","Tag":"","Count":1},{"Name":"ng","Level":8,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":9,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":9,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"lit","Level":7,"Align":"0","Tag":"","Count":5}],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":9,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"duffer","InstanceName":"duffer1"}],"HotSpots":[]},{"X":2,"Y":7,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"lit","Level":7,"Align":"0","Tag":"","Count":4}],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":7,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"duffer","InstanceName":"duffer1"}],"HotSpots":[]},{"X":1,"Y":5,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"duffer","InstanceName":"duffer1"}],"HotSpots":[]},{"X":2,"Y":5,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"lit","Level":7,"Align":"0","Tag":"","Count":7}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":5,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":4,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":3,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"ng","Level":9,"Align":"0","Tag":"","Count":1},{"Name":"rg","Level":8,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":3,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"lit","Level":8,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":3,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"duffer","InstanceName":"duffer1"}],"HotSpots":[]},{"X":3,"Y":2,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":2,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"ng","Level":9,"Align":"0","Tag":"","Count":1},{"Name":"ng","Level":8,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":2,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":2,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":3,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"ng","Level":9,"Align":"0","Tag":"","Count":1},{"Name":"ng","Level":8,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":1,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"lorry","InstanceName":"lorry1"}],"HotSpots":[]},{"X":1,"Y":1,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"duffer","InstanceName":"duffer1"}],"HotSpots":[]},{"X":3,"Y":6,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"ng","Level":9,"Align":"0","Tag":"","Count":1},{"Name":"rg","Level":8,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":1,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"pg","Level":8,"Align":"0","Tag":"","Count":8}],"ObjectRefs":[],"HotSpots":[]},{"X":11,"Y":2,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"duffer2","InstanceName":"duffer23"}],"HotSpots":[{"HighlightColorString":"Transparent","Opacity":0.9,"ImageUrl":"/i/ugobj/escapepoint_yellow1.gif","CellRefs":[{"X":10,"Y":2}]}]},{"X":10,"Y":3,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"duffer2","InstanceName":"duffer22"}],"HotSpots":[{"HighlightColorString":"Transparent","Opacity":0.9,"ImageUrl":"/i/ugobj/escapepoint_yellow1.gif","CellRefs":[{"X":10,"Y":4}]}]},{"X":10,"Y":4,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"duffer2","InstanceName":"duffer21"}],"HotSpots":[{"HighlightColorString":"","Opacity":0.9,"ImageUrl":"/i/ugobj/escapepoint_yellow1.gif","CellRefs":[{"X":10,"Y":3}]}]},{"X":6,"Y":1,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"escapepoint_blue1","InstanceName":"escape"},{"ObjectName":"ladder","InstanceName":"ladder7"}],"HotSpots":[]},{"X":6,"Y":10,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"entrancepoint_green1","InstanceName":"enter"},{"ObjectName":"enter","InstanceName":"enter5"}],"HotSpots":[]}],"LookDirection":3,"Width":13,"Height":12,"DataBounds":"1, 1, 11, 10","Name":"floor2","Caption":"2 ","Description":[]},{"Cells":[{"X":1,"Y":10,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"rg","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[{"ObjectName":"bed","InstanceName":"bed1"}],"HotSpots":[]},{"X":1,"Y":8,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"ng","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[{"ObjectName":"bed","InstanceName":"bed1"}],"HotSpots":[]},{"X":2,"Y":8,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":8,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":8,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"ng","Level":9,"Align":"0","Tag":"","Count":1},{"Name":"rg","Level":8,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":9,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"rg","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[{"ObjectName":"bed","InstanceName":"bed1"}],"HotSpots":[]},{"X":2,"Y":9,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":10,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"rg","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[{"ObjectName":"bed","InstanceName":"bed1"}],"HotSpots":[]},{"X":3,"Y":10,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"rg","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[{"ObjectName":"bed","InstanceName":"bed1"}],"HotSpots":[]},{"X":5,"Y":10,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"entrancepoint_green1","InstanceName":"enter"},{"ObjectName":"enter","InstanceName":"enter6"}],"HotSpots":[]},{"X":5,"Y":9,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":7,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":6,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":6,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"ng","Level":9,"Align":"0","Tag":"","Count":1},{"Name":"rg","Level":8,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":6,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":6,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"rg","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[{"ObjectName":"bed","InstanceName":"bed1"}],"HotSpots":[]},{"X":1,"Y":4,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"rg","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[{"ObjectName":"bed","InstanceName":"bed1"}],"HotSpots":[]},{"X":2,"Y":4,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"rg","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[{"ObjectName":"bed","InstanceName":"bed1"}],"HotSpots":[]},{"X":3,"Y":4,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"rg","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[{"ObjectName":"bed","InstanceName":"bed1"}],"HotSpots":[]},{"X":3,"Y":5,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":5,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"rg","Level":8,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":5,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":3,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"ng","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[{"ObjectName":"bed","InstanceName":"bed1"}],"HotSpots":[]},{"X":2,"Y":3,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"ng","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[{"ObjectName":"bed","InstanceName":"bed1"}],"HotSpots":[]},{"X":3,"Y":3,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"ng","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[{"ObjectName":"bed","InstanceName":"bed1"}],"HotSpots":[]},{"X":1,"Y":1,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"ng","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[{"ObjectName":"bed","InstanceName":"bed1"}],"HotSpots":[]},{"X":2,"Y":1,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"ng","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[{"ObjectName":"bed","InstanceName":"bed1"}],"HotSpots":[]},{"X":3,"Y":2,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":2,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":2,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":3,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":4,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"ng","Level":9,"Align":"0","Tag":"","Count":2},{"Name":"sg","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":1,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":1,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"ng","Level":9,"Align":"0","Tag":"","Count":1},{"Name":"btm","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":1,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"sb","Level":9,"Align":"0","Tag":"","Count":1},{"Name":"gjs","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":5,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"ng","Level":9,"Align":"0","Tag":"","Count":1},{"Name":"btm","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":5,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":5,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":4,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":4,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":3,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"chest1","InstanceName":"chest12"}],"HotSpots":[]},{"X":8,"Y":3,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"chest1","InstanceName":"chest15"}],"HotSpots":[]},{"X":9,"Y":5,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"kg","Level":12,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":6,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":7,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"grate","InstanceName":"grate1"}],"HotSpots":[]},{"X":9,"Y":8,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"btm","Level":9,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":9,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"attentionpoint_red1","InstanceName":"danger3"}],"HotSpots":[]},{"X":6,"Y":7,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"ng","Level":9,"Align":"0","Tag":"","Count":1},{"Name":"rg","Level":8,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":7,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"sb","Level":9,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":7,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":6,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"chest01","InstanceName":"chest22"}],"HotSpots":[]},{"X":7,"Y":8,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":9,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":9,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"ng","Level":9,"Align":"0","Tag":"","Count":2},{"Name":"sg","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":6,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"ng","Level":8,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":9,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"ng","Level":9,"Align":"0","Tag":"","Count":2},{"Name":"sg","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":8,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"ng","Level":9,"Align":"0","Tag":"","Count":2},{"Name":"sg","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":2,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"ng","Level":9,"Align":"0","Tag":"","Count":2},{"Name":"sg","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":1,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"ng","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[{"ObjectName":"bed","InstanceName":"bed1"}],"HotSpots":[]},{"X":1,"Y":2,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"ng","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[{"ObjectName":"chest1_blendy","InstanceName":"chest1"}],"HotSpots":[]},{"X":1,"Y":5,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"ng","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[{"ObjectName":"chest1_blendy","InstanceName":"chest1"}],"HotSpots":[]},{"X":1,"Y":9,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"rg","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[{"ObjectName":"chest1_blendy","InstanceName":"chest1"}],"HotSpots":[]},{"X":8,"Y":6,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"zabgol","Level":11,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[{"ObjectName":"forge","InstanceName":"forge2"}],"HotSpots":[]}],"LookDirection":3,"Width":11,"Height":12,"DataBounds":"1, 1, 9, 10","Name":"floor3","Caption":"3 ","Description":[]}],"Pages":[{"NewLineToBR":false,"ExternalUrl":"","Name":"angelsknightugsol","Caption":"","Description":["

    ,

    ","
    Angels city 9999, c :

    ","
    ","
    . . \"\", . . .
    ","
    ","

    ","
    \"\" . ","
    . ","
    , (1 .), : \"\" \"\" .
    ","


    ","
    , , .","
    , \"\" J5. ","

    \"\"
    ","
    \"\" . 180 , . ","

    \"\"
    ","
    .","
    K4 (). .
    ","
    : ( L3) - . , , , , . ","
    . \"\" \"\" [10]. .
    ","
    :
    , :","
    85% \"\" \"\" \"\", 1% 1% - - , 33%.
    ","
    5% , \"\" \"\" \" \" ( ). 8-10 , . .","
    \"\" , \"\" . , . , - \"\" .
    ","
    : , .
    ","
    A10, . ","
    \"\" \"\" : 1 .","
    ","
    ","
    "]}],"Shops":[{"NewLineToBR":true,"ImageBasePath":"http://img.combats.ru/i/items/","Categories":[{"NewLineToBR":true,"Items":[{"NewLineToBR":true,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"Key23","Caption":" 3","Description":[": 1",": 0/1"," Angels city"," "," ",""," , H7."]}],"Name":"key","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"d_blat-6","Caption":" ","Description":[": 1",": 1 .",": 0/1"," : 99%"," 5 . ",":"," 6 ."," Angels city"," "," ",""," ."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"paper100","Caption":" 5 . ","Description":[": 1 ",": 5 .",": 0/1"," Angels city"," "," ",""," ."," . . , . "]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"paper100","Caption":" 400 . ","Description":[": 1 ",": 400 . ",": 0/1"," Angels city"," "," ",""," , , , H4."," . . , . "]}],"Name":"spell","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":true,"W":60,"H":20,"Binding":3,"IsGift":false,"Name":"amulet81","Caption":" . ","Description":[": 1 ",": 240 ",": 0/50 "," : ",": 9 ",": 45 ",": 15 ",": 15 ",": 50 "," : "," : 1-25 "," : 1-25 "," : 1-25 "," : 1-25 ",". (%): +35 "," : +10 "," : +250 "," : +20 ",": ",". (%): +35 "," : "," (13)"," Angels city"," "," ",""," ."]}],"Name":"amulet","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"sword103","Caption":" +5 ()","Description":[": 13",": 220 . ",": 0/50"," :"," : 30 "," : 15 "," : 50 "," : 30 "," : 9 "," :"," : +5 "," :"," : 17 - 39"," . : +50 % "," . : +80 % "," . . : +10 % "," : +2 ",":"," : "," : "," : "," : "," : +"," Angels city"," "," ",""," ."]}],"Name":"sword","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"shield14","Caption":" ","Description":[": 10 ",": 173 . ",": 0/50 "," : "," : 18 "," : 35 "," : 8 "," : 25 "," : 25 "," : "," . (%): -5 "," . (%): +65 "," . (%): +5 "," : +15 "," : +10 "," : 5-22 (4+d18) "," : 6-23 (5+d18) "," : 5-22 (4+d18) "," : 5-22 (4+d18) ",": "," : "," : "," : "," : "," Angels city"," "," ",""," , I4."]}],"Name":"shield","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"pot_base_200_bot3","Caption":" ","Description":[": 1 ",": 1 . ","e: 0/1 "," o: 30 . ","e : 1 . 30 . ","e : "," : +15 "," Angels city"," "," ",""," ."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"pot_base_200_bot2","Caption":" ","Description":[": 1 ",": 1 . ","e: 0/1 "," o: 30 . ","e : 1 . 30 . ","e : "," : +15 "," Angels city"," "," ",""," ."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"pot_base_200_bot1","Caption":" ","Description":[": 1 ",": 1 . ","e: 0/1 "," o: 30 . ","e : 1 . 30 . ","e : "," : +15 "," Angels city"," "," ",""," ."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"pot_base_200_bot4","Caption":" ","Description":[": 1 ",": 1 . ","e: 0/1 "," o: 30 . ","e : 1 . 30 . ","e : "," : +10 "," Angels city"," "," ",""," ."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"pot_base_200_bot4","Caption":" ","Description":[": 1 ",": 1 . ","e: 0/1 "," o: 30 . ","e : 3 . 0 . ","e : "," : +10 "," Angels city"," "," ",""," , E7."]}],"Name":"pot_base","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_mat1","Caption":" ","Description":[": 1 ",": 0/1"," Angels city"," "," ",""," , , , H4."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_mat3","Caption":" ","Description":[": 1 ",": 0/1"," Angels city"," "," ",""," , , I5."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_mat5","Caption":" ","Description":[": 1 ",": 0/1"," Angels city"," "," ",""," , , I5."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_mat7","Caption":" ","Description":[": 1 ",": 0/1"," Angels city"," "," ",""," , , I5."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_mat13","Caption":" ","Description":[": 1 ",": 0/1"," Angels city"," "," ",""," , , I5."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_mat15","Caption":" ","Description":[": 1 ",": 0/1"," Angels city"," "," ",""," , , I5."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_mat17","Caption":" ","Description":[": 1 ",": 0/1"," Angels city"," "," ",""," , , G7."," , , , H4."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_mat19","Caption":" ","Description":[" ."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_mat23","Caption":" ","Description":[" ."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_mat30","Caption":" ","Description":[" ."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_mat21","Caption":" ","Description":[" ."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_mat11","Caption":" ","Description":[" ."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_mat9","Caption":" ","Description":[" ."]}],"Name":"sp_mat","Caption":" ","Description":[" , ."," , .",""," [9] [10] . () (, , ).",""," , ."]},{"NewLineToBR":true,"Items":[{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_tacpts_HIT1","Caption":" : 1","Description":[": 1 ",": 10 . ",": 0/1"," : 3 ."," "," :"," : 5"," Angels city"," "," ",""," +1"]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_tacpts_HIT2","Caption":" : 2","Description":[": 1 ",": 20 . ",": 0/1"," : 3 ."," "," :"," : 5"," Angels city"," "," ",""," +2"]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_tacpts_HIT3","Caption":" : 3","Description":[": 1 ",": 30 . ",": 0/1"," : 3 ."," "," :"," : 5"," Angels city"," "," ",""," +3"]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_tacpts_HIT4","Caption":" : 4","Description":[": 1 ",": 40 . ",": 0/1"," : 3 ."," "," :"," : 5"," Angels city"," "," ",""," +4"]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_tacpts_HIT5","Caption":" : 5","Description":[": 1 ",": 50 . ",": 0/1"," : 3 ."," "," :"," : 5"," Angels city"," "," ",""," +5"]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_tacpts_BLK1","Caption":" : 1","Description":[": 1 ",": 10 . ",": 0/1"," : 3 ."," "," :"," : 5"," Angels city"," "," ",""," +1 "]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_tacpts_BLK2","Caption":" : 2","Description":[": 1 ",": 20 . ",": 0/1"," : 3 ."," "," :"," : 5"," Angels city"," "," ",""," +2 "]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_tacpts_BLK3","Caption":" : 3","Description":[": 1 ",": 30 . ",": 0/1"," : 3 ."," "," :"," : 5"," Angels city"," "," ",""," +3 "]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_tacpts_BLK4","Caption":" : 4","Description":[": 1 ",": 40 . ",": 0/1"," : 3 ."," "," :"," : 5"," Angels city"," "," ",""," +4 "]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_tacpts_BLK5","Caption":" : 5","Description":[": 1 ",": 50 . ",": 0/1"," : 3 ."," "," :"," : 5"," Angels city"," "," ",""," +5 "]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_tacpts_KRT1","Caption":" : 1","Description":[": 1 ",": 10 . ",": 0/1"," : 3 ."," "," :"," : 5"," Angels city"," "," ",""," +1"]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_tacpts_KRT2","Caption":" : 2","Description":[": 1 ",": 20 . ",": 0/1"," : 3 ."," "," :"," : 5"," Angels city"," "," ",""," +2"]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_tacpts_KRT3","Caption":" : 3","Description":[": 1 ",": 30 . ",": 0/1"," : 3 ."," "," :"," : 5"," Angels city"," "," ",""," +3"]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_tacpts_KRT4","Caption":" : 4","Description":[": 1 ",": 40 . ",": 0/1"," : 3 ."," "," :"," : 5"," Angels city"," "," ",""," +4"]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_tacpts_KRT5","Caption":" : 5","Description":[": 1 ",": 50 . ",": 0/1"," : 3 ."," "," :"," : 5"," Angels city"," "," ",""," +5"]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_tacpts_CNTR1","Caption":" : 1","Description":[": 1 ",": 10 . ",": 0/1"," : 3 ."," "," :"," : 5"," Angels city"," "," ",""," +1 "]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_tacpts_CNTR2","Caption":" : 2","Description":[": 1 ",": 20 . ",": 0/1"," : 3 ."," "," :"," : 5"," Angels city"," "," ",""," +2 "]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_tacpts_CNTR3","Caption":" : 3","Description":[": 1 ",": 30 . ",": 0/1"," : 3 ."," "," :"," : 5"," Angels city"," "," ",""," +3 "]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_tacpts_CNTR4","Caption":" : 4","Description":[": 1 ",": 40 . ",": 0/1"," : 3 ."," "," :"," : 5"," Angels city"," "," ",""," +4 "]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_tacpts_CNTR5","Caption":" : 5","Description":[": 1 ",": 50 . ",": 0/1"," : 3 ."," "," :"," : 5"," Angels city"," "," ",""," +5 "]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_tacpts_PRY1","Caption":" : 1","Description":[": 1 ",": 10 . ",": 0/1"," : 3 ."," "," :"," : 5"," Angels city"," "," ",""," +1 "]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_tacpts_PRY2","Caption":" : 2","Description":[": 1 ",": 20 . ",": 0/1"," : 3 ."," "," :"," : 5"," Angels city"," "," ",""," +2 "]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_tacpts_PRY3","Caption":" : 3","Description":[": 1 ",": 30 . ",": 0/1"," : 3 ."," "," :"," : 5"," Angels city"," "," ",""," +3 "]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_tacpts_PRY4","Caption":" : 4","Description":[": 1 ",": 10 . ",": 0/1"," : 3 ."," "," :"," : 5"," Angels city"," "," ",""," +4 "]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_tacpts_PRY5","Caption":" : 5","Description":[": 1 ",": 10 . ",": 0/1"," : 3 ."," "," :"," : 5"," Angels city"," "," ",""," +5 "]}],"Name":"sp_tacpts","Caption":" ","Description":[" . , .","","C . , - () .",""," 3 . 10 .",""," ."]}],"Name":"maters","Caption":"","Description":["

    "]},{"NewLineToBR":true,"ImageBasePath":"http://img.combats.ru/i/items/","Categories":[{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"enhp_5_defend_all_1","Caption":" : 1","Description":[": 50 .
    : []x1, []x3
    : 0/1
    : 30 .
    :
    :
    40% .
    .
    "]},{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"sharpen_all_7","Caption":" 7: ","Description":[": 1000 .
    : 0/1
    :
    : 8
    :
    : +7
    : +7
    :
    .
    "]},{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"preservation","Caption":" [1]","Description":[": 30 .
    : 0/1
    : 70%
    : 2 .
    :
    : 5
    : 8
    "]}],"Name":"svitki","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_mat3","Caption":" ","Description":[": 1",": 300 . ",": 0/1 "," ",":"," [10] , ."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_mat7","Caption":" ","Description":[": 1",": 300 . ",": 0/1 "," ",":"," [10] , ."]}],"Name":"sp_mat","Caption":" ","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"mater1","Caption":" ","Description":[": 0,15
    : 1
    : [ ]x3
    : 0/1

    "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"mater2","Caption":"","Description":[": 0,15
    : 1
    : [ ]x3
    : 0/1

    "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"mater3","Caption":"","Description":[": 0,15
    : 1
    : [ ]x3
    : 0/1

    "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"mater4","Caption":" ","Description":[": 0,15
    : 1
    : [ ]x3
    : 0/1

    "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"mater5","Caption":"","Description":[": 0,15
    : 1
    : [ ]x3
    : 0/1

    "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"mater6","Caption":" ","Description":[": 0,15
    : 1
    : [ ]x3
    : 0/1

    "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"mater7","Caption":" ","Description":[": 0,15
    : 1
    : [ ]x3
    : 0/1

    "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"mater8","Caption":"","Description":[": 0,15
    : 1
    : [ ]x3
    : 0/1

    "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"mater9","Caption":" ","Description":[": 0,15
    : 1
    : [ ]x3
    : 0/1

    "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"mater10","Caption":" ","Description":[": 0,15
    : 1
    : [ ]x3
    : 0/1

    "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"mater11","Caption":" ","Description":[": 0,15
    : 1
    : [ ]x3
    : 0/1

    "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"mater12","Caption":"","Description":[": 0,15
    : 1
    : [ ]x3
    : 0/1

    "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"mater13","Caption":" ","Description":[": 0,5
    : 1
    : [ ]x10
    : 0/1

    "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"mater14","Caption":" ","Description":[": 0,5
    : 1
    : [ ]x10
    : 0/1

    "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"mater15","Caption":" ","Description":[": 0,5
    : 1
    : [ ]x10
    : 0/1

    "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"mater16","Caption":" ","Description":[": 0,5
    : 1
    : [ ]x10
    : 0/1

    "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"mater17","Caption":" ","Description":[": 0,5
    : 1
    : [ ]x10
    : 0/1

    "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"mater18","Caption":" ","Description":[": 0,5
    : 1
    : [ ]x10
    : 0/1

    "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"mater19","Caption":" ","Description":[": 0,5
    : 1
    : [ ]x10
    : 0/1

    "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"mater25","Caption":" ","Description":[": 1,5
    : 1
    : [ ]x30
    : 0/1

    "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"mater26","Caption":" ","Description":[": 1,5
    : 1
    : [ ]x30
    : 0/1

    "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"mater27","Caption":" ","Description":[": 1,5
    : 1
    : [ ]x30
    : 0/1

    "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"mater28","Caption":" ","Description":[": 1,5
    : 1
    : [ ]x30
    : 0/1

    "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"mater29","Caption":" ","Description":[": 1,5
    : 1
    : [ ]x30
    : 0/1

    "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"mater30","Caption":" ","Description":[": 1,5
    : 1
    : [ ]x30
    : 0/1

    "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"mater20","Caption":" ","Description":[": 5
    : 1
    : [ ]x100
    : 0/1

    "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"mater21","Caption":" ","Description":[": 5
    : 1
    : [ ]x100
    : 0/1

    "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"mater22","Caption":" ","Description":[": 5
    : 1
    : [ ]x100
    : 0/1

    "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"mater31","Caption":" ","Description":[": 5
    : 1
    : [ ]x100
    : 0/1

    "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"mater23","Caption":"","Description":[": 5
    : 1
    : [ ]x100
    : 0/1

    "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"mater24","Caption":"","Description":[": 5
    : 1
    : [ ]x100
    : 0/1

    "]}],"Name":"mater","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"mater_battery","Caption":" ","Description":[": 1 .
    : 1
    : ,
    : 0/1

    :
    .
    "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"mater261","Caption":" ","Description":[": 20 .
    : 1
    : [ ]x4
    : 0/1

    :
    [10] , .
    "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"mater262","Caption":" ","Description":[": 48 .
    : 1
    : [ ]x10
    : 0/1

    :
    [10] , .
    "]}],"Name":"other","Caption":". ","Description":[]}],"Name":"angelsknightshop","Caption":"","Description":["

    ,

    ","

    , 10 000 , .

    "]}],"IsDungeon":true,"Name":"angel","Caption":"","Description":[]}); +new-combats.com.addDungeon({"RequiredScriptNames":["dungeon.data.sand.js","dungeon.data.capital.sand.js","dungeon.data.demons.sand.js","dungeon.data.angel.demons.sand.js","dungeon.data.angel.capital.demons.emerald.novice.sand.js","dungeon.data.abandon.capital.emerald.sand.js","dungeon.data.angel.capital.emerald.sand.js","dungeon.data.capital.demons.sand.js","dungeon.data.capital.demons.emerald.sand.js","dungeon.data.capital.emerald.sand.js","dungeon.data.capital.demons.emerald.novice.sand.js","dungeon.data.angel.sand.js","dungeon.data.angel.demons.novice.sand.js","dungeon.data.abandon.capital.demons.sand.js"],"NewLineToBR":true,"CellBackgroundColorString":"#E8E7D1","CellBorderColorString":"#978C6E","Jobs":{"CollectiveJobs":[{"Caption":" ","ImageUrl":"http://img.combats.ru/i/items/mater203.gif","ItemReward":4,"Description":[" \" \" . \" \", , . ...",""," ."],"DefCount":25},{"Caption":" ","ImageUrl":"http://img.combats.ru/i/items/mater213.gif","ItemReward":20,"Description":[" , , \" \" . \" \"."],"DefCount":5},{"Caption":"","ImageUrl":"http://img.combats.ru/i/items/mater223.gif","ItemReward":13,"Description":[" , \"\" . \" \". "],"DefCount":13},{"Caption":"","ImageUrl":"http://img.combats.ru/i/items/mater214.gif","ItemReward":10,"Description":[" , , \"\" . \" \" , . ",""," 2-3 ."],"DefCount":13},{"Caption":" ","ImageUrl":"http://img.combats.ru/i/items/mater222.gif","ItemReward":3,"Description":[" , \" \" . \" \" . ... ",""," ."],"DefCount":35}],"CapturedJobs":[{"Caption":" ","ImageUrl":"http://img.combats.ru/i/items/mater208.gif","ItemReward":6,"Description":[" , \" \" . \" \". ... ",""," , ."],"DefCount":10},{"Caption":" ","ImageUrl":"http://img.combats.ru/i/items/mater220.gif","ItemReward":15,"Description":[" , \" \" . \" \". !",""," ."],"DefCount":12},{"Caption":"","ImageUrl":"http://img.combats.ru/i/items/mater207.gif","ItemReward":14,"Description":[" , \"\" . \" \". , ... ",""," , ."],"DefCount":15},{"Caption":" ","ImageUrl":"http://img.combats.ru/i/items/mater204.gif","ItemReward":12,"Description":[" , , \" \" . \" \". ... "],"DefCount":15},{"Caption":"","ImageUrl":"http://img.combats.ru/i/items/mater216.gif","ItemReward":8,"Description":[" , \"\" . \" \". ",""," , . 1-2 ."],"DefCount":14},{"Caption":"","ImageUrl":"http://img.combats.ru/i/items/mater200.gif","ItemReward":6,"Description":[" , \"\" . \" \". !",""," , . , ."],"DefCount":13}],"KillingJobs":[{"MobName":"pg_sand","Unique":false,"Description":[" , \" \", \" \". ..."],"DefCount":12},{"MobName":"strmgl","Unique":false,"Description":[" , \" \". \" \". "],"DefCount":13},{"MobName":"smotrmgl","Unique":false,"Description":[" , \" \". \" \". "],"DefCount":12},{"MobName":"rabmgl","Unique":false,"Description":[" , \" \", \" \". ",""],"DefCount":13}]},"Floors":[{"Cells":[{"X":1,"Y":1,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"rabmgl","Level":7,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":1,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"smotrmgl","Level":7,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":1,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":3,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"rabmgl","Level":8,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":2,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"smotrmgl","Level":7,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":3,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":3,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"smotrmgl","Level":8,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":2,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":2,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"strmgl","Level":7,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":1,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"escapepoint_blue1","InstanceName":"escape"},{"ObjectName":"ladder","InstanceName":"ladder8"}],"HotSpots":[{"HighlightColorString":"#3E4F4F","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":7,"Y":7}]}]},{"X":9,"Y":1,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"escapepoint_blue1","InstanceName":"escape"},{"ObjectName":"ladder","InstanceName":"ladder9"}],"HotSpots":[{"HighlightColorString":"#3E4F4F","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":5,"Y":4}]}]},{"X":6,"Y":2,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":3,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":4,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"strmgl","Level":7,"Align":"0","Tag":"","Count":2},{"Name":"rabmgl","Level":7,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":4,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"key2","InstanceName":"key22"}],"HotSpots":[{"HighlightColorString":"#3E4F4F","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":9,"Y":1}]}]},{"X":8,"Y":4,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":4,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":4,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":2,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"smotrmgl","Level":7,"Align":"0","Tag":"","Count":10}],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":5,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"rabmgl","Level":7,"Align":"9","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":6,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"smag_collect1","InstanceName":"sunduk3"}],"HotSpots":[]},{"X":6,"Y":6,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":6,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":6,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pg_sand","Level":7,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":7,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"strmgl","Level":8,"Align":"0","Tag":"","Count":1},{"Name":"rabmgl","Level":8,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":5,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"redteleport","InstanceName":"redteleport10"}],"HotSpots":[]},{"X":2,"Y":5,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"smotrmgl","Level":7,"Align":"0","Tag":"","Count":2},{"Name":"strmgl","Level":7,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":4,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":5,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"well03","InstanceName":"fountain22"}],"HotSpots":[]},{"X":2,"Y":6,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":8,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":8,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":9,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":9,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":10,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"entrancepoint_green1","InstanceName":"enter"},{"ObjectName":"enter","InstanceName":"enter2"}],"HotSpots":[]},{"X":5,"Y":9,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":9,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":7,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"smotrmgl","Level":7,"Align":"0","Tag":"","Count":3},{"Name":"strmgl","Level":7,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":7,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"key1","InstanceName":"key12"}],"HotSpots":[{"HighlightColorString":"#3E4F4F","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":6,"Y":1}]}]},{"X":8,"Y":9,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"smotrmgl","Level":7,"Align":"0","Tag":"","Count":2},{"Name":"strmgl","Level":7,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":8,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":8,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":8,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":9,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":10,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"smotrmgl","Level":8,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":10,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":10,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"strmgl","Level":7,"Align":"0","Tag":"","Count":2},{"Name":"rabmgl","Level":8,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":5,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pg_sand","Level":7,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":3,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pg_sand","Level":8,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":4,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"pg_sand","Level":8,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":10,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"pg_sand","Level":7,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":8,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":9,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"pg_sand","Level":7,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":9,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"pg_sand","Level":7,"Align":"0","Tag":"","Count":5}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":7,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pg_sand","Level":7,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]}],"LookDirection":3,"Width":12,"Height":12,"DataBounds":"1, 1, 10, 10","Name":"floor1","Caption":"1 ","Description":[]},{"Cells":[{"X":2,"Y":10,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"entrancepoint_green1","InstanceName":"enter"},{"ObjectName":"enter","InstanceName":"enter7"}],"HotSpots":[]},{"X":2,"Y":9,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"strmgl","Level":8,"Align":"0","Tag":"hp800","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":9,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"rabmgl","Level":7,"Align":"0","Tag":"","Count":25}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":9,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"smotrmgl","Level":9,"Align":"0","Tag":"","Count":1},{"Name":"strmgl","Level":8,"Align":"0","Tag":"hp800","Count":1},{"Name":"rabmgl","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":8,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"rabmgl","Level":7,"Align":"0","Tag":"","Count":10}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":7,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"smotrmgl","Level":9,"Align":"0","Tag":"","Count":1},{"Name":"strmgl","Level":8,"Align":"0","Tag":"hp800","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":7,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"smotrmgl","Level":9,"Align":"0","Tag":"","Count":1},{"Name":"strmgl","Level":8,"Align":"0","Tag":"hp800","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":7,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":8,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"strmgl","Level":8,"Align":"0","Tag":"","Count":1},{"Name":"rabmgl","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":8,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"smag_collect1","InstanceName":"sunduk4"}],"HotSpots":[]},{"X":2,"Y":6,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":5,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":5,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"rabmgl","Level":8,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":4,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"smotrmgl","Level":8,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":3,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"smotrmgl","Level":7,"Align":"0","Tag":"","Count":10}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":3,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"smotrmgl","Level":9,"Align":"0","Tag":"","Count":1},{"Name":"pg_sand","Level":8,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":4,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"smag_collect1","InstanceName":"sunduk5"}],"HotSpots":[]},{"X":2,"Y":4,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"strmgl","Level":8,"Align":"9","Tag":"hp1600","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":2,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":1,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":1,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"redteleport","InstanceName":"redteleport12"}],"HotSpots":[{"HighlightColorString":"Transparent","Opacity":0.9,"ImageUrl":"/i/ugobj/escapepoint_yellow1.gif","CellRefs":[{"X":6,"Y":9}]},{"HighlightColorString":"#3E4F4F","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":2,"Y":9},{"X":1,"Y":9},{"X":3,"Y":9},{"X":2,"Y":8},{"X":2,"Y":7},{"X":1,"Y":7},{"X":3,"Y":7},{"X":3,"Y":8},{"X":1,"Y":8}]}]},{"X":1,"Y":1,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"redteleport","InstanceName":"redteleport11"}],"HotSpots":[{"HighlightColorString":"#3E4F4F","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":2,"Y":5},{"X":3,"Y":5},{"X":1,"Y":4},{"X":1,"Y":3},{"X":2,"Y":3},{"X":3,"Y":4},{"X":2,"Y":4},{"X":3,"Y":3},{"X":1,"Y":5}]}]},{"X":5,"Y":3,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"fountain5","InstanceName":"fountain54"}],"HotSpots":[]},{"X":5,"Y":7,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"fountain5","InstanceName":"fountain53"}],"HotSpots":[]},{"X":7,"Y":5,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":5,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":6,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"strmgl","Level":7,"Align":"0","Tag":"","Count":5}],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":4,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"strmgl","Level":8,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":3,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"smotrmgl","Level":9,"Align":"0","Tag":"","Count":1},{"Name":"strmgl","Level":8,"Align":"0","Tag":"hp800","Count":1},{"Name":"rabmgl","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":1,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"escapepoint_blue1","InstanceName":"escape"},{"ObjectName":"ladder","InstanceName":"ladder10"}],"HotSpots":[]},{"X":9,"Y":3,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"key3","InstanceName":"key32"}],"HotSpots":[]},{"X":8,"Y":8,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":9,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pg_sand","Level":7,"Align":"0","Tag":"","Count":9}],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":9,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"smotrmgl","Level":9,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":9,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":9,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"rabmgl","Level":8,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":9,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":10,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"entrancepoint_green1","InstanceName":"enter"},{"ObjectName":"enter","InstanceName":"enter8"}],"HotSpots":[]},{"X":10,"Y":8,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"smotrmgl","Level":7,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":7,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":3,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pg_sand","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":5,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":2,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pg_sand","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":7,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pg_sand","Level":8,"Align":"0","Tag":"","Count":5}],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":6,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"pg_sand","Level":7,"Align":"0","Tag":"","Count":5}],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":6,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pg_sand","Level":8,"Align":"0","Tag":"","Count":5}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":7,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"pg_sand","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":6,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pg_sand","Level":8,"Align":"0","Tag":"","Count":5},{"Name":"pg_sand","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":6,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pg_sand","Level":7,"Align":"0","Tag":"","Count":10}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":5,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pg_sand","Level":8,"Align":"0","Tag":"","Count":5}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":5,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":4,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pg_sand","Level":7,"Align":"0","Tag":"","Count":10}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":3,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pg_sand","Level":8,"Align":"0","Tag":"","Count":5}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":4,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pg_sand","Level":7,"Align":"0","Tag":"","Count":10},{"Name":"pg_sand","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":10,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]}],"LookDirection":3,"Width":12,"Height":12,"DataBounds":"1, 1, 10, 10","Name":"floor2","Caption":"2 ","Description":[]},{"Cells":[{"X":1,"Y":3,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"rh","Level":9,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":3,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"grate","InstanceName":"grate2"}],"HotSpots":[]},{"X":3,"Y":3,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":2,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"strmgl","Level":8,"Align":"0","Tag":"","Count":3},{"Name":"rabmgl","Level":8,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":3,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"fountain6","InstanceName":"fountain64"}],"HotSpots":[]},{"X":6,"Y":3,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"smotrmgl","Level":9,"Align":"0","Tag":"","Count":2},{"Name":"pg_sand","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":2,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"strmgl","Level":8,"Align":"0","Tag":"hp800","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":1,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"escapepoint_blue1","InstanceName":"escape"},{"ObjectName":"sar2","InstanceName":"sar22"}],"HotSpots":[]},{"X":7,"Y":2,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"workshop","InstanceName":"workshop2"}],"HotSpots":[]},{"X":8,"Y":3,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"smotrmgl","Level":9,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":3,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"smotrmgl","Level":9,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":2,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"strmgl","Level":8,"Align":"0","Tag":"","Count":5}],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":1,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"escapepoint_blue1","InstanceName":"escape"},{"ObjectName":"sar2","InstanceName":"sar21"}],"HotSpots":[]},{"X":10,"Y":4,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"smotrmgl","Level":8,"Align":"9","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":4,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"rabmgl","Level":9,"Align":"9","Tag":"","Count":2},{"Name":"pg_sand","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":5,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":5,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"strmgl","Level":8,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":5,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"rabmgl","Level":9,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":7,"Border":{"Left":2,"Top":1,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"arrowup","InstanceName":"arrow1"}],"HotSpots":[]},{"X":8,"Y":8,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"smotrmgl","Level":8,"Align":"0","Tag":"","Count":3},{"Name":"rabmgl","Level":8,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":8,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":8,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":9,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":10,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"entrancepoint_green1","InstanceName":"enter"},{"ObjectName":"enter","InstanceName":"enter10"}],"HotSpots":[]},{"X":7,"Y":8,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":8,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":8,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":8,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":9,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":10,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"smotrmgl","Level":9,"Align":"9","Tag":"hp2400","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":10,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"entrancepoint_green1","InstanceName":"enter"},{"ObjectName":"enter","InstanceName":"enter9"}],"HotSpots":[]},{"X":6,"Y":10,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":7,"Border":{"Left":2,"Top":1,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"arrowup","InstanceName":"arrow1"}],"HotSpots":[]},{"X":4,"Y":7,"Border":{"Left":2,"Top":1,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"arrowup","InstanceName":"arrow1"}],"HotSpots":[]},{"X":4,"Y":4,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":5,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"strmgl","Level":8,"Align":"0","Tag":"","Count":3},{"Name":"pg_sand","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":5,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"fountain4","InstanceName":"fountain42"}],"HotSpots":[]},{"X":6,"Y":9,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pg_sand","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":8,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":6,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":4,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":3,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pg_sand","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":4,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":5,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":6,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pg_sand","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":3,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pg_sand","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":5,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"smotrmgl","Level":8,"Align":"0","Tag":"","Count":5},{"Name":"pg_sand","Level":8,"Align":"0","Tag":"","Count":5}],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":6,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":1,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"key2_2","InstanceName":"key2_21"}],"HotSpots":[{"HighlightColorString":"LightCoral","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":3,"Y":10}]}]}],"LookDirection":3,"Width":12,"Height":12,"DataBounds":"1, 1, 10, 10","Name":"floor3","Caption":"3 ","Description":[]},{"Cells":[{"X":1,"Y":9,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"escapepoint_blue1","InstanceName":"escape"},{"ObjectName":"sar2","InstanceName":"sar21"}],"HotSpots":[]},{"X":1,"Y":8,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":7,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":7,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":8,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"hroch","Level":9,"Align":"9","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":9,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":10,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"entrancepoint_green1","InstanceName":"enter"},{"ObjectName":"enter","InstanceName":"enter11"}],"HotSpots":[]},{"X":4,"Y":8,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":8,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"sign1","InstanceName":"sign11"}],"HotSpots":[]},{"X":5,"Y":9,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":9,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":9,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":8,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"strkl","Level":8,"Align":"0","Tag":"","Count":2},{"Name":"zbldsh","Level":8,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":6,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"strslpr","InstanceName":"strslpr1"}],"HotSpots":[]},{"X":8,"Y":5,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":6,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"hroch","Level":9,"Align":"9","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":5,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":5,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":4,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":3,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":2,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"strkl","Level":8,"Align":"0","Tag":"","Count":1},{"Name":"hroch","Level":9,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":2,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":1,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":3,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":3,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":3,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"lab","InstanceName":"lab2"}],"HotSpots":[]},{"X":3,"Y":2,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"lab","InstanceName":"lab2"}],"HotSpots":[]},{"X":3,"Y":1,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"lab","InstanceName":"lab2"}],"HotSpots":[]},{"X":4,"Y":1,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":2,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"krpt","Level":9,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":9,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"zbldsh","Level":8,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":7,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"grate","InstanceName":"grate3"}],"HotSpots":[]},{"X":5,"Y":7,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"zbldsh","Level":8,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":5,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"zbldsh","Level":8,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":6,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"zbldsh","Level":8,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":7,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"zbldsh","Level":8,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":2,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"zbldsh","Level":8,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":2,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"enterdoor","InstanceName":"enterdoor2"}],"HotSpots":[]},{"X":5,"Y":0,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"zabgol","Level":11,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[{"ObjectName":"forge","InstanceName":"forge3"}],"HotSpots":[]}],"LookDirection":3,"Width":10,"Height":12,"DataBounds":"1, 0, 8, 11","Name":"floor4","Caption":"4 ","Description":[]}],"Pages":[{"NewLineToBR":false,"ExternalUrl":"","Name":"sandknightugsol","Caption":"","Description":["

    ,


    Sand city 9999, :

    ","
    ","

    ? ! , , \" \". . !
    ","

    ","
    \"\" 10 \"\" , , : \"\" , \"\" , \"\" , \"\" (5 .)
    ","
    . , . ","

    , :
    ","
    (10 .) ","
    (10 .)","
    (10 .) ","
    (50 .)
    ","
    :
    (), , 10 c .
    ","


    ","
    \"\" :

    ","
    ","

    , -. , ... , , ... , .
    ","
    .
    , . ( )
    ---
    ? ... , . , ... , . - ... - . 10 . , . , . . ","
    ---
    ? ... , , , . , , ... : , , ,

    ","
    : 10 \"\" . . ","
    . , \"\" .
    ","
    : , , .
    ","
    , ( G3 ). ","
    : \"\" 3. J4 , [8]. ","
    \"\" . \"\" , , , . , . ","

    : , 10- 4 . B10 \"\" , , . ","
    ( ) \"\" \"\" .

    ","
    ","

    ... , ! , .
    .
    , ... ( )","
    ---
    x 10 ","
    ---
    , , ... . ","
    , . ( )

    ","

    , .","
    \"\" \"\" : +12. ","

    :
    \"\" , . . , .
    ","
    .
    ","
    , , .


    "]}],"Shops":[{"NewLineToBR":true,"ImageBasePath":"http://img.combats.ru/i/items/","Categories":[{"NewLineToBR":true,"Items":[{"NewLineToBR":true,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"Key22","Caption":" 2","Description":[": 1",": 0/1"," Sandcity"," "," ",""," E2 ."]}],"Name":"key","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":true,"W":60,"H":20,"Binding":2,"IsGift":false,"Name":"amulet67","Caption":" ()","Description":[": 1",": 62 . ",": 0/50"," :"," : 10 "," : 20 "," : 4 "," :"," (HP): +150"," Sandcity"," "," ",""," , J7."]}],"Name":"amulet","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"sword94","Caption":" ()","Description":[": 19",": 174 . ",": 0/50"," :"," : 25 "," : 25 "," : 25 "," : 25 "," : 8 "," : 2 "," : 5 "," :"," : +1 "," . : +25 % "," . : +45 % "," . : +5 % "," : 27 "," : 15 ",":"," : "," : "," Sandcity"," "," ",""," , B9."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"sword93","Caption":" ()","Description":[": 18",": 177 . ",": 0/80"," :"," : 25 "," : 25 "," : 25 "," : 8 "," : 5 "," :"," : +3 "," : +1 "," . : +20 % "," . : +80 % "," : 30 "," : 11 ",":"," : "," : "," : "," Sandcity"," "," ",""," , B9."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"sword74","Caption":" ()","Description":[": 28",": 260 . ",": 0/50"," :"," : 30 "," : 25 "," : 30 "," : 8 "," : 5 "," :"," : +1 "," . : +25 % "," . : +50 % "," . . : +15 % "," . : +10 % "," : +1 "," : 40 "," : 21 "," :"," ",":"," : "," : "," : "," : "," Sandcity"," "," ",""," , B9."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"sword104","Caption":" ()","Description":[": 17",": 220 . ",": 0/50"," :"," : 45 "," : 15 "," : 15 "," : 50 "," : 9 "," : 5 "," :"," : +2 "," : +2 "," . : +40 % "," . : +40 % "," . : +10 % "," : +2 "," : +34 "," : +12 ",":"," : "," : "," : "," Sandcity"," "," ",""," , D5."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"sword103","Caption":" ()","Description":[": 13",": 220 . ",": 0/50"," :"," : 30 "," : 15 "," : 50 "," : 30 "," : 9 "," :"," : +2 "," . : +50 % "," . : +80 % "," . . : +10 % "," : +2 "," : 34 "," : 12 ",":"," : "," : "," : "," : "," Sandcity"," "," ",""," , D5."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"sword102","Caption":" ()","Description":[":17",": 220 .",": 0/50"," :"," : 55"," : 15"," : 9"," : 5"," : 30"," : 30"," :"," : +2 "," . (%): +35"," . (%): +75"," : +1"," :"," : 12 - 34"," : 2"," . (%): 20"," ",":"," : "," : "," : "," Sandcity"," "," ",""," , D5."]}],"Name":"sword","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"pot_curemana200_30","Caption":" ","Description":[": 1",": 4 .",": 0/2"," : 30 . "," :"," 7",": . "," Sandcity"," "," ",""," , J7."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"pot_base_150_fireproof","Caption":" ","Description":[": 5 ",": 1 . ",": 0/1 "," : 20 . "," : 3 . 0 . "," : "," : 4 "," : "," : +75"," Sandcity"," "," ",""," , B6."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"pot_base_150_earthproof","Caption":" ","Description":[": 5 ",": 1 . ",": 0/1 "," : 20 . "," : 3 . 0 . "," : "," : 4 "," : "," : +75"," Sandcity"," "," ",""," , F4."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"pot_base_150_airproof","Caption":" ","Description":[": 5 ",": 1 . ",": 0/1 "," : 20 . "," : 3 . 0 . "," : "," : 4 "," : "," : +75"," Sandcity"," "," ",""," , C6."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"pot_base_150_waterproof","Caption":" ","Description":[": 5 ",": 1 . ",": 0/1 "," : 20 . "," : 3 . 0 . "," : "," : 4 "," : "," : +75"," Sandcity"," "," ",""," , F8."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"pot_base_200_allmag2","Caption":" ","Description":[": 5",": 1 . ",": 0/1"," : 20 . "," : 3 . 0 . "," :"," : 7"," :"," : +75"," Sandcity"," "," ",""," , H3."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"pot_base_200_bot_pm1","Caption":" ","Description":[": 1",": 1 .",": 0/1"," : 30 ."," : 3 . 0 ."," :"," : 40"," :"," : +20"," Sandcity"," "," ",""," . "," : , , (5 )."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"pot_base_200_bot_pm2","Caption":" ","Description":[": 1",": 0/1"," : 30 ."," : 3 . 0 ."," :"," : 45"," :"," : +25"," Sandcity"," "," ",""," . 10 "]}],"Name":"pot_base","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":true,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"mesh1","Caption":" ","Description":[": 1",": 2000 . ",": 0/1 "," : 180 ."," :"," : 4"," : 15"," :"," : +250"," Sandcity"," "," ",""," ."]}],"Name":"mesh","Caption":"","Description":[]}],"Name":"maters","Caption":"","Description":["

    "]},{"NewLineToBR":false,"ImageBasePath":"http://img.combats.ru/i/items/","Categories":[{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"enhp_13_pm_revard","Caption":" : +12","Description":[": 50 .
    : , [ ]x3
    : 0/1
    :
    (HP): +12
    :
    , 12
    "]},{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"weap_enc_4_1","Caption":" [1]","Description":[": 10 .
    : 0/10
    : 99%

    :
    : 8
    :
    :
    .
    "]}],"Name":"svitki","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":80,"Binding":1,"IsGift":false,"Name":"roba16","Caption":" ","Description":[": 65 .
    :
    (HP): +99"]}],"Name":"roba","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_mat5","Caption":" ","Description":[": 1",": 300 . ",": 0/1 "," ",":"," [10] , ."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_mat13","Caption":" ","Description":[": 1",": 300 . ",": 0/1 "," ",":"," [10] , ."]}],"Name":"sp_mat","Caption":" ","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":true,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"mater275","Caption":" ","Description":[": 28 .
    : 1
    : [ ]x6
    : 0/1

    :
    [10] , .
    "]},{"NewLineToBR":true,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"mater276","Caption":" ","Description":[": 28 .
    : 1
    : [ ]x5
    : 0/1

    :
    [10] , .
    "]}],"Name":"other","Caption":". ","Description":[]}],"Name":"sandknightshop","Caption":"","Description":["

    ,


    ","

    Sand ity 10 000, .

    "]}],"IsDungeon":true,"Name":"sand","Caption":" ","Description":[]}); +new-combats.com.addDungeon({"RequiredScriptNames":["dungeon.data.demons.js","dungeon.data.angel.demons.js","dungeon.data.demons.sand.js","dungeon.data.angel.demons.sand.js","dungeon.data.angel.capital.demons.emerald.novice.sand.js","dungeon.data.capital.demons.emerald.js","dungeon.data.abandon.capital.demons.js","dungeon.data.capital.demons.js","dungeon.data.capital.demons.sand.js","dungeon.data.capital.demons.emerald.sand.js","dungeon.data.capital.demons.emerald.novice.sand.js","dungeon.data.demons.novice.js","dungeon.data.angel.demons.novice.js","dungeon.data.angel.capital.demons.novice.js","dungeon.data.angel.capital.demons.js","dungeon.data.angel.demons.novice.sand.js","dungeon.data.abandon.capital.demons.sand.js"],"NewLineToBR":true,"CellBackgroundColorString":"#E9D7D7","CellBorderColorString":"#906C6C","Jobs":{"CollectiveJobs":[],"CapturedJobs":[{"Caption":"","ImageUrl":"http://img.combats.ru/i/items/mater227.gif","ItemReward":20,"Description":[" - , - ..., \"\" . \"\". ..",""," ."],"DefCount":13},{"Caption":"","ImageUrl":"http://img.combats.ru/i/items/mater200.gif","ItemReward":25,"Description":[" , , \"\" . \"\" , . ... ",""," ."],"DefCount":13},{"Caption":" ","ImageUrl":"http://img.combats.ru/i/items/mater215.gif","ItemReward":25,"Description":[" , , \" \" . \"\" \"\".",""," ."],"DefCount":13}],"KillingJobs":[{"MobName":"sl","Unique":false,"Description":[" , : \"\". \"\"."],"DefCount":10},{"MobName":"pp","Unique":false,"Description":[" , \" \". , \"\". , ... "],"DefCount":4},{"MobName":"zm","Unique":false,"Description":[" , ... \"\". \"\". ...",""," , ..."],"DefCount":3},{"MobName":"drstr","Unique":false,"Description":[" , \" \". \"\"."],"DefCount":2},{"MobName":"prokl","Unique":false,"Description":[" , \" \". \"\"."],"DefCount":3},{"MobName":"brsk","Unique":true,"Description":[" , : \"\". a \"\", . ..."],"DefCount":1},{"MobName":"og","Unique":true,"Description":[" , \" \", \"\". ..."],"DefCount":1},{"MobName":"zsl","Unique":true,"Description":[" , \" \". \"\", . "],"DefCount":1},{"MobName":"hsl","Unique":true,"Description":[" , \" \". Ÿ \"\". !"],"DefCount":1},{"MobName":"chkng","Unique":true,"Description":[" , \"\" . \"\"."],"DefCount":1},{"MobName":"ep","Unique":true,"Description":[" , \"\" . a \"\", ."],"DefCount":1},{"MobName":"shtpvl","Unique":true,"Description":[" , ... \" \". \"\", . ..."],"DefCount":1},{"MobName":"trp","Unique":true,"Description":[" , \"\". \"\". ..."],"DefCount":1},{"MobName":"plen","Unique":true,"Description":[" , \" \". \"\". ... "],"DefCount":1},{"MobName":"pvlt","Unique":true,"Description":[" , \"\". \"\". "],"DefCount":1}]},"Floors":[{"Cells":[{"X":1,"Y":1,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":1,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":1,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":1,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":2,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"bed","InstanceName":"bed2"}],"HotSpots":[]},{"X":4,"Y":2,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"lit","Level":7,"Align":"0","Tag":"","Count":6}],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":3,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":4,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":5,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"ng","Level":8,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":6,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":7,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":3,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":3,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"lit","Level":8,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":4,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"smag_collect1","InstanceName":"sunduk7"}],"HotSpots":[]},{"X":1,"Y":4,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"bed","InstanceName":"bed2"}],"HotSpots":[]},{"X":3,"Y":3,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":3,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"blueteleport","InstanceName":"blueteleport6"}],"HotSpots":[{"HighlightColorString":"Transparent","Opacity":0.9,"ImageUrl":"/i/ugobj/escapepoint_yellow1.gif","CellRefs":[{"X":6,"Y":3}]},{"HighlightColorString":"#3E4F4F","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":2,"Y":10}]}]},{"X":6,"Y":3,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":2,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"rg","Level":8,"Align":"0","Tag":"","Count":2},{"Name":"ng","Level":8,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":1,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":0,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"escapepoint_blue1","InstanceName":"escape"},{"ObjectName":"drain_lowering","InstanceName":"drain1"}],"HotSpots":[]},{"X":7,"Y":1,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":1,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":1,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":3,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"enterdoor","InstanceName":"enterdoor6"}],"HotSpots":[]},{"X":8,"Y":3,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":2,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"attentionpoint_red1","InstanceName":"danger9"}],"HotSpots":[]},{"X":9,"Y":2,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"ng","Level":8,"Align":"0","Tag":"","Count":2},{"Name":"sg","Level":8,"Align":"0","Tag":"","Count":1},{"Name":"lit","Level":7,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":3,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":4,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"chest01","InstanceName":"chest25"}],"HotSpots":[]},{"X":10,"Y":3,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"chest1","InstanceName":"chest13"}],"HotSpots":[]},{"X":6,"Y":4,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"ng","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[{"ObjectName":"key3","InstanceName":"key33"}],"HotSpots":[{"HighlightColorString":"#3E4F4F","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":6,"Y":5}]}]},{"X":6,"Y":5,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"enterdoor","InstanceName":"enterdoor5"}],"HotSpots":[{"HighlightColorString":"#3E4F4F","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":6,"Y":4}]}]},{"X":6,"Y":6,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":7,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"sg","Level":8,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":7,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":5,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":5,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":6,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"smag_collect1","InstanceName":"sunduk7"}],"HotSpots":[]},{"X":1,"Y":6,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"bed","InstanceName":"bed2"}],"HotSpots":[]},{"X":1,"Y":7,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":7,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"lit","Level":8,"Align":"0","Tag":"","Count":1},{"Name":"lit","Level":7,"Align":"0","Tag":"","Count":4}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":8,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"smag_collect1","InstanceName":"sunduk7"}],"HotSpots":[]},{"X":1,"Y":8,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"bed","InstanceName":"bed2"}],"HotSpots":[]},{"X":3,"Y":5,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":7,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":8,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":9,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"ng","Level":9,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":9,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":9,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"og","Level":8,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":9,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":10,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"bed","InstanceName":"bed3"}],"HotSpots":[]},{"X":2,"Y":10,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"smag_collect1","InstanceName":"sunduk11"}],"HotSpots":[{"HighlightColorString":"#3E4F4F","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":5,"Y":3}]}]},{"X":5,"Y":9,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"barrikada","InstanceName":"barrikada"}],"HotSpots":[]},{"X":6,"Y":9,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"ng","Level":8,"Align":"0","Tag":"","Count":2},{"Name":"lit","Level":7,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":8,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":10,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"smag_collect1","InstanceName":"sunduk9"}],"HotSpots":[]},{"X":5,"Y":11,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"smotrmgl","Level":8,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":9,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":9,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":10,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"ng","Level":8,"Align":"0","Tag":"","Count":2},{"Name":"sg","Level":8,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":8,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"sg","Level":8,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":7,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":7,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":8,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":8,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"brsk","Level":9,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":9,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":10,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"chest1","InstanceName":"chest14"}],"HotSpots":[]},{"X":9,"Y":7,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"fountain4","InstanceName":"fountain43"}],"HotSpots":[]},{"X":10,"Y":7,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":6,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"smag_collect1","InstanceName":"sunduk10"}],"HotSpots":[]},{"X":8,"Y":6,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"drain_top","InstanceName":"drain_top2"}],"HotSpots":[]},{"X":5,"Y":12,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"drain_bottom","InstanceName":"drain6"}],"HotSpots":[{"HighlightColorString":"LightCoral","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":5,"Y":11}]}]},{"X":5,"Y":13,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":11,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"strmgl","Level":8,"Align":"0","Tag":"","Count":1},{"Name":"strmgl","Level":8,"Align":"0","Tag":"hp800","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":12,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":13,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":15,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":15,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":15,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"skelet1","InstanceName":"skelet11"}],"HotSpots":[]},{"X":9,"Y":17,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":17,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":17,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":16,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"strmgl","Level":8,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":16,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"stat1","InstanceName":"stat1"}],"HotSpots":[]},{"X":7,"Y":16,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":16,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":16,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"smotrmgl","Level":8,"Align":"0","Tag":"","Count":1},{"Name":"rabmgl","Level":7,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":14,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"strmgl","Level":8,"Align":"0","Tag":"","Count":2},{"Name":"smotrmgl","Level":8,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":15,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":18,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"strmgl","Level":8,"Align":"0","Tag":"","Count":1},{"Name":"rabmgl","Level":7,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":19,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":19,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"drain_bottom","InstanceName":"drain3"}],"HotSpots":[]},{"X":7,"Y":19,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"kamen1","InstanceName":"kamen1"}],"HotSpots":[]},{"X":8,"Y":20,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"escapepoint_blue1","InstanceName":"escape"},{"ObjectName":"proboina","InstanceName":"proboina6"}],"HotSpots":[{"HighlightColorString":"Transparent","Opacity":0.9,"ImageUrl":"/i/ugobj/escapepoint_yellow1.gif","CellRefs":[{"X":12,"Y":18}]}]},{"X":9,"Y":20,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"smotrmgl","Level":8,"Align":"0","Tag":"","Count":2},{"Name":"rabmgl","Level":8,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":20,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"kamen1","InstanceName":"kamen1"}],"HotSpots":[]},{"X":4,"Y":16,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"drain_bottom","InstanceName":"drain3"}],"HotSpots":[]},{"X":3,"Y":16,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"rabmgl","Level":7,"Align":"0","Tag":"","Count":6}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":16,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":16,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":15,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":14,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"strmgl","Level":8,"Align":"0","Tag":"","Count":1},{"Name":"rabmgl","Level":7,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":13,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"kamen1","InstanceName":"kamen1"}],"HotSpots":[]},{"X":2,"Y":13,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"violetteleport","InstanceName":"violetteleport1"}],"HotSpots":[]},{"X":3,"Y":13,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":14,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"smotrmgl","Level":8,"Align":"0","Tag":"","Count":1},{"Name":"rabmgl","Level":7,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":15,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":12,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"yellowteleport","InstanceName":"yellowtelepor2"}],"HotSpots":[]},{"X":4,"Y":13,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"orangeteleport","InstanceName":"orangeteleport"}],"HotSpots":[]},{"X":4,"Y":17,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":17,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"kamen1","InstanceName":"kamen1"}],"HotSpots":[]},{"X":2,"Y":17,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"strmgl","Level":8,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":17,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"strmgl","Level":8,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[{"ObjectName":"gobelin1","InstanceName":"gobelin11"}],"HotSpots":[]},{"X":1,"Y":18,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":18,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":18,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"strmgl","Level":8,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":19,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"drain_bottom","InstanceName":"drain5"}],"HotSpots":[]},{"X":2,"Y":19,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":19,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"smotrmgl","Level":8,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":19,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":20,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":19,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"smotrmgl","Level":8,"Align":"0","Tag":"","Count":1},{"Name":"rabmgl","Level":7,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":19,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"kamen1","InstanceName":"kamen1"}],"HotSpots":[]},{"X":12,"Y":18,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"proboina","InstanceName":"proboina5"}],"HotSpots":[]},{"X":15,"Y":18,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"trash2","InstanceName":"trash22"}],"HotSpots":[]},{"X":12,"Y":17,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"rabmgl","Level":7,"Align":"0","Tag":"","Count":7}],"ObjectRefs":[],"HotSpots":[]},{"X":15,"Y":17,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"rabmgl","Level":8,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":12,"Y":16,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":13,"Y":16,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"sl","Level":8,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":14,"Y":16,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"trash2","InstanceName":"trash22"}],"HotSpots":[]},{"X":15,"Y":16,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"sl","Level":8,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":16,"Y":16,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":13,"Y":15,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"strmgl","Level":8,"Align":"0","Tag":"","Count":2},{"Name":"rabmgl","Level":7,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":13,"Y":14,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":14,"Y":15,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":16,"Y":15,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"trash2","InstanceName":"trash22"}],"HotSpots":[]},{"X":13,"Y":13,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":13,"Y":12,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"fountain7","InstanceName":"fountain7"}],"HotSpots":[]},{"X":15,"Y":14,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"zsl","Level":8,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":15,"Y":13,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":15,"Y":12,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"skelet1","InstanceName":"skelet12"}],"HotSpots":[]},{"X":16,"Y":12,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":17,"Y":12,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"escapepoint_blue1","InstanceName":"escape"},{"ObjectName":"proboina2","InstanceName":"proboina21"}],"HotSpots":[]},{"X":15,"Y":15,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"strmgl","Level":8,"Align":"0","Tag":"","Count":2},{"Name":"rabmgl","Level":8,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":14,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"strmgl","Level":8,"Align":"0","Tag":"","Count":1},{"Name":"smotrmgl","Level":8,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":2,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"smag_collect1","InstanceName":"sunduk7"}],"HotSpots":[]},{"X":1,"Y":21,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"enterdoor","InstanceName":"enterdoor4"}],"HotSpots":[]}],"LookDirection":2,"Width":19,"Height":22,"DataBounds":"1, 0, 17, 22","Name":"floor1","Caption":"1 ","Description":[]},{"Cells":[{"X":1,"Y":1,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"entrancepoint_green1","InstanceName":"enter"},{"ObjectName":"drain_bottom","InstanceName":"drain4"}],"HotSpots":[]},{"X":1,"Y":2,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"ng","Level":8,"Align":"0","Tag":"","Count":2},{"Name":"rg","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":3,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":4,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":4,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":4,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"stglb","Level":9,"Align":"3","Tag":"","Count":1},{"Name":"sg","Level":9,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":2,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":1,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"smag_collect1","InstanceName":"sunduk7"}],"HotSpots":[]},{"X":2,"Y":5,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":7,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":7,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":8,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":10,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"well05","InstanceName":"fountain1"}],"HotSpots":[]},{"X":3,"Y":7,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":8,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":9,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"dangerteleport","InstanceName":"teleport6"}],"HotSpots":[{"HighlightColorString":"Transparent","Opacity":0.9,"ImageUrl":"/i/ugobj/escapepoint_yellow1.gif","CellRefs":[{"X":7,"Y":1}]}]},{"X":4,"Y":7,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":5,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"stat3","InstanceName":"stat3"}],"HotSpots":[]},{"X":4,"Y":6,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"stat2","InstanceName":"stat2"}],"HotSpots":[]},{"X":4,"Y":4,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":8,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":6,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":9,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"sg","Level":9,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":5,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":4,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"stglb","Level":9,"Align":"3","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":3,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":2,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"sg","Level":9,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":4,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":4,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":3,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":4,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":4,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"stglb","Level":9,"Align":"3","Tag":"","Count":1},{"Name":"sg","Level":9,"Align":"0","Tag":"","Count":1},{"Name":"rg","Level":9,"Align":"0","Tag":"","Count":1},{"Name":"ng","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":3,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":4,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":2,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":2,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"kk_stone_2_3e","InstanceName":"kk_stone_2_3e"}],"HotSpots":[]},{"X":9,"Y":1,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"escapepoint_blue1","InstanceName":"escape"},{"ObjectName":"proboina","InstanceName":"proboina4"}],"HotSpots":[{"HighlightColorString":"LightCoral","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":9,"Y":7}]}]},{"X":7,"Y":1,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":2,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"stglb","Level":9,"Align":"3","Tag":"","Count":2},{"Name":"rg","Level":9,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":7,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":7,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"sg","Level":9,"Align":"0","Tag":"","Count":1},{"Name":"sg","Level":9,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":7,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":7,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"ep","Level":9,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":6,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"sunduk_1","InstanceName":"sunduk_13"}],"HotSpots":[]},{"X":9,"Y":6,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":8,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":9,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":10,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"chalice","InstanceName":"halice3"}],"HotSpots":[]},{"X":9,"Y":8,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":9,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"stglb","Level":9,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":12,"Y":1,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"rabmgl","Level":9,"Align":"0","Tag":"","Count":1},{"Name":"strmgl","Level":8,"Align":"0","Tag":"hp800","Count":1},{"Name":"smotrmgl","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":12,"Y":2,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":12,"Y":3,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":13,"Y":3,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":13,"Y":2,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"trash2","InstanceName":"trash22"}],"HotSpots":[]},{"X":13,"Y":1,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":14,"Y":1,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"dangerteleport","InstanceName":"teleport8"}],"HotSpots":[{"HighlightColorString":"Transparent","Opacity":0.9,"ImageUrl":"/i/ugobj/escapepoint_yellow1.gif","CellRefs":[{"X":16,"Y":3}]}]},{"X":15,"Y":1,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":14,"Y":2,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"stat3","InstanceName":"stat3"}],"HotSpots":[]},{"X":15,"Y":2,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":15,"Y":3,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"trash2","InstanceName":"trash22"}],"HotSpots":[]},{"X":14,"Y":3,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"rabmgl","Level":9,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":14,"Y":4,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":14,"Y":5,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":15,"Y":5,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"sl","Level":9,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":13,"Y":5,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"strmgl","Level":8,"Align":"9","Tag":"hp1600","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":13,"Y":6,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":12,"Y":5,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":12,"Y":6,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":12,"Y":7,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"chest1","InstanceName":"chest13"}],"HotSpots":[]},{"X":14,"Y":7,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"trash2","InstanceName":"trash22"}],"HotSpots":[]},{"X":13,"Y":8,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":14,"Y":8,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"sl","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":15,"Y":8,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":14,"Y":9,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":14,"Y":10,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"rabmgl","Level":8,"Align":"0","Tag":"","Count":2},{"Name":"smotrmgl","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":12,"Y":10,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"entrancepoint_green1","InstanceName":"enter9"}],"HotSpots":[]},{"X":15,"Y":10,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"dangerteleport","InstanceName":"teleport7"}],"HotSpots":[{"HighlightColorString":"Transparent","Opacity":0.9,"ImageUrl":"/i/ugobj/escapepoint_yellow1.gif","CellRefs":[{"X":16,"Y":10}]}]},{"X":16,"Y":10,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":17,"Y":10,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"attentionpoint_red1","InstanceName":"danger7"}],"HotSpots":[{"HighlightColorString":"LightCoral","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":17,"Y":9}]}]},{"X":15,"Y":6,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"sl","Level":9,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":16,"Y":6,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"rabmgl","Level":9,"Align":"0","Tag":"","Count":2},{"Name":"strmgl","Level":8,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":16,"Y":7,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"trash2","InstanceName":"trash22"}],"HotSpots":[]},{"X":17,"Y":6,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":17,"Y":5,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":18,"Y":5,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":16,"Y":3,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":16,"Y":2,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"rabmgl","Level":9,"Align":"0","Tag":"","Count":2},{"Name":"strmgl","Level":8,"Align":"0","Tag":"hp800","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":16,"Y":1,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":17,"Y":1,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":17,"Y":2,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"dangerteleport","InstanceName":"teleport9"}],"HotSpots":[{"HighlightColorString":"Transparent","Opacity":0.9,"ImageUrl":"/i/ugobj/escapepoint_yellow1.gif","CellRefs":[{"X":17,"Y":3}]}]},{"X":17,"Y":3,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"sl","Level":9,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":17,"Y":9,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"sl","Level":9,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":18,"Y":9,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":19,"Y":5,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":19,"Y":6,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":20,"Y":5,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":20,"Y":6,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":21,"Y":6,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"trash2","InstanceName":"trash22"}],"HotSpots":[]},{"X":20,"Y":7,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"rabmgl","Level":8,"Align":"0","Tag":"","Count":2},{"Name":"strmgl","Level":8,"Align":"0","Tag":"hp800","Count":1},{"Name":"smotrmgl","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":20,"Y":8,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":19,"Y":8,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":20,"Y":9,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"stat1","InstanceName":"stat1"}],"HotSpots":[]},{"X":20,"Y":10,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"well05","InstanceName":"well03"}],"HotSpots":[]},{"X":19,"Y":10,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"strmgl","Level":8,"Align":"0","Tag":"hp800","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":20,"Y":4,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"trash2","InstanceName":"trash22"}],"HotSpots":[]},{"X":20,"Y":3,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"hsl","Level":9,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":21,"Y":3,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"chest01","InstanceName":"chest25"}],"HotSpots":[]},{"X":19,"Y":3,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":18,"Y":3,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"sl","Level":9,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":20,"Y":2,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"kk_stone_2_3ch","InstanceName":"kk_stone_2_3ch"}],"HotSpots":[]},{"X":21,"Y":1,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"escapepoint_blue1","InstanceName":"escape"},{"ObjectName":"proboina2","InstanceName":"proboina2"}],"HotSpots":[]},{"X":20,"Y":1,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"sunduk_1","InstanceName":"sunduk_14"}],"HotSpots":[]},{"X":19,"Y":1,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"chkng","Level":9,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":18,"Y":1,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"rabmgl","Level":9,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":18,"Y":2,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"trash2","InstanceName":"trash22"}],"HotSpots":[]},{"X":2,"Y":6,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"sg","Level":8,"Align":"0","Tag":"","Count":2},{"Name":"stglb","Level":9,"Align":"3","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":9,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"sg","Level":8,"Align":"0","Tag":"","Count":2},{"Name":"rg","Level":9,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":13,"Y":10,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"sl","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":19,"Y":9,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"sl","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":7,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"stglb","Level":9,"Align":"3","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":1,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"altar","InstanceName":"altar3"}],"HotSpots":[]},{"X":4,"Y":5,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"altar","InstanceName":"altar3"}],"HotSpots":[]},{"X":3,"Y":6,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"altar","InstanceName":"altar3"}],"HotSpots":[]},{"X":5,"Y":10,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"altar","InstanceName":"altar3"}],"HotSpots":[]},{"X":9,"Y":10,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"altar","InstanceName":"altar5"}],"HotSpots":[]},{"X":8,"Y":6,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"altar","InstanceName":"altar3"}],"HotSpots":[]},{"X":10,"Y":7,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"altar","InstanceName":"altar3"}],"HotSpots":[]},{"X":3,"Y":10,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"smag_collect1","InstanceName":"sunduk8"}],"HotSpots":[]},{"X":3,"Y":3,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"attentionpoint_red1","InstanceName":"danger8"}],"HotSpots":[]}],"LookDirection":2,"Width":23,"Height":12,"DataBounds":"1, 1, 21, 10","Name":"floor2","Caption":"2 ","Description":[]},{"Cells":[{"X":1,"Y":0,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"entrancepoint_green1","InstanceName":"enter3"}],"HotSpots":[]},{"X":1,"Y":1,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"drain_bottom","InstanceName":"drain3"}],"HotSpots":[]},{"X":2,"Y":1,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"prokl","Level":10,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":0,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"fountain5","InstanceName":"fountain55"}],"HotSpots":[]},{"X":4,"Y":0,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":1,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":0,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"chest4","InstanceName":"chest15"}],"HotSpots":[]},{"X":7,"Y":0,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":1,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"attentionpoint_red1","InstanceName":"danger6"}],"HotSpots":[]},{"X":5,"Y":1,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"trash2","InstanceName":"trash22"}],"HotSpots":[]},{"X":8,"Y":1,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":1,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"trp","Level":10,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":1,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":0,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"trash2","InstanceName":"trash22"}],"HotSpots":[]},{"X":2,"Y":2,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":3,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pp","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":3,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"trash2","InstanceName":"trash22"}],"HotSpots":[]},{"X":2,"Y":4,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"landslip1","InstanceName":"landslip11"}],"HotSpots":[]},{"X":2,"Y":5,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"chest4","InstanceName":"chest15"}],"HotSpots":[]},{"X":2,"Y":6,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"kk_stone_3_4","InstanceName":"kk_stone_3_4"}],"HotSpots":[]},{"X":1,"Y":6,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"escapepoint_blue1","InstanceName":"escape"},{"ObjectName":"blueteleport","InstanceName":"blueteleport5"}],"HotSpots":[]},{"X":2,"Y":7,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"chest4","InstanceName":"chest15"}],"HotSpots":[]},{"X":2,"Y":8,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"landslip1","InstanceName":"landslip11"}],"HotSpots":[]},{"X":2,"Y":9,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":9,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":2,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":2,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"zm","Level":10,"Align":"0","Tag":"","Count":1},{"Name":"prokl","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":3,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"pp","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":3,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":3,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"zm","Level":10,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":2,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"trash2","InstanceName":"trash22"}],"HotSpots":[]},{"X":7,"Y":3,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":3,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":2,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"trash2","InstanceName":"trash22"}],"HotSpots":[]},{"X":5,"Y":4,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"prokl","Level":10,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":5,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":6,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"shtpvl","Level":10,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":7,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":6,"Border":{"Left":0,"Top":2,"Right":1,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":6,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"dangerteleport","InstanceName":"teleport5"}],"HotSpots":[{"HighlightColorString":"Transparent","Opacity":0.9,"ImageUrl":"/i/ugobj/escapepoint_yellow1.gif","CellRefs":[{"X":5,"Y":5}]}]},{"X":5,"Y":5,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":1},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":5,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"trash2","InstanceName":"trash22"}],"HotSpots":[]},{"X":5,"Y":7,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"dangerteleport","InstanceName":"teleport4"}],"HotSpots":[{"HighlightColorString":"Transparent","Opacity":0.9,"ImageUrl":"/i/ugobj/escapepoint_yellow1.gif","CellRefs":[{"X":4,"Y":6}]}]},{"X":6,"Y":7,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"drain_bottom","InstanceName":"drain3"}],"HotSpots":[]},{"X":5,"Y":8,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":8,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"skelet1","InstanceName":"skelet11"}],"HotSpots":[]},{"X":4,"Y":9,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":10,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":10,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":11,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"zm","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":12,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":11,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"zm","Level":10,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":11,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pp","Level":10,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":11,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":11,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":11,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"prokl","Level":10,"Align":"0","Tag":"","Count":2},{"Name":"zm","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":10,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":9,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":8,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"prokl","Level":10,"Align":"0","Tag":"","Count":1},{"Name":"zm","Level":10,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":7,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":6,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":6,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"trash2","InstanceName":"trash22"}],"HotSpots":[]},{"X":9,"Y":3,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"zm","Level":10,"Align":"0","Tag":"","Count":2},{"Name":"prokl","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":2,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pp","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":4,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"bzomb","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":4,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":5,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"drain_bottom","InstanceName":"drain3"}],"HotSpots":[]},{"X":10,"Y":5,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":6,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"prokl","Level":10,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":7,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pp","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":8,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":9,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"prokl","Level":10,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":10,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"drain_bottom","InstanceName":"drain3"}],"HotSpots":[]},{"X":10,"Y":11,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pp","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":8,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"landslip1","InstanceName":"landslip11"}],"HotSpots":[]},{"X":9,"Y":8,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":11,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":11,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"drain_bottom","InstanceName":"drain3"}],"HotSpots":[]},{"X":2,"Y":12,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":12,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":13,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"zm","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":13,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"trash2","InstanceName":"trash22"}],"HotSpots":[]},{"X":4,"Y":13,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":13,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"zm","Level":10,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":14,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":15,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"zm","Level":10,"Align":"0","Tag":"","Count":2},{"Name":"zm","Level":10,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":15,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":15,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"zm","Level":10,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":15,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pp","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":15,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":16,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"zm","Level":10,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":17,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pp","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":12,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"prokl","Level":10,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":13,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"bzomb","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":14,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pp","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":15,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"zm","Level":10,"Align":"0","Tag":"","Count":2},{"Name":"prokl","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":16,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":17,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":12,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":13,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":13,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"trash2","InstanceName":"trash22"}],"HotSpots":[]},{"X":9,"Y":14,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"proboina","InstanceName":"proboina3"}],"HotSpots":[]},{"X":8,"Y":14,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"chalice","InstanceName":"halice2"}],"HotSpots":[]},{"X":7,"Y":14,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"chest4","InstanceName":"chest15"}],"HotSpots":[]},{"X":7,"Y":15,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":15,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"plen","Level":10,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":15,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":18,"Border":{"Left":0,"Top":1,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"arrowup","InstanceName":"arrow1"}],"HotSpots":[]},{"X":9,"Y":18,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":19,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"chest01","InstanceName":"chest24"}],"HotSpots":[]},{"X":8,"Y":19,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":18,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"zm","Level":10,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":17,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":17,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":17,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":17,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"zm","Level":10,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":19,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"trash2","InstanceName":"trash22"}],"HotSpots":[]},{"X":6,"Y":19,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":17,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":17,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"trash2","InstanceName":"trash22"}],"HotSpots":[]},{"X":5,"Y":19,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"pp","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":19,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":19,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"zm","Level":10,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":19,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":18,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"zm","Level":10,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":19,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"entrancepoint_green1","InstanceName":"ladder02"}],"HotSpots":[]},{"X":2,"Y":20,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":18,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":13,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"pp","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":3,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"landslip1","InstanceName":"landslip11"}],"HotSpots":[]}],"LookDirection":2,"Width":12,"Height":21,"DataBounds":"1, 0, 10, 21","Name":"floor3","Caption":"3 ","Description":[]},{"Cells":[{"X":1,"Y":8,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"zm","Level":10,"Align":"9","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":9,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"lab","InstanceName":"lab4"}],"HotSpots":[{"HighlightColorString":"#3E4F4F","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":1,"Y":8},{"X":1,"Y":10},{"X":2,"Y":8},{"X":3,"Y":8},{"X":3,"Y":9},{"X":4,"Y":10},{"X":4,"Y":9},{"X":4,"Y":8},{"X":3,"Y":10},{"X":2,"Y":10},{"X":2,"Y":9}]}]},{"X":1,"Y":10,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"zm","Level":10,"Align":"9","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":8,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"zm","Level":10,"Align":"9","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":8,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"prokl","Level":10,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":9,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":10,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":9,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"prokl","Level":10,"Align":"9","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":8,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":9,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"bzomb","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":9,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"prokl","Level":10,"Align":"9","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":8,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":6,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":5,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":9,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"bzomb","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":8,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":7,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"bzomb","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":9,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":9,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"bzomb","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":8,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":10,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"entrancepoint_green1","InstanceName":"enter10"}],"HotSpots":[]},{"X":9,"Y":7,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":7,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"bzomb","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":6,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"prokl","Level":10,"Align":"9","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":6,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":6,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"prokl","Level":10,"Align":"9","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":5,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":4,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":4,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"drstr","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":4,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":4,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"drstr","Level":10,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":3,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"drstr","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":2,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":1,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"drstr","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":1,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"drstr","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":2,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":3,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"drstr","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":2,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"attentionpoint_red1","InstanceName":"danger10"}],"HotSpots":[{"HighlightColorString":"LightCoral","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":10,"Y":3},{"X":10,"Y":1},{"X":8,"Y":1},{"X":8,"Y":3}]}]},{"X":9,"Y":3,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":1,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"drstr","Level":10,"Align":"9","Tag":" 10 ","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":1,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":1,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"enterdoor","InstanceName":"enterdoor3"}],"HotSpots":[{"HighlightColorString":"#3E4F4F","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":7,"Y":1}]}]},{"X":3,"Y":1,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":1,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"vumpel1","InstanceName":"vumpel11"}],"HotSpots":[]},{"X":1,"Y":1,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":2,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":4,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"gobelin2","InstanceName":"gobelin2"}],"HotSpots":[]},{"X":2,"Y":4,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"throne1","InstanceName":"throne11"}],"HotSpots":[]},{"X":1,"Y":3,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"sunduk_3","InstanceName":"sunduk_32"}],"HotSpots":[]},{"X":2,"Y":3,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pvlt","Level":10,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":2,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"attentionpoint_red1","InstanceName":"danger5"}],"HotSpots":[{"HighlightColorString":"LightCoral","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":2,"Y":3}]}]},{"X":1,"Y":2,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"attentionpoint_red1","InstanceName":"danger5"}],"HotSpots":[{"HighlightColorString":"LightCoral","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":2,"Y":3}]}]},{"X":6,"Y":4,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":4,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"drstr","Level":10,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":3,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":2,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"drstr","Level":10,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":2,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":2,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"drstr","Level":10,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":3,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":3,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":10,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"prokl","Level":10,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":10,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"zm","Level":10,"Align":"9","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":9,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"drstr","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":9,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"prokl","Level":10,"Align":"9","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":1,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"altar","InstanceName":"altar4"}],"HotSpots":[]},{"X":6,"Y":7,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"altar","InstanceName":"altar3"}],"HotSpots":[]},{"X":1,"Y":4,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"gobelin1","InstanceName":"gobelin11"}],"HotSpots":[]},{"X":7,"Y":1,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"sunduk_1","InstanceName":"sunduk_12"}],"HotSpots":[{"HighlightColorString":"#3E4F4F","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":4,"Y":1}]},{"HighlightColorString":"#3E4F4F","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":1,"Y":8},{"X":1,"Y":9},{"X":1,"Y":10},{"X":2,"Y":8},{"X":3,"Y":8},{"X":3,"Y":9},{"X":4,"Y":10},{"X":4,"Y":9},{"X":4,"Y":8},{"X":3,"Y":10},{"X":2,"Y":10},{"X":2,"Y":9}]}]},{"X":3,"Y":3,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"sunduk_4","InstanceName":"sunduk_41"}],"HotSpots":[]},{"X":0,"Y":1,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"zabgol","Level":11,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[{"ObjectName":"forge","InstanceName":"forge4"}],"HotSpots":[]}],"LookDirection":2,"Width":12,"Height":12,"DataBounds":"0, 1, 11, 10","Name":"floor4","Caption":"4 ","Description":[]}],"Pages":[],"Shops":[{"NewLineToBR":true,"ImageBasePath":"http://img.combats.ru/i/items/","Categories":[{"NewLineToBR":true,"Items":[{"NewLineToBR":true,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"Key24","Caption":" 4","Description":[": 1",": 0/1"," Demons city"," "," ",""," , B4."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"kk_stone_2_3ch","Caption":" ","Description":[": 1",": 0/1"," : 7 ."," Demons city"," "," ",""," U3 ."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"kk_stone_2_3e","Caption":" ","Description":[": 1",": 0/1"," : 7 ."," Demons city"," "," ",""," K3 ."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"kk_stone_3_4","Caption":" ","Description":[": 1",": 0/1"," : 7 .",": 1 ."," Demons city"," "," ",""," 7 ."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"key_cube_1","Caption":" ","Description":[": 1",": 0/1"," Demons city"," "," ",""," K7/b> . "," , ."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"key_cube_2","Caption":" ","Description":[": 1",": 0/1"," Demons city"," "," ",""," U2 . "," , ."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"key_cube_3","Caption":" ","Description":[": 1",": 0/1"," Demons city"," "," "]}],"Name":"key","Caption":"","Description":[" : ( E14), ( D13) ( C14). K .",""," . , J2 ."]},{"NewLineToBR":true,"Items":[{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"d_blat-6","Caption":" ","Description":[": 1",": 1 .",": 0/1"," : 99%"," 5 . ",":"," 6 ."," Demons city"," "," ",""," , C11."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"paper100","Caption":" 10 . ","Description":[": 1 ",": 10 .",": 0/1"," Demons city"," "," ",""," , K4, K7, K11."," . . , . "]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"preservation","Caption":"","Description":[": 1 ",": 1 . "," : 99% "," : "," : "," ..."," Demons city"," "," ",""," , B20."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"spell_powerHPup3","Caption":" +3","Description":[": 1 ",": 20 . ",": 0/3 "," : 50% "," : 120 . "," : "," : 7"," Demons city"," "," ",""]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"spell_powerHPdn3","Caption":" 3","Description":[": 1 ",": 10 . ",": 0/3 "," : 50% "," : 120 . "," : "," : 7"," Demons city"," "," "]}],"Name":"spell","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"enh_1_0","Caption":" [0]","Description":[": 1 ",": 5 . ",": 0/1 ",":"," - . ..."," Demons city"," "," ",""," ."," , D4 ."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"enh_1_1","Caption":" [1]","Description":[": 1 ",": 15 . ",": 0/1 "," : 99%",":"," - . , ."," Demons city"," "," ",""," ."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"enh_1_2","Caption":" [2]","Description":[": 1 ",": 50 . ",": 0/1 "," : 99%",":"," - . , ."," Demons city"," "," ",""]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"enh_1_3","Caption":" [3]","Description":[": 1 ",": 150 . "," : 99%",": 0/1 ",":"," , ."," Demons city"," "," "]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"enh_3_0","Caption":" [0]","Description":[": 1 ",": 5 . ",": 0/1 ",":"," - . ..."," Demons city"," "," ",""," ."," , D4 ."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"enh_3_1","Caption":" [1]","Description":[": 1 ",": 15 . ",": 0/1 "," : 99%",":"," - . ."," Demons city"," "," ",""," ."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"enh_3_2","Caption":" [2]","Description":[": 1 ",": 50 . ",": 0/1 "," : 99%",":"," - . ."," Demons city"," "," ",""]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"enh_3_3","Caption":" [3]","Description":[": 1 ",": 150 . "," : 99%",": 0/1 ",":"," ."," Demons city"," "," "]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"enh_4_0","Caption":" [0]","Description":[": 1 ",": 5 . ",": 0/1 ",":"," - . ..."," Demons city"," "," ",""," ."," , D4 ."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"enh_4_1","Caption":" [1]","Description":[": 1 ",": 15 . ",": 0/1 "," : 99%",":"," - . ."," Demons city"," "," ",""," ."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"enh_4_2","Caption":" [2]","Description":[": 1 ",": 50 . ",": 0/1 "," : 99%",":"," - . ."," Demons city"," "," "]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"enh_4_3","Caption":" [3]","Description":[": 1 ",": 150 . "," : 99%",": 0/1 ",":"," ."," Demons city"," "," "]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"enh_5_0","Caption":" [0]","Description":[": 1 ",": 5 . ",": 0/1 ",":"," - . ..."," Demons city"," "," ",""," ."," , D4 ."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"enh_5_1","Caption":" [1]","Description":[": 1 ",": 15 . ",": 0/1 "," : 99%",":"," - . , ."," Demons city"," "," ",""," ."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"enh_5_2","Caption":" [2]","Description":[": 1 ",": 50 . ",": 0/1 "," : 99%",":"," - . , ."," Demons city"," "," "]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"enh_5_3","Caption":" [3]","Description":[": 1 ",": 150 . "," : 99%",": 0/1 ",":"," , ."," Demons city"," "," "]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"enh_9_0","Caption":" [0]","Description":[": 1 ",": 5 . ",": 0/1 ",":"," - . ..."," Demons city"," "," ",""," ."," , D4 ."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"enh_9_1","Caption":" [1]","Description":[": 1 ",": 15 . ",": 0/1 "," : 99%",":"," - . ."," Demons city"," "," ",""," ."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"enh_9_2","Caption":" [2]","Description":[": 1 ",": 50 . ",": 0/1 "," : 99%",":"," - . ."," Demons city"," "," "]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"enh_9_3","Caption":" [3]","Description":[": 1 ",": 150 . "," : 99%",": 0/1 ",":"," ."," Demons city"," "," "]}],"Name":"enh","Caption":" ","Description":[" , B10.",""," , , .",""," ."]},{"NewLineToBR":true,"Items":[{"NewLineToBR":true,"W":20,"H":20,"Binding":2,"IsGift":false,"Name":"ring120_si8","Caption":" ","Description":[": 1 ",": 100 . ",": 0/50 "," : "," : 9 "," : 3 "," : 25 "," : 25 "," : "," : "," . (%): +50"," Demons city"," "," ",""," ."]},{"NewLineToBR":true,"W":20,"H":20,"Binding":2,"IsGift":false,"Name":"ring121_si8","Caption":" ","Description":[": 1 ",": 100 . ",": 0/50 "," : "," : 9 "," : 3 "," : 25 "," : 25 "," : "," : "," . (%): +25 "," . (%): +25"," Demons city"," "," ",""," ."]}],"Name":"rings","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":true,"W":60,"H":20,"Binding":3,"IsGift":false,"Name":"aamulet2_hs3hg2","Caption":" ","Description":[": 1",": 415 . ",": 0/100"," :"," : 50 "," : 20 "," : 20 "," : 35 "," : 10 "," :"," : +4 "," : +4"," : +15"," : +10"," (HP): +120 "," . : +125%"," . : +125%"," : +2"," , : +2"," , : +2"," , : +2"," Demons city"," "," ",""," ."]}],"Name":"amulet","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":true,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"ashield6_7dk29as","Caption":" ","Description":[": 390 .",": 0/100"," :"," : 10"," : 20"," : 20"," : 50"," : 75"," :"," . (%): +75"," . (%): +45"," : +10"," (HP): +90"," : +4"," : 14-52 (13+d39)"," : 14-52 (13+d39)"," : 14-52 (13+d39)"," : 14-52 (13+d39)"," :"," . (%): +25"," Demons city"," "," ",""," ."]}],"Name":"shield","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":true,"W":60,"H":40,"Binding":3,"IsGift":false,"Name":"aboots2_dk2kd9","Caption":" ","Description":[": 10",": 310 . ",": 0/100"," :"," : 50 "," : 50 "," : 20 "," : 35 "," : 10 "," :"," : +6 "," : +2 "," : +20 "," (HP): +54"," : 14-52 (13+d39) "," . : +70 % "," . : +70 % "," :"," : +15"," Demons city"," "," ",""," , ."]}],"Name":"boots","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":true,"W":60,"H":60,"Binding":2,"IsGift":false,"Name":"hammer71","Caption":" ()","Description":[": 30 ",": 370 . ",": 0/60 "," : "," : 15 "," : 15 "," : 9 "," , : 5 "," : 50 "," : 55 "," : "," . (%): +20 "," : +2 "," : "," : 34 - 52"," . (%): +80 "," . (%): +25 "," , : +2 "," "," : + ",": "," : "," : "," : [0/13] "," Demons city"," "," ",""," ."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"sword106_kki8","Caption":" ","Description":[": 20",": 280 . ",": 0/70"," :"," : 50 "," : 25 "," : 25 "," : 35 "," : 10 "," : 5 "," :"," . (%): +10"," :"," : 14 - 38"," . : +80 % "," . : +10 % "," : +3"," : ",":"," : "," : "," : "," : "," Demons city"," "," ",""," ."]}],"Name":"arms","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"sword8","Caption":" ","Description":[": 8 ",": 0 . ",": 0/3 "," : "," : 4 "," : 20 "," : 20 "," : "," : 7 - 18 "," . (%): +50 "," : + ",": "," : "," : "," : "," : "," Demons city"," "," ",""," ."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"sword11","Caption":" ","Description":[": 8 ",": 0 . ",": 0/3 "," : "," : 3 "," : 15 "," : 15 "," : "," . (%): +50 "," : "," : 5 - 16 "," . (%): +50 "," : +2 "," : + ",": "," : "," : "," : "," : "," Demons city"," "," ",""," ."]},{"NewLineToBR":true,"W":60,"H":80,"Binding":0,"IsGift":false,"Name":"armor8","Caption":"c ","Description":[": 25 ",": 0/3 "," : "," : 5 "," : 25 "," : 25 "," : "," . (%): +25 "," . (%): +20 "," . (%): +25 "," : +1 "," : +1 "," , : +1 "," , : +1 "," , : +1 "," (HP): +33 "," : +4 "," : 1-18 (d18)"," Demons city"," "," ",""," ."]},{"NewLineToBR":true,"W":60,"H":20,"Binding":0,"IsGift":false,"Name":"clip8","Caption":" ","Description":[": 1 ",": 0 . ",": 0/3 "," : "," : 3 "," : 15 "," : 15 "," : "," . (%): +20 "," . (%): +20 "," . (%): +20 "," . (%): +20"," Demons city"," "," ",""," ."]},{"NewLineToBR":true,"W":60,"H":20,"Binding":0,"IsGift":false,"Name":"clip7","Caption":" ","Description":[": 1 ",": 0 . ",": 0/3 "," : "," : 2 "," : 8 "," : 8 "," : "," : +3 "," : +3 "," : +3 "," : +3"," Demons city"," "," "]},{"NewLineToBR":true,"W":60,"H":20,"Binding":0,"IsGift":false,"Name":"clip1","Caption":" ","Description":[": 1 ",": 0 . ",": 0/3 "," : "," : 4 "," : 15 "," : 20 "," : "," : +12 "," . (%): +50"," Demons city"," "," ",""]}],"Name":"rar","Caption":" ","Description":[" ."]},{"NewLineToBR":true,"Items":[{"NewLineToBR":true,"W":60,"H":80,"Binding":3,"IsGift":false,"Name":"armor109_ppwa","Caption":" ","Description":[": 45",": 525 . ",": 0/100"," :"," : 45 "," : 40 "," : 10 "," :"," : +4 "," : +35"," : +25"," (HP): +200"," . (%): +60 +75 "," . : +100%"," . : +65%"," : +2"," , : +2"," , : +2"," , : +2"," :"," : +25",":"," : "," : "," : "," : "," Demons city"," "," ",""," ."]},{"NewLineToBR":true,"W":60,"H":80,"Binding":3,"IsGift":false,"Name":"armor109_ppwa","Caption":" ","Description":[": 45",": 525 . ",": 0/100"," :"," : 45 "," : 40 "," : 10 "," :"," : +4 "," : +35"," : +25"," (HP): +200"," . (%): +60 +75 "," . : +100%"," . : +65%"," : +2"," , : +2"," , : +2"," , : +2"," :"," : +25",":"," : "," : "," : "," : "," Demons city"," "," ",""," ."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"sword107_ppwl","Caption":" ","Description":[": 35",": 420 . ",": 0/100"," :"," : 10 "," : 5 "," : 40 "," : 40 "," :"," . (%): +100 "," : +9 +12 "," :"," : 30 - 48 "," : +3 "," "," : + ",":"," : "," : "," : "," Demons city"," "," ",""," ."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"sword107_ppwl","Caption":" ","Description":[": 35",": 420 . ",": 0/100"," :"," : 10 "," : 5 "," : 40 "," : 40 "," :"," . (%): +100 "," : +9 +12 "," :"," : 30 - 48 "," : +3 "," "," : + ",":"," : "," : "," : "," Demons city"," "," ",""," ."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":3,"IsGift":false,"Name":"sword107_ppwl","Caption":" ","Description":[": 35",": 420 . ",": 0/100"," :"," : 10 "," : 5 "," : 40 "," : 40 "," :"," . (%): +100 "," : +9 +12 "," :"," : 30 - 48 "," : +3 "," "," : + ",":"," : "," : "," : "," Demons city"," "," ",""," ."]}],"Name":"armorsword","Caption":" ","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"pot_base_200_bot3","Caption":" ","Description":[": 1 ",": 1 . ","e: 0/1 "," o: 30 . ","e : 1 . 30 . ","e : "," : +15 "," Demons city"," "," ",""," ."," , C11."," , B11 , U11."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"pot_base_200_bot3","Caption":" ","Description":[": 1 ",": 1 . ","e: 0/1 "," o: 30 . ","e : 3 . 0 . ","e : "," : +15 "," Demons city"," "," ",""," , D1."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"pot_base_200_bot2","Caption":" ","Description":[": 1 ",": 1 . ","e: 0/1 "," o: 30 . ","e : 1 . 30 . ","e : "," : +15 "," Demons city"," "," ",""," ."," , C11."," , B11 , U11."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"pot_base_200_bot2","Caption":" ","Description":[": 1 ",": 1 . ","e: 0/1 "," o: 30 . ","e : 3 . 0 . ","e : "," : +15 "," Demons city"," "," ",""," , D1."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"pot_base_200_bot1","Caption":" ","Description":[": 1 ",": 1 . ","e: 0/1 "," o: 30 . ","e : 1 . 30 . ","e : "," : +15 "," Demons city"," "," ",""," ."," , C11."," , B11 , U11."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"pot_base_200_bot1","Caption":" ","Description":[": 1 ",": 1 . ","e: 0/1 "," o: 30 . ","e : 3 . 0 . ","e : "," : +15 "," Demons city"," "," ",""," , D1."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"pot_base_200_bot4","Caption":" ","Description":[": 1 ",": 1 . ","e: 0/1 "," o: 30 . ","e : 1 . 30 . ","e : "," : +10 "," Demons city"," "," ",""," ."," , C11."," , B11 , U11."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"pot_base_200_bot4","Caption":" ","Description":[": 1 ",": 1 . ","e: 0/1 "," o: 30 . ","e : 3 . 0 . ","e : "," : +10 "," Demons city"," "," ",""," , D1."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"pot_base_50_fireproof","Caption":" ","Description":[": 5 ",": 1 . ",": 0/1"," : 30 ."," : 1 . 30 . "," : "," : 4 "," : "," : +50 "," Demons city"," "," ",""," , F11."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"pot_base_50_earthproof","Caption":" ","Description":[": 5 ",": 1 . ",": 0/1"," : 30 ."," : 1 . 30 . "," : "," : 4 "," : "," : +50 "," Demons city"," "," ",""," , F11."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"pot_base_50_airproof","Caption":" ","Description":[": 5 ",": 1 . ",": 0/1"," : 30 ."," : 1 . 30 . "," : "," : 4 "," : "," : +50 "," Demons city"," "," ",""," , F11."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"pot_base_50_waterproof","Caption":" ","Description":[": 5 ",": 1 . ",": 0/1"," : 30 ."," : 1 . 30 . "," : "," : 4 "," : "," : +50 "," Demons city"," "," ",""," , F11."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"pot_anti_poison_5","Caption":" [5]","Description":[": 1",": 1 . ",": 0/3-5"," : 30 ."," : ",":"," ."," Demons city"," "," ",""," , H11."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"pot_anti_disease_5","Caption":" [5]","Description":[": 1",": 1 . ",": 0/3-5"," : 30 ."," : ",":"," "," Demons city"," "," ",""," , I15."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"pot_cureHP600_50","Caption":" ","Description":[": 1 ",": 1 . ",": 0/1"," : 30 . ",":"," 600 ."," Demons city"," "," ",""," , J8."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"pot_base_50_regeneration","Caption":" ","Description":[": 5 ",": 10 . ",": 0/10 "," : 15 . "," : 120 "," : "," HP: +300%"," Demons city"," "," ",""," ."]}],"Name":"pot_base","Caption":"","Description":[", , ."]}],"Name":"maters","Caption":"","Description":["

    "]},{"NewLineToBR":true,"ImageBasePath":"http://img.combats.ru/i/items/","Categories":[{"NewLineToBR":true,"Items":[{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_mat15","Caption":" ","Description":[": 1",": 300 . ",": 0/1 "," ",":"," [10] , ."]}],"Name":"sp_mat","Caption":" ","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":60,"Binding":1,"IsGift":false,"Name":"mater267","Caption":" ","Description":[": 40 .
    : 1
    : [ ]x8
    : 0/1

    :
    [10] , .
    "]}],"Name":"other","Caption":". ","Description":[]}],"Name":"demonsknightshop","Caption":"","Description":["

    ,


    ","

    Demons ity 10 000, .

    "]}],"IsDungeon":true,"Name":"demons","Caption":"","Description":[]}); +new-combats.com.addDungeon({"RequiredScriptNames":["dungeon.data.emerald.js","dungeon.data.angel.capital.demons.emerald.novice.sand.js","dungeon.data.capital.demons.emerald.js","dungeon.data.abandon.capital.emerald.sand.js","dungeon.data.angel.capital.emerald.sand.js","dungeon.data.capital.demons.emerald.sand.js","dungeon.data.capital.emerald.sand.js","dungeon.data.capital.demons.emerald.novice.sand.js"],"NewLineToBR":true,"CellBackgroundColorString":"#C4E5C1","CellBorderColorString":"#70906A","Jobs":{"CollectiveJobs":[{"Caption":" ","ImageUrl":"http://img.combats.ru/i/items/mater203.gif","ItemReward":4,"Description":[" \" \" . \" \", , . ..."],"DefCount":25},{"Caption":" ","ImageUrl":"http://img.combats.ru/i/items/mater213.gif","ItemReward":20,"Description":[" , , \" \" . \" \"."],"DefCount":5},{"Caption":"","ImageUrl":"http://img.combats.ru/i/items/mater223.gif","ItemReward":13,"Description":[" , \"\" . \" \". "],"DefCount":13},{"Caption":"","ImageUrl":"http://img.combats.ru/i/items/mater214.gif","ItemReward":10,"Description":[" , , \"\" . \" \", , . "],"DefCount":13},{"Caption":" ","ImageUrl":"http://img.combats.ru/i/items/mater222.gif","ItemReward":3,"Description":[" , \" \" . \" \" . ... "],"DefCount":35}],"CapturedJobs":[{"Caption":" ","ImageUrl":"http://img.combats.ru/i/items/mater225.gif","ItemReward":50,"Description":[" , \" \" . c \" \". ... ",""," [10] ."],"DefCount":10},{"Caption":" ","ImageUrl":"http://img.combats.ru/i/items/mater226.gif","ItemReward":50,"Description":[" , \" \" . \" \". ",""," [10] ."],"DefCount":10},{"Caption":" ","ImageUrl":"http://img.combats.ru/i/items/mater219.gif","ItemReward":25,"Description":[" , \" \" . \" \". , ... ",""," ."],"DefCount":13}],"KillingJobs":[{"MobName":"skr","Unique":false,"Description":[" , \" \", \" \"."],"DefCount":10},{"MobName":"bkr","Unique":false,"Description":[" , \" \", \" \". , ..."],"DefCount":10},{"MobName":"pkr","Unique":false,"Description":[" , \" \", \" \". "],"DefCount":8},{"MobName":"dkr","Unique":false,"Description":[" , \" \", \" \"."],"DefCount":8}]},"Floors":[{"Cells":[{"X":1,"Y":9,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":9,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":9,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"dkr","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":8,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"bkr","Level":8,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":8,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pkr","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":9,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":9,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"bkr","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":9,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":8,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"skr","Level":8,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":10,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":10,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"bkr","Level":8,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":10,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":10,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"entrancepoint_green1","InstanceName":"enter2"}],"HotSpots":[]},{"X":9,"Y":9,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":8,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"skr","Level":8,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":7,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":7,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":6,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"skr","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":5,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":5,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"dkr","Level":8,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":4,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":3,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"bkr","Level":8,"Align":"0","Tag":"","Count":1},{"Name":"skr","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":7,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"fountain5","InstanceName":"fountain52"}],"HotSpots":[{"HighlightColorString":"#3E4F4F","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":2,"Y":2},{"X":3,"Y":2},{"X":4,"Y":2},{"X":2,"Y":1},{"X":3,"Y":1},{"X":4,"Y":1}]}]},{"X":3,"Y":6,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"bkr","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":7,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":6,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pkr","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":5,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":5,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"dkr","Level":8,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":5,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"dkr","Level":9,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":5,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":6,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"skr","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":7,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":2,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pkr","Level":9,"Align":"0","Tag":"","Count":1},{"Name":"skr","Level":9,"Align":"0","Tag":"","Count":1},{"Name":"bkr","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":5,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":2,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"frontdoor","InstanceName":"frontdoor1"}],"HotSpots":[]},{"X":7,"Y":1,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"escapepoint_blue1","InstanceName":"escape"},{"ObjectName":"ladder","InstanceName":"ladder3"}],"HotSpots":[]},{"X":7,"Y":3,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[{"HighlightColorString":"Transparent","Opacity":0.9,"ImageUrl":"/i/ugobj/entrancepoint_yellow1.gif","CellRefs":[{"X":3,"Y":1}]}]},{"X":1,"Y":4,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"skr","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":4,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":4,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":4,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":4,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pkr","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":3,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":2,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"pkr","Level":9,"Align":"0","Tag":"","Count":1},{"Name":"skr","Level":8,"Align":"0","Tag":"","Count":1},{"Name":"bkr","Level":8,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":2,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"skr","Level":8,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":2,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"skr","Level":8,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":1,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"skr","Level":8,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":1,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"blueteleport","InstanceName":"blueteleport3"}],"HotSpots":[{"HighlightColorString":"Transparent","Opacity":0.9,"ImageUrl":"/i/ugobj/escapepoint_yellow1.gif","CellRefs":[{"X":7,"Y":3}]},{"HighlightColorString":"LightCoral","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":4,"Y":5}]},{"HighlightColorString":"#3E4F4F","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":2,"Y":2},{"X":3,"Y":2},{"X":4,"Y":2},{"X":2,"Y":1},{"X":4,"Y":1}]}]},{"X":4,"Y":1,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"bkr","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]}],"LookDirection":3,"Width":11,"Height":12,"DataBounds":"1, 1, 9, 10","Name":"floor1","Caption":"1 ","Description":[]},{"Cells":[{"X":1,"Y":8,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":7,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"dkr","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":6,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":5,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"dkr","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":5,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":8,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"skr","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":8,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"dkr","Level":9,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":9,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":7,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"dkr","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":6,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"dkr","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":5,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"dkr","Level":8,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":4,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":3,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":1,"Y":2,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"skr","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":2,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"skr","Level":9,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":2,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"bkr","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":1,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pkr","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":1,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"blueteleport","InstanceName":"blueteleport4"}],"HotSpots":[]},{"X":1,"Y":1,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"dkr","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":2,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":3,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":3,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":4,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"bkr","Level":9,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":5,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":5,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":6,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"dkr","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":7,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"skr","Level":9,"Align":"9","Tag":"","Count":1},{"Name":"pkr","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":7,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":8,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":9,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"entrancepoint_green1","InstanceName":"enter7"}],"HotSpots":[]},{"X":6,"Y":7,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"redteleport","InstanceName":"redteleport5"}],"HotSpots":[{"HighlightColorString":"Transparent","Opacity":0.9,"ImageUrl":"/i/ugobj/escapepoint_yellow1.gif","CellRefs":[{"X":8,"Y":6}]}]},{"X":7,"Y":3,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[{"HighlightColorString":"Transparent","Opacity":0.9,"ImageUrl":"/i/ugobj/entrancepoint_yellow1.gif","CellRefs":[{"X":8,"Y":4}]}]},{"X":7,"Y":2,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"bkr","Level":9,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":1,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"redteleport","InstanceName":"redteleport9"}],"HotSpots":[{"HighlightColorString":"Transparent","Opacity":0.9,"ImageUrl":"/i/ugobj/escapepoint_yellow1.gif","CellRefs":[{"X":9,"Y":3}]}]},{"X":9,"Y":1,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"redteleport_small_left","InstanceName":"redteleport2"},{"ObjectName":"redteleport_small_right","InstanceName":"redteleport2"}],"HotSpots":[{"HighlightColorString":"Transparent","Opacity":0.9,"ImageUrl":"/i/ugobj/escapepoint_yellow1.gif","CellRefs":[{"X":2,"Y":5},{"X":9,"Y":9}]}]},{"X":9,"Y":2,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"skr","Level":9,"Align":"0","Tag":"","Count":1},{"Name":"bkr","Level":9,"Align":"0","Tag":"","Count":1},{"Name":"pkr","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":3,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[{"HighlightColorString":"Transparent","Opacity":0.9,"ImageUrl":"/i/ugobj/entrancepoint_yellow1.gif","CellRefs":[{"X":7,"Y":1}]}]},{"X":8,"Y":4,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"redteleport_small_left","InstanceName":"redteleport1"},{"ObjectName":"redteleport_small_right","InstanceName":"redteleport1"}],"HotSpots":[{"HighlightColorString":"Transparent","Opacity":0.9,"ImageUrl":"/i/ugobj/escapepoint_yellow1.gif","CellRefs":[{"X":7,"Y":3},{"X":10,"Y":6}]}]},{"X":10,"Y":4,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"fountain4_small","InstanceName":"fountain41"},{"ObjectName":"redteleport_small_right","InstanceName":"redteleport3"}],"HotSpots":[{"HighlightColorString":"Transparent","Opacity":0.9,"ImageUrl":"/i/ugobj/escapepoint_yellow1.gif","CellRefs":[{"X":11,"Y":8}]}]},{"X":8,"Y":5,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pkr","Level":9,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":6,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[{"HighlightColorString":"Transparent","Opacity":0.9,"ImageUrl":"/i/ugobj/entrancepoint_yellow1.gif","CellRefs":[{"X":6,"Y":7}]}]},{"X":10,"Y":5,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"skr","Level":9,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":6,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[{"HighlightColorString":"Transparent","Opacity":0.9,"ImageUrl":"/i/ugobj/entrancepoint_yellow1.gif","CellRefs":[{"X":8,"Y":4}]}]},{"X":9,"Y":7,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"frontdoor","InstanceName":"frontdoor1"}],"HotSpots":[]},{"X":9,"Y":8,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"skr","Level":9,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[{"ObjectName":"redteleport","InstanceName":"redteleport6"}],"HotSpots":[{"HighlightColorString":"Transparent","Opacity":0.9,"ImageUrl":"/i/ugobj/escapepoint_yellow1.gif","CellRefs":[{"X":5,"Y":5}]}]},{"X":9,"Y":9,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[{"HighlightColorString":"Transparent","Opacity":0.9,"ImageUrl":"/i/ugobj/entrancepoint_yellow1.gif","CellRefs":[{"X":9,"Y":1}]}]},{"X":11,"Y":7,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"escapepoint_blue1","InstanceName":"escape"},{"ObjectName":"ladder","InstanceName":"ladder4"}],"HotSpots":[]},{"X":11,"Y":8,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[{"HighlightColorString":"Transparent","Opacity":0.9,"ImageUrl":"/i/ugobj/entrancepoint_yellow1.gif","CellRefs":[{"X":10,"Y":4}]}]}],"LookDirection":3,"Width":13,"Height":11,"DataBounds":"1, 1, 11, 9","Name":"floor2","Caption":"2 ","Description":[]},{"Cells":[{"X":1,"Y":5,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"fountain6","InstanceName":"fountain63"}],"HotSpots":[{"HighlightColorString":"#3E4F4F","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":2,"Y":6},{"X":2,"Y":7},{"X":2,"Y":8},{"X":3,"Y":8},{"X":3,"Y":7},{"X":3,"Y":6}]},{"HighlightColorString":"LightCoral","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":2,"Y":5}]}]},{"X":2,"Y":5,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"kv","Level":14,"Align":"9","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[{"HighlightColorString":"DarkGreen","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":7,"Y":4},{"X":7,"Y":5},{"X":8,"Y":5},{"X":9,"Y":5},{"X":9,"Y":4},{"X":9,"Y":6},{"X":8,"Y":11},{"X":7,"Y":6},{"X":6,"Y":6},{"X":5,"Y":4},{"X":6,"Y":4},{"X":6,"Y":5}]}]},{"X":3,"Y":4,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":3,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pkr","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":2,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pkr","Level":9,"Align":"0","Tag":"","Count":6}],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":2,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":2,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"skr","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":1,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"smag_collect1","InstanceName":"sunduk2"}],"HotSpots":[{"HighlightColorString":"LightCoral","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":10,"Y":7}]}]},{"X":6,"Y":2,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":2,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":3,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":4,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"dkr","Level":11,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[{"HighlightColorString":"Red","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":7,"Y":5},{"X":7,"Y":6},{"X":6,"Y":6},{"X":6,"Y":4},{"X":6,"Y":5}]}]},{"X":7,"Y":5,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"dkr","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[{"HighlightColorString":"Red","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":7,"Y":4},{"X":7,"Y":6},{"X":6,"Y":6},{"X":6,"Y":4},{"X":6,"Y":5}]}]},{"X":8,"Y":5,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":5,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":4,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"escapepoint_blue1","InstanceName":"escape"},{"ObjectName":"ladder","InstanceName":"ladder5"}],"HotSpots":[]},{"X":9,"Y":6,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"bkr","Level":10,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":7,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":7,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"dkr","Level":8,"Align":"0","Tag":"","Count":12}],"ObjectRefs":[],"HotSpots":[{"HighlightColorString":"#3E4F4F","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":5,"Y":1}]}]},{"X":10,"Y":8,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":10,"Y":9,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":9,"Y":9,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":9,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"bkr","Level":10,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":10,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":11,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"entrancepoint_green1","InstanceName":"enter8"}],"HotSpots":[]},{"X":7,"Y":10,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":10,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"pkr","Level":11,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":10,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":10,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"dkr","Level":11,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":10,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":10,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"bkr","Level":10,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":6,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"skr","Level":9,"Align":"0","Tag":"","Count":8}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":7,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"bkr","Level":11,"Align":"0","Tag":"","Count":2},{"Name":"pkr","Level":11,"Align":"0","Tag":"","Count":2},{"Name":"skr","Level":11,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":8,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":9,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":8,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"pkr","Level":10,"Align":"0","Tag":"","Count":1},{"Name":"skr","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":8,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":8,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":8,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":8,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"dkr","Level":9,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":8,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":8,"Y":7,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"dkr","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":6,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"dkr","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[{"HighlightColorString":"Red","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":7,"Y":4},{"X":7,"Y":5},{"X":6,"Y":6},{"X":6,"Y":4},{"X":6,"Y":5}]}]},{"X":7,"Y":7,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":6,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"dkr","Level":11,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[{"HighlightColorString":"Red","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":7,"Y":4},{"X":7,"Y":5},{"X":7,"Y":6},{"X":6,"Y":4},{"X":6,"Y":5}]}]},{"X":5,"Y":6,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":7,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":7,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"bkr","Level":10,"Align":"0","Tag":"","Count":1},{"Name":"skr","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":6,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"bkr","Level":10,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":6,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":5,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":4,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"dkr","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":4,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":3,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":4,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"dkr","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[{"HighlightColorString":"Red","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":7,"Y":4},{"X":7,"Y":5},{"X":7,"Y":6},{"X":6,"Y":6},{"X":6,"Y":5}]}]},{"X":6,"Y":5,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"dkr","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[{"HighlightColorString":"Red","Opacity":0.3,"ImageUrl":"","CellRefs":[{"X":7,"Y":4},{"X":7,"Y":5},{"X":7,"Y":6},{"X":6,"Y":6},{"X":6,"Y":4}]}]},{"X":4,"Y":9,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":9,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":4,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]}],"LookDirection":3,"Width":12,"Height":13,"DataBounds":"1, 1, 10, 11","Name":"floor3","Caption":"3 ","Description":[]},{"Cells":[{"X":4,"Y":3,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"frontdoor","InstanceName":"frontdoor1"}],"HotSpots":[]},{"X":4,"Y":4,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":5,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"entrancepoint_green1","InstanceName":"enter"},{"ObjectName":"enter","InstanceName":"enter12"}],"HotSpots":[]}],"LookDirection":3,"Width":10,"Height":10,"DataBounds":"4, 3, 1, 3","Name":"floor4","Caption":"4 ","Description":[]}],"Pages":[],"Shops":[{"NewLineToBR":true,"ImageBasePath":"http://img.combats.ru/i/items/","Categories":[{"NewLineToBR":true,"Items":[{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"spell_repare_1","Caption":" 1","Description":[": 1 ",": 1 .",": 0/1"," Emeralds city"," "," ",""," ."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"spell_repare_3","Caption":" 3","Description":[": 1 ",": 1 .",": 0/1"," Emeralds city"," "," ",""," ."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"spell_repare_5","Caption":" 5","Description":[": 1 ",": 1 .",": 0/1"," Emeralds city"," "," ",""," ."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"spell_repare_7","Caption":" 7","Description":[": 1 ",": 1 .",": 0/1"," Emeralds city"," "," ",""," ."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"spell_repare_10","Caption":" 10","Description":[": 1 ",": 1 .",": 0/1"," Emeralds city"," "," ",""," ."]}],"Name":"spell_repare","Caption":" ","Description":[" .",""," ( ), . ., , ."]},{"NewLineToBR":true,"Items":[{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"spell_godprotect10","Caption":" ","Description":[": 1 ",": 1 . ",": 0/1"," : 99%"," : 120 ."," :"," : 7"," Emeralds city"," "," ",""," F2 ."," ."]}],"Name":"spell","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"pot_base_100_str","Caption":" ","Description":[": 1",": 1 . ",": 0/1"," : 15 ."," : 3 . 0 . "," :"," : 4 "," :"," : +10 "," : +1 +5 "," Emeralds city"," "," ",""," , D8."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"pot_base_100_str","Caption":" ","Description":[": 1",": 1 . ",": 0/1"," : 15 ."," : 3 . 0 . "," :"," : 4 "," :"," : +10 "," : +1 +5 "," Emeralds city"," "," ",""," , D8."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"pot_base_100_str","Caption":" ","Description":[": 1",": 1 . ",": 0/1"," : 15 ."," : 3 . 0 . "," :"," : 4 "," :"," : +10 "," : +1 +5 "," Emeralds city"," "," ",""," , D8."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"pot_base_100_master","Caption":" ","Description":[": 1",": 1 . ",": 0/1"," : 15 ."," : 3 . 0 ."," :"," : 4"," :"," . : +33"," . : +33"," : +50"," : +25"," Emeralds city"," "," ",""," ."," ."]},{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"pot_cureHP600_50","Caption":" ","Description":[": 1 ",": 1 . ",": 0/1"," : 30 . ",":"," 600 ."," Emeralds city"," "," ",""," , K5."]}],"Name":"pot_base","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":true,"W":60,"H":60,"Binding":0,"IsGift":false,"Name":"mater_izumrud","Caption":" ","Description":[": 1",": 0/1",": 1 ."," Emeralds city"," "," ",""," ."]}],"Name":"maters","Caption":". ","Description":[]}],"Name":"maters","Caption":"","Description":["

    "]}],"IsDungeon":true,"Name":"emerald","Caption":" ","Description":[]}); +new-combats.com.addDungeon({"RequiredScriptNames":["dungeon.data.abandon.js","dungeon.data.abandon.novice.js","dungeon.data.abandon.capital.emerald.sand.js","dungeon.data.abandon.capital.js","dungeon.data.abandon.capital.demons.js","dungeon.data.abandon.capital.demons.sand.js"],"NewLineToBR":true,"CellBackgroundColorString":"#D8D8D8","CellBorderColorString":"#75778A","Jobs":{"CollectiveJobs":[],"CapturedJobs":[],"KillingJobs":[{"MobName":"krsnt","Unique":false,"Description":["[4]-[7] ","",", : , . 30 . . , . !"],"DefCount":30},{"MobName":"pg_abadon","Unique":false,"Description":["[8]-[9] ","",", : , . 30 . . , . !"],"DefCount":30},{"MobName":"dkr_abadon","Unique":false,"Description":["[10] +","",", : , . 15 . . , . !"],"DefCount":15}]},"Floors":[{"Cells":[{"X":2,"Y":5,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":6,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"arrowup","InstanceName":"arrow3"}],"HotSpots":[]},{"X":3,"Y":5,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":5,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":4,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"vumpel1","InstanceName":"vumpel11"}],"HotSpots":[]},{"X":3,"Y":4,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"voenkom","Level":12,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":4,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":3,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":3,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"vumpel1","InstanceName":"vumpel11"}],"HotSpots":[]},{"X":4,"Y":3,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":4,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":6,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"greenteleport","InstanceName":"grteleport2"}],"HotSpots":[]},{"X":6,"Y":5,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":4,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":3,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":2,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"redteleport","InstanceName":"redteleport13"}],"HotSpots":[]},{"X":7,"Y":5,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"weap2","InstanceName":"weap21"}],"HotSpots":[]},{"X":7,"Y":4,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"serjant","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":3,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"weap2","InstanceName":"weap21"}],"HotSpots":[]},{"X":8,"Y":4,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"yellowteleport","InstanceName":"yellowtelepor3"}],"HotSpots":[]}],"LookDirection":2,"Width":11,"Height":9,"DataBounds":"2, 2, 7, 5","Name":"floor1","Caption":"","Description":[]},{"Cells":[{"X":2,"Y":5,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"arrowup","InstanceName":"arrow3"}],"HotSpots":[]},{"X":2,"Y":4,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"krsnt","Level":6,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":3,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":2,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"krsnt","Level":6,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":3,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"krsnt","Level":6,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":3,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":3,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"krsnt","Level":6,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":3,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"krsnt","Level":6,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":3,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"yellowteleport","InstanceName":"yellowtelepor4"}],"HotSpots":[]},{"X":4,"Y":4,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"krsnt","Level":6,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":4,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":4,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"krsnt","Level":6,"Align":"0","Tag":"","Count":5}],"ObjectRefs":[],"HotSpots":[]},{"X":7,"Y":4,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"krsnt","Level":6,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":5,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"krsnt","Level":6,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":2,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"krsnt","Level":6,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]}],"LookDirection":2,"Width":10,"Height":8,"DataBounds":"2, 2, 6, 4","Name":"floor2","Caption":"","Description":[]},{"Cells":[{"X":2,"Y":5,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"arrowright","InstanceName":"arrow2"}],"HotSpots":[]},{"X":3,"Y":5,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"pg_abadon","Level":9,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":3,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"pg_abadon","Level":9,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":2,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pg_abadon","Level":9,"Align":"0","Tag":"","Count":5}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":4,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":4,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"pg_abadon","Level":9,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":4,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pg_abadon","Level":9,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":4,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":3,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":3,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pg_abadon","Level":9,"Align":"0","Tag":"","Count":4}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":3,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":5,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"pg_abadon","Level":9,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":5,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"pg_abadon","Level":9,"Align":"0","Tag":"","Count":6}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":2,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pg_abadon","Level":9,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":2,"Border":{"Left":2,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"pg_abadon","Level":9,"Align":"0","Tag":"","Count":5}],"ObjectRefs":[],"HotSpots":[]}],"LookDirection":2,"Width":9,"Height":8,"DataBounds":"2, 2, 5, 4","Name":"floor3","Caption":"","Description":[]},{"Cells":[{"X":4,"Y":9,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"arrowup","InstanceName":"arrow3"}],"HotSpots":[]},{"X":4,"Y":8,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"dkr_abadon","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":8,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"dkr_abadon","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":8,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"dkr_abadon","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":8,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"dkr_abadon","Level":10,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":8,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"dkr_abadon","Level":10,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":7,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"dkr_abadon","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":7,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"dkr_abadon","Level":10,"Align":"0","Tag":"","Count":1}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":6,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":6,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":6,"Y":5,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":5,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"dkr_abadon","Level":10,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":2,"Y":5,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":5,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":2},"BackColorString":"Transparent","MobRefs":[{"Name":"dkr_abadon","Level":10,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":4,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":4,"Border":{"Left":2,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":3,"Border":{"Left":0,"Top":0,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"dkr_abadon","Level":10,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":3,"Border":{"Left":0,"Top":0,"Right":0,"Bottom":2},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":3,"Border":{"Left":2,"Top":0,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"dkr_abadon","Level":10,"Align":"0","Tag":"","Count":2}],"ObjectRefs":[],"HotSpots":[]},{"X":3,"Y":2,"Border":{"Left":2,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[{"Name":"dkr_abadon","Level":10,"Align":"0","Tag":"","Count":3}],"ObjectRefs":[],"HotSpots":[]},{"X":4,"Y":2,"Border":{"Left":0,"Top":2,"Right":0,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[],"HotSpots":[]},{"X":5,"Y":2,"Border":{"Left":0,"Top":2,"Right":2,"Bottom":0},"BackColorString":"Transparent","MobRefs":[],"ObjectRefs":[{"ObjectName":"yellowteleport","InstanceName":"yellowtelepor4"}],"HotSpots":[]}],"LookDirection":2,"Width":9,"Height":12,"DataBounds":"2, 2, 5, 8","Name":"floor4","Caption":"","Description":[]}],"Pages":[{"NewLineToBR":false,"ExternalUrl":"","Name":"kvest","Caption":" ","Description":["

    ,




    . , .



    ","


    Abandoned Plains, . ( \"\"Capital city, ). , 1 .

    .

    : , .

    , . .

    : .

    , .

    \"\" [12] . ","

    : ","
    , ! , ! , ! , , !

    ! !
    , . ( )
    _________________________________


    ! ( ) , .

    ! ( )

    :
    ","
    ","
    ","","","","","
    ","","","","","
    (: 1)
    : 0 .
    : 0/1
    : 7 .
    : 1 .



    \"\". :
    ","
    : ","
    ! ! , ! , : , . 30 . . , . !

    !
    . ( )
    _________________________________
    \"\"
    .

    ","


    . , : ","

      ","
    • [4]-[7] - 30 [6]
    • ","
    • [8]-[9] - 30 [9]
    • ","
    • [10]-[11] - 15 [10]

    , , . . , ( )
    ","


    , . ( - ) ( ).

    , .
    ","
    : ","
    ! ! , ! , ?

    !
    ! !
    , .

    ","

    :
    1 , .
    3 . .
    .
    .
    , , .
    , .

    "]}],"Shops":[{"NewLineToBR":true,"ImageBasePath":"http://img.combats.ru/i/items/","Categories":[{"NewLineToBR":true,"Items":[{"NewLineToBR":true,"W":20,"H":20,"Binding":3,"IsGift":true,"Name":"ring23f","Caption":" ","Description":[": 1 ",": 62 . ",": 0/50 "," : "," : 4 "," : "," (HP): +100 ",": 1 . "," Abandoned Plain "]}],"Name":"bonuses47","Caption":" [4]-[7] ","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":true,"W":60,"H":80,"Binding":3,"IsGift":true,"Name":"cloak23f1","Caption":" ","Description":[": 1",": 100 . ",": 0/100"," :"," : 8"," :"," (HP): +6",": 1 ."," Abandoned Plain "]}],"Name":"bonuses89","Caption":" [8]-[9] ","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":true,"W":60,"H":80,"Binding":3,"IsGift":true,"Name":"cloak23f2","Caption":" ","Description":[": 1",": 300 .",": 0/100"," :"," : 10"," :"," : +1"," : +1"," : +1"," (HP): +6"," : +1",": 1 . "," Abandoned Plain "]}],"Name":"bonuses10","Caption":" [10] +","Description":[]}],"Name":"bonus","Caption":"","Description":["

    "," , . ."]}],"IsDungeon":true,"Name":"abandon","Caption":" ","Description":[]}); +new-combats.com.addDungeon({"RequiredScriptNames":[],"NewLineToBR":false,"CellBackgroundColorString":"#E0E5E9","CellBorderColorString":"#7D8699","Jobs":{"CollectiveJobs":[],"CapturedJobs":[],"KillingJobs":[]},"Floors":[],"Pages":[{"NewLineToBR":false,"ExternalUrl":"","Name":"rings","Caption":"","Description":["


    ","
    ","
    , :","

    ","
    ","","","","","","","
    : 1 . 1
    ",":
    ","
    "," :
    "," : 6
    ",": 1 .
    "," \" 1 .

    ",":
    15

    ","
    : 1 . 1
    "," : [ ]x30,
    ",": 0/50
    ","
    "," :
    "," : 7
    ",": 1 .
    "," \" 6 .

    ",":
    10
    ","
    ","
    : \" \" , . ","
    ","
    - , . , 15 . 30 , , .

    ","
    ","
    ","
    ","
    ","
    100 , . , . Demons city.
    ","
    (2 , U11) .
    ","
    (2 , B11) .","

    ","
    ","","","","","","","","","","","
    : 1 . 1
    ",": 0/50
    ","
    "," :
    "," : 7
    :
    "," . : +10
    "," (HP): +36
    ",": 1 .
    "," \" 6 .
    ","
    : 1 . 1
    ",": 0/50
    ","
    "," :
    "," : 7
    :
    "," . : +10
    "," : +36
    : 1 .
    "," \" 6 .
    ","
    : ' '
    ' , '
    : ' '
    ' , '
    ","
    , 6 .","
    ","
    ",": , , , .","
    ","
    ","
    ","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","
    .
    .
    ","
    ","
    ","
    ","
    "]},{"NewLineToBR":false,"ExternalUrl":"","Name":"rubins","Caption":" ","Description":["


    ","
    - ","
    ","
    . . 15, . \" \". . 1 . 30 , .","
    ","
    ","
    ","
    - ","
    ","
    , [ ]x30, . . 5, . \" \". .","
    ","
    . , , . 6 . . .","

    ! , , :\"C ...\"","
    ","
    ! \" \" \" \" .","
    ","
    ! .","
    ","
    ! , . / \" \"/.","
    ","
    ! \" \", , .","
    ","

    ","
    ","","","","","","","","","","","","","","","","","","","","","","","","
    .
    .
    ","
    ","
    "]},{"NewLineToBR":false,"ExternalUrl":"","Name":"donation","Caption":"","Description":["


    ","
    , \"\" . . .","
    ","
    , , .","
    : , , . ","
    ","
    100 .","
    ","
    100 .","
    ","
    ","
    ","
    ","","","","","","","","","","","","","","
    .
    ","
    "]},{"NewLineToBR":false,"ExternalUrl":"","Name":"smelt_maters","Caption":" ","Description":["


    ","
    .","
    ","
    \"AngelsAngelscity, , , ( , B4) . C , . ","
    ","
    : 0/3, 3 .","
    ","
    . , .","
    ","
    ","","","","","","","","","","","","","","","","","","","","","","","","","","
    -
    \"
    [1]
    \"","\"\"","\"\"","\"","\"\"","\"","
    \"","\"\"","\"","\"","\"","\"\"
    \"
    1 .
    \"
    [2]
    \"","\"","\"","\"","\"","\"","\"\"
    3 .
    \"
    [3]
    \"","\"","\"","\"","\"","\"\"
    10 .
    \"
    [4]
    \"","\"","\"","\"\"","\"\"","\"\"
    30 .
    ","
    ","
    \"Angels Angelscity . , , .","
    : Angelscity 10 000 .","
    ","

    ","","","","","","","","","","","","","","","","","","","","","","","
    -
    \"
    3 .
    + 0,15.
    \"","\"\"","\"\"","\"","\"\"","\"","
    \"","\"\"","\"","\"","\"","\"\"
    \"
    10 .
    + 0,5.
    \"","\"","\"","\"","\"","\"","\"
    \"
    30 .
    + 1,5.
    \"","\"","\"","\"","\"","\"
    \"
    100 .
    + 5.
    \"","\"","\"","\"\"","\"\"","\"
    ","
    \" , , .","
    ","
    ","
    ","
    "]}],"Shops":[{"NewLineToBR":true,"ImageBasePath":"http://img.combats.ru/i/items/","Categories":[{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":20,"H":20,"Binding":0,"IsGift":true,"Name":"ring127","Caption":" ","Description":[": 1
    : 1 . 1
    ",":
    ","
    "," :
    "," : 6
    "," \" 1 .

    "," 15
    Devils city","
    "]},{"NewLineToBR":false,"W":20,"H":20,"Binding":0,"IsGift":true,"Name":"ring126","Caption":" ","Description":[": 1
    : 1 . 1
    "," : [ ]x30,
    ",": 0/50
    ","
    "," :
    "," : 7
    "," \" 6 .

    "," 10
    Devils city"]}],"Name":"rings","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":true,"Name":"cureHP30","Caption":" 30HP","Description":[": 1
    : 0.01 .
    : [ ]
    : 0/1

    :
    : 1
    : 7

    C ."]},{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":true,"Name":"cureMana50","Caption":" 50","Description":[": 1
    : 0.01 .
    : [ ]
    : 0/1

    :
    : 1
    : 7

    C ."]},{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":true,"Name":"elementalcrit","Caption":" ","Description":[": 1
    : 0.02 .
    : [ ]x2
    : 0/1
    :
    : 3
    : 7
    : 50
    :

    , 5 .

    C 20 ."]},{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":true,"Name":"spell_powerup10","Caption":"","Description":[": 1
    : 0.02 .
    : [ ]x2.
    : 0/1
    : 60 .
    :
    : 2
    : 7

    C 20 ."]},{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":true,"Name":"cureHP60","Caption":" 60HP","Description":[": 1
    : 0.02 .
    : [ ]x2
    : 0/1

    :
    : 2
    : 7

    C 20 .
    "]},{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":true,"Name":"spell_unprotect","Caption":" ","Description":[": 1
    : 0.02 .
    : [ ]x2
    : 0/4

    : 60 .
    :
    : 2
    : 7

    C 20 .
    "]},{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":true,"Name":"spell_unprotect10","Caption":" ","Description":[": 1
    : 0.02 .
    : [ ]x2
    : 0/4

    : 60 .
    :
    : 2
    : 7

    C 20 .
    "]},{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":true,"Name":"cureMana100","Caption":" 100","Description":[": 1
    : 0.02 .
    : [ ]x2
    : 0/1

    :
    : 2
    : 7

    C 20 .
    "]},{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":true,"Name":"spell_powerHPup3","Caption":" +3","Description":[": 1
    : 0.03 .
    : [ ]x4
    : 0/1
    : 120 .
    :
    : 3
    : 7

    C 50 .
    "]},{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":true,"Name":"cureHP120","Caption":" 120HP","Description":[": 1
    : 0.03 .
    : [ ]x4
    : 0/1

    :
    : 3
    : 7

    C 50 .
    "]}],"Name":"svitki","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":true,"Name":"enhp_6_bloodlinew1","Caption":" ","Description":[": 1
    : 1 .
    : [ ]x25
    : 0/1
    :
    . : +1
    (HP): +6
    :
    .


    C 50 ."]},{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":true,"Name":"enhp_6_bloodlinem1","Caption":" ","Description":[": 1
    : 1 .
    : [ ]x25
    : 0/1
    :
    . : +1
    (HP): +6
    :
    .


    C 50 ."]},{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":true,"Name":"enhp_6_bloodlinew2","Caption":" [2]","Description":[": 1
    : 1 .
    : [ ]x50
    : 0/1
    :
    . : +2
    (HP): +12
    :
    .


    C 100 ."]},{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":true,"Name":"enhp_6_bloodlinem2","Caption":" [2]","Description":[": 1
    : 1 .
    : [ ]x50
    : 0/1
    :
    . : +2
    (HP): +12
    :
    .


    C 100 ."]}],"Name":"charki","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":true,"Name":"sp_tacpts_KRT1","Caption":" : 1","Description":[": 1
    : 0.03 .
    : [ ]x4
    : 0/1
    : 3 .

    :
    : 7

    C 50 ."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"sp_tacpts_BLK1","Caption":" : 1","Description":[": 1
    : 0.03 .
    : [ ]x4
    : 0/1
    : 3 .

    :
    : 7

    C 50 .
    "]},{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":true,"Name":"sp_tacpts_CNTR1","Caption":" : 1","Description":[": 1
    : 0.03 .
    : [ ]x4
    : 0/1
    : 3 .

    :
    : 7

    C 50 .
    "]},{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":true,"Name":"sp_tacpts_PRY1","Caption":" : 1","Description":[": 1
    : 0.03 .
    : [ ]x4
    : 0/1
    : 3 .

    :
    : 7

    C 50 .
    "]},{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":true,"Name":"sp_tacpts_HIT1","Caption":" : 1","Description":[": 1
    : 0.03 .
    : [ ]x4
    : 0/1
    : 3 .

    :
    : 7

    C 50 .
    "]},{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":true,"Name":"sp_tacpts_KRT2","Caption":" : 2","Description":[": 1
    : 0.04 .
    : [ ]x6
    : 0/1
    : 3 .

    :
    : 7

    C 100 .
    "]},{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":true,"Name":"sp_tacpts_BLK2","Caption":" : 2","Description":[": 1
    : 0.04 .
    : [ ]x6
    : 0/1
    : 3 .

    :
    : 7

    C 100 .
    "]},{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":true,"Name":"sp_tacpts_CNTR2","Caption":" : 2","Description":[": 1
    : 0.04 .
    : [ ]x6
    : 0/1
    : 3 .

    :
    : 7

    C 100 .
    "]},{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":true,"Name":"sp_tacpts_PRY2","Caption":" : 2","Description":[": 1
    : 0.04 .
    : [ ]x6
    : 0/1
    : 3 .

    :
    : 7

    C 100 .
    "]},{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":true,"Name":"sp_tacpts_HIT2","Caption":" : 2","Description":[": 1
    : 0.04 .
    : [ ]x6
    : 0/1
    : 3 .

    :
    : 7

    C 100 .
    "]}],"Name":"taktiki","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":60,"Binding":0,"IsGift":true,"Name":"pot_base_50_intel2","Caption":" ","Description":[": 1
    : 1 .
    : [ ]x3
    : 0/1
    : 15 .
    : 6 . 0 .
    :
    : 7
    :
    : +15

    20 .
    "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":0,"IsGift":true,"Name":"pot_base_50_str2","Caption":" ","Description":[": 1
    : 1 .
    : [ ]x3
    : 0/1
    : 15 .
    : 6 . 0 .
    :
    : 7
    :
    : +15

    20 .
    "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":0,"IsGift":true,"Name":"pot_base_50_inst2","Caption":" ","Description":[": 1
    : 1 .
    : [ ]x3
    : 0/1
    : 15 .
    : 6 . 0 .
    :
    : 7
    :
    : +15

    20 .
    "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":0,"IsGift":true,"Name":"pot_base_50_dex2","Caption":" ","Description":[": 1
    : 1 .
    : [ ]x3
    : 0/1
    : 15 .
    : 6 . 0 .
    :
    : 7
    :
    : +15

    20 .
    "]}],"Name":"pot","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":60,"Binding":0,"IsGift":true,"Name":"mater_shop1","Caption":" ","Description":[": 1
    : 5 .
    : [ ]x40
    : 0/1
    :


    100 .
    "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":0,"IsGift":true,"Name":"mater_shop2","Caption":" ","Description":[": 1
    : 5 .
    : [ ]x40
    : 0/1
    :


    100 .
    "]}],"Name":"eski","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":60,"Binding":0,"IsGift":true,"Name":"smelt_mater1","Caption":" [1]","Description":[": 1
    : 0.5 .
    : [ ]
    : 0/3
    :


    ."]},{"NewLineToBR":false,"W":60,"H":60,"Binding":0,"IsGift":true,"Name":"smelt_mater3","Caption":" [2]","Description":[": 1
    : 1.5 .
    : [ ]3
    : 0/3
    :


    20 .
    "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":0,"IsGift":true,"Name":"smelt_mater10","Caption":" [3]","Description":[": 1
    : 5 .
    : [ ]10
    : 0/3
    :


    50 .
    "]},{"NewLineToBR":false,"W":60,"H":60,"Binding":0,"IsGift":true,"Name":"smelt_mater30","Caption":" [4]","Description":[": 1
    : 10 .
    : [ ]30
    : 0/3
    :


    100 .
    "]}],"Name":"smelt","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":20,"Binding":1,"IsGift":false,"Name":"amulet102","Caption":" ","Description":[": 1 .
    "," : [ ]x75
    ",": 0/50
    "," :
    "," : 30
    "," : 9
    "," : 30
    "," :
    "," . (%): +50
    "," . : +20
    "," (HP): +100
    "," : +100
    "," 100 ."]},{"NewLineToBR":false,"W":60,"H":20,"Binding":1,"IsGift":false,"Name":"amulet101","Caption":" ","Description":[": 1 .
    "," : [ ]x75
    ",": 0/50
    "," :
    "," : 9
    "," : 30
    "," : 30
    "," :
    "," . (%): +50
    "," . (%): +50
    "," . : +20
    "," (HP): +150
    "," 100 ."]}],"Name":"amulet","Caption":"","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":60,"H":80,"Binding":1,"IsGift":false,"Name":"leg11","Caption":"oo ax p [10]","Description":[": 10
    : 30 .
    : oo ax p, [o Ppa]x6","
    : 0/50
    ","p ao:
    "," oo: 15
    "," : 15
    "," po: 9
    "," oo: 65
    "," a: 45
    "," :
    "," aa o a: +25
    "," po (HP): +57
    "," po oa: 16-55 (15+d40)
    "," po o: 16-55 (15+d40)
    ","oa pa:
    "," aa o poa: 55
    "," a oa: o ax p [10] [0/12]
    "," 100 ."]},{"NewLineToBR":false,"W":60,"H":80,"Binding":1,"IsGift":false,"Name":"leg12","Caption":"oo poao [10] ","Description":[": 10
    : 30 .
    : oo poao , [o Ppa]x6","
    : 0/50
    ","p ao:
    "," oo: 15
    "," : 60
    "," po: 10
    "," oo: 35
    "," a: 35
    "," :
    "," . po poo apa (%): +25
    "," . po pa (%): +25
    "," . poo apa (%): +45
    "," aa o a: +15
    "," po (HP): +35
    "," po oa: 11-40 (10+d30)
    "," po o: 11-40 (10+d30)
    ","oa pa:
    "," aa o poa: 40
    "," a oa: o poao [10] [0/12]
    "," 100 ."]},{"NewLineToBR":false,"W":60,"H":80,"Binding":1,"IsGift":false,"Name":"leg13","Caption":"oo aa [10] ","Description":[": 10
    : 30 .
    : oo aa, [o Ppa]x6","
    : 0/50
    ","p ao:
    "," oo: 60
    "," : 15
    "," po: 10
    "," oo: 35
    "," a: 35
    "," :
    "," . po poo apa (%): +45
    "," . pa (%): +50
    "," aa o a: +30
    "," po (HP): +27
    "," po oa: 11-40 (10+d30)
    "," po o: 11-40 (10+d30)
    ","oa pa:
    "," aa o poa: 35
    "," a oa: o aa [10] [0/12]
    "," 100 ."]},{"NewLineToBR":false,"W":60,"H":80,"Binding":1,"IsGift":false,"Name":"leg14","Caption":"oo po oa [10]","Description":[": 13
    : 30 .
    : oo po oa, [o Ppa]x6","
    : 0/60
    ","p ao:
    "," oo: 30
    "," : 30
    "," po: 10
    "," oo: 45
    "," a: 45
    "," :
    "," . po poo apa (%): +40
    "," . po pa (%): +20
    "," . appoa (%): +2
    "," aa o a o: +15
    "," aa o poa: +15
    "," aa o a o: -10
    "," po (HP): +45
    "," po oa: 11-40 (10+d30)
    "," po o: 11-40 (10+d30)
    ","oa pa:
    "," aa o poa: 40
    "," a oa: o po oa [10] [0/12]
    "," 100 ."]},{"NewLineToBR":false,"W":60,"H":80,"Binding":1,"IsGift":false,"Name":"leg15","Caption":"a Peoc [10]","Description":[": 5
    : 30 .
    : a Peoc, [o Ppa]x6","
    : 0/50
    ","p ao:
    "," ee: 50
    "," poe: 10
    "," poc: 60
    "," :
    "," oaee a o a: +2
    "," . ooc a cx: +5
    "," poe (HP): +25
    "," poe a: +100
    "," po oca: 6-20 (5+d15)
    "," po o: 6-20 (5+d15)
    ","oa pa:
    "," aa o poa: 15
    "," ac oea: oe Peoc [10] [0/7]
    "," 100 ."]},{"NewLineToBR":false,"W":60,"H":80,"Binding":1,"IsGift":false,"Name":"leg16","Caption":"oo Copoa [10]","Description":[": 10
    : 30 .
    : oo Copoa, [o Ppa]x6","
    : 0/50
    ","p ao:
    "," ooc: 15
    "," : 60
    "," poe: 10
    "," ococ: 50
    "," Ca: 35
    "," :
    "," . po pecoo apa (%): +30
    "," . po epa (%): +35
    "," . pecoo apa (%): +35
    "," poe (HP): +43
    "," Ca: +2
    "," po oca: 11-40 (10+d30)
    "," po o: 11-40 (10+d30)
    ","oa pa:
    "," aa o poa: 35
    "," ac oea: oe Copoa [10] [0/12]
    "," 100 ."]},{"NewLineToBR":false,"W":60,"H":80,"Binding":1,"IsGift":false,"Name":"leg17","Caption":"oo oe [10]","Description":[": 10
    : 30 .
    : oo oe, [o Ppa]x6","
    : 0/50
    ","p ao:
    "," ooc: 60
    "," : 45
    "," poe: 10
    "," ococ: 35
    "," Ca: 25
    "," :
    "," . po pecoo apa (%): +25
    "," . pecoo apa (%): +30
    "," . epa (%): +30
    "," ooc: +2
    "," : +2
    "," aa o a: +25
    "," po oca: 11-40 (10+d30)
    "," po o: 11-40 (10+d30)
    ","oa pa:
    "," aa o poa: 30
    "," ac oea: oe [10] [0/12]
    "," 100 ."]}],"Name":"leg","Caption":"","Description":[]}],"Name":"altarshop","Caption":"","Description":["

    ",""," , , . ","","! [10] ( )."]}],"IsDungeon":false,"Name":"altar","Caption":" ","Description":[]}); +new-combats.com.addDungeon({"RequiredScriptNames":[],"NewLineToBR":true,"CellBackgroundColorString":"#E0E5E9","CellBorderColorString":"#7D8699","Jobs":{"CollectiveJobs":[],"CapturedJobs":[],"KillingJobs":[]},"Floors":[],"Pages":[],"Shops":[{"NewLineToBR":false,"ImageBasePath":"http://img.combats.ru/i/items/","Categories":[{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"abook1","Caption":" ","Description":[": 15 .
    "," :
    "," - 5 .
    "," - 360
    "," : 50
    "," : +1
    "," (HP): +10
    "," +1 ( )","
    .","
    ."]},{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"abook2","Caption":" ","Description":[": 30 .
    "," :
    "," - 360
    "," : 75
    "," : +2
    "," (HP): +20
    "," .","
    .","
    ","
    ","
    , . 1 3 .","
    "]},{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"abook3","Caption":" ","Description":[": 100 .
    "," :
    "," - 3 .
    "," - 360
    "," : 100
    "," : +3
    "," (HP): +30
    "," . . (%): +1
    "," . (%): +1
    "," . (%): +1
    "," : +1
    "," . (%): +1
    "," . (%): +1
    "," . (%): +1
    "," . (%): +1
    "," (%): +1
    "," .","
    .","
    ","

    .","
    "]}],"Name":"abooks","Caption":" ","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_slot7","Caption":" ( 1)","Description":[": 1
    : 120 .
    : 0/1
    :
    : 7
    : 1 .
    :
    +1 .
    .

    4 55
    "]},{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_slot8","Caption":" ( 2)","Description":[": 1
    : 200 .
    : [ ]x15
    : 0/1
    :
    : 8
    : 1 .
    :
    +1 .
    .
    .

    5 55
    "]},{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_slot9","Caption":" ( 3)","Description":[": 1
    : 300 .
    : [ ]x3, [ ]x3, [ ]x3, [ ]x3, [ ]x3, [ ]x3
    : 0/1
    :
    : 9
    : 1 .
    :
    +1 .
    .
    .

    7 10
    "]},{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_slot10","Caption":" ( 4)","Description":[": 1
    : 500 .
    : []x5, [ ]x5, [ ]x5, [ ]x5, [ ]x5, []x5
    : 0/1
    :
    : 10
    : 1 .
    :
    +1 .
    .
    .

    8 35
    "]}],"Name":"booklearn_slots","Caption":" ","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_1","Caption":" ()","Description":[": 1
    : 22.5 .
    : [ ]x5
    : 0/1
    :
    : 25
    : 6
    : 1 .
    :

    :

    : 4 55
    "]},{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_2","Caption":" ()","Description":[": 1
    : 15 .
    : ,
    : 0/1
    :
    : 25
    : 7
    :

    :

    : 4 55
    "]},{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_3","Caption":" ()","Description":[": 1
    : 20 .
    :
    : 0/1
    :
    : 7
    : 25
    : 25
    :
    , .
    :

    : 4 55
    "]},{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_4","Caption":" ()","Description":[": 1
    : 27 .
    : [ 60HP]x2
    : 0/1
    :
    : 7
    : 30
    :
    , .
    :

    : 4 55
    "]},{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_5","Caption":" ()","Description":[": 1
    : 20 .
    :
    : 0/1
    :
    : 7
    : 30
    : 20
    :
    , .
    :

    : 4 55
    "]},{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_6","Caption":" ()","Description":[": 1
    : 20 .
    :
    : 0/1
    :
    : 7
    : 25
    : 1 .
    :
    , .
    :

    : 4 55
    "]},{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_7","Caption":" ()","Description":[": 1
    : 20 .
    :
    : 0/1
    :
    : 7
    : 25
    : 1 .
    :
    , .
    :

    : 4 55
    "]},{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_8","Caption":" ()","Description":[": 1
    : 20 .
    : [ ]x3
    : 0/1
    :
    : 25
    : 7
    : 1 .
    :
    , .
    :

    : 4 55
    "]},{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_9","Caption":" ()","Description":[": 1
    : 20 .
    :
    : 0/1
    :
    : 25
    : 7
    : 1 .
    :
    .
    :

    : 4 55
    "]},{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_10","Caption":" ()","Description":[": 1
    : 20 .
    : [ ]x3
    : 0/1
    :
    : 7
    : 25
    : 1 .
    :

    , , .
    :

    : 4 55
    "]}],"Name":"booklearn","Caption":" ","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_spell1","Caption":" ()","Description":[": 1
    : 20 .
    :
    : 0/1
    :
    : 25
    : 7
    : 7
    : 1 .
    :
    , .
    :

    : 4 55
    "]},{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_spell8","Caption":" ()","Description":[": 1
    : 20 .
    :
    : 0/1
    :
    : 25
    : 7
    : 7
    : 1 .
    :
    , 33%. 125%
    :

    : 4 55
    "]},{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_spell10","Caption":" ()","Description":[": 1
    : 20 .
    : [ ]x3
    : 0/1
    :
    : 25
    : 7
    : 7
    : 1 .
    :
    +100 . . .
    :

    : 4 55
    "]},{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_spell9","Caption":" ()","Description":[": 1
    : 20 .
    :
    : 0/1
    :
    : 25
    : 7
    : 7
    : 1 .
    :
    . 4 33%
    :

    : 4 55
    "]},{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_spell13","Caption":" ()","Description":[": 1
    : 20 .
    :
    : 0/1
    :
    : 30
    : 7
    : 7
    : 1 .
    :
    10%HP, 20% .
    :

    : 4 55
    "]},{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_spell12","Caption":" ()","Description":[": 1
    : 25 .
    : [ ]x2
    : 0/1
    :
    : 35
    : 8
    : 8
    : 1 .
    :
    33%, . .
    :

    : 5 54
    "]},{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_spell14","Caption":" ()","Description":[": 1
    : 25 .
    : [ ]x2
    : 0/1
    :
    : 35
    : 8
    : 8
    : 1 .
    :
    5% +2% . . .
    :

    : 5 54
    "]},{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_spell11","Caption":" ()","Description":[": 1
    : 25 .
    : [ ]x2
    : 0/1
    :
    : 35
    : 8
    : 8
    : 1 .
    :
    50% 2 , . .
    :

    : 5 54
    "]}],"Name":"booklearn_spell_fire","Caption":" ","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_spell4","Caption":" ()","Description":[": 1
    : 20 .
    :
    : 0/1
    :
    : 25
    : 7
    : 7
    : 1 .
    :
    , .
    :

    : 4 55
    "]},{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_spell16","Caption":" ()","Description":[": 1
    : 20 .
    :
    : 0/1
    :
    : 25
    : 7
    : 7
    : 1 .
    :
    2 3 .
    :

    : 4 55
    "]},{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_spell17","Caption":" ()","Description":[": 1
    : 20 .
    :
    : 0/1
    :
    : 25
    : 7
    : 7
    : 1 .
    :
    10% 5 , 30%.
    :

    : 4 55
    "]},{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_spell19","Caption":": ! ()","Description":[": 1
    : 20 .
    :
    : 0/1
    :
    : 25
    : 7
    : 7
    : 1 .
    :
    . ,
    : : !

    : 4 55
    "]},{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_spell21","Caption":" ()","Description":[": 1
    : 20 .
    :
    : 0/1
    :
    : 25
    : 7
    : 7
    : 1 .
    :

    :

    : 4 55
    "]},{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_spell18","Caption":" ()","Description":[": 1
    : 25 .
    : [ ]x2
    : 0/1
    :
    : 35
    : 8
    : 8
    : 1 .
    :
    . 15. ,
    :

    : 5 54
    "]},{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_spell20","Caption":" ()","Description":[": 1
    : 25 .
    : [ ]x2
    : 0/1
    :
    : 35
    : 8
    : 8
    : 1 .
    :
    , , 5
    :

    : 5 54
    "]},{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_spell22","Caption":" ()","Description":[": 1
    : 25 .
    : [ ]x2
    : 0/1
    :
    : 35
    : 8
    : 8
    : 1 .
    :
    .
    :

    : 5 54
    "]},{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_spell23","Caption":" ()","Description":[": 1
    : 25 .
    : [ ]x2
    : 0/1
    :
    : 35
    : 8
    : 8
    : 1 .
    :
    .
    :

    : 5 54
    "]},{"NewLineToBR":true,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_spell15","Caption":" ()","Description":[": 1
    : 25 .
    : [ ]x2
    : 0/1
    :
    : 35
    : 8
    : 8
    : 1 .
    :
    , . .
    :

    : 5 54
    "]},{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_spell24","Caption":" ()","Description":[": 1
    : 45 .
    : [ ]x3
    : 0/1
    :
    : 75
    : 9
    : 9
    : 1 .
    :
    10%. 5 .
    :

    : 7 59
    "]}],"Name":"booklearn_spell_water","Caption":" ","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":true,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_spell25","Caption":" ()","Description":[": 1",": 50 .",": 0/1"," :"," : 60"," : 8"," : 8",": 1 .",":"," 1-95 "," : "," "," : 4 55 "]},{"NewLineToBR":true,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_spell26","Caption":" ( )","Description":[": 1",": 100 ."," : [ ]x4",": 0/1"," :"," : 40"," : 7"," : 7",": 1 .",":"," , "," : , : , : , : "," "," : 4 55 "]},{"NewLineToBR":true,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_spell27","Caption":" ()","Description":[": 1",": 10 ."," : [ ]x5",": 0/1"," :"," : 80"," : 9"," : 9",": 1 .",":"," , 1-0 . ."," ."," ."," : "," "," : 4 55 "]},{"NewLineToBR":true,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_spell28","Caption":" ()","Description":[": 1",": 20 ."," : ",": 0/1"," :"," : 25"," : 7"," : 7",": 1 .",":"," 25 . 4 ."," : "," "," : 4 55 "]},{"NewLineToBR":true,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_spell29","Caption":" ()","Description":[": 1",": 30 ."," : [ ]x2",": 0/1"," :"," : 60"," : 8"," : 8",": 1 .",":"," ."," : "," "," : 4 55 "]},{"NewLineToBR":true,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_spell30","Caption":" ()","Description":[": 1",": 20 ."," : ",": 0/1"," :"," : 25"," : 7"," : 11",": 1 .",":"," 1 - 10% . 5 ."," : "," "," : 4 55 "]}],"Name":"booklearn_spell_air","Caption":" ","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_spell7","Caption":" ()","Description":[": 1
    : 20 .
    : [ ]x3
    : 0/1
    :
    : 25
    : 7
    : 7
    : 1 .
    :
    , .
    :

    : 4 55
    "]}],"Name":"booklearn_spell_earth","Caption":" ","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_spell3","Caption":" ()","Description":[": 1
    : 20 .
    :
    : 0/1
    :
    : 25
    : 7
    : 4
    : 1 .
    :
    : .
    :

    : 4 55
    "]}],"Name":"booklearn_spell_black","Caption":" ","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_spell2","Caption":" ()","Description":[": 1
    : 20 .
    :
    : 0/1
    :
    : 25
    : 7
    : 4
    : 1 .
    :
    ? 10% - ?
    !
    :

    : 4 55
    "]}],"Name":"booklearn_spell_white","Caption":" ","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":40,"H":25,"Binding":1,"IsGift":false,"Name":"booklearn_spell5","Caption":" ()","Description":[": 1
    : 20 .
    : [ ]x3
    : 0/1
    :
    : 25
    : 7
    : 4
    : 1 .
    :
    ... - ,
    :

    : 4 55
    "]}],"Name":"booklearn_spell_gray","Caption":" ","Description":[]}],"Name":"shop","Caption":"","Description":["

    "," , . , ."]},{"NewLineToBR":false,"ImageBasePath":"http://img.combats.ru/i/misc/icons/","Categories":[{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"wis_fire_flameshock","Caption":" ","Description":[" : 83
    : 10

    :
    • : 7
    • : 40
    • : 7

    . 75% 2 ."]},{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"wis_fire_boost","Caption":"","Description":[" : 20
    : 5


    :
    • : 7
    • : 40
    • : 7

    +100 . .
    ."]},{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"wis_fire_flametongue","Caption":" [8]","Description":[" : 129
    : 3


    :
    • : 8
    • : 50
    • : 8

    3% . +2% . 200 . , ."]},{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"wis_fire_flametongue","Caption":" [9]","Description":[" : 155
    : 3


    :
    • : 9
    • : 60
    • : 9

    3% . +2% . 250 . , ."]},{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"wis_fire_flametongue","Caption":" [10]","Description":[" : 185
    : 3


    :
    • : 10
    • : 75
    • : 10

    3% . +2% . 300 . , ."]},{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"wis_fire_flamedeath","Caption":" ","Description":[" : 83
    : 5

    :
    • : 7
    • : 40
    • : 7

    , 33%. 150% ."]},{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"wis_fire_sacrifice","Caption":" ","Description":[" 5  
    : 4
    : 5

    :
    • : 7
    • : 40
    • HP: 10%
    • : 7

    10%HP, 20% ."]},{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"wis_fire_hiddenpower","Caption":" ","Description":[" : 41


    :
    • : 8
    • : 50
    • : 8

    33%, . ."]},{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"wis_fire_shield","Caption":" ","Description":[" : 124
    : 10

    :
    • : 8
    • : 50
    • : 8

    50% 2 , .
    ."]},{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"wis_fire_flamedestroy","Caption":" ","Description":[" : 83
    : 5

    :
    • : 7
    • : 40
    • : 7

    . 4 33% ."]}],"Name":"booklearn_spell_fire","Caption":" ","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"wis_water_icegrap","Caption":" ","Description":[" : 83
    : 10

    :
    • : 40
    • : 7
    • : 7

    2 3 ."]},{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"wis_water_break","Caption":": !","Description":[" : 167
    : 5


    :
    • : 40
    • : 7
    • : 7

    ?? ???, 65."]},{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"wis_water_cleance","Caption":" ","Description":[" : 83
    : 5

    :
    • : 50
    • : 8
    • : 8

    ."]},{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"wis_water_crystalize","Caption":"","Description":[" : 178
    : 5

    :
    • : 50
    • : 8
    • : 8

    10*( ).
    ( ) .
    "]},{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"wis_water_hiddenpower","Caption":" ","Description":[" : 166
    : 10


    :
    • : 50
    • : 8
    • : 8

    ."]},{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"wis_water_sacrifice","Caption":" ","Description":[" 5  
    : 4
    : 10

    :
    • : 40
    • : 7
    • : 7

    10% 5 , 50%."]},{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"wis_water_shield","Caption":" [7]","Description":[" : 83
    : 8

    :
    • : 40
    • : 7
    • : 7

    25% 4 ."]},{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"wis_water_shield","Caption":" [8]","Description":[" : 124
    : 8

    :
    • : 50
    • : 8
    • : 8

    25% 4 , .
    ."]},{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"wis_water_shield","Caption":" [9]","Description":[" : 182
    : 8

    :
    • : 60
    • : 9
    • : 9

    25% 4 , .
    ."]},{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"wis_water_spirit","Caption":" ","Description":[" 4  
    : 5
    : 4
    : 10

    :
    • : 50
    • : 8
    • : 8

    . 15. , ."]},{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"wis_water_strike","Caption":" ","Description":[" : 134
    : 3


    :
    • : 40
    • : 7
    • : 7

    ??? . ."]},{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"wis_water_tempheal","Caption":" ","Description":[" 1  
    : 139
    : 5

    :
    • : 50
    • : 8
    • : 8

    , ???HP , 5 ."]},{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"wis_water_aheal","Caption":"","Description":[" 1
    : 70

    :
    : 60
    : 9
    : 9

    10%
    5 "]}],"Name":"booklearn_spell_water","Caption":" ","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"wis_air_spark","Caption":"","Description":[" : 83",": 10",""," :","• : 50","• : 8","• : 8",""," 1-57 ."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"wis_air_shield","Caption":" ","Description":[" : 127",": 12","• ",""," :","• : 60","• : 9","• : 9",""," , 1-190 . . "," . "," . "]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"wis_air_sacrifice","Caption":" ","Description":[" 5"," : 7 ",": 10 ",""," :","• : 25","• : 7","• : 7",""," 25 . 4 ."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"wis_air_speed","Caption":" ","Description":[" : 4"," : 70"," : 5",": 10",""," :","• : 50","• : 8","• : 8",""," ."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"wis_air_charge","Caption":"","Description":[" : 1"," : 20",""," :","• : 40","• : 7","• : 7","",", , , , , 1%. ."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"wis_air_charge_shock","Caption":": ","Description":[" 1",": 3 ",""," :","• : 40","• : 7","• : 7",""," , 5 ."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"wis_air_charge_dmg","Caption":": ","Description":[" 1",": 3 ",""," :","• : 40","• : 7","• : 7",""," 1-2% . 200 . ."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"wis_air_charge_gain","Caption":": ","Description":[" 1",": 3 ",""," :","• : 40","• : 7","• : 7",""," 8 ."]},{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"wis_air_manaheal","Caption":" ","Description":[" : 3",": 10","• ",""," :","• : 10","• : 11","• : 7",""," 1-10% . 5 ."]}],"Name":"booklearn_spell_air","Caption":" ","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"wis_earth_strike","Caption":" [7]","Description":[" : 78


    :
    • : 40
    • : 7
    • : 7

    346 . "]},{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"wis_earth_strike","Caption":" [8]","Description":[" : 93


    :
    • : 50
    • : 8
    • : 8

    415 . "]},{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"wis_earth_strike","Caption":" [9]","Description":[" : 112


    :
    • : 60
    • : 9
    • : 9

    498 . "]},{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"wis_earth_strike","Caption":" [10]","Description":[" : 134


    :
    • : 75
    • : 10
    • : 10

    597 . "]}],"Name":"booklearn_spell_earth","Caption":" ","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"wis_dark_eyeforeye","Caption":" ","Description":[" : 166
    : 10

    :
    • : 4
    • : 40
    • : 7

    , ( 500 . )"]}],"Name":"booklearn_spell_black","Caption":" ","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"wis_light_shield","Caption":" ","Description":[" : 166
    : 10

    :
    • : 4
    • : 40
    • : 7

    10%, 1 ."]}],"Name":"booklearn_spell_white","Caption":" ","Description":[]},{"NewLineToBR":true,"Items":[{"NewLineToBR":true,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"wis_gray_mastery","Caption":" ","Description":[" : 2
    : 41
    : 5

    :
    • : 40
    • : 4
    • : 7

    , 5 . 5 * ( ) ."]}],"Name":"booklearn_spell_gray","Caption":" ","Description":[]}],"Name":"shop1","Caption":"","Description":["

    "," ."]},{"NewLineToBR":false,"ImageBasePath":"http://img.combats.ru/i/misc/icons/","Categories":[{"NewLineToBR":true,"Items":[{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"krit_blooddrink","Caption":" ","Description":[" 7   3  
    : 2

    :
    • : 6

    , 89HP 7 /107HP 8 /128HP 9 /154HP 10 . ."]},{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"block_magicshield","Caption":" ","Description":[" 3  

    :
    • : 7

    1 , ."]},{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"krit_bloodlust","Caption":" ","Description":[" 2   3  

    :
    • : 7

    . 50 . ."]},{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"counter_deathwalk","Caption":" ","Description":[" 5

    :
    : 7

    1*(). . 1*() ., 10*() . ."]},{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"multi_rollback","Caption":"","Description":[" 3 3

    :
    : 7
    : 25
    : 25

    .
    1 ."]},{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"block_revenge","Caption":"","Description":[" 5

    :
    : 7

    6* ( ) . ."]},{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"spirit_survive","Caption":"","Description":[" : 10

    :
    : 7
    : 30

    , .
    "]},{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"counter_ward","Caption":"","Description":[" 2
    : 3

    :
    : 7
    : 30
    : 20

    ."]},{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"parry_supreme","Caption":"","Description":[" 3 1

    :
    : 7

    .
    ."]},{"NewLineToBR":false,"W":40,"H":25,"Binding":0,"IsGift":false,"Name":"hit_empower","Caption":" ","Description":[" 3

    :
    : 7

    5* () . ."]}],"Name":"fighter","Caption":" ","Description":[]}],"Name":"shop2","Caption":" ","Description":["

    "," ."]},{"NewLineToBR":false,"ImageBasePath":"http://img.combats.ru/i/items/","Categories":[],"Name":"shop3","Caption":" ","Description":["


    - , . , \"Capital Capital city.

    . . , - src=\"http://img.combats.ru/i/align50.gif\" Talenor , src=\"http://img.combats.ru/i/align50.gif\" Cptn src=\"http://img.combats.ru/i/align50.gif\" Enchanter . , , Capital city. ","

    New! .","

    - 28 . ( ), 24.95 . ( )
    - 55 . ( ), 49.95 . ( )
    - 550 . ( ), 499.55 . ( )

    , , \"\" .

    ","","","","","","","","","









    .

    :
    : +1
    (HP): +10

    +1 , .










    .

    :
    : +2
    (HP): +20

    , - , .









    .

    :
    . . (%): +1
    . (%): +1
    . (%): +1
    : +1
    . (%): +1
    . (%): +1
    . (%): +1
    : +3
    (HP): +30
    . (%): +1
    (%): +1

    HP HP .


    , .. - , 30 .
    \" . \"\".

    . , .

    , - . : , \"\" , , .

    50 ( 1 50) .

    ","","","","","","","


    - -
    (: 1)
    : 0/1
    :
    * *
    :

    50 .

    (: 1)
    : 0/1
    :
    * *
    :




    ","
    , \"\" . , .
    ","
    \" .
    ","
    \" \", , , , .



    "]}],"IsDungeon":false,"Name":"bookshop","Caption":" ","Description":[]}); +new-combats.com.addDungeon({"RequiredScriptNames":[],"NewLineToBR":true,"CellBackgroundColorString":"#E0E5E9","CellBorderColorString":"#7D8699","Jobs":{"CollectiveJobs":[],"CapturedJobs":[],"KillingJobs":[]},"Floors":[],"Pages":[{"NewLineToBR":false,"ExternalUrl":"","Name":"page1","Caption":" ","Description":["
    ","

    ...

    ","
    \"

    - [13]. - :
    ","
    ","
    , , , ! . , , , , . , ?

    ?
    , , ?
    , . ( )

    : ","
    ","
    , , , , - , . , , , , .


    , : ","
    ","
    . , , . , .

    : ","
    ","
    , . , , . . , .

    ***

    - , . , . , . .

    ","
    \" \"


    :","
    ","
    , ?

    ?


    , , .


    "]},{"NewLineToBR":false,"ExternalUrl":"","Name":"page2","Caption":" ","Description":["
    ","

    ","

    , , . , [13].
    ","

    ","
    , , , , ... , . , . . .

    : \" \" . \" \".

    :
    ","
    ","
    ","","","","","
    ","","","","","
    (: 1)
    : 0/1
    : 1 .
    :
    .
    Abandoned Plain

    . , , \"\" , E11 . .
    ","
    ","
    ","","","","","
    ","","","","","
    ' ' ' '

    ! . .
    ","
    ","
    , , , ! , ... ! , .

    ***

    \" \"
    0 .

    ","

    , . , .


    "]},{"NewLineToBR":false,"ExternalUrl":"","Name":"page3","Caption":" ","Description":["
    ","

    \" \" "," . .

    "," [4]-[6] .

    :

    ","
    \"


    \"\".

    "," , 1 . : ","
    ","
    \" \" \" ","\".

    . , ",": ","
    ","
    \" \" .

    "," , , ",", \"\". , ...

    ","
    ","
    : , , , , , , , , , . ","
    : , , , , . ","
    ","
    ","
    , , ",".


    :
    "," .
    .
    : . . "," . , . , , "," - , , .
    ","
    ","

    ","\" "," \" . "," .

    :

    ","
    \"


    :
    1 , "," , . , . "," , 3 \" \" , , "," ( ).

    :
    - , "," . , ( "," ). . "," ( ). \"\" .


    "]},{"NewLineToBR":false,"ExternalUrl":"","Name":"page4","Caption":" ","Description":["
    ","




    "," , . , , . "," . , - .

    "," \"\" ",", , .



    - .

    ",", . . ., , "," . . , . , . , + , + hp, "," . /, /. , \"\" .

    :

    ","
    ","","","","","","","","","","","","","","","","","","","","","","","","","","
    ","
    ","
    ","
    ","
    ","

    [4]
    : +5
    . : +1
    . : +5
    "," : +5
    . : +1
    : +5
    . : +1
    . : +5
    ",": +5
    . : +1
    : +5
    . : +1
    . : +5
    "," : +5
    . : +1
    : +5
    . : +1
    . : +5
    "," : +5
    . : +1
    ","

    [7]
    : +1
    : +10
    . : +3
    . ",": +10
    : +10
    . : +3
    : +1
    : +10
    . : +3
    . : +10
    "," : +10
    . : +3
    : +1
    : +10
    . : +3
    . : ","+10
    : +10
    . : +3
    : +1
    : +10
    . : +3
    . : ","+10
    : +10
    . : +3
    ","

    [9]
    : +2
    : +20
    : +20
    . : +5
    . "," : +20
    : +20
    . : +5
    : +2
    : +20
    : +20
    . : +5
    ",". : +20
    : +20
    . : +5
    : +2
    : +20
    . : +5
    . : ","+20
    : +20
    . : +5
    . : +3
    . . ",": +5
    : +2
    : +20
    . : +5
    . : ","+20
    : +20
    . : +5
    (HP): ","+20




    ",", \"\" . , . "," .

    ","
    ","","","","","","","","","","","
    ","

    http://img.combats.ru/i/items/rune_super_2.gif

    ","

    (: 1)
    : 0/1
    :
    : 7
    : ","
    : +25
    :

    Abandoned Plain
    ","

    ","

    ","

    (: 1)
    : 0/1
    ",":
    : 7
    :
    : +50
    : ","

    Abandoned ","Plain

    ","

    ","

    (: 1)
    : 0/1
    ",":
    : 7
    :
    . : +5

    ","

    :

    ","Abandoned Plain

    ","

    ","

    (: 1)
    : 0/1
    ",":
    : 7
    :
    : +4
    :
    ","
    Abandoned Plain
    ","

    ","

    ","

    (: 1)
    : 0/1
    ",":
    : 7
    :
    : +4
    :
    ","
    Abandoned Plain
    ","

    ","

    ","

    (: 1)
    : 0/1
    ",":
    : 7
    :
    : +4
    :
    ","

    ","

    Abandoned Plain
    ","

    ","

    ","

    (: 1)
    : 0/1
    :
    : 7
    : ","
    : +4
    :

    Abandoned Plain


    ","



    ","
    ","

    ","

    . , "," . . - ; "," - . , , .

    ",":
    - , ;
    - , ;
    - , ;
    - ",", .

    :
    () - , ;
    () - , ",";
    () - , .

    :
    [] - ;
    [] - ",";
    [] - ;
    [] - ;
    [] - ;
    [] - ;
    [] ","-;
    [] - ;
    [] - ;
    [] - .

    : ","()[] . ()[] - ",".

    by Andre_be ","[10] \"\"




    "]},{"NewLineToBR":false,"ExternalUrl":"","Name":"page5","Caption":" ","Description":["
    ","


    ?

    ","

    .

    ","

    ","
    , , .
    ","


    ","

    1 . , \" \" .

    ","

    :

    ","


    . 1 ..
    . 2 . , , 1 . . .


    100 \"\" .
    1000 \"\" .



    ?

    . , .

    [4]-[6] .

    [4]-[8] .

    [4]-[10] .



    "]}],"Shops":[],"IsDungeon":false,"Name":"temple","Caption":" ","Description":[]}); diff --git a/dng/head/dungeonengine.js b/dng/head/dungeonengine.js new file mode 100644 index 00000000..660b39c6 --- /dev/null +++ b/dng/head/dungeonengine.js @@ -0,0 +1,1087 @@ + +function ImagePreloader(images,call_back) +{this.call_back=call_back;this.nLoaded=0;this.nProcessed=0;this.aImages=[];this.nImages=images.length;for(var i=0;i0) +{this.preloader=new ImagePreloader(this.imagesToBePreloaded,null);}} +d.dataLoaded=function(f) +{this.data=underground.loadedDungeons[this.Name];var scriptsLoaded=function() +{d.innerDataLoaded();f();} +if(underground.offline) +{scriptsLoaded();return;} +var scriptLoaded=function() +{scriptsToLoadCount--;if(scriptsToLoadCount==0) +{scriptsLoaded(f);}} +var scripts=[];for(var i in this.data.RequiredScriptNames) +{var sn=this.data.RequiredScriptNames[i];if(!(sn in underground.loadedScripts)) +{scripts.push(underground.settings.jsBase+sn);}} +scriptsToLoadCount=scripts.length;if(scriptsToLoadCount>0) +{for(var i in scripts) +{var sn=scripts[i];loadScript(sn,function(){underground.loadedScripts[sn]=sn;scriptLoaded();});}} +else +{scriptsLoaded();}} +d.loadData=function(f) +{if(underground.offline) +{this.dataLoaded(f);} +else +{loadScript(underground.settings.jsBase+'dungeon.city.'+this.Name+'.js',function(){d.dataLoaded(f);});}} +d.createDescriptionPage=function() +{var p={Name:'$description',Caption:'',NewLineToBR:this.NewLineToBR,ExternalUrl:'',hidden:true};p.Description=this.Description;this.data.Pages.push(p);this.descriptionPageIndex=this.data.Pages.length-1;} +d.createSettingsPage=function() +{} +d.createShopPages=function() +{for(var i in this.data.Shops) +{this.createShopPage(this.data.Shops[i]);}} +d.getShopItemHtml=function(item,imageBasePath) +{var img=[imageBasePath,item.Name,'.gif'].join('');this.imagesToBePreloaded.push(img);var html=['','','',item.Caption,''];if(item.Binding>0) +{html.push(' ');} +if(item.IsGift) +{this.imagesToBePreloaded.push('https://img.new-combats.com/i/podarok.gif');html.push(' ');} +html=html.concat(['
    ',item.Description.join(item.NewLineToBR?'
    ':''),'']);return html.join('');} +var showShopPage=function() +{var shop=this.Shop;shop.tdId='$shoptd$'+this.Dungeon.Name+'$'+shop.Name;var firstCat=true;var data=[];var chapters=['
      '];for(var i in shop.Categories) +{var cat=shop.Categories[i];cat.divId='$shopcat$'+this.Dungeon.Name+'$'+shop.Name+'$'+cat.Name;var st=firstCat?'':'display: none;';data=data.concat(['
      ','');for(var j in cat.Items) +{data.push(this.Dungeon.getShopItemHtml(cat.Items[j],shop.ImageBasePath));} +data.push('
      ']);var title=[cat.Caption];if(cat.Description.length>0) +{title=title.concat(['
      ',cat.Description.join('
      '),'
      ']);} +data=data.concat(title);data.push('
      ');chapters=chapters.concat(['
    • ',cat.Caption,'
    • ']);firstCat=false;} +chapters.push('
    ');var html=[shop.Description.join(shop.NewLineToBR?'
    ':''),'
    ','
    '];html=html.concat(chapters);html=html.concat(['']);html=html.concat(data);html.push('
    ');this.Description=html;} +d.createShopPage=function(shop) +{var sp={Name:'$shop$'+shop.Name,Caption:shop.Caption,NewLineToBR:false,ExternalUrl:'',Description:[],OnShow:showShopPage,Dungeon:this,Shop:shop};this.data.Pages.push(sp);} +var getCollectiveJobData=function(job) +{var title=['',job.Caption,''].join('');var desc=job.Description.join('
    ');var image=job.ImageUrl;var bonus=job.ItemReward;var count=job.DefCount;var maxFactor=1.25;return{title:title,desc:desc,image:image,bonus:bonus,count:count,maxFactor:maxFactor,iw:60,ih:60};} +var getCapturedJobData=function(job) +{var title=['',job.Caption,''].join('');var desc=job.Description.join('
    ');var image=job.ImageUrl;var bonus=job.ItemReward;var count=job.DefCount;var maxFactor=1;return{title:title,desc:desc,image:image,bonus:bonus,count:count,maxFactor:maxFactor,iw:60,ih:60};} +var getKillingJobData=function(job) +{var mob=underground.mobs[job.MobName];var align=job.Unique?9:0;var title=['',mob.Caption,''].join('');var desc=job.Description.join('
    ');var image=mob.ImageUrl;if(msie&&!msie7) +{image=replacestr(image,'/chars/d/','/chars/');image=replacestr(image,'.png','.gif');} +var bonus=(mob.Instances.length==1)?mob.Instances[0].Reward:0;var count=job.Unique?1:job.DefCount;var maxFactor=1;return{title:title,desc:desc,image:image,bonus:bonus,count:count,maxFactor:maxFactor,mob:mob,iw:60,ih:110};} +var jobDataProviders=[getCollectiveJobData,getCapturedJobData,getKillingJobData];d.getJobHtml=function(i,job,catIndex) +{var data=jobDataProviders[catIndex](job);job.divId=['$job$',d.Name,'$cat_',catIndex,'$index_',i].join('');job.descDivId=job.divId+'$desc';job.formDivId=job.divId+'$form';this.imagesToBePreloaded.push(data.image);var html=['
    ',data.title,'
    ','
    ',data.desc,'
    ','
    '];if('mob'in data) +{var rewardid=job.divId+'$reward';var handler=['setTimeout("ui_recalculateMobReward(\'',rewardid,'\''];var lastmii=0;for(var mii=0;mii
    ');html.push('');for(var mii=0;mii');} +html.push('
    : ']);if(job.Unique) +{html=html.concat(['1']);} +else +{html=html.concat(['']);} +html.push(' .
    ');html.push(' ');html.push(job.Unique?['',data.mob.Instances[0].Reward,''].join(''):(job.DefCount*data.mob.Instances[lastmii].Reward));html.push(' . .');html.push('
    ');if(job.Unique) +{html.push('
    , .');}} +else +{var countid=job.divId+'$count';var rewardid=job.divId+'$reward';var maxcountid=job.divId+'$maxcount';var maxrewardid=job.divId+'$maxreward';var handler=['setTimeout("ui_recalculateUsualReward(\'',countid,'\', \'',rewardid,'\', \'',maxcountid,'\', ',data.bonus,', ',data.maxFactor,', \'',maxrewardid,'\')", 10)'].join('');html=html.concat([' . ',job.DefCount*data.bonus,' . .']);if(data.maxFactor>1) +{var maxc=Math.floor(job.DefCount*data.maxFactor);html=html.concat(['
    , ',maxc,' ., ',maxc*data.bonus,' . .']);}} +html.push('
    ');return html.join('');} +var jobPageShow=function() +{var jobs=this.Dungeon.data.Jobs;this.jobTdId='$jobtd$'+this.Dungeon.Name+'$jobs';var html=[];this.jobCats=[{Name:'CollectiveJobs',Caption:' ',Items:jobs.CollectiveJobs},{Name:'CapturedJobs',Caption:' ',Items:jobs.CapturedJobs},{Name:'KillingJobs',Caption:' ',Items:jobs.KillingJobs}];html.push('

    ');html.push('
    ');var firstCat=true;var chapters=[];var data=[];chapters.push('
      ');for(var i in this.jobCats) +{var cat=this.jobCats[i];if(cat.Items.length==0)continue;cat.divId='$jobcat$'+this.Name+'$jobs$'+cat.Name;var st=firstCat?'':'display: none;';data.push('
      ');data.push('

      ');data.push(cat.Caption);data.push('

      ');data.push('
      ');for(var j in cat.Items) +{data.push(this.Dungeon.getJobHtml(j,cat.Items[j],i));} +data.push('
      ');chapters.push('
    • ');chapters.push(cat.Caption);chapters.push('
    • ');firstCat=false;} +chapters.push('
    ');html.push('
    ');html.push(chapters.join(''));html.push('');html.push(data.join(''));html.push('
    ');this.Description=html;} +d.prepareJobPage=function() +{var jobs=this.data.Jobs;if(jobs.CollectiveJobs.length==0&&jobs.CapturedJobs.length==0&&jobs.KillingJobs.length==0) +{return;} +var sp={Name:'$jobs$',Dungeon:this,Caption:'',NewLineToBR:false,ExternalUrl:'',Description:[],OnShow:jobPageShow};this.data.Pages.push(sp);} +d.getFloorTabsHtml=function() +{if(!this.IsDungeon)return'';var html=[];html.push('
  • ');html.push('
  • |
  • ');for(var i in this.data.Floors) +{var floor=this.data.Floors[i];html.push('');html.push(floor.Caption);html.push('');} +html.push('
  • |
  • ');if(msie)html.push(this.getZoomText());html.push(this.getLookText());return html.join('');} +d.openDescription=function() +{this.openPage(this.descriptionPageIndex);} +d.openSettings=function() +{} +d.getStatistics=function() +{var r={};for(var i in this.data.Floors) +{var floor=this.data.Floors[i];var fr=floor.getStatistics();for(var n in fr) +{if(!(n in r)) +{r[n]={};} +var frd=fr[n];for(var level in frd) +{if(!(level in r[n])) +{r[n][level]=0;} +r[n][level]+=frd[level];}}} +return r;} +d.getStatisticsHtml=function() +{if(!this.IsDungeon)return'';var stats=this.getStatistics();var html=[];html.push(getStatisticsHtml(' ',stats,''));return html.join('');} +d.needData=function(f) +{if(!('data'in this)) +{this.loadData(f);} +else +{f();}} +d.hidePages=function() +{for(var i in this.data.Pages) +{var page=this.data.Pages[i];var e=document.getElementById(page.divId);if(e!=null) +{e.style.display='none';}} +document.getElementById('ads').style.display='';} +d.getPageDivCloserHtml=function() +{var html=[];html.push('
      ');html.push('
    • ');html.push('
    ');return html.join('');} +d.getNewPageDivHtml=function(id,content) +{var html=[];var closer=this.getPageDivCloserHtml();html.push('
    ');html.push(closer);html.push(content);html.push(closer);html.push('
    ');return html.join('');} +d.getChapterHtml=function() +{var html=[];rendered=true;this.handleHash2();underground.settings.look=this.data.Floors[this.activeFloorIndex].LookDirection;html.push('
    ');html.push('

    ');html.push(d.Caption);html.push('

    ');html.push('
      ');html.push(this.getFloorTabsHtml());html.push('
    ');html.push('
    ');html.push('
    ');html.push(this.data.getMapHtml());html.push('
    ');html.push('
    ');html.push(this.getStatisticsHtml());html.push('
    ');html.push('
    ');return html.join('');} +d.getZoomText=function() +{var html=[];html.push('
  • : %
  • ');return html.join('');} +d.changeFloor=function(floorIndex) +{hideMenu();hidePopup2();var oldActiveFloorIndex=this.activeFloorIndex;this.activeFloorIndex=floorIndex;if(!rendered)return;this.data.Floors[oldActiveFloorIndex].highlightPoint(null);underground.settings.look=this.data.Floors[floorIndex].LookDirection;document.getElementById(this.mapLookId).value=underground.settings.lookTexts[underground.settings.look];document.getElementById(this.floorTabsId).innerHTML=this.getFloorTabsHtml();for(var i in this.data.Floors) +{var floor=this.data.Floors[i];var dm=(this.activeFloorIndex==i)?'':'none';document.getElementById(floor.mapId).style.display=dm;}} +d.checkStatsMob=function(mobName,mobLevel) +{this.data.Floors[this.activeFloorIndex].checkStatsMob(mobName,mobLevel);} +d.afterConstruction=function() +{this.data.afterConstruction();hideHTextsOf(document.getElementById(this.divId));document.getElementById('ads').style.display='';} +d.getHash=function() +{var hash=this.Name;hash+='.'+(this.activeFloorIndex+1);if('data'in this) +{hash+=this.data.Floors[this.activeFloorIndex].getHash();} +return hash;} +var doNothing=function() +{} +d.handleHash2=doNothing;d.handleHash=function(suffix) +{var floorPart=suffix;var dotIndex=floorPart.indexOf('&');if(dotIndex>=0) +{floorPart=floorPart.substr(0,dotIndex);} +var floorIndex=parseInt(floorPart)-1;if(floorIndex>=0&&floorIndex');html.push(page.Caption);html.push('');} +return html.join('');} +d.pagePreloaded=function(content) +{this.imagesToBePreloaded=[];var basee=document.getElementById(this.divId);if(basee.insertAdjacentHTML) +{basee.insertAdjacentHTML('beforeEnd',content);} +else +{basee.innerHTML=basee.innerHTML+content;}} +d.openPage=function(pageIndex) +{this.hidePages();this.imagesToBePreloaded=[];document.getElementById('ads').style.display='none';if(pageIndex<0)return;var page=this.data.Pages[pageIndex];var e=document.getElementById(page.divId);if(e==null) +{var sep=(page.NewLineToBR)?'
    ':'';if('OnShow'in page) +{page.OnShow();} +var content=page.Description.join(sep);if(content==''&&page.ExternalUrl!='') +{content=loadXMLDoc2(page.ExternalUrl);} +content=this.getNewPageDivHtml(page.divId,content);if(msie&&!msie7&&this.imagesToBePreloaded.length>0) +{this.preloader=new ImagePreloader(this.imagesToBePreloaded,function(){d.pagePreloaded(content);});} +else +{d.pagePreloaded(content);} +return;} +e.style.display='';} +d.getCellContentMenuHtml=function(cellDivId,x,y) +{return this.data.Floors[this.activeFloorIndex].getCellContentMenuHtml(cellDivId,x,y);} +d.hotSpot=function(cellDivId) +{this.data.Floors[this.activeFloorIndex].hotSpot(cellDivId);} +d.hideHotSpots=function() +{if(this.IsDungeon&&('data'in this)) +{this.data.Floors[this.activeFloorIndex].hideHotSpots();}} +d.getLookOption=function(index,caption) +{var html=[];html.push('');return html.join('');} +d.getLookText=function() +{if(!this.IsDungeon)return'';var html=[];html.push('
  • ');html.push('
  • ');return html.join('');} +d.getProposedZoom=function() +{var v=document.getElementById(this.zoomerId).value;var pv=underground.settings.zoom;if(!isNaN(v)) +{pv=parseInt(v);if(isNaN(pv))pv=underground.settings.zoom;if(pv<10)pv=10;if(pv>300)pv=300;} +if(pv!=v)document.getElementById(this.zoomerId).value=pv;return pv;} +d.applyZoom=function(zoomFactor) +{if(!('data'in this))return;document.getElementById(this.zoomerId).value=zoomFactor;for(var i in this.data.Floors) +{this.data.Floors[i].applyZoom(zoomFactor);}} +d.highlightPoint=function(point) +{this.data.Floors[this.activeFloorIndex].highlightPoint(point);}} +function FloorExtender(d,i,f) +{f.dungeon=d;f.index=i;var baseId='dungeon_'+d.Name+'_floor_'+f.Name+'_';f.mapId=baseId+'map';f.mapViewId=baseId+'mapView';f.xaxisId=baseId+'xaxis';f.yaxisId=baseId+'yaxis';f.cellPrefix=baseId+'cell';f.statisticsCheckId=baseId+'statsCheck';f.highlightPointId=baseId+'highlightPoint';f.rightPartId=baseId+'rightPart';f.markers=[];f.highlightPoint=function(point) +{var hd=document.getElementById(this.highlightPointId);if(hd==null)return;var hdStyle=hd.style;if(point==null) +{hdStyle.visibility='hidden';return;} +var pt=underground.getIPoint(point);hdStyle.left=((pt.x+1)*underground.settings.cellWidth-underground.settings.cellLocationShift).toString()+'px';hdStyle.top=((pt.y+1)*underground.settings.cellHeight-underground.settings.cellLocationShift).toString()+'px';hdStyle.visibility='';if(document.body.createTextRange) +{var trange=document.body.createTextRange();if(trange.moveToElementText&&trange.scrollIntoView) +{trange.moveToElementText(hd);trange.scrollIntoView();}}} +f.getLookPoint=function(x,y) +{var pt={x:x,y:y};switch(underground.settings.rotation) +{case 1:pt.x=y;pt.y=this.Height-x;break;case 2:pt.x=this.Width-x;pt.y=this.Height-y;break;case 3:pt.x=this.Width-y;pt.y=x;break;case 0:break;default:break;} +return pt;} +f.getLookDim=function() +{switch(underground.settings.rotation) +{case 0:return{xalpha:true,xinv:false,yinv:false,w:this.Width,h:this.Height};case 3:return{xalpha:false,xinv:false,yinv:true,w:this.Height,h:this.Width};case 1:return{xalpha:false,xinv:true,yinv:false,w:this.Height,h:this.Width};case 2:return{xalpha:true,xinv:true,yinv:true,w:this.Width,h:this.Height};}} +f.getMapHtml=function() +{var dm=(this.dungeon.ui.activeFloorIndex==this.index)?'':'none';var dim=this.getLookDim();var html=['
    '];if(underground.offline) +{html.push('
    ');} +html=html.concat(['
    ');html.push('
    ');var xshift=(!msie||msie7)?10:0;var startLetterCode='A'.charCodeAt(0);for(var i=0;i');html.push(vs);html.push('
    ');} +html=html.concat(['
    ','
    ']);html.push('
    ');var yshift=(!msie||msie7)?10:0;for(var i=0;i');html.push(vs);html.push('
    ');} +html=html.concat(['
    ','']);for(var i in this.Cells) +{html.push(this.getCellHtml(this.Cells[i]));} +html.push('');for(var i=0;i');if(underground.offline) +{html.push('
    ');} +html.push('
    ');html.push(this.getRightPartHtml());html.push('
    ');html.push('
    ');html.push(this.getStatisticsHtml());html.push('
    ');html.push('
    ');return html.join('');} +f.getRightPartHtml=function() +{var html=[];html.push('
    ');this.floorNavId=baseId+'mapsNav';html.push('
    ');for(var i in underground.knownDungeons) +{var kd=underground.knownDungeons[i];var floorCount=kd.FloorNames.length;if(floorCount>1) +{html.push('
    ');html.push(kd.Caption);html.push('
    ');} +else +{if(kd==this.dungeon.ui) +{html.push('');} +else +{html.push('');}}} +html.push('
    ') +html.push('
    ');return html.join('');} +f.applyZoom=function(zoomFactor) +{document.getElementById(this.mapViewId).style.zoom=(zoomFactor+'%');var dim=this.getLookDim();var pos=(dim.w+2)*underground.settings.cellWidth;pos=Math.floor((pos*zoomFactor)/100);document.getElementById(this.rightPartId).style.left=pos+'px';} +f.getStatisticsHtml=function() +{var stats=this.getStatistics();return getStatisticsHtml(' ',stats,this.statisticsCheckId);} +f.getBorderStyleHtml=function(code,size) +{return['border-',code,':',size,'px ',((size<1)?'none':'solid'),' ',this.dungeon.CellBorderColorString,';','padding-',code,':',(2-size),'px;'].join('');} +f.getCellDivId=function(x,y) +{return[this.cellPrefix,x,'.',y].join('');} +f.getCellHtml=function(cell) +{cell.divId=this.getCellDivId(cell.X,cell.Y);var pt=this.getLookPoint(cell.X,cell.Y);var st=['background-color:',((cell.BackColorString!='Transparent')?cell.BackColorString:this.dungeon.CellBackgroundColorString),'; position: absolute;border-collapse: collapse;','left:',((pt.x+1)*underground.settings.cellWidth-underground.settings.cellLocationShift),'px;','top:',((pt.y+1)*underground.settings.cellHeight-underground.settings.cellLocationShift),'px;','width:',(underground.settings.cellWidth-underground.settings.cellSizeShift),'px;','height:',(underground.settings.cellHeight-underground.settings.cellSizeShift),'px;',this.getBorderStyleHtml('left',cell.Border.Left),this.getBorderStyleHtml('top',cell.Border.Top),this.getBorderStyleHtml('right',cell.Border.Right),this.getBorderStyleHtml('bottom',cell.Border.Bottom)];var html=['
    ');for(var i in cell.ObjectRefs) +{var objref=cell.ObjectRefs[i];objref.divId=cell.divId+'_obj'+i;var oidata=underground.findObjectAndInstance(objref.ObjectName,objref.InstanceName);var o=oidata.obj;st=['position: absolute;z-index:1;','left:',o.ML,'px;','top:',o.MT,'px;','width:',o.MW,'px;','height:',o.MH,'px;'];var popuphtml=';';var mouseouthtml=';';if(oidata.instance.Description.length>0||o.Description.length>0) +{popuphtml=['underground.showObjRefPopup(\'',objref.ObjectName,'\', \'',objref.InstanceName,'\')'].join('');mouseouthtml='hidePopup2()';} +var image=underground.getCellObjectInstanceImage(o,oidata.instance);if(o.Importance==0) +{st.push(underground.decoratedOpacityStyle);} +if(oidata.instance.HighlightColorString!='Transparent') +{if(msie) +{st=st.concat(['filter:glow(color=\'',oidata.instance.HighlightColorString,'\', strength=4);']);} +else +{st=st.concat(['border: 1px solid ',oidata.instance.HighlightColorString,';']);}} +html=html.concat(['');} +for(var i in cell.MobRefs) +{var mpt=getMobPoint(i,cell.MobRefs.length);st=[];var mobref=cell.MobRefs[i];mobref.divId=cell.divId+'_mob'+i;var midata=underground.findMobAndInstance(mobref.Name,mobref.Level,mobref.Align,mobref.Tag);var image=underground.getMobInstanceImage(midata.mob,midata.mi);html=html.concat(['']);} +html.push('
    ');return html.join('');} +f.highlightMobs=function(cell,mobName,mobLevel,v) +{var color=underground.settings.levelColors[mobLevel];var filterStr=['glow(color=\'',color,'\', strength=5)'].join('');for(var i in cell.MobRefs) +{var mobref=cell.MobRefs[i];if(mobref.Name!=mobName||mobref.Level!=mobLevel) +{continue;} +var div=document.getElementById(mobref.divId);if(v) +{if(msie) +{div.style.filter=filterStr;} +else +{div.style.borderStyle='solid';div.style.borderWidth='2px';div.style.borderColor=color;}} +else +{if(msie) +{div.style.filter='';} +else +{div.style.borderStyle='none';div.style.borderWidth='0px';div.style.borderColor='transparent';}}}} +f.checkStatsMob=function(mobName,mobLevel,depth) +{var stats=this.getStatistics();if(!(mobName in stats))return;if(mobLevel!=0&&!(mobLevel in stats[mobName]))return;var cid=getStatisticsCheckId(this.statisticsCheckId,mobName,mobLevel);var v=document.getElementById(cid).checked;if(mobLevel==0) +{for(var lvl in stats[mobName]) +{var chkl=document.getElementById(getStatisticsCheckId(this.statisticsCheckId,mobName,lvl));if(chkl==null)continue;chkl.checked=v;this.checkStatsMob(mobName,lvl,true);} +return;} +for(var i in this.Cells) +{this.highlightMobs(this.Cells[i],mobName,mobLevel,v);} +if(depth!=null&&mobLevel!=0) +{var ok=true;var gid=getStatisticsCheckId(this.statisticsCheckId,mobName,0);for(var lvl in stats[mobName]) +{var id=getStatisticsCheckId(this.statisticsCheckId,mobName,mobLevel);if(!document.getElementById(id).checked) +{ok=false;break;}} +document.getElementById(gid).checked=ok;}} +f.getStatistics=function() +{var r={};for(var i in this.Cells) +{var cell=this.Cells[i];for(var j in cell.MobRefs) +{var mobref=cell.MobRefs[j];if(!(mobref.Name in r)) +{r[mobref.Name]={};} +if(!(mobref.Level in r[mobref.Name])) +{r[mobref.Name][mobref.Level]=0;} +r[mobref.Name][mobref.Level]+=mobref.Count;}} +return r;} +f.showCellMarkerPopup=function(markerIndex) +{showPopup('
    '+htmlstring(this.markers[markerIndex].text));} +f.getHash=function() +{var r=[];for(var i=0;i'].join('');return content;} +f.toggleCellMarker=function(cellDivId,x,y) +{var markerId=cellDivId+'_marker';var mdiv=document.getElementById(markerId);if(mdiv!=null&&mdiv.style.visibility=='') +{for(var i=0;i');html.push(getRowMenuItemHtml('/ ','ui_toggleCellMarker(\''+cellDivId+'\','+x+','+y+')'));html.push(getRowMenuSeparatorHtml());html.push(getRowMenuItemHtml('','hideMenu()'));html.push('');return html.join('');} +f.findCellByDivId=function(cellDivId) +{for(var i in this.Cells) +{var cell=this.Cells[i];if(cell.divId==cellDivId) +{return cell;}} +return null;} +f.findCellByRef=function(cellRef) +{for(var i in this.Cells) +{var cell=this.Cells[i];if(cell.X==cellRef.X&&cell.Y==cellRef.Y) +{return cell;}} +return null;} +f.hotSpot=function(cellDivId) +{var cell=this.findCellByDivId(cellDivId);if(cell==null)return;for(var i in cell.HotSpots) +{var hotSpot=cell.HotSpots[i];hotSpot.divId=cellDivId+'_hotSpot'+i;var opac=hotSpot.Opacity;var color=hotSpot.HighlightColorString;var imageUrl=hotSpot.ImageUrl;if(imageUrl=='') +{imageUrl=underground.settings.blankImageUrl;} +for(var j in hotSpot.CellRefs) +{var markerId=hotSpot.divId+'_mark'+j;var marker=document.getElementById(markerId);if(marker!=null) +{marker.style.visibility='';continue;} +var html=[];var cref=hotSpot.CellRefs[j];var tcell=this.findCellByRef(cref);var te=document.getElementById(tcell.divId);if(te==null)continue;html.push('
    ');html=html.join('');if(te.insertAdjacentHTML) +{te.insertAdjacentHTML('beforeEnd',html);} +else +{te.innerHTML=te.innerHTML+html;}}}} +f.hideHotSpots=function() +{for(var i in this.Cells) +{var cell=this.Cells[i];for(var i in cell.HotSpots) +{var hotSpot=cell.HotSpots[i];if(!('divId'in hotSpot))continue;var hotSpotId=hotSpot.divId;for(var j in hotSpot.CellRefs) +{var markerId=hotSpot.divId+'_mark'+j;var marker=document.getElementById(markerId);if(marker!=null) +{marker.style.visibility='hidden';}}}}}} +function LoadedDungeonEntender(d) +{d.IsDungeon&=(d.Floors.length>0);for(var i in d.Floors) +{var f=d.Floors[i];FloorExtender(d,i,f);} +d.getMapHtml=function() +{var html=[];for(var i in this.Floors) +{var f=d.Floors[i];html.push(f.getMapHtml());} +return html.join('');} +d.afterConstruction=function() +{}} +function CustomResource() +{this.Description=[];this.NewLineToBR=true;this.activeFloorIndex=0;this.rotation=0;this.FloorCount=1;this.getChapterHtml=function() +{return'';} +this.afterConstruction=function() +{} +this.getHash=function() +{return this.Name;} +this.handleHash=function(suffix) +{} +this.changeFloor=function(floorIndex) +{} +this.getUndergroundTabsHtml=function() +{return'';} +this.hidePages=function() +{} +this.needData=function(f) +{f();} +this.getCellContentMenuHtml=function(cellDivId,x,y) +{return'';} +this.hotSpot=function(cellDivId) +{} +this.hideHotSpots=function() +{} +this.getProposedZoom=function() +{return underground.settings.zoom;} +this.applyZoom=function(zoomFactor) +{} +this.highlightPoint=function(point) +{}} +function ExternalResource(url,caption,desc,newLineToBR) +{this.Url=url;this.Caption=caption;this.Description=desc;this.NewLineToBR=newLineToBR;this.desc=desc.join(newLineToBR?'
    ':'');} +function CustomFloor(d,i,name,description,newLineToBR) +{this.dungeon=d;this.index=i;this.Name=name;this.Description=description;this.NewLineToBR=newLineToBR;this.mapId='dungeon_'+d.Name+'_floor_'+this.Name+'_map';this.getMapHtml=function() +{var html=[];var dm=(this.dungeon.ui.activeFloorIndex==this.index)?'':'none';html.push('
    ');html.push(this.Description.join(this.NewLineToBR?'
    ':''));html.push('
    ');return html.join('');} +this.getStatisticsHtml=function() +{return'';} +this.getStatistics=function() +{return{};} +this.getCellContentMenuHtml=function(cellDivId,x,y) +{var html=[];html.push('');html.push(getRowMenuItemHtml('','hideMenu()'));html.push('
    ');return html.join('');} +this.hotSpot=function(cellDivId) +{} +this.hideHotSpots=function() +{} +this.getHash=function() +{return'';} +this.handleHash=function(hash) +{}} +function WelcomeDungeon() +{this.baseConstructor=CustomResource;this.baseConstructor();this.Name='welcome';this.Caption='';this.showDescription=function(s) +{document.getElementById('welcomeDungeon_descriptionArea').innerHTML=s;} +this.getMenuItemHtml=function(d,di,popupFuncName,openFuncName,url) +{var target=' target="_blank"';if(url==null){url='javascript:;';target='';} +return['
  • ',d.Caption,'
  • '].join('');} +this.getChapterHtml=function() +{var html=[];html.push('


    .

    ');html.push('

    , :

    ');html.push('
      ');for(var di in underground.knownDungeons) +{var d=underground.knownDungeons[di];if(!d.IsDungeon)continue;html.push(this.getMenuItemHtml(d,di,'underground.showDungeonPopup','underground.openDungeon'));} +html.push('
    ');html.push('

    :

    ');html.push('
      ');for(var di in underground.resources) +{var d=underground.resources[di];html.push(this.getMenuItemHtml(d,di,'underground.showResourcePopup','underground.openResource'));} +html.push('
    '); + +html.push('
     
    ');return html.join('');}} +function DiggerConst() +{this.baseConstructor=CustomResource;this.baseConstructor();this.Description=[' , , ?',', . , .',', , , .'];this.Name='diggerconst';this.Caption=' ';this.tabIndex=0;this.imagesToBePreloaded=[];this.divId='diggerConstructorAll';this.tabsId='diggerConstructorTabs';this.knapsackId='diggerConstructorKnapsack';this.recipesId='diggerConstructorRecipes';this.allRecipes1Id='diggerConstructorAllRecipes1';this.allRecipesView1Id='diggerConstructorAllRecipesView1';this.allRecipesItem1Id='diggerConstructorAllRecipesItem1';this.allRecipes2Id='diggerConstructorAllRecipes2';this.allRecipesView2Id='diggerConstructorAllRecipesView2';this.allRecipesItem2Id='diggerConstructorAllRecipesItem2';this.allItemsId='diggerConstructorAllItems';this.allItemsViewId='diggerConstructorAllItemsView';this.allItemsItemId='diggerConstructorAllItemsItem';this.basketId='diggerConstructorBasket';this.basketItemsViewId='diggerConstructorBasketItemsView';this.basketSummaryId='diggerConstructorBasketSummaryId';this.tabIds=[this.knapsackId,this.recipesId,this.allRecipes1Id,this.allRecipes2Id,this.allItemsId,this.basketId];this.itemViewIds=[null,null,this.allRecipesItem1Id,this.allRecipesItem2Id,this.allItemsItemId,null];this.knapsackViewId='diggerConstructorKnapsackView';this.knapsackImportDialogId='diggerConstructorKnapsackImportDialog';this.knapsackImportDialogTextId='diggerConstructorKnapsackImportDialogText';this.knapsackImportDialogLabelId='diggerConstructorKnapsackImportDialogLabel';this.knapsackAddIngrDialogId='diggerConstructorKnapsackAddIngrDialogId';this.knapsackAddIngrDialogLabelId='diggerConstructorKnapsackAddIngrDialogLabelId';this.knapsackAddIngrDialogIngrId='diggerConstructorKnapsackAddIngrDialogIngrId';this.knapsackAddIngrDialogCountId='diggerConstructorKnapsackAddIngrDialogCountId';this.knapsackTableId='diggerConstructorKnapsackTable';this.availIngrId='diggerConstructor_availIngr';this.availRecipesId='diggerConstructor_availRecipes';this.chosenIngrId='diggerConstructor_chosenIngr';this.chosenRecipesId='diggerConstructor_chosenRecipes';this.isChest=false;this.toInvPhrase=' ';this.wearPhrase=' ';this.reCount=/^\(X([0-9]+)\)/;this.knapsack={};this.items={};this.components={};this.availi={};this.availr=[];this.choseni={};this.chosenr=[];this.recipes=[];this.basket=[];this.loadCostructorData=function(d) +{this.data=d;this.collectDiggerItems();} +this.collectDiggerItems=function() +{for(var cati=this.data.Categories.length-1;cati>=0;cati--) +{var cat=this.data.Categories[cati];cat.hasRecipes=false;for(var i=cat.Items.length-1;i>=0;i--) +{var itm=cat.Items[i];itm.Category=cat;cat.hasRecipes|=(itm.Recipes.length>0);this.items[itm.Name]=itm;}} +for(var i in this.items) +{var itm=this.items[i];for(var ri=itm.Recipes.length-1;ri>=0;ri--) +{var r=itm.Recipes[ri];r.Item=itm;this.recipes.push(r);for(var pi=r.RecipeParts.length-1;pi>=0;pi--) +{var rp=r.RecipeParts[pi];this.components[rp.Item]=this.items[rp.Item];if(!('usedIn'in this.components[rp.Item])) +{this.components[rp.Item].usedIn={};} +this.components[rp.Item].usedIn[itm.Name]={recipe:r,count:rp.Count};}}}} +this.dataLoaded=function(f) +{this.data.ui=this;if(this.imagesToBePreloaded.length>0) +{this.preloader=new ImagePreloader(this.imagesToBePreloaded,null);} +f();} +this.loadData=function(f) +{var d=this;var sn='dungeon.constructor.js';if(!underground.offline&&!(sn in underground.loadedScripts)) +{loadScript(underground.settings.jsBase+sn,function(){underground.loadedScripts[sn]=sn;d.dataLoaded(f);});} +else +{d.dataLoaded(f);}} +this.needData=function(f) +{if(!('data'in this)) +{this.loadData(f);} +else +{f();}} +this.finalizeAvailableRecipes=function() +{} +this.probeRecipe=function(r) +{if(r.RecipeParts.length<=0)return;var count=65535;for(var i=r.RecipeParts.length-1;i>=0;i--) +{var rp=r.RecipeParts[i];var mater=this.findDiggerItem(rp.Item);if(!mater.IsGift&&(mater.Binding==0)&&((rp.Binding==0||rp.Binding==4))) +{continue;} +if(!(rp.Item in this.availi))return;var rpCount=this.availi[rp.Item]/rp.Count;if(rpCount0) +{this.availr.push({recipe:r,count:count});}} +this.prepareAvailableRecipes=function() +{this.availi={};this.choseni={};for(var n in this.knapsack) +{this.availi[this.knapsack[n].name]=this.knapsack[n].total;} +this.finalizeAvailableRecipes();this.availr=[];this.chosenr=[];for(var i=this.recipes.length-1;i>=0;i--) +{this.probeRecipe(this.recipes[i]);} +this.refreshRecipesTab();} +this.changeDiggerTab=function(index) +{this.tabIndex=index;var activeDivId=this.tabIds[index];var divs=document.getElementById(this.divId).childNodes;for(var i=0;i');html.push(caption);html.push('');return html.join('');} +this.loadKnapsack=function(isChest) +{this.isChest=isChest;document.getElementById(this.knapsackImportDialogLabelId).innerHTML=isChest?'':'';document.getElementById(this.knapsackImportDialogTextId).value='';document.getElementById(this.knapsackAddIngrDialogId).style.visibility='hidden';document.getElementById(this.knapsackImportDialogId).style.visibility='';} +this.loadKnapsackCancel=function() +{document.getElementById(this.knapsackImportDialogTextId).value='';document.getElementById(this.knapsackImportDialogId).style.visibility='hidden';} +this.loadKnapsackOK=function() +{this.parseKnapsackFor(this.isChest,document.getElementById(this.knapsackImportDialogTextId).value);this.loadKnapsackCancel();} +this.addToKnapsack=function(isChest) +{this.isChest=isChest;document.getElementById(this.knapsackAddIngrDialogLabelId).innerHTML=isChest?'':'';document.getElementById(this.knapsackAddIngrDialogCountId).value='1';document.getElementById(this.knapsackImportDialogId).style.visibility='hidden';document.getElementById(this.knapsackAddIngrDialogId).style.visibility='';} +this.addKnapsackOK=function() +{var so=document.getElementById(this.knapsackAddIngrDialogIngrId);var cov=document.getElementById(this.knapsackAddIngrDialogCountId).value;if(so.selectedIndex>=0&&!isNaN(cov)&&parseInt(cov)>0) +{this.addIngr(this.isChest,so.options[so.selectedIndex].value,parseInt(cov));} +this.addKnapsackCancel();} +this.addKnapsackCancel=function() +{document.getElementById(this.knapsackAddIngrDialogId).style.visibility='hidden';} +this.getDiggerTabsHtml=function() +{var html=[];html.push('
      ');html.push(this.getDiggerTabHtml(' ',0));html.push(this.getDiggerTabHtml(' ',1));html.push(this.getDiggerTabHtml(' ',2));html.push(this.getDiggerTabHtml(' ',3));html.push(this.getDiggerTabHtml(' ',4));html.push(this.getDiggerTabHtml('',5));html.push('
    ');return html.join('');} +this.findDiggerItem=function(id) +{return this.items[id];} +this.cleanKnapsackFor=function(isChest,refresh) +{var r={};var vn=isChest?'chest':'knapsack';for(var i in this.knapsack) +{var itm=this.knapsack[i];itm.total-=itm[vn];itm[vn]=0;if(itm.total==0) +{continue;} +r[i]=itm;} +this.knapsack=r;if(refresh) +{this.refreshKnapsackTab();}} +this.parserTrim=function(value) +{return value.replace(/^\s+|\s*([\+\,>\s;:])\s*|\s+$/g,"$1");} +this.refreshKnapsackTab=function() +{document.getElementById(this.knapsackViewId).innerHTML=this.getKnapsackTableHtml();} +this.parseKnapsackFor=function(isChest,text) +{var vn=isChest?'chest':'knapsack';this.cleanKnapsackFor(isChest,false);var lines=text.split("\n");for(var i=0;ithis.knapsack[name][vn])count=this.knapsack[name][vn];if((-count)>this.knapsack[name].total)count=this.knapsack[name].total;this.knapsack[name][vn]+=count;this.knapsack[name].total+=count;if(this.knapsack[name].total<=0) +{delete this.knapsack[name];} +this.refreshKnapsackTab();} +this.findRecipePlace=function(name) +{var arp=this.data.RecipePlaces;for(var i=arp.length-1;i>=0;i--) +{var rp=arp[i];if(rp.Name==name)return rp;} +return null;} +this.getItemRecipeHtml=function(recipe) +{var html=[];var place=this.findRecipePlace(recipe.PlaceName);if(place==null)return'bad place';var arp=recipe.RecipeParts;html.push('
    ');html.push(place.Caption);html.push('');if(recipe.Price>0) +{html.push('
    ');html.push(' : ');html.push(recipe.Price);html.push(' .
    ');} +for(var i=0;i');html.push(mater.Caption);html.push(': ');html.push(rp.Count);html.push('.');} +html.push('
    ');return html.join('');} +this.getItemDescHtml=function(name) +{var item=this.findDiggerItem(name);var html=[];var img=[item.Category.ImageBasePath,item.Name,'.gif'].join('');html.push('
    ');html.push(item.Caption);if(item.Binding>0) +{html.push(' ');} +if(item.IsGift) +{html.push(' ');} +html.push('
    ');html.push('
    ');html.push('');html.push(item.Description.join(item.NewLineToBR?'
    ':''));html.push('
    ');if(('Recipes'in item)&&(item.Recipes.length>0)) +{html.push('
    ');for(var ri in item.Recipes) +{html.push(this.getItemRecipeHtml(item.Recipes[ri]));} +html.push('
    ');} +if('usedIn'in item) +{html.push('');for(var ui in item.usedIn) +{var uitem=this.findDiggerItem(ui);var place=this.findRecipePlace(item.usedIn[ui].recipe.PlaceName);html.push('');} +html.push('
    : ');html.push(uitem.Caption);html.push(' ');html.push(item.usedIn[ui].count);html.push('., ');if(place==null)html.push('bad place');else html.push(place.Caption);html.push('.
    ');} +return html.join('');} +this.showItemInView=function(name) +{var vid=this.itemViewIds[this.tabIndex];if(vid==null)return;var ve=document.getElementById(vid);if(ve==null)return;ve.innerHTML=this.getItemDescHtml(name);} +this.showItemPopup=function(name) +{var html=[];html.push('
    ');html.push(this.getItemDescHtml(name));html.push('
    ');showPopup(html.join(''));} +this.getKnapsackTableHtml=function() +{var materCount=0;var html=[];html.push('');for(var materi in this.knapsack) +{var materd=this.knapsack[materi];var matern=materd.name;var mater=this.findDiggerItem(matern);html.push('');materCount++;} +if(materCount==0) +{html.push('');} +html.push('
    ');html.push(mater.Caption);html.push(': ');html.push(materd.total);html.push('.
    : ');html.push(materd.knapsack);html.push('.');html.push(' +');if(materd.knapsack>0) +{html.push(' -');} +html.push(' : ');html.push(materd.chest);html.push('.');html.push(' +');if(materd.chest>0) +{html.push(' -');} +html.push('
    .
    ');return html.join('');} +this.getComponentOptions=function() +{var html=[];for(var cati=0;cati');chtml.push(itm.Caption);chtml.push('');} +if(chtml.length>0) +{html.push('');html.push(chtml.join(''));html.push('');}} +return html.join('');} +this.getKnapsackTabHtml=function() +{var html=[];html.push('
    ');html.push('');html.push('');html.push('
    ');html.push('
    ');html.push(this.getKnapsackTableHtml());html.push('
    ');html.push(' ');html.push(' ');html.push(' ');html.push(' ');html.push(' ');html.push(' ');html.push(' ');html.push('
    ');return html.join('');} +this.refreshRecipesTab=function() +{document.getElementById(this.availIngrId).innerHTML=this.getIngrTable(this.availi,' ');document.getElementById(this.availRecipesId).innerHTML=this.getRecipeTable(this.availr,true,' ');document.getElementById(this.chosenIngrId).innerHTML=this.getIngrTable(this.choseni,' ');document.getElementById(this.chosenRecipesId).innerHTML=this.getRecipeTable(this.chosenr,false,' ');} +this.getRecipesTabHtml=function() +{var html=[];html.push('');return html.join('');} +this.getIngrTable=function(va,title) +{var html=[];var count=0;html.push('');if(title!=null) +{html.push('');} +for(var n in va) +{html.push('');html.push(mater.Caption);html.push('');html.push(va[n]);html.push('.');count++;} +if(count==0) +{html.push('');} +html.push('
    ');html.push(title);html.push('
    .
    ');return html.join('');} +this.getRecipeTable=function(va,additive,title) +{var html=[];var count=0;html.push('');if(title!=null) +{html.push('');html.push(title);html.push('');} +for(var n in va) +{html.push('');if(place==null)html.push('bad place');else html.push(place.Caption);html.push(': ');html.push(mater.Caption);html.push('');if(additive!=null) +{if(additive==false||additive==true||additive=='4basket') +{html.push('');html.push((rd.count<65535)?rd.count:'?');html.push('.');} +html.push('');} +html.push('');count++;} +if(count==0) +{html.push('');} +html.push('
    ');if(additive=='2basket') +{html.push('');} +else if(additive=='4basket') +{html.push('');} +else if(additive==true) +{html.push('');} +else +{html.push('');} +html.push('
    .
    ');return html.join('');} +this.getSpliceArray=function(a,index) +{var r=[];for(var i=0;i=0) +{to[i].count++;} +else +{to.push({recipe:recipe,count:1});} +if(from[index].count==0) +{from=this.getSpliceArray(from,index);if(additive)this.availr=from;else this.chosenr=from;} +from=additive?this.availi:this.choseni;to=additive?this.choseni:this.availi;for(var i=0;i