diff --git a/classes/n.php b/classes/n.php deleted file mode 100644 index c65f2fe..0000000 --- a/classes/n.php +++ /dev/null @@ -1,29 +0,0 @@ - - * Project name: Battles-Game - */ - -/* @DEPRECATED */ - -class n -{ - private static $_instance = null; - - private function __clone() {} - private function __construct() {} - - - /** - * @param $userId - * @return null|string - */ - public static function show($userId) - { - if (!self::$_instance) { - self::$_instance = nick::search($userId); - } - return self::$_instance; - } -} \ No newline at end of file diff --git a/config.php b/config.php index 34a913c..92853e9 100644 --- a/config.php +++ b/config.php @@ -390,8 +390,4 @@ $exptable = [ 1100000000 => [1, 0, 0, 450, 0, 1250000000], 1250000000 => [1, 0, 0, 450, 0, 1500000000], 1500000000 => [10, 1, 5, 8000, 1, 9999999999], # Это тринадцатый уровень -]; - -// Нигде не используются? -$abils_array = ['attack', 'sleep', 'sleepf']; -$ab_user = ['sleep15', 'sleep30', 'closebattle', 'heal20', 'heal35', 'heal50', 'travmoff', 'attack', 'bloodattack', 'death', 'comment', 'openbattle', 'reamdeath', 'clone', 'unclone']; \ No newline at end of file +]; \ No newline at end of file diff --git a/functions.php b/functions.php index 1a6adf9..778e637 100644 --- a/functions.php +++ b/functions.php @@ -236,9 +236,6 @@ function nick4($id, $st) if ($effect) { $user['level'] = '??'; $user['login'] = 'невидимка'; - $user['align'] = '0'; - $user['klan'] = ''; - $user['id'] = ''; $user['hp'] = '??'; $user['maxhp'] = '??'; }