Remove unused
This commit is contained in:
parent
66375be9b7
commit
d186330f71
@ -1,29 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
* Copyright (c) 2018.
|
||||
* Author: Igor Barkov <lopar.4ever@gmail.com>
|
||||
* 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;
|
||||
}
|
||||
}
|
@ -391,7 +391,3 @@ $exptable = [
|
||||
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'];
|
@ -236,9 +236,6 @@ function nick4($id, $st)
|
||||
if ($effect) {
|
||||
$user['level'] = '??';
|
||||
$user['login'] = '</a><b><i>невидимка</i></b>';
|
||||
$user['align'] = '0';
|
||||
$user['klan'] = '';
|
||||
$user['id'] = '';
|
||||
$user['hp'] = '??';
|
||||
$user['maxhp'] = '??';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user